diff --git a/.eslintignore b/.eslintignore index ac47cf7d..4be5fe26 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,7 +1,4 @@ .eslintrc.js -**/build/* -**/codegen/* - -/packages/api/main -/packages/api/module +/packages/api/dist +/packages/api/src diff --git a/.gitignore b/.gitignore index fe006a6b..fd9f587d 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,6 @@ node_modules/ .env.development.local .env.test.local .env.production.local + +# Build +packages/api/dist/ \ No newline at end of file diff --git a/lerna.json b/lerna.json index f3a9d8a3..28a5b93c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,13 +1,23 @@ { + "lerna": "6", + "conventionalCommits": true, + "npmClient": "yarn", + "npmClientArgs": [ + "--no-lockfile" + ], + "packages": [ + "packages/*" + ], + "version": "independent", + "registry": "https://registry.npmjs.org", "command": { "version": { - "message": "chore(release): Publish %s" - } + "message": "chore(release): publish" + }, + "publish": { + "allowBranch": "main", + "message": "chore(release): publish" + } }, - "npmClient": "yarn", - "useWorkspaces": true, - "packages": [ - "packages/*" - ], - "version": "0.6.0" + "useWorkspaces": true } diff --git a/package.json b/package.json index c4ff241a..5ad9fa5a 100644 --- a/package.json +++ b/package.json @@ -1,36 +1,57 @@ { - "name": "regen-js", - "version": "1.0.0-alpha5", - "author": "admin@regen.network", - "description": "Regen Network does JavaScript", - "license": "Apache-2.0", - "private": true, - "repository": "https://github.com/regen-network/regen-js", - "workspaces": [ - "packages/*" - ], - "scripts": { + "name": "regen-js", + "version": "1.0.0-alpha5", + "author": "admin@regen.network", + "description": "Regen Network does JavaScript", + "license": "Apache-2.0", + "private": true, + "repository": "https://github.com/regen-network/regen-js", + "workspaces": [ + "packages/*" + ], + "publishConfig": { + "access": "restricted" + }, + "scripts": { + "clean": "lerna run clean", "build:api": "yarn workspace @regen-network/api build", - "build": "lerna run build --stream", - "format": "yarn lint --fix", + "build": "lerna run build --stream", "lerna:deploy": "yarn build && lerna version --conventional-commits && lerna publish from-git", - "lint": "eslint --ext js,ts,tsx .", + "lint": "eslint --ext js,ts,tsx .", + "test": "lerna run test --stream --scope @regen-network/api", + "codegen": "lerna run codegen --stream --scope @regen-network/api", "start": "yarn workspace @regen-network/api-demo start", - "test": "lerna run test" - }, - "devDependencies": { - "@types/jest": "27.0.3", - "@types/jest-expect-message": "^1.1.0", - "@typescript-eslint/eslint-plugin": "^4.5.0", - "@typescript-eslint/parser": "^4.5.0", - "@typescript-eslint/typescript-estree": "^5.37.0", - "eslint": "^7.32.0", - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-prettier": "^4.0.0", - "jest-expect-message": "^1.1.3", - "lerna": "^3.22.1", - "prettier": "2.4.1", - "ts-jest": "^26.4.4", - "typescript": "^4.0.5" - } + "symlink": "symlink-workspace --logLevel error", + "postinstall": "yarn symlink" + }, + "devDependencies": { + "@protobufs/amino": "^0.0.11", + "@protobufs/cosmos": "^0.1.0", + "@protobufs/cosmos_proto": "^0.0.10", + "@protobufs/cosmwasm": "^0.1.1", + "@protobufs/gogoproto": "^0.0.10", + "@protobufs/google": "^0.0.10", + "@protobufs/ibc": "^0.1.0", + "@protobufs/regen": "^0.1.0", + "@protobufs/tendermint": "^0.0.10", + "@types/jest": "^29.5.11", + "@types/node": "^20.12.7", + "@typescript-eslint/eslint-plugin": "^7.10.0", + "@typescript-eslint/parser": "^7.10.0", + "copyfiles": "^2.4.1", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.2.1", + "eslint-plugin-simple-import-sort": "^12.1.0", + "eslint-plugin-unused-imports": "^4.0.0", + "jest": "^29.6.2", + "lerna": "^6", + "prettier": "^3.0.2", + "rimraf": "4.4.1", + "strip-ansi": "^5", + "symlink-workspace": "^1.1.0", + "ts-jest": "^29.1.1", + "ts-node": "^10.9.2", + "typescript": "^5.1.6" + } } diff --git a/packages/api-demo/src/MyBalance.tsx b/packages/api-demo/src/MyBalance.tsx index bebdd8f1..9f21ca35 100644 --- a/packages/api-demo/src/MyBalance.tsx +++ b/packages/api-demo/src/MyBalance.tsx @@ -1,4 +1,4 @@ -import { QueryAllBalancesResponseSDKType } from '@regen-network/api/types/codegen/cosmos/bank/v1beta1/query'; +import { QueryAllBalancesResponseSDKType } from '@regen-network/api/cosmos/bank/v1beta1/query'; import React, { useState } from 'react'; export function MyBalance({ client }: { client: any }): React.ReactElement { diff --git a/packages/api-demo/src/examples/LCDCosmos.tsx b/packages/api-demo/src/examples/LCDCosmos.tsx index cd41e139..8ffd2e05 100644 --- a/packages/api-demo/src/examples/LCDCosmos.tsx +++ b/packages/api-demo/src/examples/LCDCosmos.tsx @@ -1,8 +1,8 @@ import React, { useEffect, useState } from 'react'; import { cosmos } from '@regen-network/api'; -import { QueryAllBalancesResponseSDKType } from '@regen-network/api/types/codegen/cosmos/bank/v1beta1/query'; -import { PageRequest } from '@regen-network/api/types/codegen/helpers'; +import { QueryAllBalancesResponseSDKType } from '@regen-network/api/cosmos/bank/v1beta1/query'; +import { PageRequest } from '@regen-network/api/helpers'; export function LCDCosmos(): React.ReactElement { const [result, setResult] = useState< diff --git a/packages/api-demo/src/examples/LCDRegen.tsx b/packages/api-demo/src/examples/LCDRegen.tsx index 6f685b24..efb02e84 100644 --- a/packages/api-demo/src/examples/LCDRegen.tsx +++ b/packages/api-demo/src/examples/LCDRegen.tsx @@ -1,8 +1,8 @@ import React, { useEffect, useState } from 'react'; import { regen } from '@regen-network/api'; -import { QueryProjectsByClassResponseSDKType } from '@regen-network/api/types/codegen/regen/ecocredit/v1/query'; -import { PageRequest } from '@regen-network/api/types/codegen/helpers'; +import { QueryProjectsByClassResponseSDKType } from '@regen-network/api/regen/ecocredit/v1/query'; +import { PageRequest } from '@regen-network/api/helpers'; export function LCDRegen(): React.ReactElement { const [result, setResult] = useState< diff --git a/packages/api-demo/src/examples/RPCCosmos.tsx b/packages/api-demo/src/examples/RPCCosmos.tsx index ca060ffa..d82bc857 100644 --- a/packages/api-demo/src/examples/RPCCosmos.tsx +++ b/packages/api-demo/src/examples/RPCCosmos.tsx @@ -1,9 +1,8 @@ -import Long from 'long'; import React, { useEffect, useState } from 'react'; import { cosmos } from '@regen-network/api'; -import { QueryAllBalancesResponse } from '@regen-network/api/types/codegen/cosmos/bank/v1beta1/query'; -import { PageRequest } from '@regen-network/api/types/codegen/helpers'; +import { QueryAllBalancesResponse } from '@regen-network/api/cosmos/bank/v1beta1/query'; +import { PageRequest } from '@regen-network/api/helpers'; export function RPCCosmos(): React.ReactElement { const [result, setResult] = useState( @@ -24,8 +23,8 @@ export function RPCCosmos(): React.ReactElement { address: 'regen1df675r9vnf7pdedn4sf26svdsem3ugavgxmy46', pagination: { key: new Uint8Array(0), - limit: Long.fromNumber(0), - offset: Long.fromNumber(0), + limit: BigInt(0), + offset: BigInt(0), } as PageRequest, }) .then(setResult) @@ -38,10 +37,10 @@ export function RPCCosmos(): React.ReactElement { return (

{'RPC Queries > cosmos bank balances'}

- {'Response: '} + {'Balances: '} {result ? ( - JSON.stringify(result) + JSON.stringify(result.balances) ) : error ? ( {error.message} ) : ( diff --git a/packages/api-demo/src/examples/RPCRegen.tsx b/packages/api-demo/src/examples/RPCRegen.tsx index 7100b5b0..cc9e8f39 100644 --- a/packages/api-demo/src/examples/RPCRegen.tsx +++ b/packages/api-demo/src/examples/RPCRegen.tsx @@ -1,9 +1,8 @@ -import Long from 'long'; import React, { useEffect, useState } from 'react'; import { regen } from '@regen-network/api'; -import { QueryProjectsByClassResponse } from '@regen-network/api/types/codegen/regen/ecocredit/v1/query'; -import { PageRequest } from '@regen-network/api/types/codegen/helpers'; +import { QueryProjectsByClassResponse } from '@regen-network/api/regen/ecocredit/v1/query'; +import { PageRequest } from '@regen-network/api/helpers'; export function RPCRegen(): React.ReactElement { const [result, setResult] = useState< @@ -24,8 +23,8 @@ export function RPCRegen(): React.ReactElement { classId: 'C01', pagination: { key: new Uint8Array(0), - limit: Long.fromNumber(0), - offset: Long.fromNumber(0), + limit: BigInt(0), + offset: BigInt(0), } as PageRequest, }) .then(setResult) diff --git a/packages/api-demo/tsconfig.json b/packages/api-demo/tsconfig.json index 406d90e3..c28ed749 100644 --- a/packages/api-demo/tsconfig.json +++ b/packages/api-demo/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "jsx": "react-jsx", "lib": [ "dom", "dom.iterable", @@ -17,7 +18,6 @@ "isolatedModules": true, "noEmit": true, "target": "es6", - "sourceMap": true, }, "extends": "../../tsconfig", "include": [ diff --git a/packages/api/.babelrc.js b/packages/api/.babelrc.js deleted file mode 100644 index 4a9557f2..00000000 --- a/packages/api/.babelrc.js +++ /dev/null @@ -1,17 +0,0 @@ -const useESModules = !!process.env.MODULE; - -module.exports = (api) => { - api.cache(() => process.env.MODULE); - return { - plugins: [ - ['@babel/transform-runtime', { useESModules }], - '@babel/proposal-object-rest-spread', - '@babel/proposal-class-properties', - '@babel/plugin-proposal-nullish-coalescing-operator', - '@babel/plugin-proposal-optional-chaining', - '@babel/plugin-proposal-numeric-separator', - '@babel/proposal-export-default-from' - ], - presets: useESModules ? ['@babel/typescript'] : ['@babel/typescript', '@babel/env'] - }; -}; diff --git a/packages/api/.eslintrc.js b/packages/api/.eslintrc.js deleted file mode 100644 index 1bec8ed3..00000000 --- a/packages/api/.eslintrc.js +++ /dev/null @@ -1,5 +0,0 @@ -const baseConfig = require('../../.eslintrc'); - -module.exports = { - ...baseConfig, -}; diff --git a/packages/api/.gitignore b/packages/api/.gitignore deleted file mode 100644 index 47cda358..00000000 --- a/packages/api/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -# system -.DS_Store - -# editors -.idea -.vscode - -# logs -*.log -npm-debug.log* - -# dependencies -node_modules - -# build -/main -/module diff --git a/packages/api/.npmignore b/packages/api/.npmignore deleted file mode 100644 index c0fdc1d0..00000000 --- a/packages/api/.npmignore +++ /dev/null @@ -1,30 +0,0 @@ -# system -.DS_Store - -# editors -.idea -.vscode - -# logs -*.log -npm-debug.log* - -# dependencies -node_modules - -# package -package.json - -# package lock -package-lock.json -yarn.lock - -# project -/proto -/scripts -/src - -# other -.babelrc.js -.gitignore -tsconfig.json diff --git a/packages/api/.npmrc b/packages/api/.npmrc deleted file mode 100644 index 5fca0d51..00000000 --- a/packages/api/.npmrc +++ /dev/null @@ -1 +0,0 @@ -scripts-prepend-node-path=true diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md deleted file mode 100644 index a50205bd..00000000 --- a/packages/api/CHANGELOG.md +++ /dev/null @@ -1,128 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [Unreleased](https://github.com/regen-network/regen-js/compare/v0.6.0...main) (TBD) - -### Features - -* Migrate api package to use telescope ([#68](https://github.com/regen-network/regen-js/issues/68)) - -# [0.6.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.6.0) (2023-03-27) - -### Features - -* Add amino signing support to regen-ledger msgs ([#38](https://github.com/regen-network/regen-js/issues/38)) ([84d6b5a](https://github.com/regen-network/regen-js/commit/84d6b5a7b344f893d80ba54b99067677cfdb36ef)), closes [#39](https://github.com/regen-network/regen-js/issues/39) [#43](https://github.com/regen-network/regen-js/issues/43) [#44](https://github.com/regen-network/regen-js/issues/44) [#45](https://github.com/regen-network/regen-js/issues/45) [#46](https://github.com/regen-network/regen-js/issues/46) [#48](https://github.com/regen-network/regen-js/issues/48) [#50](https://github.com/regen-network/regen-js/issues/50) [#49](https://github.com/regen-network/regen-js/issues/49) [#47](https://github.com/regen-network/regen-js/issues/47) [#53](https://github.com/regen-network/regen-js/issues/53) [#52](https://github.com/regen-network/regen-js/issues/52) [#54](https://github.com/regen-network/regen-js/issues/54) [#55](https://github.com/regen-network/regen-js/issues/55) [#56](https://github.com/regen-network/regen-js/issues/56) -* add bridge_amino and test ([#61](https://github.com/regen-network/regen-js/issues/61)) ([cb0d339](https://github.com/regen-network/regen-js/commit/cb0d33904c12b61a06def9aa85a56c96a633743e)) -* add transfer ibc proto ([#40](https://github.com/regen-network/regen-js/issues/40)) ([61c6cd2](https://github.com/regen-network/regen-js/commit/61c6cd2d4b3903da8bbb5d771dd815bdeb1c1000)) -* update ecocredit amino types ([#64](https://github.com/regen-network/regen-js/issues/64)) ([6c8fabb](https://github.com/regen-network/regen-js/commit/6c8fabb8c24c977446f879b861c8e338d4b58b60)) -* update proto files for regen-ledger v5.0 and cosmos-sdk v0.46.7 ([#66](https://github.com/regen-network/regen-js/issues/66)) ([5feaeed](https://github.com/regen-network/regen-js/commit/5feaeeda4f32eb3379f0b5c1b2dc7557c2e08b46)) - -# [0.5.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.5.0) (2023-01-16) - -### Features - -* Add amino signing support to regen-ledger msgs ([#38](https://github.com/regen-network/regen-js/issues/38)) ([84d6b5a](https://github.com/regen-network/regen-js/commit/84d6b5a7b344f893d80ba54b99067677cfdb36ef)), closes [#39](https://github.com/regen-network/regen-js/issues/39) [#43](https://github.com/regen-network/regen-js/issues/43) [#44](https://github.com/regen-network/regen-js/issues/44) [#45](https://github.com/regen-network/regen-js/issues/45) [#46](https://github.com/regen-network/regen-js/issues/46) [#48](https://github.com/regen-network/regen-js/issues/48) [#50](https://github.com/regen-network/regen-js/issues/50) [#49](https://github.com/regen-network/regen-js/issues/49) [#47](https://github.com/regen-network/regen-js/issues/47) [#53](https://github.com/regen-network/regen-js/issues/53) [#52](https://github.com/regen-network/regen-js/issues/52) [#54](https://github.com/regen-network/regen-js/issues/54) [#55](https://github.com/regen-network/regen-js/issues/55) [#56](https://github.com/regen-network/regen-js/issues/56) -* add bridge_amino and test ([#61](https://github.com/regen-network/regen-js/issues/61)) ([cb0d339](https://github.com/regen-network/regen-js/commit/cb0d33904c12b61a06def9aa85a56c96a633743e)) -* add transfer ibc proto ([#40](https://github.com/regen-network/regen-js/issues/40)) ([61c6cd2](https://github.com/regen-network/regen-js/commit/61c6cd2d4b3903da8bbb5d771dd815bdeb1c1000)) -* update ecocredit amino types ([#64](https://github.com/regen-network/regen-js/issues/64)) ([6c8fabb](https://github.com/regen-network/regen-js/commit/6c8fabb8c24c977446f879b861c8e338d4b58b60)) - -# [0.4.0](https://github.com/regen-network/regen-js/compare/v0.4.0-alpha1.5...v0.4.0) (2022-10-05) - -**Note:** Version bump only for package @regen-network/api - -# [0.4.0-alpha1.4](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.4.0-alpha1.4) (2022-09-14) - -### Bug Fixes - -* msg send typo ([#48](https://github.com/regen-network/regen-js/issues/48)) ([f55a157](https://github.com/regen-network/regen-js/commit/f55a1576337934afb4042db7c81761e031923fe4)) -* MsgCreateBatch fixes and tests ([#50](https://github.com/regen-network/regen-js/issues/50)) ([bf9eb5d](https://github.com/regen-network/regen-js/commit/bf9eb5dbbe68aaffb60349ff86769d872ecb04d0)) - -### Features - -* add transfer ibc proto ([#40](https://github.com/regen-network/regen-js/issues/40)) ([61c6cd2](https://github.com/regen-network/regen-js/commit/61c6cd2d4b3903da8bbb5d771dd815bdeb1c1000)) -* AminoMsgSend_SendCredits ([1c0c100](https://github.com/regen-network/regen-js/commit/1c0c100f580b306dd129b8c020535bae4de1bbd7)) -* customMessageTypeRegistry ([0851010](https://github.com/regen-network/regen-js/commit/085101084fce458c0ed41d6d780b164f3cd529cd)) -* customMessageTypeRegistry ([315e426](https://github.com/regen-network/regen-js/commit/315e426cbb9d754b30686675d75291b30df04108)) -* ecocredit amino converters ([80ada8f](https://github.com/regen-network/regen-js/commit/80ada8f735699fe377979d6a78f66982f9291272)) -* export all converters ([f0b8d60](https://github.com/regen-network/regen-js/commit/f0b8d608e6c6d62ebea94be27bc52eedf51c25ec)) -* if field is falsey, return undefined in toAmino, omit nested (s) ([2c8f270](https://github.com/regen-network/regen-js/commit/2c8f270a54ea171a28ae5d85b66372898d16ea3a)) - -# [0.4.0-alpha1.3](https://github.com/regen-network/regen-js/compare/v0.4.0-alpha1.2...v0.4.0-alpha1.3) (2022-09-14) - -**Note:** Version bump only for package @regen-network/api - -# [0.4.0-alpha1.2](https://github.com/regen-network/regen-js/compare/v0.4.0-alpha1.1...v0.4.0-alpha1.2) (2022-09-14) - -**Note:** Version bump only for package @regen-network/api - -# [0.4.0-alpha1.1](https://github.com/regen-network/regen-js/compare/v0.4.0-alpha1.0...v0.4.0-alpha1.1) (2022-09-13) - -**Note:** Version bump only for package @regen-network/api - -# [0.4.0-alpha1.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.4.0-alpha1.0) (2022-09-13) - -### Features - -* add transfer ibc proto ([#40](https://github.com/regen-network/regen-js/issues/40)) ([61c6cd2](https://github.com/regen-network/regen-js/commit/61c6cd2d4b3903da8bbb5d771dd815bdeb1c1000)) -* AminoMsgSend_SendCredits ([1c0c100](https://github.com/regen-network/regen-js/commit/1c0c100f580b306dd129b8c020535bae4de1bbd7)) -* customMessageTypeRegistry ([0851010](https://github.com/regen-network/regen-js/commit/085101084fce458c0ed41d6d780b164f3cd529cd)) -* customMessageTypeRegistry ([315e426](https://github.com/regen-network/regen-js/commit/315e426cbb9d754b30686675d75291b30df04108)) -* ecocredit amino converters ([80ada8f](https://github.com/regen-network/regen-js/commit/80ada8f735699fe377979d6a78f66982f9291272)) -* export all converters ([f0b8d60](https://github.com/regen-network/regen-js/commit/f0b8d608e6c6d62ebea94be27bc52eedf51c25ec)) -* if field is falsey, return undefined in toAmino, omit nested (s) ([2c8f270](https://github.com/regen-network/regen-js/commit/2c8f270a54ea171a28ae5d85b66372898d16ea3a)) - -# [0.3.1](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.3.1) (2022-09-12) - -* Feat: add transfer ibc proto ([61c6cd2](https://github.com/regen-network/regen-js/commit/61c6cd2d4b3903da8bbb5d771dd815bdeb1c1000)) - -# [0.3.0](https://github.com/regen-network/regen-js/compare/v0.2.2...v0.3.0) (2022-06-27) - -### Features - -* Update and gen proto for regen-ledger v4.0 upgrade ([#37](https://github.com/regen-network/regen-js/issues/37)) ([0d0abff](https://github.com/regen-network/regen-js/commit/0d0abffae1f8943d2ece63ea7f3c1a8c5df97837)) - -## [0.2.2](https://github.com/regen-network/regen-js/compare/v0.2.1...v0.2.2) (2022-03-14) - -### Changed - -* **api:** Update tsconfig to not build @regen-network/api as an ES6 module. - -## [0.2.1](https://github.com/regen-network/regen-js/compare/v0.2.0...v0.2.1) (2022-03-08) - -### Features - -* **api:** Regenerate from regen v3.0.0 proto files - -# [0.2.0](https://github.com/regen-network/regen-js/compare/v0.1.2...v0.2.0) (2022-03-01) - -### Features - -* **api:** Add Msg client implementation to API for signing and broadcasting transactions -* **api:** Use fork of [ts-proto](https://github.com/regen-network/ts-proto) -* **api:** Regenerate from cosmos v0.44 and regen v2.0.0 proto files - -## [0.1.3](https://github.com/regen-network/regen-js/compare/v0.1.2...v0.1.3) (2021-01-18) - -### Bug Fixes - -* **api:** Always use adaptor34 in CosmJS ([6646379](https://github.com/regen-network/regen-js/commit/664637900719ad1fa44370405b487222d698fb24)) - -## [0.1.2](https://github.com/regen-network/regen-js/compare/v0.1.1...v0.1.2) (2021-01-18) - -### Bug Fixes - -* **api:** Bump cosmjs to 0.24.0-alpha.17 to fix Tendermint connection ([#15](https://github.com/regen-network/regen-js/issues/15)) ([e365d3e](https://github.com/regen-network/regen-js/commit/e365d3ed6897836912f43b086d1c9d5036809091)) - -## [0.1.1](https://github.com/regen-network/regen-js/compare/v0.1.0...v0.1.1) (2021-01-14) - -### Bug Fixes - -* **api:** Regenerate from v0.40.0 proto files ([#13](https://github.com/regen-network/regen-js/issues/13)) ([0798b1c](https://github.com/regen-network/regen-js/commit/0798b1cd672aa11d2410de8c8b634ba1877c4d35)) - -# 0.1.0 (2021-01-07) - -### Features - -* Add working API for query & demo app ([#1](https://github.com/regen-network/regen-js/issues/1)) ([6460062](https://github.com/regen-network/regen-js/commit/6460062239f69e128204da83416330edd37ac90f)) diff --git a/packages/api/README.md b/packages/api/README.md index 3bb71a2b..f7b9a552 100644 --- a/packages/api/README.md +++ b/packages/api/README.md @@ -1,307 +1,323 @@ # @regen-network/api +

+
+ Javascript API for Regen Ledger +

-## 🚧 Warning +

+ + + + +

-This API is still under heavy construction, be ready for unexpected breaking changes. -The `v1.0.0-alpha4` and `v1.0.0-alpha5` release tags include manual overrides of generated code in `src` in order to resolve a downstream issue within [regen-network/groups-ui](https://github.com/regen-network/groups-ui). For more information, see [#84](https://github.com/regen-network/regen-js/pull/84). +## install -## Table of Contents +```sh +npm install @regen-network/api +``` +## Table of contents -- [Install](#install) +- [@regen-network/api](#@regen-network/api) + - [Install](#install) + - [Table of contents](#table-of-contents) - [Usage](#usage) - - [LCD Queries](#lcd-queries) - - [RPC Queries](#rpc-queries) - - [Composing Messages](#composing-messages) - - [Signing Messages](#signing-messages) -- [Development](#development) - - [Codegen](#codegen) - - [Updating types](#updating-types) - - [Publishing](#publishing) + - [RPC Clients](#rpc-clients) + - [Composing Messages](#composing-messages) + - Cosmos, CosmWasm, and IBC + - [CosmWasm](#cosmwasm-messages) + - [IBC](#ibc-messages) + - [Cosmos](#cosmos-messages) +- [Wallets and Signers](#connecting-with-wallets-and-signing-messages) + - [Stargate Client](#initializing-the-stargate-client) + - [Creating Signers](#creating-signers) + - [Broadcasting Messages](#broadcasting-messages) +- [Advanced Usage](#advanced-usage) +- [Developing](#developing) +- [Codegen](#codegen) +- [Publishing](#publishing) +- [Related](#related) - [Credits](#credits) -## Install +## Usage +### RPC Clients -```sh -yarn add @regen-network/api@v1.0.0-alpha5 -``` +```js +import { regen } from '@regen-network/api'; -## Usage +const { createRPCQueryClient } = regen.ClientFactory; +const client = await createRPCQueryClient({ rpcEndpoint: RPC_ENDPOINT }); -### LCD Queries +// now you can query the cosmos modules +const balance = await client.cosmos.bank.v1beta1 + .allBalances({ address: 'regen1addresshere' }); -Example query using a cosmos module: +// you can also query the regen modules +const balances = await client.regen.exchange.v1beta1 + .exchangeBalances() +``` -```ts -import { cosmos } from "@regen-network/api" -import { PageRequest } from "@regen-network/api/types/codegen/helpers" +### Composing Messages -const { createLCDClient } = cosmos.ClientFactory +Import the `regen` object from `@regen-network/api`. -const client = await createLCDClient({ - restEndpoint: "http://localhost:1317", -}) +```js +import { regen } from '@regen-network/api'; -const response = await client.cosmos.bank.v1beta1.allBalances({ - address: "regen1df675r9vnf7pdedn4sf26svdsem3ugavgxmy46", - pagination: { countTotal: true } as PageRequest, -}) +const { + createSpotLimitOrder, + createSpotMarketOrder, + deposit +} = regen.exchange.v1beta1.MessageComposer.withTypeUrl; ``` -See [LCDCosmos.tsx](../api-demo/src/examples/LCDCosmos.tsx) for an example within the `api-demo` application. +#### CosmWasm Messages -Example query using a regen module: +```js +import { cosmwasm } from "@regen-network/api"; -```ts -import { regen } from "@regen-network/api" -import { PageRequest } from "@regen-network/api/types/codegen/helpers" +const { + clearAdmin, + executeContract, + instantiateContract, + migrateContract, + storeCode, + updateAdmin +} = cosmwasm.wasm.v1.MessageComposer.withTypeUrl; +``` -const { createLCDClient } = regen.ClientFactory +#### IBC Messages -const client = await createLCDClient({ - restEndpoint: "http://localhost:1317", -}) +```js +import { ibc } from '@regen-network/api'; -const response = await client.regen.ecocredit.v1.projectByClass({ - classId: "C01", - pagination: { countTotal: true } as PageRequest, -}) +const { + transfer +} = ibc.applications.transfer.v1.MessageComposer.withTypeUrl ``` -See [LCDRegen.tsx](../api-demo/src/examples/LCDRegen.tsx) for an example within the `api-demo` application. +#### Cosmos Messages + +```js +import { cosmos } from '@regen-network/api'; + +const { + fundCommunityPool, + setWithdrawAddress, + withdrawDelegatorReward, + withdrawValidatorCommission +} = cosmos.distribution.v1beta1.MessageComposer.fromPartial; + +const { + multiSend, + send +} = cosmos.bank.v1beta1.MessageComposer.fromPartial; + +const { + beginRedelegate, + createValidator, + delegate, + editValidator, + undelegate +} = cosmos.staking.v1beta1.MessageComposer.fromPartial; + +const { + deposit, + submitProposal, + vote, + voteWeighted +} = cosmos.gov.v1beta1.MessageComposer.fromPartial; +``` -### RPC Queries +## Connecting with Wallets and Signing Messages -Example query using a cosmos module: +⚡️ For web interfaces, we recommend using [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit). Continue below to see how to manually construct signers and clients. -```ts -import { cosmos } from "@regen-network/api" -import { PageRequest } from "@regen-network/api/types/codegen/helpers" +Here are the docs on [creating signers](https://docs.cosmology.zone/cosmos-kit) in cosmos-kit that can be used with Keplr and other wallets. -import Long from "long" +### Initializing the Stargate Client -const { createRPCQueryClient } = cosmos.ClientFactory +Use `getSigningRegenClient` to get your `SigningStargateClient`, with the proto/amino messages full-loaded. No need to manually add amino types, just require and initialize the client: -const client = await createRPCQueryClient({ - rpcEndpoint: "http://localhost:26657", -}) +```js +import { getSigningRegenClient } from 'api'; -const response = await client.cosmos.bank.v1beta1.allBalances({ - address: "regen1df675r9vnf7pdedn4sf26svdsem3ugavgxmy46", - pagination: { - key: new Uint8Array(0), - limit: Long.fromNumber(0), - offset: Long.fromNumber(0), - } as PageRequest, -}) +const stargateClient = await getSigningRegenClient({ + rpcEndpoint, + signer // OfflineSigner +}); ``` +### Creating Signers -See [RPCCosmos.tsx](../api-demo/src/examples/RPCCosmos.tsx) for an example within the `api-demo` application. - -Example query using a regen module: +To broadcast messages, you can create signers with a variety of options: -```ts -import { regen } from "@regen-network/api" -import { PageRequest } from "@regen-network/api/types/codegen/helpers" +* [cosmos-kit](https://docs.cosmology.zone/cosmos-kit) (recommended) +* [keplr](https://docs.keplr.app/api/cosmjs.html) +* [cosmjs](https://gist.github.com/webmaster128/8444d42a7eceeda2544c8a59fbd7e1d9) +### Amino Signer -import Long from "long" +Likely you'll want to use the Amino, so unless you need proto, you should use this one: -const { createRPCQueryClient } = regen.ClientFactory - -const client = await createRPCQueryClient({ - rpcEndpoint: "http://localhost:26657", -}) +```js +import { getOfflineSignerAmino as getOfflineSigner } from 'cosmjs-utils'; +``` +### Proto Signer -const response = await client.regen.ecocredit.v1.projectByClass({ - classId: "C01", - pagination: { - key: new Uint8Array(0), - limit: Long.fromNumber(0), - offset: Long.fromNumber(0), - } as PageRequest, -}) +```js +import { getOfflineSignerProto as getOfflineSigner } from 'cosmjs-utils'; ``` -See [RPCRegen.tsx](../api-demo/src/examples/RPCRegen.tsx) for an example within the `api-demo` application. +WARNING: NOT RECOMMENDED TO USE PLAIN-TEXT MNEMONICS. Please take care of your security and use best practices such as AES encryption and/or methods from 12factor applications. -### Composing Messages +```js +import { chains } from 'chain-registry'; -Example message using a cosmos module: +const mnemonic = + 'unfold client turtle either pilot stock floor glow toward bullet car science'; + const chain = chains.find(({ chain_name }) => chain_name === 'regen'); + const signer = await getOfflineSigner({ + mnemonic, + chain + }); +``` +### Broadcasting Messages -```ts -import { cosmos, getSigningCosmosClient } from "@regen-network/api" +Now that you have your `stargateClient`, you can broadcast messages: -const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl +```js +const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; const msg = send({ - amount: [ + amount: [ + { + denom: 'coin', + amount: '1000' + } + ], + toAddress: address, + fromAddress: address +}); + +const fee: StdFee = { + amount: [ { - denom: "uregen", - amount: "10000", - }, - ], - toAddress: "regen156d26rl52y3wl865pr5x9q2vqetuw9kf0642sa", - fromAddress: "regen1df675r9vnf7pdedn4sf26svdsem3ugavgxmy46", -}) + denom: 'coin', + amount: '864' + } + ], + gas: '86364' +}; +const response = await stargateClient.signAndBroadcast(address, [msg], fee); ``` -See [MsgCosmos.tsx](../api-demo/src/examples/MsgCosmos.tsx) for an example within the `api-demo` application. - -Example message using a regen module: - -```ts -import { regen, getSigningCosmosClient } from "@regen-network/api" - -const { createProject } = regen.ecocredit.v1.MessageComposer.withTypeUrl - -const msg = createProject({ - admin: "regen1df675r9vnf7pdedn4sf26svdsem3ugavgxmy46", - classId: "C01", - metadata: "regen:13toVgf5UjYBz6J29x28pLQyjKz5FpcW3f4bT5uRKGxGREWGKjEdXYG.rdf", - jurisdiction: "US-WA", -}) -``` +## Advanced Usage -See [MsgRegen.tsx](../api-demo/src/examples/MsgRegen.tsx) for an example within the `api-demo` application. -### Signing Messages +If you want to manually construct a stargate client -Example using a cosmos client (includes encoding for cosmos modules): +```js +import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; +import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -```ts -import { getSigningCosmosClient } from "@regen-network/api" +import { + cosmosAminoConverters, + cosmosProtoRegistry, + cosmwasmAminoConverters, + cosmwasmProtoRegistry, + ibcProtoRegistry, + ibcAminoConverters, + regenAminoConverters, + regenProtoRegistry +} from 'api'; -const { keplr } = window +const signer: OfflineSigner = /* create your signer (see above) */ +const rpcEndpint = 'https://rpc.cosmos.directory/regen'; // or another URL -const offlineSigner = keplr.getOfflineSigner("regen-local") +const protoRegistry: ReadonlyArray<[string, GeneratedType]> = [ + ...cosmosProtoRegistry, + ...cosmwasmProtoRegistry, + ...ibcProtoRegistry, + ...regenProtoRegistry +]; -const [account] = await offlineSigner.getAccounts() +const aminoConverters = { + ...cosmosAminoConverters, + ...cosmwasmAminoConverters, + ...ibcAminoConverters, + ...regenAminoConverters +}; -const signingClient = await getSigningCosmosClient({ - rpcEndpoint: "http://localhost:26657", - signer: offlineSigner, -}) +const registry = new Registry(protoRegistry); +const aminoTypes = new AminoTypes(aminoConverters); -const fee = { - amount: [ - { - denom: "uregen", - amount: "5000", - }, - ], - gas: "100000", -} - -await signingClient.signAndBroadcast(account.address, [msg], fee) +const stargateClient = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { + registry, + aminoTypes +}); ``` -See [MsgCosmos.tsx](../api-demo/src/examples/MsgCosmos.tsx) for an example within the `api-demo` application. - -Example using a regen client (includes encoding for regen modules): - -```ts -import { getSigningRegenClient } from "@regen-network/api" - -const { keplr } = window - -const offlineSigner = keplr.getOfflineSigner("regen-local") - -const [account] = await offlineSigner.getAccounts() +## Developing -const signingClient = await getSigningRegenClient({ - rpcEndpoint: "http://localhost:26657", - signer: offlineSigner, -}) +When first cloning the repo: -const fee = { - amount: [ - { - denom: "uregen", - amount: "5000", - }, - ], - gas: "100000", -} - -await signingClient.signAndBroadcast(account.address, [msg], fee) +``` +yarn +yarn build ``` -See [MsgRegen.tsx](../api-demo/src/examples/MsgRegen.tsx) for an example within the `api-demo` application. +### Codegen -Example using cosmjs and support for both cosmos and regen modules: +Look inside of `scripts/codegen.ts` and configure the settings for bundling your SDK and contracts into `@regen-network/api`: -```ts -import { Registry } from "@cosmjs/proto-signing" -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate" -import { - cosmosAminoConverters, - cosmosProtoRegistry, - regenAminoConverters, - regenProtoRegistry, -} from "@regen-network/api" +``` +yarn codegen +``` -const { keplr } = window +### Publishing -const offlineSigner = keplr.getOfflineSigner("regen-local") +To publish, use `lerna`: -const [account] = await offlineSigner.getAccounts() +``` +lerna publish +``` -const registry = new Registry({ ...cosmosProtoRegistry, ...regenProtoRegistry }) +You can publish patch, minor, or major versions: -const signingClient = await SigningStargateClient.connectWithSigner( - "http://localhost:26657", - offlineSigner, - { - registry, - aminoTypes: new AminoTypes({ - ...cosmosAminoConverters, - ...regenAminoConverters, - }), - }, -) - -const fee = { - amount: [ - { - denom: "uregen", - amount: "5000", - }, - ], - gas: "100000", -} - -await signingClient.signAndBroadcast(account.address, [msg], fee) +``` +lerna publish minor ``` -See [MsgMultiple.tsx](../api-demo/src/examples/MsgMultiple.tsx) for an example within the `api-demo` application. +If you absolutely need to publish manually using npm, ensure to do it this way, and publish from the `dist/` directory for proper tree-shaking module paths: -## Development +``` +cd ./packages/ +yarn build +cd dist +npm publish +``` -Install dependencies: -```sh -yarn -``` +## Related -Generate code from proto: +Checkout these related projects: -```sh -yarn codegen -``` +* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) Your Frontend Companion for Building with TypeScript with Cosmos SDK Modules. +* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) Convert your CosmWasm smart contracts into dev-friendly TypeScript classes. +* [chain-registry](https://github.com/cosmology-tech/chain-registry) Everything from token symbols, logos, and IBC denominations for all assets you want to support in your application. +* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) Experience the convenience of connecting with a variety of web3 wallets through a single, streamlined interface. +* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) Set up a modern Cosmos app by running one command. +* [interchain-ui](https://github.com/cosmology-tech/interchain-ui) The Interchain Design System, empowering developers with a flexible, easy-to-use UI kit. +* [starship](https://github.com/cosmology-tech/starship) Unified Testing and Development for the Interchain. -Compile and build library: +## Credits -```sh -yarn build -``` +🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.zone/validator) -Compile and build `src` code: -```sh -yarn build:ts -``` +## Disclaimer -## Credits +AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. -This package is built on [osmonauts/telescope](https://github.com/osmosis-labs/telescope) with initial guidance from [pyramation/tmpl-telescope-module](https://github.com/pyramation/tmpl-telescope-module). +No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value. diff --git a/packages/api/__tests__/__snapshots__/messages.test.ts.snap b/packages/api/__tests__/__snapshots__/messages.test.ts.snap new file mode 100644 index 00000000..50f3f2f8 --- /dev/null +++ b/packages/api/__tests__/__snapshots__/messages.test.ts.snap @@ -0,0 +1,17 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`cosmos 1`] = ` +{ + "typeUrl": "/cosmos.bank.v1beta1.MsgSend", + "value": { + "amount": [ + { + "amount": "1", + "denom": "uatom", + }, + ], + "fromAddress": "myaddress", + "toAddress": "youraddress", + }, +} +`; diff --git a/packages/api/__tests__/messages.test.ts b/packages/api/__tests__/messages.test.ts new file mode 100644 index 00000000..a34cba76 --- /dev/null +++ b/packages/api/__tests__/messages.test.ts @@ -0,0 +1,15 @@ +import { cosmos } from '../src'; + +it('cosmos', () => { + const message = cosmos.bank.v1beta1.MessageComposer.fromPartial.send({ + amount: [ + { + amount: '1', + denom: 'uatom', + }, + ], + fromAddress: 'myaddress', + toAddress: 'youraddress', + }); + expect(message).toMatchSnapshot(); +}); diff --git a/packages/api/jest.config.js b/packages/api/jest.config.js new file mode 100644 index 00000000..f4c0ce04 --- /dev/null +++ b/packages/api/jest.config.js @@ -0,0 +1,18 @@ +/** @type {import('ts-jest').JestConfigWithTsJest} */ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'node', + transform: { + '^.+\\.tsx?$': [ + 'ts-jest', + { + babelConfig: false, + tsconfig: 'tsconfig.json', + }, + ], + }, + transformIgnorePatterns: [`/node_modules/*`], + testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$', + moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], + modulePathIgnorePatterns: ['dist/*'], +}; diff --git a/packages/api/package.json b/packages/api/package.json index 3d7e4e19..20ad95b2 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -3,6 +3,9 @@ "version": "v1.0.0-alpha5", "author": "admin@regen.network", "description": "Javascript API for Regen Ledger", + "main": "index.js", + "module": "esm/index.js", + "types": "index.d.ts", "license": "Apache-2.0", "repository": { "type": "git", @@ -11,57 +14,29 @@ "bugs": { "url": "https://github.com/regen-network/regen-js/issues" }, - "main": "main/index.js", - "module": "module/index.js", - "typings": "types/index.js", - "directories": { - "lib": "src" - }, - "files": [ - "src", - "types", - "main", - "module" - ], "publishConfig": { - "access": "public" + "access": "public", + "directory": "dist" }, "scripts": { - "build:main": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start --extensions \".tsx,.ts,.js\"", - "build:module": "cross-env MODULE=true babel src --out-dir module --delete-dir-on-start --extensions \".tsx,.ts,.js\"", - "build:ts": "tsc --project ./tsconfig.json", - "build": "yarn build:module && yarn build:main", - "codegen": "cross-env NODE_ENV=development babel-node scripts/codegen.js" + "copy": "copyfiles -f ../../LICENSE README.md package.json dist", + "clean": "rimraf dist/**", + "prepare": "npm run build", + "codegen": "ts-node scripts/codegen.ts", + "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy", + "test": "jest", + "test:watch": "jest --watch" + }, + "devDependencies": { + "@cosmology/telescope": "^1.5.2" }, "dependencies": { - "@babel/runtime": "^7.22.5", - "@cosmjs/amino": "^0.31.0", - "@cosmjs/proto-signing": "^0.31.0", - "@cosmjs/stargate": "^0.31.0", - "@cosmjs/tendermint-rpc": "^0.31.0", - "@cosmology/lcd": "^0.13.3", - "protobufjs": "^7.2.4" + "@cosmjs/encoding": "0.31.0", + "@cosmjs/math": "0.31.0", + "@cosmjs/amino": "0.31.0", + "@cosmjs/proto-signing": "0.31.0", + "@cosmjs/stargate": "0.31.0", + "@cosmology/lcd": "^0.13.4" }, - "devDependencies": { - "@babel/cli": "^7.22.5", - "@babel/core": "7.22.5", - "@babel/node": "^7.22.5", - "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-export-default-from": "^7.22.5", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", - "@babel/plugin-proposal-numeric-separator": "^7.18.6", - "@babel/plugin-proposal-object-rest-spread": "^7.20.7", - "@babel/plugin-proposal-optional-chaining": "^7.21.0", - "@babel/plugin-transform-runtime": "^7.22.5", - "@babel/preset-env": "^7.22.5", - "@babel/preset-typescript": "^7.22.5", - "@cosmology/telescope": "^1.5.2", - "babel-core": "7.0.0-bridge.0", - "babel-watch": "^7.8.0", - "cross-env": "^7.0.3", - "long": "^5.2.3", - "regenerator-runtime": "^0.13.11", - "rimraf": "^5.0.1", - "typescript": "^5.1.6" - } -} + "keywords": [] +} \ No newline at end of file diff --git a/packages/api/scripts/aminos.js b/packages/api/scripts/aminos.ts similarity index 100% rename from packages/api/scripts/aminos.js rename to packages/api/scripts/aminos.ts diff --git a/packages/api/scripts/codegen.js b/packages/api/scripts/codegen.js deleted file mode 100644 index c5cb8c8a..00000000 --- a/packages/api/scripts/codegen.js +++ /dev/null @@ -1,58 +0,0 @@ -import { join } from 'path'; -import telescope from '@cosmology/telescope'; -import { sync as rimraf } from 'rimraf'; -import { AMINO_MAP } from './aminos'; - -const protoDirs = [join(__dirname, '/../proto')]; -const outPath = join(__dirname, '../src/codegen'); -rimraf(outPath); - -telescope({ - protoDirs, - outPath, - options: { - tsDisable: { - files: [ - 'cosmos/authz/v1beta1/tx.amino.ts', - 'cosmos/staking/v1beta1/tx.amino.ts', - ], - }, - interfaces: { - enabled: true, - useUnionTypes: false, - }, - prototypes: { - includePackageVar: false, - addTypeUrlToDecoders: true, - typingsFormat: { - useDeepPartial: false, - useExact: false, - timestamp: 'timestamp', - duration: 'duration', - }, - methods: { - toJSON: true, - fromJSON: true, - }, - }, - aminoEncoding: { - enabled: true, - exceptions: AMINO_MAP, - useRecursiveV2encoding: true, - }, - lcdClients: { - enabled: true, - }, - rpcClients: { - enabled: true, - camelCase: true, - }, - }, -}) - .then(() => { - console.log('✨ all done!'); - }) - .catch(e => { - console.error(e); - process.exit(1); - }); diff --git a/packages/api/scripts/codegen.ts b/packages/api/scripts/codegen.ts new file mode 100644 index 00000000..40eaf86c --- /dev/null +++ b/packages/api/scripts/codegen.ts @@ -0,0 +1,110 @@ +import telescope, { TelescopeInput } from '@cosmology/telescope'; +import { join } from 'path'; +import { rimrafSync as rimraf } from 'rimraf'; + +import { AMINO_MAP } from './aminos'; + +const protoDirs: string[] = [join(__dirname, '/../proto')]; +const outPath: string = join(__dirname, '../src'); +rimraf(outPath); + +export const options: TelescopeInput = { + protoDirs, + outPath, + options: { + interfaces: { + enabled: true, + useUnionTypes: true, + }, + prototypes: { + enabled: true, + excluded: { + packages: [ + 'ibc.applications.fee.v1', // issue with parsing protos (LCD routes with nested objects in params) + 'cosmos.app.v1alpha1', + 'cosmos.app.v1beta1', + 'cosmos.base.kv.v1beta1', + 'cosmos.base.reflection.v1beta1', + 'cosmos.base.snapshots.v1beta1', + 'cosmos.base.store.v1beta1', + 'cosmos.base.tendermint.v1beta1', + 'cosmos.crisis.v1beta1', + 'cosmos.evidence.v1beta1', + 'cosmos.genutil.v1beta1', + 'cosmos.autocli.v1', + 'cosmos.msg.v1', + 'cosmos.nft.v1beta1', + 'cosmos.capability.v1beta1', + 'cosmos.orm.v1alpha1', + 'cosmos.orm.v1', + 'cosmos.slashing.v1beta1', + 'google.api', + 'ibc.core.port.v1', + 'ibc.core.types.v1', + ], + }, + typingsFormat: { + num64: 'bigint', + }, + }, + + bundle: { + enabled: true, + }, + + tsDisable: { + files: [], + patterns: [], + disableAll: true, + }, + + eslintDisable: { + files: [], + patterns: [], + disableAll: false, + }, + + stargateClients: { + enabled: true, + includeCosmosDefaultTypes: true, + }, + + aminoEncoding: { + enabled: true, + customTypes: { + useCosmosSDKDec: false, + }, + exceptions: { + ...AMINO_MAP, + }, + }, + lcdClients: { + enabled: true, + }, + rpcClients: { + type: 'tendermint', + enabled: true, + }, + + reactQuery: { + enabled: false, + }, + + mobx: { + enabled: false, + }, + + pinia: { + enabled: false, + }, + }, +}; + +telescope(options) + .then(() => { + console.log('✨ all done!'); + }) + .catch(e => { + console.error(e); + process.exit(1); + }); diff --git a/packages/api/src/codegen/amino/amino.ts b/packages/api/src/amino/amino.ts similarity index 100% rename from packages/api/src/codegen/amino/amino.ts rename to packages/api/src/amino/amino.ts diff --git a/packages/api/src/codegen/amino/bundle.ts b/packages/api/src/amino/bundle.ts similarity index 82% rename from packages/api/src/codegen/amino/bundle.ts rename to packages/api/src/amino/bundle.ts index d9ebdd1f..a1ab4c8c 100644 --- a/packages/api/src/codegen/amino/bundle.ts +++ b/packages/api/src/amino/bundle.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import * as _0 from "./amino"; export const amino = { ..._0 diff --git a/packages/api/src/codegen/binary.ts b/packages/api/src/binary.ts similarity index 99% rename from packages/api/src/codegen/binary.ts rename to packages/api/src/binary.ts index e42d4d12..e56063cf 100644 --- a/packages/api/src/codegen/binary.ts +++ b/packages/api/src/binary.ts @@ -1,3 +1,4 @@ +//@ts-nocheck /** * This file and any referenced files were automatically generated by @cosmology/telescope@1.5.2 * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain diff --git a/packages/api/src/codegen/cosmos/app/v1alpha1/config.ts b/packages/api/src/codegen/cosmos/app/v1alpha1/config.ts deleted file mode 100644 index addaed85..00000000 --- a/packages/api/src/codegen/cosmos/app/v1alpha1/config.ts +++ /dev/null @@ -1,282 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface Config { - /** modules are the module configurations for the app. */ - modules: ModuleConfig[]; -} -export interface ConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.Config"; - value: Uint8Array; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigAmino { - /** modules are the module configurations for the app. */ - modules?: ModuleConfigAmino[]; -} -export interface ConfigAminoMsg { - type: "cosmos-sdk/Config"; - value: ConfigAmino; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigSDKType { - modules: ModuleConfigSDKType[]; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfig { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config?: Any; -} -export interface ModuleConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig"; - value: Uint8Array; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigAmino { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name?: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config?: AnyAmino; -} -export interface ModuleConfigAminoMsg { - type: "cosmos-sdk/ModuleConfig"; - value: ModuleConfigAmino; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigSDKType { - name: string; - config?: AnySDKType; -} -function createBaseConfig(): Config { - return { - modules: [] - }; -} -export const Config = { - typeUrl: "/cosmos.app.v1alpha1.Config", - encode(message: Config, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.modules) { - ModuleConfig.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Config { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfig(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.modules.push(ModuleConfig.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Config { - return { - modules: Array.isArray(object?.modules) ? object.modules.map((e: any) => ModuleConfig.fromJSON(e)) : [] - }; - }, - toJSON(message: Config): unknown { - const obj: any = {}; - if (message.modules) { - obj.modules = message.modules.map(e => e ? ModuleConfig.toJSON(e) : undefined); - } else { - obj.modules = []; - } - return obj; - }, - fromPartial(object: Partial): Config { - const message = createBaseConfig(); - message.modules = object.modules?.map(e => ModuleConfig.fromPartial(e)) || []; - return message; - }, - fromAmino(object: ConfigAmino): Config { - const message = createBaseConfig(); - message.modules = object.modules?.map(e => ModuleConfig.fromAmino(e)) || []; - return message; - }, - toAmino(message: Config): ConfigAmino { - const obj: any = {}; - if (message.modules) { - obj.modules = message.modules.map(e => e ? ModuleConfig.toAmino(e) : undefined); - } else { - obj.modules = message.modules; - } - return obj; - }, - fromAminoMsg(object: ConfigAminoMsg): Config { - return Config.fromAmino(object.value); - }, - toAminoMsg(message: Config): ConfigAminoMsg { - return { - type: "cosmos-sdk/Config", - value: Config.toAmino(message) - }; - }, - fromProtoMsg(message: ConfigProtoMsg): Config { - return Config.decode(message.value); - }, - toProto(message: Config): Uint8Array { - return Config.encode(message).finish(); - }, - toProtoMsg(message: Config): ConfigProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.Config", - value: Config.encode(message).finish() - }; - } -}; -function createBaseModuleConfig(): ModuleConfig { - return { - name: "", - config: undefined - }; -} -export const ModuleConfig = { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig", - encode(message: ModuleConfig, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.config !== undefined) { - Any.encode(message.config, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ModuleConfig { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleConfig(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.config = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleConfig { - return { - name: isSet(object.name) ? String(object.name) : "", - config: isSet(object.config) ? Any.fromJSON(object.config) : undefined - }; - }, - toJSON(message: ModuleConfig): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.config !== undefined && (obj.config = message.config ? Any.toJSON(message.config) : undefined); - return obj; - }, - fromPartial(object: Partial): ModuleConfig { - const message = createBaseModuleConfig(); - message.name = object.name ?? ""; - message.config = object.config !== undefined && object.config !== null ? Any.fromPartial(object.config) : undefined; - return message; - }, - fromAmino(object: ModuleConfigAmino): ModuleConfig { - const message = createBaseModuleConfig(); - if (object.name !== undefined && object.name !== null) { - message.name = object.name; - } - if (object.config !== undefined && object.config !== null) { - message.config = Any.fromAmino(object.config); - } - return message; - }, - toAmino(message: ModuleConfig): ModuleConfigAmino { - const obj: any = {}; - obj.name = message.name === "" ? undefined : message.name; - obj.config = message.config ? Any.toAmino(message.config) : undefined; - return obj; - }, - fromAminoMsg(object: ModuleConfigAminoMsg): ModuleConfig { - return ModuleConfig.fromAmino(object.value); - }, - toAminoMsg(message: ModuleConfig): ModuleConfigAminoMsg { - return { - type: "cosmos-sdk/ModuleConfig", - value: ModuleConfig.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleConfigProtoMsg): ModuleConfig { - return ModuleConfig.decode(message.value); - }, - toProto(message: ModuleConfig): Uint8Array { - return ModuleConfig.encode(message).finish(); - }, - toProtoMsg(message: ModuleConfig): ModuleConfigProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig", - value: ModuleConfig.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts b/packages/api/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts deleted file mode 100644 index 7aaf4092..00000000 --- a/packages/api/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryConfigRequest, QueryConfigResponse } from "./query"; -/** Query is the app module query service. */ -export interface Query { - /** Config returns the current app config. */ - config(request?: QueryConfigRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.config = this.config.bind(this); - } - config(request: QueryConfigRequest = {}): Promise { - const data = QueryConfigRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.app.v1alpha1.Query", "Config", data); - return promise.then(data => QueryConfigResponse.decode(new BinaryReader(data))); - } -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - config(request?: QueryConfigRequest): Promise { - return queryService.config(request); - } - }; -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/app/v1alpha1/query.ts b/packages/api/src/codegen/cosmos/app/v1alpha1/query.ts deleted file mode 100644 index 33f9e4ce..00000000 --- a/packages/api/src/codegen/cosmos/app/v1alpha1/query.ts +++ /dev/null @@ -1,181 +0,0 @@ -import { Config, ConfigAmino, ConfigSDKType } from "./config"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequest {} -export interface QueryConfigRequestProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestAmino {} -export interface QueryConfigRequestAminoMsg { - type: "cosmos-sdk/QueryConfigRequest"; - value: QueryConfigRequestAmino; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestSDKType {} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponse { - /** config is the current app config. */ - config?: Config; -} -export interface QueryConfigResponseProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseAmino { - /** config is the current app config. */ - config?: ConfigAmino; -} -export interface QueryConfigResponseAminoMsg { - type: "cosmos-sdk/QueryConfigResponse"; - value: QueryConfigResponseAmino; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseSDKType { - config?: ConfigSDKType; -} -function createBaseQueryConfigRequest(): QueryConfigRequest { - return {}; -} -export const QueryConfigRequest = { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest", - encode(_: QueryConfigRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryConfigRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConfigRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryConfigRequest { - return {}; - }, - toJSON(_: QueryConfigRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): QueryConfigRequest { - const message = createBaseQueryConfigRequest(); - return message; - }, - fromAmino(_: QueryConfigRequestAmino): QueryConfigRequest { - const message = createBaseQueryConfigRequest(); - return message; - }, - toAmino(_: QueryConfigRequest): QueryConfigRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryConfigRequestAminoMsg): QueryConfigRequest { - return QueryConfigRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryConfigRequest): QueryConfigRequestAminoMsg { - return { - type: "cosmos-sdk/QueryConfigRequest", - value: QueryConfigRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryConfigRequestProtoMsg): QueryConfigRequest { - return QueryConfigRequest.decode(message.value); - }, - toProto(message: QueryConfigRequest): Uint8Array { - return QueryConfigRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryConfigRequest): QueryConfigRequestProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest", - value: QueryConfigRequest.encode(message).finish() - }; - } -}; -function createBaseQueryConfigResponse(): QueryConfigResponse { - return { - config: undefined - }; -} -export const QueryConfigResponse = { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse", - encode(message: QueryConfigResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.config !== undefined) { - Config.encode(message.config, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryConfigResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConfigResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.config = Config.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryConfigResponse { - return { - config: isSet(object.config) ? Config.fromJSON(object.config) : undefined - }; - }, - toJSON(message: QueryConfigResponse): unknown { - const obj: any = {}; - message.config !== undefined && (obj.config = message.config ? Config.toJSON(message.config) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryConfigResponse { - const message = createBaseQueryConfigResponse(); - message.config = object.config !== undefined && object.config !== null ? Config.fromPartial(object.config) : undefined; - return message; - }, - fromAmino(object: QueryConfigResponseAmino): QueryConfigResponse { - const message = createBaseQueryConfigResponse(); - if (object.config !== undefined && object.config !== null) { - message.config = Config.fromAmino(object.config); - } - return message; - }, - toAmino(message: QueryConfigResponse): QueryConfigResponseAmino { - const obj: any = {}; - obj.config = message.config ? Config.toAmino(message.config) : undefined; - return obj; - }, - fromAminoMsg(object: QueryConfigResponseAminoMsg): QueryConfigResponse { - return QueryConfigResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryConfigResponse): QueryConfigResponseAminoMsg { - return { - type: "cosmos-sdk/QueryConfigResponse", - value: QueryConfigResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryConfigResponseProtoMsg): QueryConfigResponse { - return QueryConfigResponse.decode(message.value); - }, - toProto(message: QueryConfigResponse): Uint8Array { - return QueryConfigResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryConfigResponse): QueryConfigResponseProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse", - value: QueryConfigResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/kv/v1beta1/kv.ts b/packages/api/src/codegen/cosmos/base/kv/v1beta1/kv.ts deleted file mode 100644 index f10db41f..00000000 --- a/packages/api/src/codegen/cosmos/base/kv/v1beta1/kv.ts +++ /dev/null @@ -1,223 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -/** Pairs defines a repeated slice of Pair objects. */ -export interface Pairs { - pairs: Pair[]; -} -export interface PairsProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs"; - value: Uint8Array; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsAmino { - pairs?: PairAmino[]; -} -export interface PairsAminoMsg { - type: "cosmos-sdk/Pairs"; - value: PairsAmino; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsSDKType { - pairs: PairSDKType[]; -} -/** Pair defines a key/value bytes tuple. */ -export interface Pair { - key: Uint8Array; - value: Uint8Array; -} -export interface PairProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pair"; - value: Uint8Array; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairAmino { - key?: string; - value?: string; -} -export interface PairAminoMsg { - type: "cosmos-sdk/Pair"; - value: PairAmino; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairSDKType { - key: Uint8Array; - value: Uint8Array; -} -function createBasePairs(): Pairs { - return { - pairs: [] - }; -} -export const Pairs = { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs", - encode(message: Pairs, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.pairs) { - Pair.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Pairs { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePairs(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pairs.push(Pair.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Pairs { - return { - pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => Pair.fromJSON(e)) : [] - }; - }, - toJSON(message: Pairs): unknown { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? Pair.toJSON(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, - fromPartial(object: Partial): Pairs { - const message = createBasePairs(); - message.pairs = object.pairs?.map(e => Pair.fromPartial(e)) || []; - return message; - }, - fromAmino(object: PairsAmino): Pairs { - const message = createBasePairs(); - message.pairs = object.pairs?.map(e => Pair.fromAmino(e)) || []; - return message; - }, - toAmino(message: Pairs): PairsAmino { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? Pair.toAmino(e) : undefined); - } else { - obj.pairs = message.pairs; - } - return obj; - }, - fromAminoMsg(object: PairsAminoMsg): Pairs { - return Pairs.fromAmino(object.value); - }, - toAminoMsg(message: Pairs): PairsAminoMsg { - return { - type: "cosmos-sdk/Pairs", - value: Pairs.toAmino(message) - }; - }, - fromProtoMsg(message: PairsProtoMsg): Pairs { - return Pairs.decode(message.value); - }, - toProto(message: Pairs): Uint8Array { - return Pairs.encode(message).finish(); - }, - toProtoMsg(message: Pairs): PairsProtoMsg { - return { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs", - value: Pairs.encode(message).finish() - }; - } -}; -function createBasePair(): Pair { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} -export const Pair = { - typeUrl: "/cosmos.base.kv.v1beta1.Pair", - encode(message: Pair, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Pair { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePair(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Pair { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - toJSON(message: Pair): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): Pair { - const message = createBasePair(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromAmino(object: PairAmino): Pair { - const message = createBasePair(); - if (object.key !== undefined && object.key !== null) { - message.key = bytesFromBase64(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = bytesFromBase64(object.value); - } - return message; - }, - toAmino(message: Pair): PairAmino { - const obj: any = {}; - obj.key = message.key ? base64FromBytes(message.key) : undefined; - obj.value = message.value ? base64FromBytes(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: PairAminoMsg): Pair { - return Pair.fromAmino(object.value); - }, - toAminoMsg(message: Pair): PairAminoMsg { - return { - type: "cosmos-sdk/Pair", - value: Pair.toAmino(message) - }; - }, - fromProtoMsg(message: PairProtoMsg): Pair { - return Pair.decode(message.value); - }, - toProto(message: Pair): Uint8Array { - return Pair.encode(message).finish(); - }, - toProtoMsg(message: Pair): PairProtoMsg { - return { - typeUrl: "/cosmos.base.kv.v1beta1.Pair", - value: Pair.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/packages/api/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts deleted file mode 100644 index f0e10758..00000000 --- a/packages/api/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +++ /dev/null @@ -1,410 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequest {} -export interface ListAllInterfacesRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest"; - value: Uint8Array; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestAmino {} -export interface ListAllInterfacesRequestAminoMsg { - type: "cosmos-sdk/ListAllInterfacesRequest"; - value: ListAllInterfacesRequestAmino; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestSDKType {} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponse { - /** interface_names is an array of all the registered interfaces. */ - interfaceNames: string[]; -} -export interface ListAllInterfacesResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse"; - value: Uint8Array; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseAmino { - /** interface_names is an array of all the registered interfaces. */ - interface_names?: string[]; -} -export interface ListAllInterfacesResponseAminoMsg { - type: "cosmos-sdk/ListAllInterfacesResponse"; - value: ListAllInterfacesResponseAmino; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseSDKType { - interface_names: string[]; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequest { - /** interface_name defines the interface to query the implementations for. */ - interfaceName: string; -} -export interface ListImplementationsRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest"; - value: Uint8Array; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestAmino { - /** interface_name defines the interface to query the implementations for. */ - interface_name?: string; -} -export interface ListImplementationsRequestAminoMsg { - type: "cosmos-sdk/ListImplementationsRequest"; - value: ListImplementationsRequestAmino; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestSDKType { - interface_name: string; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponse { - implementationMessageNames: string[]; -} -export interface ListImplementationsResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse"; - value: Uint8Array; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseAmino { - implementation_message_names?: string[]; -} -export interface ListImplementationsResponseAminoMsg { - type: "cosmos-sdk/ListImplementationsResponse"; - value: ListImplementationsResponseAmino; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseSDKType { - implementation_message_names: string[]; -} -function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { - return {}; -} -export const ListAllInterfacesRequest = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest", - encode(_: ListAllInterfacesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ListAllInterfacesRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListAllInterfacesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): ListAllInterfacesRequest { - return {}; - }, - toJSON(_: ListAllInterfacesRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): ListAllInterfacesRequest { - const message = createBaseListAllInterfacesRequest(); - return message; - }, - fromAmino(_: ListAllInterfacesRequestAmino): ListAllInterfacesRequest { - const message = createBaseListAllInterfacesRequest(); - return message; - }, - toAmino(_: ListAllInterfacesRequest): ListAllInterfacesRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: ListAllInterfacesRequestAminoMsg): ListAllInterfacesRequest { - return ListAllInterfacesRequest.fromAmino(object.value); - }, - toAminoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestAminoMsg { - return { - type: "cosmos-sdk/ListAllInterfacesRequest", - value: ListAllInterfacesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: ListAllInterfacesRequestProtoMsg): ListAllInterfacesRequest { - return ListAllInterfacesRequest.decode(message.value); - }, - toProto(message: ListAllInterfacesRequest): Uint8Array { - return ListAllInterfacesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest", - value: ListAllInterfacesRequest.encode(message).finish() - }; - } -}; -function createBaseListAllInterfacesResponse(): ListAllInterfacesResponse { - return { - interfaceNames: [] - }; -} -export const ListAllInterfacesResponse = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse", - encode(message: ListAllInterfacesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.interfaceNames) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ListAllInterfacesResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListAllInterfacesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.interfaceNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListAllInterfacesResponse { - return { - interfaceNames: Array.isArray(object?.interfaceNames) ? object.interfaceNames.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: ListAllInterfacesResponse): unknown { - const obj: any = {}; - if (message.interfaceNames) { - obj.interfaceNames = message.interfaceNames.map(e => e); - } else { - obj.interfaceNames = []; - } - return obj; - }, - fromPartial(object: Partial): ListAllInterfacesResponse { - const message = createBaseListAllInterfacesResponse(); - message.interfaceNames = object.interfaceNames?.map(e => e) || []; - return message; - }, - fromAmino(object: ListAllInterfacesResponseAmino): ListAllInterfacesResponse { - const message = createBaseListAllInterfacesResponse(); - message.interfaceNames = object.interface_names?.map(e => e) || []; - return message; - }, - toAmino(message: ListAllInterfacesResponse): ListAllInterfacesResponseAmino { - const obj: any = {}; - if (message.interfaceNames) { - obj.interface_names = message.interfaceNames.map(e => e); - } else { - obj.interface_names = message.interfaceNames; - } - return obj; - }, - fromAminoMsg(object: ListAllInterfacesResponseAminoMsg): ListAllInterfacesResponse { - return ListAllInterfacesResponse.fromAmino(object.value); - }, - toAminoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseAminoMsg { - return { - type: "cosmos-sdk/ListAllInterfacesResponse", - value: ListAllInterfacesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: ListAllInterfacesResponseProtoMsg): ListAllInterfacesResponse { - return ListAllInterfacesResponse.decode(message.value); - }, - toProto(message: ListAllInterfacesResponse): Uint8Array { - return ListAllInterfacesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse", - value: ListAllInterfacesResponse.encode(message).finish() - }; - } -}; -function createBaseListImplementationsRequest(): ListImplementationsRequest { - return { - interfaceName: "" - }; -} -export const ListImplementationsRequest = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest", - encode(message: ListImplementationsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.interfaceName !== "") { - writer.uint32(10).string(message.interfaceName); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ListImplementationsRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListImplementationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.interfaceName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListImplementationsRequest { - return { - interfaceName: isSet(object.interfaceName) ? String(object.interfaceName) : "" - }; - }, - toJSON(message: ListImplementationsRequest): unknown { - const obj: any = {}; - message.interfaceName !== undefined && (obj.interfaceName = message.interfaceName); - return obj; - }, - fromPartial(object: Partial): ListImplementationsRequest { - const message = createBaseListImplementationsRequest(); - message.interfaceName = object.interfaceName ?? ""; - return message; - }, - fromAmino(object: ListImplementationsRequestAmino): ListImplementationsRequest { - const message = createBaseListImplementationsRequest(); - if (object.interface_name !== undefined && object.interface_name !== null) { - message.interfaceName = object.interface_name; - } - return message; - }, - toAmino(message: ListImplementationsRequest): ListImplementationsRequestAmino { - const obj: any = {}; - obj.interface_name = message.interfaceName === "" ? undefined : message.interfaceName; - return obj; - }, - fromAminoMsg(object: ListImplementationsRequestAminoMsg): ListImplementationsRequest { - return ListImplementationsRequest.fromAmino(object.value); - }, - toAminoMsg(message: ListImplementationsRequest): ListImplementationsRequestAminoMsg { - return { - type: "cosmos-sdk/ListImplementationsRequest", - value: ListImplementationsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: ListImplementationsRequestProtoMsg): ListImplementationsRequest { - return ListImplementationsRequest.decode(message.value); - }, - toProto(message: ListImplementationsRequest): Uint8Array { - return ListImplementationsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListImplementationsRequest): ListImplementationsRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest", - value: ListImplementationsRequest.encode(message).finish() - }; - } -}; -function createBaseListImplementationsResponse(): ListImplementationsResponse { - return { - implementationMessageNames: [] - }; -} -export const ListImplementationsResponse = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse", - encode(message: ListImplementationsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.implementationMessageNames) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ListImplementationsResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListImplementationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.implementationMessageNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListImplementationsResponse { - return { - implementationMessageNames: Array.isArray(object?.implementationMessageNames) ? object.implementationMessageNames.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: ListImplementationsResponse): unknown { - const obj: any = {}; - if (message.implementationMessageNames) { - obj.implementationMessageNames = message.implementationMessageNames.map(e => e); - } else { - obj.implementationMessageNames = []; - } - return obj; - }, - fromPartial(object: Partial): ListImplementationsResponse { - const message = createBaseListImplementationsResponse(); - message.implementationMessageNames = object.implementationMessageNames?.map(e => e) || []; - return message; - }, - fromAmino(object: ListImplementationsResponseAmino): ListImplementationsResponse { - const message = createBaseListImplementationsResponse(); - message.implementationMessageNames = object.implementation_message_names?.map(e => e) || []; - return message; - }, - toAmino(message: ListImplementationsResponse): ListImplementationsResponseAmino { - const obj: any = {}; - if (message.implementationMessageNames) { - obj.implementation_message_names = message.implementationMessageNames.map(e => e); - } else { - obj.implementation_message_names = message.implementationMessageNames; - } - return obj; - }, - fromAminoMsg(object: ListImplementationsResponseAminoMsg): ListImplementationsResponse { - return ListImplementationsResponse.fromAmino(object.value); - }, - toAminoMsg(message: ListImplementationsResponse): ListImplementationsResponseAminoMsg { - return { - type: "cosmos-sdk/ListImplementationsResponse", - value: ListImplementationsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: ListImplementationsResponseProtoMsg): ListImplementationsResponse { - return ListImplementationsResponse.decode(message.value); - }, - toProto(message: ListImplementationsResponse): Uint8Array { - return ListImplementationsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListImplementationsResponse): ListImplementationsResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse", - value: ListImplementationsResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/packages/api/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts deleted file mode 100644 index 2d87d820..00000000 --- a/packages/api/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +++ /dev/null @@ -1,1233 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface Snapshot { - height: bigint; - format: number; - chunks: number; - hash: Uint8Array; - metadata: Metadata; -} -export interface SnapshotProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot"; - value: Uint8Array; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotAmino { - height?: string; - format?: number; - chunks?: number; - hash?: string; - metadata?: MetadataAmino; -} -export interface SnapshotAminoMsg { - type: "cosmos-sdk/Snapshot"; - value: SnapshotAmino; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotSDKType { - height: bigint; - format: number; - chunks: number; - hash: Uint8Array; - metadata: MetadataSDKType; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface Metadata { - /** SHA-256 chunk hashes */ - chunkHashes: Uint8Array[]; -} -export interface MetadataProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata"; - value: Uint8Array; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataAmino { - /** SHA-256 chunk hashes */ - chunk_hashes?: string[]; -} -export interface MetadataAminoMsg { - type: "cosmos-sdk/Metadata"; - value: MetadataAmino; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataSDKType { - chunk_hashes: Uint8Array[]; -} -/** - * SnapshotItem is an item contained in a rootmulti.Store snapshot. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotItem { - store?: SnapshotStoreItem; - iavl?: SnapshotIAVLItem; - extension?: SnapshotExtensionMeta; - extensionPayload?: SnapshotExtensionPayload; - kv?: SnapshotKVItem; - schema?: SnapshotSchema; -} -export interface SnapshotItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem"; - value: Uint8Array; -} -/** - * SnapshotItem is an item contained in a rootmulti.Store snapshot. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotItemAmino { - store?: SnapshotStoreItemAmino; - iavl?: SnapshotIAVLItemAmino; - extension?: SnapshotExtensionMetaAmino; - extension_payload?: SnapshotExtensionPayloadAmino; - kv?: SnapshotKVItemAmino; - schema?: SnapshotSchemaAmino; -} -export interface SnapshotItemAminoMsg { - type: "cosmos-sdk/SnapshotItem"; - value: SnapshotItemAmino; -} -/** - * SnapshotItem is an item contained in a rootmulti.Store snapshot. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotItemSDKType { - store?: SnapshotStoreItemSDKType; - iavl?: SnapshotIAVLItemSDKType; - extension?: SnapshotExtensionMetaSDKType; - extension_payload?: SnapshotExtensionPayloadSDKType; - kv?: SnapshotKVItemSDKType; - schema?: SnapshotSchemaSDKType; -} -/** - * SnapshotStoreItem contains metadata about a snapshotted store. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotStoreItem { - name: string; -} -export interface SnapshotStoreItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem"; - value: Uint8Array; -} -/** - * SnapshotStoreItem contains metadata about a snapshotted store. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotStoreItemAmino { - name?: string; -} -export interface SnapshotStoreItemAminoMsg { - type: "cosmos-sdk/SnapshotStoreItem"; - value: SnapshotStoreItemAmino; -} -/** - * SnapshotStoreItem contains metadata about a snapshotted store. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotStoreItemSDKType { - name: string; -} -/** - * SnapshotIAVLItem is an exported IAVL node. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotIAVLItem { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - version: bigint; - /** height is depth of the tree. */ - height: number; -} -export interface SnapshotIAVLItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem"; - value: Uint8Array; -} -/** - * SnapshotIAVLItem is an exported IAVL node. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotIAVLItemAmino { - key?: string; - value?: string; - /** version is block height */ - version?: string; - /** height is depth of the tree. */ - height?: number; -} -export interface SnapshotIAVLItemAminoMsg { - type: "cosmos-sdk/SnapshotIAVLItem"; - value: SnapshotIAVLItemAmino; -} -/** - * SnapshotIAVLItem is an exported IAVL node. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotIAVLItemSDKType { - key: Uint8Array; - value: Uint8Array; - version: bigint; - height: number; -} -/** - * SnapshotExtensionMeta contains metadata about an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionMeta { - name: string; - format: number; -} -export interface SnapshotExtensionMetaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta"; - value: Uint8Array; -} -/** - * SnapshotExtensionMeta contains metadata about an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionMetaAmino { - name?: string; - format?: number; -} -export interface SnapshotExtensionMetaAminoMsg { - type: "cosmos-sdk/SnapshotExtensionMeta"; - value: SnapshotExtensionMetaAmino; -} -/** - * SnapshotExtensionMeta contains metadata about an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionMetaSDKType { - name: string; - format: number; -} -/** - * SnapshotExtensionPayload contains payloads of an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionPayload { - payload: Uint8Array; -} -export interface SnapshotExtensionPayloadProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload"; - value: Uint8Array; -} -/** - * SnapshotExtensionPayload contains payloads of an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionPayloadAmino { - payload?: string; -} -export interface SnapshotExtensionPayloadAminoMsg { - type: "cosmos-sdk/SnapshotExtensionPayload"; - value: SnapshotExtensionPayloadAmino; -} -/** - * SnapshotExtensionPayload contains payloads of an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionPayloadSDKType { - payload: Uint8Array; -} -/** - * SnapshotKVItem is an exported Key/Value Pair - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotKVItem { - key: Uint8Array; - value: Uint8Array; -} -export interface SnapshotKVItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem"; - value: Uint8Array; -} -/** - * SnapshotKVItem is an exported Key/Value Pair - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotKVItemAmino { - key?: string; - value?: string; -} -export interface SnapshotKVItemAminoMsg { - type: "cosmos-sdk/SnapshotKVItem"; - value: SnapshotKVItemAmino; -} -/** - * SnapshotKVItem is an exported Key/Value Pair - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotKVItemSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** - * SnapshotSchema is an exported schema of smt store - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotSchema { - keys: Uint8Array[]; -} -export interface SnapshotSchemaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema"; - value: Uint8Array; -} -/** - * SnapshotSchema is an exported schema of smt store - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotSchemaAmino { - keys?: string[]; -} -export interface SnapshotSchemaAminoMsg { - type: "cosmos-sdk/SnapshotSchema"; - value: SnapshotSchemaAmino; -} -/** - * SnapshotSchema is an exported schema of smt store - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotSchemaSDKType { - keys: Uint8Array[]; -} -function createBaseSnapshot(): Snapshot { - return { - height: BigInt(0), - format: 0, - chunks: 0, - hash: new Uint8Array(), - metadata: Metadata.fromPartial({}) - }; -} -export const Snapshot = { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot", - encode(message: Snapshot, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.height !== BigInt(0)) { - writer.uint32(8).uint64(message.height); - } - if (message.format !== 0) { - writer.uint32(16).uint32(message.format); - } - if (message.chunks !== 0) { - writer.uint32(24).uint32(message.chunks); - } - if (message.hash.length !== 0) { - writer.uint32(34).bytes(message.hash); - } - if (message.metadata !== undefined) { - Metadata.encode(message.metadata, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Snapshot { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshot(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = reader.uint64(); - break; - case 2: - message.format = reader.uint32(); - break; - case 3: - message.chunks = reader.uint32(); - break; - case 4: - message.hash = reader.bytes(); - break; - case 5: - message.metadata = Metadata.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Snapshot { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - format: isSet(object.format) ? Number(object.format) : 0, - chunks: isSet(object.chunks) ? Number(object.chunks) : 0, - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(), - metadata: isSet(object.metadata) ? Metadata.fromJSON(object.metadata) : undefined - }; - }, - toJSON(message: Snapshot): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.format !== undefined && (obj.format = Math.round(message.format)); - message.chunks !== undefined && (obj.chunks = Math.round(message.chunks)); - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.metadata !== undefined && (obj.metadata = message.metadata ? Metadata.toJSON(message.metadata) : undefined); - return obj; - }, - fromPartial(object: Partial): Snapshot { - const message = createBaseSnapshot(); - message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.format = object.format ?? 0; - message.chunks = object.chunks ?? 0; - message.hash = object.hash ?? new Uint8Array(); - message.metadata = object.metadata !== undefined && object.metadata !== null ? Metadata.fromPartial(object.metadata) : undefined; - return message; - }, - fromAmino(object: SnapshotAmino): Snapshot { - const message = createBaseSnapshot(); - if (object.height !== undefined && object.height !== null) { - message.height = BigInt(object.height); - } - if (object.format !== undefined && object.format !== null) { - message.format = object.format; - } - if (object.chunks !== undefined && object.chunks !== null) { - message.chunks = object.chunks; - } - if (object.hash !== undefined && object.hash !== null) { - message.hash = bytesFromBase64(object.hash); - } - if (object.metadata !== undefined && object.metadata !== null) { - message.metadata = Metadata.fromAmino(object.metadata); - } - return message; - }, - toAmino(message: Snapshot): SnapshotAmino { - const obj: any = {}; - obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.format = message.format === 0 ? undefined : message.format; - obj.chunks = message.chunks === 0 ? undefined : message.chunks; - obj.hash = message.hash ? base64FromBytes(message.hash) : undefined; - obj.metadata = message.metadata ? Metadata.toAmino(message.metadata) : undefined; - return obj; - }, - fromAminoMsg(object: SnapshotAminoMsg): Snapshot { - return Snapshot.fromAmino(object.value); - }, - toAminoMsg(message: Snapshot): SnapshotAminoMsg { - return { - type: "cosmos-sdk/Snapshot", - value: Snapshot.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotProtoMsg): Snapshot { - return Snapshot.decode(message.value); - }, - toProto(message: Snapshot): Uint8Array { - return Snapshot.encode(message).finish(); - }, - toProtoMsg(message: Snapshot): SnapshotProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot", - value: Snapshot.encode(message).finish() - }; - } -}; -function createBaseMetadata(): Metadata { - return { - chunkHashes: [] - }; -} -export const Metadata = { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata", - encode(message: Metadata, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.chunkHashes) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Metadata { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.chunkHashes.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Metadata { - return { - chunkHashes: Array.isArray(object?.chunkHashes) ? object.chunkHashes.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: Metadata): unknown { - const obj: any = {}; - if (message.chunkHashes) { - obj.chunkHashes = message.chunkHashes.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.chunkHashes = []; - } - return obj; - }, - fromPartial(object: Partial): Metadata { - const message = createBaseMetadata(); - message.chunkHashes = object.chunkHashes?.map(e => e) || []; - return message; - }, - fromAmino(object: MetadataAmino): Metadata { - const message = createBaseMetadata(); - message.chunkHashes = object.chunk_hashes?.map(e => bytesFromBase64(e)) || []; - return message; - }, - toAmino(message: Metadata): MetadataAmino { - const obj: any = {}; - if (message.chunkHashes) { - obj.chunk_hashes = message.chunkHashes.map(e => base64FromBytes(e)); - } else { - obj.chunk_hashes = message.chunkHashes; - } - return obj; - }, - fromAminoMsg(object: MetadataAminoMsg): Metadata { - return Metadata.fromAmino(object.value); - }, - toAminoMsg(message: Metadata): MetadataAminoMsg { - return { - type: "cosmos-sdk/Metadata", - value: Metadata.toAmino(message) - }; - }, - fromProtoMsg(message: MetadataProtoMsg): Metadata { - return Metadata.decode(message.value); - }, - toProto(message: Metadata): Uint8Array { - return Metadata.encode(message).finish(); - }, - toProtoMsg(message: Metadata): MetadataProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata", - value: Metadata.encode(message).finish() - }; - } -}; -function createBaseSnapshotItem(): SnapshotItem { - return { - store: undefined, - iavl: undefined, - extension: undefined, - extensionPayload: undefined, - kv: undefined, - schema: undefined - }; -} -export const SnapshotItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem", - encode(message: SnapshotItem, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.store !== undefined) { - SnapshotStoreItem.encode(message.store, writer.uint32(10).fork()).ldelim(); - } - if (message.iavl !== undefined) { - SnapshotIAVLItem.encode(message.iavl, writer.uint32(18).fork()).ldelim(); - } - if (message.extension !== undefined) { - SnapshotExtensionMeta.encode(message.extension, writer.uint32(26).fork()).ldelim(); - } - if (message.extensionPayload !== undefined) { - SnapshotExtensionPayload.encode(message.extensionPayload, writer.uint32(34).fork()).ldelim(); - } - if (message.kv !== undefined) { - SnapshotKVItem.encode(message.kv, writer.uint32(42).fork()).ldelim(); - } - if (message.schema !== undefined) { - SnapshotSchema.encode(message.schema, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotItem { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.store = SnapshotStoreItem.decode(reader, reader.uint32()); - break; - case 2: - message.iavl = SnapshotIAVLItem.decode(reader, reader.uint32()); - break; - case 3: - message.extension = SnapshotExtensionMeta.decode(reader, reader.uint32()); - break; - case 4: - message.extensionPayload = SnapshotExtensionPayload.decode(reader, reader.uint32()); - break; - case 5: - message.kv = SnapshotKVItem.decode(reader, reader.uint32()); - break; - case 6: - message.schema = SnapshotSchema.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotItem { - return { - store: isSet(object.store) ? SnapshotStoreItem.fromJSON(object.store) : undefined, - iavl: isSet(object.iavl) ? SnapshotIAVLItem.fromJSON(object.iavl) : undefined, - extension: isSet(object.extension) ? SnapshotExtensionMeta.fromJSON(object.extension) : undefined, - extensionPayload: isSet(object.extensionPayload) ? SnapshotExtensionPayload.fromJSON(object.extensionPayload) : undefined, - kv: isSet(object.kv) ? SnapshotKVItem.fromJSON(object.kv) : undefined, - schema: isSet(object.schema) ? SnapshotSchema.fromJSON(object.schema) : undefined - }; - }, - toJSON(message: SnapshotItem): unknown { - const obj: any = {}; - message.store !== undefined && (obj.store = message.store ? SnapshotStoreItem.toJSON(message.store) : undefined); - message.iavl !== undefined && (obj.iavl = message.iavl ? SnapshotIAVLItem.toJSON(message.iavl) : undefined); - message.extension !== undefined && (obj.extension = message.extension ? SnapshotExtensionMeta.toJSON(message.extension) : undefined); - message.extensionPayload !== undefined && (obj.extensionPayload = message.extensionPayload ? SnapshotExtensionPayload.toJSON(message.extensionPayload) : undefined); - message.kv !== undefined && (obj.kv = message.kv ? SnapshotKVItem.toJSON(message.kv) : undefined); - message.schema !== undefined && (obj.schema = message.schema ? SnapshotSchema.toJSON(message.schema) : undefined); - return obj; - }, - fromPartial(object: Partial): SnapshotItem { - const message = createBaseSnapshotItem(); - message.store = object.store !== undefined && object.store !== null ? SnapshotStoreItem.fromPartial(object.store) : undefined; - message.iavl = object.iavl !== undefined && object.iavl !== null ? SnapshotIAVLItem.fromPartial(object.iavl) : undefined; - message.extension = object.extension !== undefined && object.extension !== null ? SnapshotExtensionMeta.fromPartial(object.extension) : undefined; - message.extensionPayload = object.extensionPayload !== undefined && object.extensionPayload !== null ? SnapshotExtensionPayload.fromPartial(object.extensionPayload) : undefined; - message.kv = object.kv !== undefined && object.kv !== null ? SnapshotKVItem.fromPartial(object.kv) : undefined; - message.schema = object.schema !== undefined && object.schema !== null ? SnapshotSchema.fromPartial(object.schema) : undefined; - return message; - }, - fromAmino(object: SnapshotItemAmino): SnapshotItem { - const message = createBaseSnapshotItem(); - if (object.store !== undefined && object.store !== null) { - message.store = SnapshotStoreItem.fromAmino(object.store); - } - if (object.iavl !== undefined && object.iavl !== null) { - message.iavl = SnapshotIAVLItem.fromAmino(object.iavl); - } - if (object.extension !== undefined && object.extension !== null) { - message.extension = SnapshotExtensionMeta.fromAmino(object.extension); - } - if (object.extension_payload !== undefined && object.extension_payload !== null) { - message.extensionPayload = SnapshotExtensionPayload.fromAmino(object.extension_payload); - } - if (object.kv !== undefined && object.kv !== null) { - message.kv = SnapshotKVItem.fromAmino(object.kv); - } - if (object.schema !== undefined && object.schema !== null) { - message.schema = SnapshotSchema.fromAmino(object.schema); - } - return message; - }, - toAmino(message: SnapshotItem): SnapshotItemAmino { - const obj: any = {}; - obj.store = message.store ? SnapshotStoreItem.toAmino(message.store) : undefined; - obj.iavl = message.iavl ? SnapshotIAVLItem.toAmino(message.iavl) : undefined; - obj.extension = message.extension ? SnapshotExtensionMeta.toAmino(message.extension) : undefined; - obj.extension_payload = message.extensionPayload ? SnapshotExtensionPayload.toAmino(message.extensionPayload) : undefined; - obj.kv = message.kv ? SnapshotKVItem.toAmino(message.kv) : undefined; - obj.schema = message.schema ? SnapshotSchema.toAmino(message.schema) : undefined; - return obj; - }, - fromAminoMsg(object: SnapshotItemAminoMsg): SnapshotItem { - return SnapshotItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotItem): SnapshotItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotItem", - value: SnapshotItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotItemProtoMsg): SnapshotItem { - return SnapshotItem.decode(message.value); - }, - toProto(message: SnapshotItem): Uint8Array { - return SnapshotItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotItem): SnapshotItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem", - value: SnapshotItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotStoreItem(): SnapshotStoreItem { - return { - name: "" - }; -} -export const SnapshotStoreItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem", - encode(message: SnapshotStoreItem, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotStoreItem { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotStoreItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotStoreItem { - return { - name: isSet(object.name) ? String(object.name) : "" - }; - }, - toJSON(message: SnapshotStoreItem): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: Partial): SnapshotStoreItem { - const message = createBaseSnapshotStoreItem(); - message.name = object.name ?? ""; - return message; - }, - fromAmino(object: SnapshotStoreItemAmino): SnapshotStoreItem { - const message = createBaseSnapshotStoreItem(); - if (object.name !== undefined && object.name !== null) { - message.name = object.name; - } - return message; - }, - toAmino(message: SnapshotStoreItem): SnapshotStoreItemAmino { - const obj: any = {}; - obj.name = message.name === "" ? undefined : message.name; - return obj; - }, - fromAminoMsg(object: SnapshotStoreItemAminoMsg): SnapshotStoreItem { - return SnapshotStoreItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotStoreItem): SnapshotStoreItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotStoreItem", - value: SnapshotStoreItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotStoreItemProtoMsg): SnapshotStoreItem { - return SnapshotStoreItem.decode(message.value); - }, - toProto(message: SnapshotStoreItem): Uint8Array { - return SnapshotStoreItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotStoreItem): SnapshotStoreItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem", - value: SnapshotStoreItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotIAVLItem(): SnapshotIAVLItem { - return { - key: new Uint8Array(), - value: new Uint8Array(), - version: BigInt(0), - height: 0 - }; -} -export const SnapshotIAVLItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem", - encode(message: SnapshotIAVLItem, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - if (message.version !== BigInt(0)) { - writer.uint32(24).int64(message.version); - } - if (message.height !== 0) { - writer.uint32(32).int32(message.height); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotIAVLItem { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotIAVLItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - case 3: - message.version = reader.int64(); - break; - case 4: - message.height = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotIAVLItem { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - version: isSet(object.version) ? BigInt(object.version.toString()) : BigInt(0), - height: isSet(object.height) ? Number(object.height) : 0 - }; - }, - toJSON(message: SnapshotIAVLItem): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - message.version !== undefined && (obj.version = (message.version || BigInt(0)).toString()); - message.height !== undefined && (obj.height = Math.round(message.height)); - return obj; - }, - fromPartial(object: Partial): SnapshotIAVLItem { - const message = createBaseSnapshotIAVLItem(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - message.version = object.version !== undefined && object.version !== null ? BigInt(object.version.toString()) : BigInt(0); - message.height = object.height ?? 0; - return message; - }, - fromAmino(object: SnapshotIAVLItemAmino): SnapshotIAVLItem { - const message = createBaseSnapshotIAVLItem(); - if (object.key !== undefined && object.key !== null) { - message.key = bytesFromBase64(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = bytesFromBase64(object.value); - } - if (object.version !== undefined && object.version !== null) { - message.version = BigInt(object.version); - } - if (object.height !== undefined && object.height !== null) { - message.height = object.height; - } - return message; - }, - toAmino(message: SnapshotIAVLItem): SnapshotIAVLItemAmino { - const obj: any = {}; - obj.key = message.key ? base64FromBytes(message.key) : undefined; - obj.value = message.value ? base64FromBytes(message.value) : undefined; - obj.version = message.version !== BigInt(0) ? message.version.toString() : undefined; - obj.height = message.height === 0 ? undefined : message.height; - return obj; - }, - fromAminoMsg(object: SnapshotIAVLItemAminoMsg): SnapshotIAVLItem { - return SnapshotIAVLItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotIAVLItem", - value: SnapshotIAVLItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotIAVLItemProtoMsg): SnapshotIAVLItem { - return SnapshotIAVLItem.decode(message.value); - }, - toProto(message: SnapshotIAVLItem): Uint8Array { - return SnapshotIAVLItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem", - value: SnapshotIAVLItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotExtensionMeta(): SnapshotExtensionMeta { - return { - name: "", - format: 0 - }; -} -export const SnapshotExtensionMeta = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta", - encode(message: SnapshotExtensionMeta, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.format !== 0) { - writer.uint32(16).uint32(message.format); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotExtensionMeta { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotExtensionMeta(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.format = reader.uint32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotExtensionMeta { - return { - name: isSet(object.name) ? String(object.name) : "", - format: isSet(object.format) ? Number(object.format) : 0 - }; - }, - toJSON(message: SnapshotExtensionMeta): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.format !== undefined && (obj.format = Math.round(message.format)); - return obj; - }, - fromPartial(object: Partial): SnapshotExtensionMeta { - const message = createBaseSnapshotExtensionMeta(); - message.name = object.name ?? ""; - message.format = object.format ?? 0; - return message; - }, - fromAmino(object: SnapshotExtensionMetaAmino): SnapshotExtensionMeta { - const message = createBaseSnapshotExtensionMeta(); - if (object.name !== undefined && object.name !== null) { - message.name = object.name; - } - if (object.format !== undefined && object.format !== null) { - message.format = object.format; - } - return message; - }, - toAmino(message: SnapshotExtensionMeta): SnapshotExtensionMetaAmino { - const obj: any = {}; - obj.name = message.name === "" ? undefined : message.name; - obj.format = message.format === 0 ? undefined : message.format; - return obj; - }, - fromAminoMsg(object: SnapshotExtensionMetaAminoMsg): SnapshotExtensionMeta { - return SnapshotExtensionMeta.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaAminoMsg { - return { - type: "cosmos-sdk/SnapshotExtensionMeta", - value: SnapshotExtensionMeta.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotExtensionMetaProtoMsg): SnapshotExtensionMeta { - return SnapshotExtensionMeta.decode(message.value); - }, - toProto(message: SnapshotExtensionMeta): Uint8Array { - return SnapshotExtensionMeta.encode(message).finish(); - }, - toProtoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta", - value: SnapshotExtensionMeta.encode(message).finish() - }; - } -}; -function createBaseSnapshotExtensionPayload(): SnapshotExtensionPayload { - return { - payload: new Uint8Array() - }; -} -export const SnapshotExtensionPayload = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload", - encode(message: SnapshotExtensionPayload, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.payload.length !== 0) { - writer.uint32(10).bytes(message.payload); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotExtensionPayload { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotExtensionPayload(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.payload = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotExtensionPayload { - return { - payload: isSet(object.payload) ? bytesFromBase64(object.payload) : new Uint8Array() - }; - }, - toJSON(message: SnapshotExtensionPayload): unknown { - const obj: any = {}; - message.payload !== undefined && (obj.payload = base64FromBytes(message.payload !== undefined ? message.payload : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SnapshotExtensionPayload { - const message = createBaseSnapshotExtensionPayload(); - message.payload = object.payload ?? new Uint8Array(); - return message; - }, - fromAmino(object: SnapshotExtensionPayloadAmino): SnapshotExtensionPayload { - const message = createBaseSnapshotExtensionPayload(); - if (object.payload !== undefined && object.payload !== null) { - message.payload = bytesFromBase64(object.payload); - } - return message; - }, - toAmino(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAmino { - const obj: any = {}; - obj.payload = message.payload ? base64FromBytes(message.payload) : undefined; - return obj; - }, - fromAminoMsg(object: SnapshotExtensionPayloadAminoMsg): SnapshotExtensionPayload { - return SnapshotExtensionPayload.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAminoMsg { - return { - type: "cosmos-sdk/SnapshotExtensionPayload", - value: SnapshotExtensionPayload.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotExtensionPayloadProtoMsg): SnapshotExtensionPayload { - return SnapshotExtensionPayload.decode(message.value); - }, - toProto(message: SnapshotExtensionPayload): Uint8Array { - return SnapshotExtensionPayload.encode(message).finish(); - }, - toProtoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload", - value: SnapshotExtensionPayload.encode(message).finish() - }; - } -}; -function createBaseSnapshotKVItem(): SnapshotKVItem { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} -export const SnapshotKVItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem", - encode(message: SnapshotKVItem, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotKVItem { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotKVItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotKVItem { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - toJSON(message: SnapshotKVItem): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): SnapshotKVItem { - const message = createBaseSnapshotKVItem(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromAmino(object: SnapshotKVItemAmino): SnapshotKVItem { - const message = createBaseSnapshotKVItem(); - if (object.key !== undefined && object.key !== null) { - message.key = bytesFromBase64(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = bytesFromBase64(object.value); - } - return message; - }, - toAmino(message: SnapshotKVItem): SnapshotKVItemAmino { - const obj: any = {}; - obj.key = message.key ? base64FromBytes(message.key) : undefined; - obj.value = message.value ? base64FromBytes(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: SnapshotKVItemAminoMsg): SnapshotKVItem { - return SnapshotKVItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotKVItem): SnapshotKVItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotKVItem", - value: SnapshotKVItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotKVItemProtoMsg): SnapshotKVItem { - return SnapshotKVItem.decode(message.value); - }, - toProto(message: SnapshotKVItem): Uint8Array { - return SnapshotKVItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotKVItem): SnapshotKVItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem", - value: SnapshotKVItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotSchema(): SnapshotSchema { - return { - keys: [] - }; -} -export const SnapshotSchema = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema", - encode(message: SnapshotSchema, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.keys) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotSchema { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotSchema(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.keys.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotSchema { - return { - keys: Array.isArray(object?.keys) ? object.keys.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: SnapshotSchema): unknown { - const obj: any = {}; - if (message.keys) { - obj.keys = message.keys.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.keys = []; - } - return obj; - }, - fromPartial(object: Partial): SnapshotSchema { - const message = createBaseSnapshotSchema(); - message.keys = object.keys?.map(e => e) || []; - return message; - }, - fromAmino(object: SnapshotSchemaAmino): SnapshotSchema { - const message = createBaseSnapshotSchema(); - message.keys = object.keys?.map(e => bytesFromBase64(e)) || []; - return message; - }, - toAmino(message: SnapshotSchema): SnapshotSchemaAmino { - const obj: any = {}; - if (message.keys) { - obj.keys = message.keys.map(e => base64FromBytes(e)); - } else { - obj.keys = message.keys; - } - return obj; - }, - fromAminoMsg(object: SnapshotSchemaAminoMsg): SnapshotSchema { - return SnapshotSchema.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotSchema): SnapshotSchemaAminoMsg { - return { - type: "cosmos-sdk/SnapshotSchema", - value: SnapshotSchema.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotSchemaProtoMsg): SnapshotSchema { - return SnapshotSchema.decode(message.value); - }, - toProto(message: SnapshotSchema): Uint8Array { - return SnapshotSchema.encode(message).finish(); - }, - toProtoMsg(message: SnapshotSchema): SnapshotSchemaProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema", - value: SnapshotSchema.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/store/v1beta1/commit_info.ts b/packages/api/src/codegen/cosmos/base/store/v1beta1/commit_info.ts deleted file mode 100644 index 595af878..00000000 --- a/packages/api/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +++ /dev/null @@ -1,383 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfo { - version: bigint; - storeInfos: StoreInfo[]; -} -export interface CommitInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo"; - value: Uint8Array; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoAmino { - version?: string; - store_infos?: StoreInfoAmino[]; -} -export interface CommitInfoAminoMsg { - type: "cosmos-sdk/CommitInfo"; - value: CommitInfoAmino; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoSDKType { - version: bigint; - store_infos: StoreInfoSDKType[]; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfo { - name: string; - commitId: CommitID; -} -export interface StoreInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo"; - value: Uint8Array; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoAmino { - name?: string; - commit_id?: CommitIDAmino; -} -export interface StoreInfoAminoMsg { - type: "cosmos-sdk/StoreInfo"; - value: StoreInfoAmino; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoSDKType { - name: string; - commit_id: CommitIDSDKType; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitID { - version: bigint; - hash: Uint8Array; -} -export interface CommitIDProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitID"; - value: Uint8Array; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDAmino { - version?: string; - hash?: string; -} -export interface CommitIDAminoMsg { - type: "cosmos-sdk/CommitID"; - value: CommitIDAmino; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDSDKType { - version: bigint; - hash: Uint8Array; -} -function createBaseCommitInfo(): CommitInfo { - return { - version: BigInt(0), - storeInfos: [] - }; -} -export const CommitInfo = { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo", - encode(message: CommitInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.version !== BigInt(0)) { - writer.uint32(8).int64(message.version); - } - for (const v of message.storeInfos) { - StoreInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): CommitInfo { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommitInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.version = reader.int64(); - break; - case 2: - message.storeInfos.push(StoreInfo.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommitInfo { - return { - version: isSet(object.version) ? BigInt(object.version.toString()) : BigInt(0), - storeInfos: Array.isArray(object?.storeInfos) ? object.storeInfos.map((e: any) => StoreInfo.fromJSON(e)) : [] - }; - }, - toJSON(message: CommitInfo): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = (message.version || BigInt(0)).toString()); - if (message.storeInfos) { - obj.storeInfos = message.storeInfos.map(e => e ? StoreInfo.toJSON(e) : undefined); - } else { - obj.storeInfos = []; - } - return obj; - }, - fromPartial(object: Partial): CommitInfo { - const message = createBaseCommitInfo(); - message.version = object.version !== undefined && object.version !== null ? BigInt(object.version.toString()) : BigInt(0); - message.storeInfos = object.storeInfos?.map(e => StoreInfo.fromPartial(e)) || []; - return message; - }, - fromAmino(object: CommitInfoAmino): CommitInfo { - const message = createBaseCommitInfo(); - if (object.version !== undefined && object.version !== null) { - message.version = BigInt(object.version); - } - message.storeInfos = object.store_infos?.map(e => StoreInfo.fromAmino(e)) || []; - return message; - }, - toAmino(message: CommitInfo): CommitInfoAmino { - const obj: any = {}; - obj.version = message.version !== BigInt(0) ? message.version.toString() : undefined; - if (message.storeInfos) { - obj.store_infos = message.storeInfos.map(e => e ? StoreInfo.toAmino(e) : undefined); - } else { - obj.store_infos = message.storeInfos; - } - return obj; - }, - fromAminoMsg(object: CommitInfoAminoMsg): CommitInfo { - return CommitInfo.fromAmino(object.value); - }, - toAminoMsg(message: CommitInfo): CommitInfoAminoMsg { - return { - type: "cosmos-sdk/CommitInfo", - value: CommitInfo.toAmino(message) - }; - }, - fromProtoMsg(message: CommitInfoProtoMsg): CommitInfo { - return CommitInfo.decode(message.value); - }, - toProto(message: CommitInfo): Uint8Array { - return CommitInfo.encode(message).finish(); - }, - toProtoMsg(message: CommitInfo): CommitInfoProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo", - value: CommitInfo.encode(message).finish() - }; - } -}; -function createBaseStoreInfo(): StoreInfo { - return { - name: "", - commitId: CommitID.fromPartial({}) - }; -} -export const StoreInfo = { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo", - encode(message: StoreInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.commitId !== undefined) { - CommitID.encode(message.commitId, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): StoreInfo { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStoreInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.commitId = CommitID.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StoreInfo { - return { - name: isSet(object.name) ? String(object.name) : "", - commitId: isSet(object.commitId) ? CommitID.fromJSON(object.commitId) : undefined - }; - }, - toJSON(message: StoreInfo): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.commitId !== undefined && (obj.commitId = message.commitId ? CommitID.toJSON(message.commitId) : undefined); - return obj; - }, - fromPartial(object: Partial): StoreInfo { - const message = createBaseStoreInfo(); - message.name = object.name ?? ""; - message.commitId = object.commitId !== undefined && object.commitId !== null ? CommitID.fromPartial(object.commitId) : undefined; - return message; - }, - fromAmino(object: StoreInfoAmino): StoreInfo { - const message = createBaseStoreInfo(); - if (object.name !== undefined && object.name !== null) { - message.name = object.name; - } - if (object.commit_id !== undefined && object.commit_id !== null) { - message.commitId = CommitID.fromAmino(object.commit_id); - } - return message; - }, - toAmino(message: StoreInfo): StoreInfoAmino { - const obj: any = {}; - obj.name = message.name === "" ? undefined : message.name; - obj.commit_id = message.commitId ? CommitID.toAmino(message.commitId) : undefined; - return obj; - }, - fromAminoMsg(object: StoreInfoAminoMsg): StoreInfo { - return StoreInfo.fromAmino(object.value); - }, - toAminoMsg(message: StoreInfo): StoreInfoAminoMsg { - return { - type: "cosmos-sdk/StoreInfo", - value: StoreInfo.toAmino(message) - }; - }, - fromProtoMsg(message: StoreInfoProtoMsg): StoreInfo { - return StoreInfo.decode(message.value); - }, - toProto(message: StoreInfo): Uint8Array { - return StoreInfo.encode(message).finish(); - }, - toProtoMsg(message: StoreInfo): StoreInfoProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo", - value: StoreInfo.encode(message).finish() - }; - } -}; -function createBaseCommitID(): CommitID { - return { - version: BigInt(0), - hash: new Uint8Array() - }; -} -export const CommitID = { - typeUrl: "/cosmos.base.store.v1beta1.CommitID", - encode(message: CommitID, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.version !== BigInt(0)) { - writer.uint32(8).int64(message.version); - } - if (message.hash.length !== 0) { - writer.uint32(18).bytes(message.hash); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): CommitID { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommitID(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.version = reader.int64(); - break; - case 2: - message.hash = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommitID { - return { - version: isSet(object.version) ? BigInt(object.version.toString()) : BigInt(0), - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() - }; - }, - toJSON(message: CommitID): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = (message.version || BigInt(0)).toString()); - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): CommitID { - const message = createBaseCommitID(); - message.version = object.version !== undefined && object.version !== null ? BigInt(object.version.toString()) : BigInt(0); - message.hash = object.hash ?? new Uint8Array(); - return message; - }, - fromAmino(object: CommitIDAmino): CommitID { - const message = createBaseCommitID(); - if (object.version !== undefined && object.version !== null) { - message.version = BigInt(object.version); - } - if (object.hash !== undefined && object.hash !== null) { - message.hash = bytesFromBase64(object.hash); - } - return message; - }, - toAmino(message: CommitID): CommitIDAmino { - const obj: any = {}; - obj.version = message.version !== BigInt(0) ? message.version.toString() : undefined; - obj.hash = message.hash ? base64FromBytes(message.hash) : undefined; - return obj; - }, - fromAminoMsg(object: CommitIDAminoMsg): CommitID { - return CommitID.fromAmino(object.value); - }, - toAminoMsg(message: CommitID): CommitIDAminoMsg { - return { - type: "cosmos-sdk/CommitID", - value: CommitID.toAmino(message) - }; - }, - fromProtoMsg(message: CommitIDProtoMsg): CommitID { - return CommitID.decode(message.value); - }, - toProto(message: CommitID): Uint8Array { - return CommitID.encode(message).finish(); - }, - toProtoMsg(message: CommitID): CommitIDProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.CommitID", - value: CommitID.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/store/v1beta1/listening.ts b/packages/api/src/codegen/cosmos/base/store/v1beta1/listening.ts deleted file mode 100644 index 086b5e7a..00000000 --- a/packages/api/src/codegen/cosmos/base/store/v1beta1/listening.ts +++ /dev/null @@ -1,490 +0,0 @@ -import { RequestDeliverTx, RequestDeliverTxAmino, RequestDeliverTxSDKType, ResponseDeliverTx, ResponseDeliverTxAmino, ResponseDeliverTxSDKType, RequestBeginBlock, RequestBeginBlockAmino, RequestBeginBlockSDKType, ResponseBeginBlock, ResponseBeginBlockAmino, ResponseBeginBlockSDKType, RequestEndBlock, RequestEndBlockAmino, RequestEndBlockSDKType, ResponseEndBlock, ResponseEndBlockAmino, ResponseEndBlockSDKType, ResponseCommit, ResponseCommitAmino, ResponseCommitSDKType } from "../../../../tendermint/abci/types"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPair { - /** the store key for the KVStore this pair originates from */ - storeKey: string; - /** true indicates a delete operation, false indicates a set operation */ - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export interface StoreKVPairProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair"; - value: Uint8Array; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairAmino { - /** the store key for the KVStore this pair originates from */ - store_key?: string; - /** true indicates a delete operation, false indicates a set operation */ - delete?: boolean; - key?: string; - value?: string; -} -export interface StoreKVPairAminoMsg { - type: "cosmos-sdk/StoreKVPair"; - value: StoreKVPairAmino; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairSDKType { - store_key: string; - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -/** - * BlockMetadata contains all the abci event data of a block - * the file streamer dump them into files together with the state changes. - */ -export interface BlockMetadata { - requestBeginBlock?: RequestBeginBlock; - responseBeginBlock?: ResponseBeginBlock; - deliverTxs: BlockMetadata_DeliverTx[]; - requestEndBlock?: RequestEndBlock; - responseEndBlock?: ResponseEndBlock; - responseCommit?: ResponseCommit; -} -export interface BlockMetadataProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.BlockMetadata"; - value: Uint8Array; -} -/** - * BlockMetadata contains all the abci event data of a block - * the file streamer dump them into files together with the state changes. - */ -export interface BlockMetadataAmino { - request_begin_block?: RequestBeginBlockAmino; - response_begin_block?: ResponseBeginBlockAmino; - deliver_txs?: BlockMetadata_DeliverTxAmino[]; - request_end_block?: RequestEndBlockAmino; - response_end_block?: ResponseEndBlockAmino; - response_commit?: ResponseCommitAmino; -} -export interface BlockMetadataAminoMsg { - type: "cosmos-sdk/BlockMetadata"; - value: BlockMetadataAmino; -} -/** - * BlockMetadata contains all the abci event data of a block - * the file streamer dump them into files together with the state changes. - */ -export interface BlockMetadataSDKType { - request_begin_block?: RequestBeginBlockSDKType; - response_begin_block?: ResponseBeginBlockSDKType; - deliver_txs: BlockMetadata_DeliverTxSDKType[]; - request_end_block?: RequestEndBlockSDKType; - response_end_block?: ResponseEndBlockSDKType; - response_commit?: ResponseCommitSDKType; -} -/** DeliverTx encapulate deliver tx request and response. */ -export interface BlockMetadata_DeliverTx { - request?: RequestDeliverTx; - response?: ResponseDeliverTx; -} -export interface BlockMetadata_DeliverTxProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.DeliverTx"; - value: Uint8Array; -} -/** DeliverTx encapulate deliver tx request and response. */ -export interface BlockMetadata_DeliverTxAmino { - request?: RequestDeliverTxAmino; - response?: ResponseDeliverTxAmino; -} -export interface BlockMetadata_DeliverTxAminoMsg { - type: "cosmos-sdk/DeliverTx"; - value: BlockMetadata_DeliverTxAmino; -} -/** DeliverTx encapulate deliver tx request and response. */ -export interface BlockMetadata_DeliverTxSDKType { - request?: RequestDeliverTxSDKType; - response?: ResponseDeliverTxSDKType; -} -function createBaseStoreKVPair(): StoreKVPair { - return { - storeKey: "", - delete: false, - key: new Uint8Array(), - value: new Uint8Array() - }; -} -export const StoreKVPair = { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair", - encode(message: StoreKVPair, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.storeKey !== "") { - writer.uint32(10).string(message.storeKey); - } - if (message.delete === true) { - writer.uint32(16).bool(message.delete); - } - if (message.key.length !== 0) { - writer.uint32(26).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(34).bytes(message.value); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): StoreKVPair { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStoreKVPair(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.storeKey = reader.string(); - break; - case 2: - message.delete = reader.bool(); - break; - case 3: - message.key = reader.bytes(); - break; - case 4: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StoreKVPair { - return { - storeKey: isSet(object.storeKey) ? String(object.storeKey) : "", - delete: isSet(object.delete) ? Boolean(object.delete) : false, - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - toJSON(message: StoreKVPair): unknown { - const obj: any = {}; - message.storeKey !== undefined && (obj.storeKey = message.storeKey); - message.delete !== undefined && (obj.delete = message.delete); - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): StoreKVPair { - const message = createBaseStoreKVPair(); - message.storeKey = object.storeKey ?? ""; - message.delete = object.delete ?? false; - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromAmino(object: StoreKVPairAmino): StoreKVPair { - const message = createBaseStoreKVPair(); - if (object.store_key !== undefined && object.store_key !== null) { - message.storeKey = object.store_key; - } - if (object.delete !== undefined && object.delete !== null) { - message.delete = object.delete; - } - if (object.key !== undefined && object.key !== null) { - message.key = bytesFromBase64(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = bytesFromBase64(object.value); - } - return message; - }, - toAmino(message: StoreKVPair): StoreKVPairAmino { - const obj: any = {}; - obj.store_key = message.storeKey === "" ? undefined : message.storeKey; - obj.delete = message.delete === false ? undefined : message.delete; - obj.key = message.key ? base64FromBytes(message.key) : undefined; - obj.value = message.value ? base64FromBytes(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: StoreKVPairAminoMsg): StoreKVPair { - return StoreKVPair.fromAmino(object.value); - }, - toAminoMsg(message: StoreKVPair): StoreKVPairAminoMsg { - return { - type: "cosmos-sdk/StoreKVPair", - value: StoreKVPair.toAmino(message) - }; - }, - fromProtoMsg(message: StoreKVPairProtoMsg): StoreKVPair { - return StoreKVPair.decode(message.value); - }, - toProto(message: StoreKVPair): Uint8Array { - return StoreKVPair.encode(message).finish(); - }, - toProtoMsg(message: StoreKVPair): StoreKVPairProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair", - value: StoreKVPair.encode(message).finish() - }; - } -}; -function createBaseBlockMetadata(): BlockMetadata { - return { - requestBeginBlock: undefined, - responseBeginBlock: undefined, - deliverTxs: [], - requestEndBlock: undefined, - responseEndBlock: undefined, - responseCommit: undefined - }; -} -export const BlockMetadata = { - typeUrl: "/cosmos.base.store.v1beta1.BlockMetadata", - encode(message: BlockMetadata, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.requestBeginBlock !== undefined) { - RequestBeginBlock.encode(message.requestBeginBlock, writer.uint32(10).fork()).ldelim(); - } - if (message.responseBeginBlock !== undefined) { - ResponseBeginBlock.encode(message.responseBeginBlock, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.deliverTxs) { - BlockMetadata_DeliverTx.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.requestEndBlock !== undefined) { - RequestEndBlock.encode(message.requestEndBlock, writer.uint32(34).fork()).ldelim(); - } - if (message.responseEndBlock !== undefined) { - ResponseEndBlock.encode(message.responseEndBlock, writer.uint32(42).fork()).ldelim(); - } - if (message.responseCommit !== undefined) { - ResponseCommit.encode(message.responseCommit, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): BlockMetadata { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBlockMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.requestBeginBlock = RequestBeginBlock.decode(reader, reader.uint32()); - break; - case 2: - message.responseBeginBlock = ResponseBeginBlock.decode(reader, reader.uint32()); - break; - case 3: - message.deliverTxs.push(BlockMetadata_DeliverTx.decode(reader, reader.uint32())); - break; - case 4: - message.requestEndBlock = RequestEndBlock.decode(reader, reader.uint32()); - break; - case 5: - message.responseEndBlock = ResponseEndBlock.decode(reader, reader.uint32()); - break; - case 6: - message.responseCommit = ResponseCommit.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BlockMetadata { - return { - requestBeginBlock: isSet(object.requestBeginBlock) ? RequestBeginBlock.fromJSON(object.requestBeginBlock) : undefined, - responseBeginBlock: isSet(object.responseBeginBlock) ? ResponseBeginBlock.fromJSON(object.responseBeginBlock) : undefined, - deliverTxs: Array.isArray(object?.deliverTxs) ? object.deliverTxs.map((e: any) => BlockMetadata_DeliverTx.fromJSON(e)) : [], - requestEndBlock: isSet(object.requestEndBlock) ? RequestEndBlock.fromJSON(object.requestEndBlock) : undefined, - responseEndBlock: isSet(object.responseEndBlock) ? ResponseEndBlock.fromJSON(object.responseEndBlock) : undefined, - responseCommit: isSet(object.responseCommit) ? ResponseCommit.fromJSON(object.responseCommit) : undefined - }; - }, - toJSON(message: BlockMetadata): unknown { - const obj: any = {}; - message.requestBeginBlock !== undefined && (obj.requestBeginBlock = message.requestBeginBlock ? RequestBeginBlock.toJSON(message.requestBeginBlock) : undefined); - message.responseBeginBlock !== undefined && (obj.responseBeginBlock = message.responseBeginBlock ? ResponseBeginBlock.toJSON(message.responseBeginBlock) : undefined); - if (message.deliverTxs) { - obj.deliverTxs = message.deliverTxs.map(e => e ? BlockMetadata_DeliverTx.toJSON(e) : undefined); - } else { - obj.deliverTxs = []; - } - message.requestEndBlock !== undefined && (obj.requestEndBlock = message.requestEndBlock ? RequestEndBlock.toJSON(message.requestEndBlock) : undefined); - message.responseEndBlock !== undefined && (obj.responseEndBlock = message.responseEndBlock ? ResponseEndBlock.toJSON(message.responseEndBlock) : undefined); - message.responseCommit !== undefined && (obj.responseCommit = message.responseCommit ? ResponseCommit.toJSON(message.responseCommit) : undefined); - return obj; - }, - fromPartial(object: Partial): BlockMetadata { - const message = createBaseBlockMetadata(); - message.requestBeginBlock = object.requestBeginBlock !== undefined && object.requestBeginBlock !== null ? RequestBeginBlock.fromPartial(object.requestBeginBlock) : undefined; - message.responseBeginBlock = object.responseBeginBlock !== undefined && object.responseBeginBlock !== null ? ResponseBeginBlock.fromPartial(object.responseBeginBlock) : undefined; - message.deliverTxs = object.deliverTxs?.map(e => BlockMetadata_DeliverTx.fromPartial(e)) || []; - message.requestEndBlock = object.requestEndBlock !== undefined && object.requestEndBlock !== null ? RequestEndBlock.fromPartial(object.requestEndBlock) : undefined; - message.responseEndBlock = object.responseEndBlock !== undefined && object.responseEndBlock !== null ? ResponseEndBlock.fromPartial(object.responseEndBlock) : undefined; - message.responseCommit = object.responseCommit !== undefined && object.responseCommit !== null ? ResponseCommit.fromPartial(object.responseCommit) : undefined; - return message; - }, - fromAmino(object: BlockMetadataAmino): BlockMetadata { - const message = createBaseBlockMetadata(); - if (object.request_begin_block !== undefined && object.request_begin_block !== null) { - message.requestBeginBlock = RequestBeginBlock.fromAmino(object.request_begin_block); - } - if (object.response_begin_block !== undefined && object.response_begin_block !== null) { - message.responseBeginBlock = ResponseBeginBlock.fromAmino(object.response_begin_block); - } - message.deliverTxs = object.deliver_txs?.map(e => BlockMetadata_DeliverTx.fromAmino(e)) || []; - if (object.request_end_block !== undefined && object.request_end_block !== null) { - message.requestEndBlock = RequestEndBlock.fromAmino(object.request_end_block); - } - if (object.response_end_block !== undefined && object.response_end_block !== null) { - message.responseEndBlock = ResponseEndBlock.fromAmino(object.response_end_block); - } - if (object.response_commit !== undefined && object.response_commit !== null) { - message.responseCommit = ResponseCommit.fromAmino(object.response_commit); - } - return message; - }, - toAmino(message: BlockMetadata): BlockMetadataAmino { - const obj: any = {}; - obj.request_begin_block = message.requestBeginBlock ? RequestBeginBlock.toAmino(message.requestBeginBlock) : undefined; - obj.response_begin_block = message.responseBeginBlock ? ResponseBeginBlock.toAmino(message.responseBeginBlock) : undefined; - if (message.deliverTxs) { - obj.deliver_txs = message.deliverTxs.map(e => e ? BlockMetadata_DeliverTx.toAmino(e) : undefined); - } else { - obj.deliver_txs = message.deliverTxs; - } - obj.request_end_block = message.requestEndBlock ? RequestEndBlock.toAmino(message.requestEndBlock) : undefined; - obj.response_end_block = message.responseEndBlock ? ResponseEndBlock.toAmino(message.responseEndBlock) : undefined; - obj.response_commit = message.responseCommit ? ResponseCommit.toAmino(message.responseCommit) : undefined; - return obj; - }, - fromAminoMsg(object: BlockMetadataAminoMsg): BlockMetadata { - return BlockMetadata.fromAmino(object.value); - }, - toAminoMsg(message: BlockMetadata): BlockMetadataAminoMsg { - return { - type: "cosmos-sdk/BlockMetadata", - value: BlockMetadata.toAmino(message) - }; - }, - fromProtoMsg(message: BlockMetadataProtoMsg): BlockMetadata { - return BlockMetadata.decode(message.value); - }, - toProto(message: BlockMetadata): Uint8Array { - return BlockMetadata.encode(message).finish(); - }, - toProtoMsg(message: BlockMetadata): BlockMetadataProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.BlockMetadata", - value: BlockMetadata.encode(message).finish() - }; - } -}; -function createBaseBlockMetadata_DeliverTx(): BlockMetadata_DeliverTx { - return { - request: undefined, - response: undefined - }; -} -export const BlockMetadata_DeliverTx = { - typeUrl: "/cosmos.base.store.v1beta1.DeliverTx", - encode(message: BlockMetadata_DeliverTx, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.request !== undefined) { - RequestDeliverTx.encode(message.request, writer.uint32(10).fork()).ldelim(); - } - if (message.response !== undefined) { - ResponseDeliverTx.encode(message.response, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): BlockMetadata_DeliverTx { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBlockMetadata_DeliverTx(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.request = RequestDeliverTx.decode(reader, reader.uint32()); - break; - case 2: - message.response = ResponseDeliverTx.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BlockMetadata_DeliverTx { - return { - request: isSet(object.request) ? RequestDeliverTx.fromJSON(object.request) : undefined, - response: isSet(object.response) ? ResponseDeliverTx.fromJSON(object.response) : undefined - }; - }, - toJSON(message: BlockMetadata_DeliverTx): unknown { - const obj: any = {}; - message.request !== undefined && (obj.request = message.request ? RequestDeliverTx.toJSON(message.request) : undefined); - message.response !== undefined && (obj.response = message.response ? ResponseDeliverTx.toJSON(message.response) : undefined); - return obj; - }, - fromPartial(object: Partial): BlockMetadata_DeliverTx { - const message = createBaseBlockMetadata_DeliverTx(); - message.request = object.request !== undefined && object.request !== null ? RequestDeliverTx.fromPartial(object.request) : undefined; - message.response = object.response !== undefined && object.response !== null ? ResponseDeliverTx.fromPartial(object.response) : undefined; - return message; - }, - fromAmino(object: BlockMetadata_DeliverTxAmino): BlockMetadata_DeliverTx { - const message = createBaseBlockMetadata_DeliverTx(); - if (object.request !== undefined && object.request !== null) { - message.request = RequestDeliverTx.fromAmino(object.request); - } - if (object.response !== undefined && object.response !== null) { - message.response = ResponseDeliverTx.fromAmino(object.response); - } - return message; - }, - toAmino(message: BlockMetadata_DeliverTx): BlockMetadata_DeliverTxAmino { - const obj: any = {}; - obj.request = message.request ? RequestDeliverTx.toAmino(message.request) : undefined; - obj.response = message.response ? ResponseDeliverTx.toAmino(message.response) : undefined; - return obj; - }, - fromAminoMsg(object: BlockMetadata_DeliverTxAminoMsg): BlockMetadata_DeliverTx { - return BlockMetadata_DeliverTx.fromAmino(object.value); - }, - toAminoMsg(message: BlockMetadata_DeliverTx): BlockMetadata_DeliverTxAminoMsg { - return { - type: "cosmos-sdk/DeliverTx", - value: BlockMetadata_DeliverTx.toAmino(message) - }; - }, - fromProtoMsg(message: BlockMetadata_DeliverTxProtoMsg): BlockMetadata_DeliverTx { - return BlockMetadata_DeliverTx.decode(message.value); - }, - toProto(message: BlockMetadata_DeliverTx): Uint8Array { - return BlockMetadata_DeliverTx.encode(message).finish(); - }, - toProtoMsg(message: BlockMetadata_DeliverTx): BlockMetadata_DeliverTxProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.DeliverTx", - value: BlockMetadata_DeliverTx.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts deleted file mode 100644 index 54b43a1a..00000000 --- a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { setPaginationParams } from "../../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType, ABCIQueryRequest, ABCIQueryResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.getNodeInfo = this.getNodeInfo.bind(this); - this.getSyncing = this.getSyncing.bind(this); - this.getLatestBlock = this.getLatestBlock.bind(this); - this.getBlockByHeight = this.getBlockByHeight.bind(this); - this.getLatestValidatorSet = this.getLatestValidatorSet.bind(this); - this.getValidatorSetByHeight = this.getValidatorSetByHeight.bind(this); - this.aBCIQuery = this.aBCIQuery.bind(this); - } - /* GetNodeInfo queries the current node info. */ - async getNodeInfo(_params: GetNodeInfoRequest = {}): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/node_info`; - return await this.req.get(endpoint); - } - /* GetSyncing queries node syncing. */ - async getSyncing(_params: GetSyncingRequest = {}): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/syncing`; - return await this.req.get(endpoint); - } - /* GetLatestBlock returns the latest block. */ - async getLatestBlock(_params: GetLatestBlockRequest = {}): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/blocks/latest`; - return await this.req.get(endpoint); - } - /* GetBlockByHeight queries block for given height. */ - async getBlockByHeight(params: GetBlockByHeightRequest): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/blocks/${params.height}`; - return await this.req.get(endpoint); - } - /* GetLatestValidatorSet queries latest validator-set. */ - async getLatestValidatorSet(params: GetLatestValidatorSetRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/base/tendermint/v1beta1/validatorsets/latest`; - return await this.req.get(endpoint, options); - } - /* GetValidatorSetByHeight queries validator-set at a given height. */ - async getValidatorSetByHeight(params: GetValidatorSetByHeightRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/base/tendermint/v1beta1/validatorsets/${params.height}`; - return await this.req.get(endpoint, options); - } - /* ABCIQuery defines a query handler that supports ABCI queries directly to - the application, bypassing Tendermint completely. The ABCI query must - contain a valid and supported path, including app, custom, p2p, and store. - - Since: cosmos-sdk 0.46 */ - async aBCIQuery(params: ABCIQueryRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.data !== "undefined") { - options.params.data = params.data; - } - if (typeof params?.path !== "undefined") { - options.params.path = params.path; - } - if (typeof params?.height !== "undefined") { - options.params.height = params.height; - } - if (typeof params?.prove !== "undefined") { - options.params.prove = params.prove; - } - const endpoint = `cosmos/base/tendermint/v1beta1/abci_query`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts b/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts deleted file mode 100644 index be59b17f..00000000 --- a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { BinaryReader } from "../../../../binary"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse, ABCIQueryRequest, ABCIQueryResponse } from "./query"; -/** Service defines the gRPC querier service for tendermint queries. */ -export interface Service { - /** GetNodeInfo queries the current node info. */ - getNodeInfo(request?: GetNodeInfoRequest): Promise; - /** GetSyncing queries node syncing. */ - getSyncing(request?: GetSyncingRequest): Promise; - /** GetLatestBlock returns the latest block. */ - getLatestBlock(request?: GetLatestBlockRequest): Promise; - /** GetBlockByHeight queries block for given height. */ - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - /** GetLatestValidatorSet queries latest validator-set. */ - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - /** GetValidatorSetByHeight queries validator-set at a given height. */ - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; - /** - * ABCIQuery defines a query handler that supports ABCI queries directly to - * the application, bypassing Tendermint completely. The ABCI query must - * contain a valid and supported path, including app, custom, p2p, and store. - * - * Since: cosmos-sdk 0.46 - */ - aBCIQuery(request: ABCIQueryRequest): Promise; -} -export class ServiceClientImpl implements Service { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.getNodeInfo = this.getNodeInfo.bind(this); - this.getSyncing = this.getSyncing.bind(this); - this.getLatestBlock = this.getLatestBlock.bind(this); - this.getBlockByHeight = this.getBlockByHeight.bind(this); - this.getLatestValidatorSet = this.getLatestValidatorSet.bind(this); - this.getValidatorSetByHeight = this.getValidatorSetByHeight.bind(this); - this.aBCIQuery = this.aBCIQuery.bind(this); - } - getNodeInfo(request: GetNodeInfoRequest = {}): Promise { - const data = GetNodeInfoRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetNodeInfo", data); - return promise.then(data => GetNodeInfoResponse.decode(new BinaryReader(data))); - } - getSyncing(request: GetSyncingRequest = {}): Promise { - const data = GetSyncingRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetSyncing", data); - return promise.then(data => GetSyncingResponse.decode(new BinaryReader(data))); - } - getLatestBlock(request: GetLatestBlockRequest = {}): Promise { - const data = GetLatestBlockRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetLatestBlock", data); - return promise.then(data => GetLatestBlockResponse.decode(new BinaryReader(data))); - } - getBlockByHeight(request: GetBlockByHeightRequest): Promise { - const data = GetBlockByHeightRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetBlockByHeight", data); - return promise.then(data => GetBlockByHeightResponse.decode(new BinaryReader(data))); - } - getLatestValidatorSet(request: GetLatestValidatorSetRequest = { - pagination: undefined - }): Promise { - const data = GetLatestValidatorSetRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetLatestValidatorSet", data); - return promise.then(data => GetLatestValidatorSetResponse.decode(new BinaryReader(data))); - } - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { - const data = GetValidatorSetByHeightRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "GetValidatorSetByHeight", data); - return promise.then(data => GetValidatorSetByHeightResponse.decode(new BinaryReader(data))); - } - aBCIQuery(request: ABCIQueryRequest): Promise { - const data = ABCIQueryRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.base.tendermint.v1beta1.Service", "ABCIQuery", data); - return promise.then(data => ABCIQueryResponse.decode(new BinaryReader(data))); - } -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new ServiceClientImpl(rpc); - return { - getNodeInfo(request?: GetNodeInfoRequest): Promise { - return queryService.getNodeInfo(request); - }, - getSyncing(request?: GetSyncingRequest): Promise { - return queryService.getSyncing(request); - }, - getLatestBlock(request?: GetLatestBlockRequest): Promise { - return queryService.getLatestBlock(request); - }, - getBlockByHeight(request: GetBlockByHeightRequest): Promise { - return queryService.getBlockByHeight(request); - }, - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise { - return queryService.getLatestValidatorSet(request); - }, - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise { - return queryService.getValidatorSetByHeight(request); - }, - aBCIQuery(request: ABCIQueryRequest): Promise { - return queryService.aBCIQuery(request); - } - }; -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.ts b/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.ts deleted file mode 100644 index 6c9b4dea..00000000 --- a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +++ /dev/null @@ -1,2609 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { Block as Block1 } from "../../../../tendermint/types/block"; -import { BlockAmino as Block1Amino } from "../../../../tendermint/types/block"; -import { BlockSDKType as Block1SDKType } from "../../../../tendermint/types/block"; -import { Block as Block2 } from "./types"; -import { BlockAmino as Block2Amino } from "./types"; -import { BlockSDKType as Block2SDKType } from "./types"; -import { DefaultNodeInfo, DefaultNodeInfoAmino, DefaultNodeInfoSDKType } from "../../../../tendermint/p2p/types"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -/** - * GetValidatorSetByHeightRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightRequest { - height: bigint; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -export interface GetValidatorSetByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest"; - value: Uint8Array; -} -/** - * GetValidatorSetByHeightRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightRequestAmino { - height?: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetValidatorSetByHeightRequestAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightRequest"; - value: GetValidatorSetByHeightRequestAmino; -} -/** - * GetValidatorSetByHeightRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightRequestSDKType { - height: bigint; - pagination?: PageRequestSDKType; -} -/** - * GetValidatorSetByHeightResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightResponse { - blockHeight: bigint; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -export interface GetValidatorSetByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse"; - value: Uint8Array; -} -/** - * GetValidatorSetByHeightResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightResponseAmino { - block_height?: string; - validators?: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetValidatorSetByHeightResponseAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightResponse"; - value: GetValidatorSetByHeightResponseAmino; -} -/** - * GetValidatorSetByHeightResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightResponseSDKType { - block_height: bigint; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * GetLatestValidatorSetRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetRequest { - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -export interface GetLatestValidatorSetRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest"; - value: Uint8Array; -} -/** - * GetLatestValidatorSetRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetRequestAmino { - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetLatestValidatorSetRequestAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetRequest"; - value: GetLatestValidatorSetRequestAmino; -} -/** - * GetLatestValidatorSetRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * GetLatestValidatorSetResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetResponse { - blockHeight: bigint; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -export interface GetLatestValidatorSetResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse"; - value: Uint8Array; -} -/** - * GetLatestValidatorSetResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetResponseAmino { - block_height?: string; - validators?: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetLatestValidatorSetResponseAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetResponse"; - value: GetLatestValidatorSetResponseAmino; -} -/** - * GetLatestValidatorSetResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetResponseSDKType { - block_height: bigint; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** Validator is the type for the validator-set. */ -export interface Validator { - address: string; - pubKey?: Any; - votingPower: bigint; - proposerPriority: bigint; -} -export interface ValidatorProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator"; - value: Uint8Array; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorAmino { - address?: string; - pub_key?: AnyAmino; - voting_power?: string; - proposer_priority?: string; -} -export interface ValidatorAminoMsg { - type: "cosmos-sdk/Validator"; - value: ValidatorAmino; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorSDKType { - address: string; - pub_key?: AnySDKType; - voting_power: bigint; - proposer_priority: bigint; -} -/** - * GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightRequest { - height: bigint; -} -export interface GetBlockByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest"; - value: Uint8Array; -} -/** - * GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightRequestAmino { - height?: string; -} -export interface GetBlockByHeightRequestAminoMsg { - type: "cosmos-sdk/GetBlockByHeightRequest"; - value: GetBlockByHeightRequestAmino; -} -/** - * GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightRequestSDKType { - height: bigint; -} -/** - * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightResponse { - blockId?: BlockID; - /** Deprecated: please use `sdk_block` instead */ - block?: Block1; - /** Since: cosmos-sdk 0.47 */ - sdkBlock?: Block2; -} -export interface GetBlockByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse"; - value: Uint8Array; -} -/** - * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightResponseAmino { - block_id?: BlockIDAmino; - /** Deprecated: please use `sdk_block` instead */ - block?: Block1Amino; - /** Since: cosmos-sdk 0.47 */ - sdk_block?: Block2Amino; -} -export interface GetBlockByHeightResponseAminoMsg { - type: "cosmos-sdk/GetBlockByHeightResponse"; - value: GetBlockByHeightResponseAmino; -} -/** - * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightResponseSDKType { - block_id?: BlockIDSDKType; - block?: Block1SDKType; - sdk_block?: Block2SDKType; -} -/** - * GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockRequest {} -export interface GetLatestBlockRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest"; - value: Uint8Array; -} -/** - * GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockRequestAmino {} -export interface GetLatestBlockRequestAminoMsg { - type: "cosmos-sdk/GetLatestBlockRequest"; - value: GetLatestBlockRequestAmino; -} -/** - * GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockRequestSDKType {} -/** - * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockResponse { - blockId?: BlockID; - /** Deprecated: please use `sdk_block` instead */ - block?: Block1; - /** Since: cosmos-sdk 0.47 */ - sdkBlock?: Block2; -} -export interface GetLatestBlockResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse"; - value: Uint8Array; -} -/** - * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockResponseAmino { - block_id?: BlockIDAmino; - /** Deprecated: please use `sdk_block` instead */ - block?: Block1Amino; - /** Since: cosmos-sdk 0.47 */ - sdk_block?: Block2Amino; -} -export interface GetLatestBlockResponseAminoMsg { - type: "cosmos-sdk/GetLatestBlockResponse"; - value: GetLatestBlockResponseAmino; -} -/** - * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockResponseSDKType { - block_id?: BlockIDSDKType; - block?: Block1SDKType; - sdk_block?: Block2SDKType; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequest {} -export interface GetSyncingRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest"; - value: Uint8Array; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestAmino {} -export interface GetSyncingRequestAminoMsg { - type: "cosmos-sdk/GetSyncingRequest"; - value: GetSyncingRequestAmino; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestSDKType {} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponse { - syncing: boolean; -} -export interface GetSyncingResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse"; - value: Uint8Array; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseAmino { - syncing?: boolean; -} -export interface GetSyncingResponseAminoMsg { - type: "cosmos-sdk/GetSyncingResponse"; - value: GetSyncingResponseAmino; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseSDKType { - syncing: boolean; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequest {} -export interface GetNodeInfoRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest"; - value: Uint8Array; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestAmino {} -export interface GetNodeInfoRequestAminoMsg { - type: "cosmos-sdk/GetNodeInfoRequest"; - value: GetNodeInfoRequestAmino; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestSDKType {} -/** - * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - * method. - */ -export interface GetNodeInfoResponse { - defaultNodeInfo?: DefaultNodeInfo; - applicationVersion?: VersionInfo; -} -export interface GetNodeInfoResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse"; - value: Uint8Array; -} -/** - * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - * method. - */ -export interface GetNodeInfoResponseAmino { - default_node_info?: DefaultNodeInfoAmino; - application_version?: VersionInfoAmino; -} -export interface GetNodeInfoResponseAminoMsg { - type: "cosmos-sdk/GetNodeInfoResponse"; - value: GetNodeInfoResponseAmino; -} -/** - * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - * method. - */ -export interface GetNodeInfoResponseSDKType { - default_node_info?: DefaultNodeInfoSDKType; - application_version?: VersionInfoSDKType; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfo { - name: string; - appName: string; - version: string; - gitCommit: string; - buildTags: string; - goVersion: string; - buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ - cosmosSdkVersion: string; -} -export interface VersionInfoProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo"; - value: Uint8Array; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoAmino { - name?: string; - app_name?: string; - version?: string; - git_commit?: string; - build_tags?: string; - go_version?: string; - build_deps?: ModuleAmino[]; - /** Since: cosmos-sdk 0.43 */ - cosmos_sdk_version?: string; -} -export interface VersionInfoAminoMsg { - type: "cosmos-sdk/VersionInfo"; - value: VersionInfoAmino; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoSDKType { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleSDKType[]; - cosmos_sdk_version: string; -} -/** Module is the type for VersionInfo */ -export interface Module { - /** module path */ - path: string; - /** module version */ - version: string; - /** checksum */ - sum: string; -} -export interface ModuleProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module"; - value: Uint8Array; -} -/** Module is the type for VersionInfo */ -export interface ModuleAmino { - /** module path */ - path?: string; - /** module version */ - version?: string; - /** checksum */ - sum?: string; -} -export interface ModuleAminoMsg { - type: "cosmos-sdk/Module"; - value: ModuleAmino; -} -/** Module is the type for VersionInfo */ -export interface ModuleSDKType { - path: string; - version: string; - sum: string; -} -/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */ -export interface ABCIQueryRequest { - data: Uint8Array; - path: string; - height: bigint; - prove: boolean; -} -export interface ABCIQueryRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest"; - value: Uint8Array; -} -/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */ -export interface ABCIQueryRequestAmino { - data?: string; - path?: string; - height?: string; - prove?: boolean; -} -export interface ABCIQueryRequestAminoMsg { - type: "cosmos-sdk/ABCIQueryRequest"; - value: ABCIQueryRequestAmino; -} -/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */ -export interface ABCIQueryRequestSDKType { - data: Uint8Array; - path: string; - height: bigint; - prove: boolean; -} -/** - * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - * query. - * - * Note: This type is a duplicate of the ResponseQuery proto type defined in - * Tendermint. - */ -export interface ABCIQueryResponse { - code: number; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - index: bigint; - key: Uint8Array; - value: Uint8Array; - proofOps?: ProofOps; - height: bigint; - codespace: string; -} -export interface ABCIQueryResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse"; - value: Uint8Array; -} -/** - * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - * query. - * - * Note: This type is a duplicate of the ResponseQuery proto type defined in - * Tendermint. - */ -export interface ABCIQueryResponseAmino { - code?: number; - /** nondeterministic */ - log?: string; - /** nondeterministic */ - info?: string; - index?: string; - key?: string; - value?: string; - proof_ops?: ProofOpsAmino; - height?: string; - codespace?: string; -} -export interface ABCIQueryResponseAminoMsg { - type: "cosmos-sdk/ABCIQueryResponse"; - value: ABCIQueryResponseAmino; -} -/** - * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - * query. - * - * Note: This type is a duplicate of the ResponseQuery proto type defined in - * Tendermint. - */ -export interface ABCIQueryResponseSDKType { - code: number; - log: string; - info: string; - index: bigint; - key: Uint8Array; - value: Uint8Array; - proof_ops?: ProofOpsSDKType; - height: bigint; - codespace: string; -} -/** - * ProofOp defines an operation used for calculating Merkle root. The data could - * be arbitrary format, providing nessecary data for example neighbouring node - * hash. - * - * Note: This type is a duplicate of the ProofOp proto type defined in - * Tendermint. - */ -export interface ProofOp { - type: string; - key: Uint8Array; - data: Uint8Array; -} -export interface ProofOpProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp"; - value: Uint8Array; -} -/** - * ProofOp defines an operation used for calculating Merkle root. The data could - * be arbitrary format, providing nessecary data for example neighbouring node - * hash. - * - * Note: This type is a duplicate of the ProofOp proto type defined in - * Tendermint. - */ -export interface ProofOpAmino { - type?: string; - key?: string; - data?: string; -} -export interface ProofOpAminoMsg { - type: "cosmos-sdk/ProofOp"; - value: ProofOpAmino; -} -/** - * ProofOp defines an operation used for calculating Merkle root. The data could - * be arbitrary format, providing nessecary data for example neighbouring node - * hash. - * - * Note: This type is a duplicate of the ProofOp proto type defined in - * Tendermint. - */ -export interface ProofOpSDKType { - type: string; - key: Uint8Array; - data: Uint8Array; -} -/** - * ProofOps is Merkle proof defined by the list of ProofOps. - * - * Note: This type is a duplicate of the ProofOps proto type defined in - * Tendermint. - */ -export interface ProofOps { - ops: ProofOp[]; -} -export interface ProofOpsProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps"; - value: Uint8Array; -} -/** - * ProofOps is Merkle proof defined by the list of ProofOps. - * - * Note: This type is a duplicate of the ProofOps proto type defined in - * Tendermint. - */ -export interface ProofOpsAmino { - ops?: ProofOpAmino[]; -} -export interface ProofOpsAminoMsg { - type: "cosmos-sdk/ProofOps"; - value: ProofOpsAmino; -} -/** - * ProofOps is Merkle proof defined by the list of ProofOps. - * - * Note: This type is a duplicate of the ProofOps proto type defined in - * Tendermint. - */ -export interface ProofOpsSDKType { - ops: ProofOpSDKType[]; -} -function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { - return { - height: BigInt(0), - pagination: undefined - }; -} -export const GetValidatorSetByHeightRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest", - encode(message: GetValidatorSetByHeightRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.height !== BigInt(0)) { - writer.uint32(8).int64(message.height); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetValidatorSetByHeightRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = reader.int64(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetValidatorSetByHeightRequest { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: GetValidatorSetByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): GetValidatorSetByHeightRequest { - const message = createBaseGetValidatorSetByHeightRequest(); - message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: GetValidatorSetByHeightRequestAmino): GetValidatorSetByHeightRequest { - const message = createBaseGetValidatorSetByHeightRequest(); - if (object.height !== undefined && object.height !== null) { - message.height = BigInt(object.height); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAmino { - const obj: any = {}; - obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetValidatorSetByHeightRequestAminoMsg): GetValidatorSetByHeightRequest { - return GetValidatorSetByHeightRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAminoMsg { - return { - type: "cosmos-sdk/GetValidatorSetByHeightRequest", - value: GetValidatorSetByHeightRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetValidatorSetByHeightRequestProtoMsg): GetValidatorSetByHeightRequest { - return GetValidatorSetByHeightRequest.decode(message.value); - }, - toProto(message: GetValidatorSetByHeightRequest): Uint8Array { - return GetValidatorSetByHeightRequest.encode(message).finish(); - }, - toProtoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest", - value: GetValidatorSetByHeightRequest.encode(message).finish() - }; - } -}; -function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse { - return { - blockHeight: BigInt(0), - validators: [], - pagination: undefined - }; -} -export const GetValidatorSetByHeightResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse", - encode(message: GetValidatorSetByHeightResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.blockHeight !== BigInt(0)) { - writer.uint32(8).int64(message.blockHeight); - } - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetValidatorSetByHeightResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockHeight = reader.int64(); - break; - case 2: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - case 3: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetValidatorSetByHeightResponse { - return { - blockHeight: isSet(object.blockHeight) ? BigInt(object.blockHeight.toString()) : BigInt(0), - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: GetValidatorSetByHeightResponse): unknown { - const obj: any = {}; - message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || BigInt(0)).toString()); - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): GetValidatorSetByHeightResponse { - const message = createBaseGetValidatorSetByHeightResponse(); - message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0); - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: GetValidatorSetByHeightResponseAmino): GetValidatorSetByHeightResponse { - const message = createBaseGetValidatorSetByHeightResponse(); - if (object.block_height !== undefined && object.block_height !== null) { - message.blockHeight = BigInt(object.block_height); - } - message.validators = object.validators?.map(e => Validator.fromAmino(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAmino { - const obj: any = {}; - obj.block_height = message.blockHeight !== BigInt(0) ? message.blockHeight.toString() : undefined; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.validators = message.validators; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetValidatorSetByHeightResponseAminoMsg): GetValidatorSetByHeightResponse { - return GetValidatorSetByHeightResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAminoMsg { - return { - type: "cosmos-sdk/GetValidatorSetByHeightResponse", - value: GetValidatorSetByHeightResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetValidatorSetByHeightResponseProtoMsg): GetValidatorSetByHeightResponse { - return GetValidatorSetByHeightResponse.decode(message.value); - }, - toProto(message: GetValidatorSetByHeightResponse): Uint8Array { - return GetValidatorSetByHeightResponse.encode(message).finish(); - }, - toProtoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse", - value: GetValidatorSetByHeightResponse.encode(message).finish() - }; - } -}; -function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { - return { - pagination: undefined - }; -} -export const GetLatestValidatorSetRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest", - encode(message: GetLatestValidatorSetRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestValidatorSetRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetLatestValidatorSetRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: GetLatestValidatorSetRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): GetLatestValidatorSetRequest { - const message = createBaseGetLatestValidatorSetRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: GetLatestValidatorSetRequestAmino): GetLatestValidatorSetRequest { - const message = createBaseGetLatestValidatorSetRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetLatestValidatorSetRequestAminoMsg): GetLatestValidatorSetRequest { - return GetLatestValidatorSetRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAminoMsg { - return { - type: "cosmos-sdk/GetLatestValidatorSetRequest", - value: GetLatestValidatorSetRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestValidatorSetRequestProtoMsg): GetLatestValidatorSetRequest { - return GetLatestValidatorSetRequest.decode(message.value); - }, - toProto(message: GetLatestValidatorSetRequest): Uint8Array { - return GetLatestValidatorSetRequest.encode(message).finish(); - }, - toProtoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest", - value: GetLatestValidatorSetRequest.encode(message).finish() - }; - } -}; -function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse { - return { - blockHeight: BigInt(0), - validators: [], - pagination: undefined - }; -} -export const GetLatestValidatorSetResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse", - encode(message: GetLatestValidatorSetResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.blockHeight !== BigInt(0)) { - writer.uint32(8).int64(message.blockHeight); - } - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestValidatorSetResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockHeight = reader.int64(); - break; - case 2: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - case 3: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetLatestValidatorSetResponse { - return { - blockHeight: isSet(object.blockHeight) ? BigInt(object.blockHeight.toString()) : BigInt(0), - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: GetLatestValidatorSetResponse): unknown { - const obj: any = {}; - message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || BigInt(0)).toString()); - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): GetLatestValidatorSetResponse { - const message = createBaseGetLatestValidatorSetResponse(); - message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0); - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: GetLatestValidatorSetResponseAmino): GetLatestValidatorSetResponse { - const message = createBaseGetLatestValidatorSetResponse(); - if (object.block_height !== undefined && object.block_height !== null) { - message.blockHeight = BigInt(object.block_height); - } - message.validators = object.validators?.map(e => Validator.fromAmino(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAmino { - const obj: any = {}; - obj.block_height = message.blockHeight !== BigInt(0) ? message.blockHeight.toString() : undefined; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.validators = message.validators; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetLatestValidatorSetResponseAminoMsg): GetLatestValidatorSetResponse { - return GetLatestValidatorSetResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAminoMsg { - return { - type: "cosmos-sdk/GetLatestValidatorSetResponse", - value: GetLatestValidatorSetResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestValidatorSetResponseProtoMsg): GetLatestValidatorSetResponse { - return GetLatestValidatorSetResponse.decode(message.value); - }, - toProto(message: GetLatestValidatorSetResponse): Uint8Array { - return GetLatestValidatorSetResponse.encode(message).finish(); - }, - toProtoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse", - value: GetLatestValidatorSetResponse.encode(message).finish() - }; - } -}; -function createBaseValidator(): Validator { - return { - address: "", - pubKey: undefined, - votingPower: BigInt(0), - proposerPriority: BigInt(0) - }; -} -export const Validator = { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator", - encode(message: Validator, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pubKey !== undefined) { - Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); - } - if (message.votingPower !== BigInt(0)) { - writer.uint32(24).int64(message.votingPower); - } - if (message.proposerPriority !== BigInt(0)) { - writer.uint32(32).int64(message.proposerPriority); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Validator { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidator(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pubKey = Any.decode(reader, reader.uint32()); - break; - case 3: - message.votingPower = reader.int64(); - break; - case 4: - message.proposerPriority = reader.int64(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Validator { - return { - address: isSet(object.address) ? String(object.address) : "", - pubKey: isSet(object.pubKey) ? Any.fromJSON(object.pubKey) : undefined, - votingPower: isSet(object.votingPower) ? BigInt(object.votingPower.toString()) : BigInt(0), - proposerPriority: isSet(object.proposerPriority) ? BigInt(object.proposerPriority.toString()) : BigInt(0) - }; - }, - toJSON(message: Validator): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined); - message.votingPower !== undefined && (obj.votingPower = (message.votingPower || BigInt(0)).toString()); - message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || BigInt(0)).toString()); - return obj; - }, - fromPartial(object: Partial): Validator { - const message = createBaseValidator(); - message.address = object.address ?? ""; - message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? Any.fromPartial(object.pubKey) : undefined; - message.votingPower = object.votingPower !== undefined && object.votingPower !== null ? BigInt(object.votingPower.toString()) : BigInt(0); - message.proposerPriority = object.proposerPriority !== undefined && object.proposerPriority !== null ? BigInt(object.proposerPriority.toString()) : BigInt(0); - return message; - }, - fromAmino(object: ValidatorAmino): Validator { - const message = createBaseValidator(); - if (object.address !== undefined && object.address !== null) { - message.address = object.address; - } - if (object.pub_key !== undefined && object.pub_key !== null) { - message.pubKey = Any.fromAmino(object.pub_key); - } - if (object.voting_power !== undefined && object.voting_power !== null) { - message.votingPower = BigInt(object.voting_power); - } - if (object.proposer_priority !== undefined && object.proposer_priority !== null) { - message.proposerPriority = BigInt(object.proposer_priority); - } - return message; - }, - toAmino(message: Validator): ValidatorAmino { - const obj: any = {}; - obj.address = message.address === "" ? undefined : message.address; - obj.pub_key = message.pubKey ? Any.toAmino(message.pubKey) : undefined; - obj.voting_power = message.votingPower !== BigInt(0) ? message.votingPower.toString() : undefined; - obj.proposer_priority = message.proposerPriority !== BigInt(0) ? message.proposerPriority.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorAminoMsg): Validator { - return Validator.fromAmino(object.value); - }, - toAminoMsg(message: Validator): ValidatorAminoMsg { - return { - type: "cosmos-sdk/Validator", - value: Validator.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorProtoMsg): Validator { - return Validator.decode(message.value); - }, - toProto(message: Validator): Uint8Array { - return Validator.encode(message).finish(); - }, - toProtoMsg(message: Validator): ValidatorProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator", - value: Validator.encode(message).finish() - }; - } -}; -function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest { - return { - height: BigInt(0) - }; -} -export const GetBlockByHeightRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest", - encode(message: GetBlockByHeightRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.height !== BigInt(0)) { - writer.uint32(8).int64(message.height); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockByHeightRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = reader.int64(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetBlockByHeightRequest { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0) - }; - }, - toJSON(message: GetBlockByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - return obj; - }, - fromPartial(object: Partial): GetBlockByHeightRequest { - const message = createBaseGetBlockByHeightRequest(); - message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - return message; - }, - fromAmino(object: GetBlockByHeightRequestAmino): GetBlockByHeightRequest { - const message = createBaseGetBlockByHeightRequest(); - if (object.height !== undefined && object.height !== null) { - message.height = BigInt(object.height); - } - return message; - }, - toAmino(message: GetBlockByHeightRequest): GetBlockByHeightRequestAmino { - const obj: any = {}; - obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - return obj; - }, - fromAminoMsg(object: GetBlockByHeightRequestAminoMsg): GetBlockByHeightRequest { - return GetBlockByHeightRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestAminoMsg { - return { - type: "cosmos-sdk/GetBlockByHeightRequest", - value: GetBlockByHeightRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetBlockByHeightRequestProtoMsg): GetBlockByHeightRequest { - return GetBlockByHeightRequest.decode(message.value); - }, - toProto(message: GetBlockByHeightRequest): Uint8Array { - return GetBlockByHeightRequest.encode(message).finish(); - }, - toProtoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest", - value: GetBlockByHeightRequest.encode(message).finish() - }; - } -}; -function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { - return { - blockId: undefined, - block: undefined, - sdkBlock: undefined - }; -} -export const GetBlockByHeightResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse", - encode(message: GetBlockByHeightResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); - } - if (message.block !== undefined) { - Block1.encode(message.block, writer.uint32(18).fork()).ldelim(); - } - if (message.sdkBlock !== undefined) { - Block2.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockByHeightResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - case 2: - message.block = Block1.decode(reader, reader.uint32()); - break; - case 3: - message.sdkBlock = Block2.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetBlockByHeightResponse { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - block: isSet(object.block) ? Block1.fromJSON(object.block) : undefined, - sdkBlock: isSet(object.sdkBlock) ? Block2.fromJSON(object.sdkBlock) : undefined - }; - }, - toJSON(message: GetBlockByHeightResponse): unknown { - const obj: any = {}; - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block1.toJSON(message.block) : undefined); - message.sdkBlock !== undefined && (obj.sdkBlock = message.sdkBlock ? Block2.toJSON(message.sdkBlock) : undefined); - return obj; - }, - fromPartial(object: Partial): GetBlockByHeightResponse { - const message = createBaseGetBlockByHeightResponse(); - message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.block = object.block !== undefined && object.block !== null ? Block1.fromPartial(object.block) : undefined; - message.sdkBlock = object.sdkBlock !== undefined && object.sdkBlock !== null ? Block2.fromPartial(object.sdkBlock) : undefined; - return message; - }, - fromAmino(object: GetBlockByHeightResponseAmino): GetBlockByHeightResponse { - const message = createBaseGetBlockByHeightResponse(); - if (object.block_id !== undefined && object.block_id !== null) { - message.blockId = BlockID.fromAmino(object.block_id); - } - if (object.block !== undefined && object.block !== null) { - message.block = Block1.fromAmino(object.block); - } - if (object.sdk_block !== undefined && object.sdk_block !== null) { - message.sdkBlock = Block2.fromAmino(object.sdk_block); - } - return message; - }, - toAmino(message: GetBlockByHeightResponse): GetBlockByHeightResponseAmino { - const obj: any = {}; - obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined; - obj.block = message.block ? Block1.toAmino(message.block) : undefined; - obj.sdk_block = message.sdkBlock ? Block2.toAmino(message.sdkBlock) : undefined; - return obj; - }, - fromAminoMsg(object: GetBlockByHeightResponseAminoMsg): GetBlockByHeightResponse { - return GetBlockByHeightResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseAminoMsg { - return { - type: "cosmos-sdk/GetBlockByHeightResponse", - value: GetBlockByHeightResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetBlockByHeightResponseProtoMsg): GetBlockByHeightResponse { - return GetBlockByHeightResponse.decode(message.value); - }, - toProto(message: GetBlockByHeightResponse): Uint8Array { - return GetBlockByHeightResponse.encode(message).finish(); - }, - toProtoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse", - value: GetBlockByHeightResponse.encode(message).finish() - }; - } -}; -function createBaseGetLatestBlockRequest(): GetLatestBlockRequest { - return {}; -} -export const GetLatestBlockRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest", - encode(_: GetLatestBlockRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestBlockRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetLatestBlockRequest { - return {}; - }, - toJSON(_: GetLatestBlockRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetLatestBlockRequest { - const message = createBaseGetLatestBlockRequest(); - return message; - }, - fromAmino(_: GetLatestBlockRequestAmino): GetLatestBlockRequest { - const message = createBaseGetLatestBlockRequest(); - return message; - }, - toAmino(_: GetLatestBlockRequest): GetLatestBlockRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetLatestBlockRequestAminoMsg): GetLatestBlockRequest { - return GetLatestBlockRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestAminoMsg { - return { - type: "cosmos-sdk/GetLatestBlockRequest", - value: GetLatestBlockRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestBlockRequestProtoMsg): GetLatestBlockRequest { - return GetLatestBlockRequest.decode(message.value); - }, - toProto(message: GetLatestBlockRequest): Uint8Array { - return GetLatestBlockRequest.encode(message).finish(); - }, - toProtoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest", - value: GetLatestBlockRequest.encode(message).finish() - }; - } -}; -function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { - return { - blockId: undefined, - block: undefined, - sdkBlock: undefined - }; -} -export const GetLatestBlockResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse", - encode(message: GetLatestBlockResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); - } - if (message.block !== undefined) { - Block1.encode(message.block, writer.uint32(18).fork()).ldelim(); - } - if (message.sdkBlock !== undefined) { - Block2.encode(message.sdkBlock, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestBlockResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - case 2: - message.block = Block1.decode(reader, reader.uint32()); - break; - case 3: - message.sdkBlock = Block2.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetLatestBlockResponse { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - block: isSet(object.block) ? Block1.fromJSON(object.block) : undefined, - sdkBlock: isSet(object.sdkBlock) ? Block2.fromJSON(object.sdkBlock) : undefined - }; - }, - toJSON(message: GetLatestBlockResponse): unknown { - const obj: any = {}; - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block1.toJSON(message.block) : undefined); - message.sdkBlock !== undefined && (obj.sdkBlock = message.sdkBlock ? Block2.toJSON(message.sdkBlock) : undefined); - return obj; - }, - fromPartial(object: Partial): GetLatestBlockResponse { - const message = createBaseGetLatestBlockResponse(); - message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.block = object.block !== undefined && object.block !== null ? Block1.fromPartial(object.block) : undefined; - message.sdkBlock = object.sdkBlock !== undefined && object.sdkBlock !== null ? Block2.fromPartial(object.sdkBlock) : undefined; - return message; - }, - fromAmino(object: GetLatestBlockResponseAmino): GetLatestBlockResponse { - const message = createBaseGetLatestBlockResponse(); - if (object.block_id !== undefined && object.block_id !== null) { - message.blockId = BlockID.fromAmino(object.block_id); - } - if (object.block !== undefined && object.block !== null) { - message.block = Block1.fromAmino(object.block); - } - if (object.sdk_block !== undefined && object.sdk_block !== null) { - message.sdkBlock = Block2.fromAmino(object.sdk_block); - } - return message; - }, - toAmino(message: GetLatestBlockResponse): GetLatestBlockResponseAmino { - const obj: any = {}; - obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined; - obj.block = message.block ? Block1.toAmino(message.block) : undefined; - obj.sdk_block = message.sdkBlock ? Block2.toAmino(message.sdkBlock) : undefined; - return obj; - }, - fromAminoMsg(object: GetLatestBlockResponseAminoMsg): GetLatestBlockResponse { - return GetLatestBlockResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseAminoMsg { - return { - type: "cosmos-sdk/GetLatestBlockResponse", - value: GetLatestBlockResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestBlockResponseProtoMsg): GetLatestBlockResponse { - return GetLatestBlockResponse.decode(message.value); - }, - toProto(message: GetLatestBlockResponse): Uint8Array { - return GetLatestBlockResponse.encode(message).finish(); - }, - toProtoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse", - value: GetLatestBlockResponse.encode(message).finish() - }; - } -}; -function createBaseGetSyncingRequest(): GetSyncingRequest { - return {}; -} -export const GetSyncingRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest", - encode(_: GetSyncingRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetSyncingRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetSyncingRequest { - return {}; - }, - toJSON(_: GetSyncingRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetSyncingRequest { - const message = createBaseGetSyncingRequest(); - return message; - }, - fromAmino(_: GetSyncingRequestAmino): GetSyncingRequest { - const message = createBaseGetSyncingRequest(); - return message; - }, - toAmino(_: GetSyncingRequest): GetSyncingRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetSyncingRequestAminoMsg): GetSyncingRequest { - return GetSyncingRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetSyncingRequest): GetSyncingRequestAminoMsg { - return { - type: "cosmos-sdk/GetSyncingRequest", - value: GetSyncingRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetSyncingRequestProtoMsg): GetSyncingRequest { - return GetSyncingRequest.decode(message.value); - }, - toProto(message: GetSyncingRequest): Uint8Array { - return GetSyncingRequest.encode(message).finish(); - }, - toProtoMsg(message: GetSyncingRequest): GetSyncingRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest", - value: GetSyncingRequest.encode(message).finish() - }; - } -}; -function createBaseGetSyncingResponse(): GetSyncingResponse { - return { - syncing: false - }; -} -export const GetSyncingResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse", - encode(message: GetSyncingResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.syncing === true) { - writer.uint32(8).bool(message.syncing); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetSyncingResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.syncing = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetSyncingResponse { - return { - syncing: isSet(object.syncing) ? Boolean(object.syncing) : false - }; - }, - toJSON(message: GetSyncingResponse): unknown { - const obj: any = {}; - message.syncing !== undefined && (obj.syncing = message.syncing); - return obj; - }, - fromPartial(object: Partial): GetSyncingResponse { - const message = createBaseGetSyncingResponse(); - message.syncing = object.syncing ?? false; - return message; - }, - fromAmino(object: GetSyncingResponseAmino): GetSyncingResponse { - const message = createBaseGetSyncingResponse(); - if (object.syncing !== undefined && object.syncing !== null) { - message.syncing = object.syncing; - } - return message; - }, - toAmino(message: GetSyncingResponse): GetSyncingResponseAmino { - const obj: any = {}; - obj.syncing = message.syncing === false ? undefined : message.syncing; - return obj; - }, - fromAminoMsg(object: GetSyncingResponseAminoMsg): GetSyncingResponse { - return GetSyncingResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetSyncingResponse): GetSyncingResponseAminoMsg { - return { - type: "cosmos-sdk/GetSyncingResponse", - value: GetSyncingResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetSyncingResponseProtoMsg): GetSyncingResponse { - return GetSyncingResponse.decode(message.value); - }, - toProto(message: GetSyncingResponse): Uint8Array { - return GetSyncingResponse.encode(message).finish(); - }, - toProtoMsg(message: GetSyncingResponse): GetSyncingResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse", - value: GetSyncingResponse.encode(message).finish() - }; - } -}; -function createBaseGetNodeInfoRequest(): GetNodeInfoRequest { - return {}; -} -export const GetNodeInfoRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest", - encode(_: GetNodeInfoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetNodeInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetNodeInfoRequest { - return {}; - }, - toJSON(_: GetNodeInfoRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): GetNodeInfoRequest { - const message = createBaseGetNodeInfoRequest(); - return message; - }, - fromAmino(_: GetNodeInfoRequestAmino): GetNodeInfoRequest { - const message = createBaseGetNodeInfoRequest(); - return message; - }, - toAmino(_: GetNodeInfoRequest): GetNodeInfoRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetNodeInfoRequestAminoMsg): GetNodeInfoRequest { - return GetNodeInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestAminoMsg { - return { - type: "cosmos-sdk/GetNodeInfoRequest", - value: GetNodeInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetNodeInfoRequestProtoMsg): GetNodeInfoRequest { - return GetNodeInfoRequest.decode(message.value); - }, - toProto(message: GetNodeInfoRequest): Uint8Array { - return GetNodeInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest", - value: GetNodeInfoRequest.encode(message).finish() - }; - } -}; -function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { - return { - defaultNodeInfo: undefined, - applicationVersion: undefined - }; -} -export const GetNodeInfoResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse", - encode(message: GetNodeInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.defaultNodeInfo !== undefined) { - DefaultNodeInfo.encode(message.defaultNodeInfo, writer.uint32(10).fork()).ldelim(); - } - if (message.applicationVersion !== undefined) { - VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetNodeInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.defaultNodeInfo = DefaultNodeInfo.decode(reader, reader.uint32()); - break; - case 2: - message.applicationVersion = VersionInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetNodeInfoResponse { - return { - defaultNodeInfo: isSet(object.defaultNodeInfo) ? DefaultNodeInfo.fromJSON(object.defaultNodeInfo) : undefined, - applicationVersion: isSet(object.applicationVersion) ? VersionInfo.fromJSON(object.applicationVersion) : undefined - }; - }, - toJSON(message: GetNodeInfoResponse): unknown { - const obj: any = {}; - message.defaultNodeInfo !== undefined && (obj.defaultNodeInfo = message.defaultNodeInfo ? DefaultNodeInfo.toJSON(message.defaultNodeInfo) : undefined); - message.applicationVersion !== undefined && (obj.applicationVersion = message.applicationVersion ? VersionInfo.toJSON(message.applicationVersion) : undefined); - return obj; - }, - fromPartial(object: Partial): GetNodeInfoResponse { - const message = createBaseGetNodeInfoResponse(); - message.defaultNodeInfo = object.defaultNodeInfo !== undefined && object.defaultNodeInfo !== null ? DefaultNodeInfo.fromPartial(object.defaultNodeInfo) : undefined; - message.applicationVersion = object.applicationVersion !== undefined && object.applicationVersion !== null ? VersionInfo.fromPartial(object.applicationVersion) : undefined; - return message; - }, - fromAmino(object: GetNodeInfoResponseAmino): GetNodeInfoResponse { - const message = createBaseGetNodeInfoResponse(); - if (object.default_node_info !== undefined && object.default_node_info !== null) { - message.defaultNodeInfo = DefaultNodeInfo.fromAmino(object.default_node_info); - } - if (object.application_version !== undefined && object.application_version !== null) { - message.applicationVersion = VersionInfo.fromAmino(object.application_version); - } - return message; - }, - toAmino(message: GetNodeInfoResponse): GetNodeInfoResponseAmino { - const obj: any = {}; - obj.default_node_info = message.defaultNodeInfo ? DefaultNodeInfo.toAmino(message.defaultNodeInfo) : undefined; - obj.application_version = message.applicationVersion ? VersionInfo.toAmino(message.applicationVersion) : undefined; - return obj; - }, - fromAminoMsg(object: GetNodeInfoResponseAminoMsg): GetNodeInfoResponse { - return GetNodeInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseAminoMsg { - return { - type: "cosmos-sdk/GetNodeInfoResponse", - value: GetNodeInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetNodeInfoResponseProtoMsg): GetNodeInfoResponse { - return GetNodeInfoResponse.decode(message.value); - }, - toProto(message: GetNodeInfoResponse): Uint8Array { - return GetNodeInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse", - value: GetNodeInfoResponse.encode(message).finish() - }; - } -}; -function createBaseVersionInfo(): VersionInfo { - return { - name: "", - appName: "", - version: "", - gitCommit: "", - buildTags: "", - goVersion: "", - buildDeps: [], - cosmosSdkVersion: "" - }; -} -export const VersionInfo = { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo", - encode(message: VersionInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.appName !== "") { - writer.uint32(18).string(message.appName); - } - if (message.version !== "") { - writer.uint32(26).string(message.version); - } - if (message.gitCommit !== "") { - writer.uint32(34).string(message.gitCommit); - } - if (message.buildTags !== "") { - writer.uint32(42).string(message.buildTags); - } - if (message.goVersion !== "") { - writer.uint32(50).string(message.goVersion); - } - for (const v of message.buildDeps) { - Module.encode(v!, writer.uint32(58).fork()).ldelim(); - } - if (message.cosmosSdkVersion !== "") { - writer.uint32(66).string(message.cosmosSdkVersion); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): VersionInfo { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVersionInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.appName = reader.string(); - break; - case 3: - message.version = reader.string(); - break; - case 4: - message.gitCommit = reader.string(); - break; - case 5: - message.buildTags = reader.string(); - break; - case 6: - message.goVersion = reader.string(); - break; - case 7: - message.buildDeps.push(Module.decode(reader, reader.uint32())); - break; - case 8: - message.cosmosSdkVersion = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): VersionInfo { - return { - name: isSet(object.name) ? String(object.name) : "", - appName: isSet(object.appName) ? String(object.appName) : "", - version: isSet(object.version) ? String(object.version) : "", - gitCommit: isSet(object.gitCommit) ? String(object.gitCommit) : "", - buildTags: isSet(object.buildTags) ? String(object.buildTags) : "", - goVersion: isSet(object.goVersion) ? String(object.goVersion) : "", - buildDeps: Array.isArray(object?.buildDeps) ? object.buildDeps.map((e: any) => Module.fromJSON(e)) : [], - cosmosSdkVersion: isSet(object.cosmosSdkVersion) ? String(object.cosmosSdkVersion) : "" - }; - }, - toJSON(message: VersionInfo): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.appName !== undefined && (obj.appName = message.appName); - message.version !== undefined && (obj.version = message.version); - message.gitCommit !== undefined && (obj.gitCommit = message.gitCommit); - message.buildTags !== undefined && (obj.buildTags = message.buildTags); - message.goVersion !== undefined && (obj.goVersion = message.goVersion); - if (message.buildDeps) { - obj.buildDeps = message.buildDeps.map(e => e ? Module.toJSON(e) : undefined); - } else { - obj.buildDeps = []; - } - message.cosmosSdkVersion !== undefined && (obj.cosmosSdkVersion = message.cosmosSdkVersion); - return obj; - }, - fromPartial(object: Partial): VersionInfo { - const message = createBaseVersionInfo(); - message.name = object.name ?? ""; - message.appName = object.appName ?? ""; - message.version = object.version ?? ""; - message.gitCommit = object.gitCommit ?? ""; - message.buildTags = object.buildTags ?? ""; - message.goVersion = object.goVersion ?? ""; - message.buildDeps = object.buildDeps?.map(e => Module.fromPartial(e)) || []; - message.cosmosSdkVersion = object.cosmosSdkVersion ?? ""; - return message; - }, - fromAmino(object: VersionInfoAmino): VersionInfo { - const message = createBaseVersionInfo(); - if (object.name !== undefined && object.name !== null) { - message.name = object.name; - } - if (object.app_name !== undefined && object.app_name !== null) { - message.appName = object.app_name; - } - if (object.version !== undefined && object.version !== null) { - message.version = object.version; - } - if (object.git_commit !== undefined && object.git_commit !== null) { - message.gitCommit = object.git_commit; - } - if (object.build_tags !== undefined && object.build_tags !== null) { - message.buildTags = object.build_tags; - } - if (object.go_version !== undefined && object.go_version !== null) { - message.goVersion = object.go_version; - } - message.buildDeps = object.build_deps?.map(e => Module.fromAmino(e)) || []; - if (object.cosmos_sdk_version !== undefined && object.cosmos_sdk_version !== null) { - message.cosmosSdkVersion = object.cosmos_sdk_version; - } - return message; - }, - toAmino(message: VersionInfo): VersionInfoAmino { - const obj: any = {}; - obj.name = message.name === "" ? undefined : message.name; - obj.app_name = message.appName === "" ? undefined : message.appName; - obj.version = message.version === "" ? undefined : message.version; - obj.git_commit = message.gitCommit === "" ? undefined : message.gitCommit; - obj.build_tags = message.buildTags === "" ? undefined : message.buildTags; - obj.go_version = message.goVersion === "" ? undefined : message.goVersion; - if (message.buildDeps) { - obj.build_deps = message.buildDeps.map(e => e ? Module.toAmino(e) : undefined); - } else { - obj.build_deps = message.buildDeps; - } - obj.cosmos_sdk_version = message.cosmosSdkVersion === "" ? undefined : message.cosmosSdkVersion; - return obj; - }, - fromAminoMsg(object: VersionInfoAminoMsg): VersionInfo { - return VersionInfo.fromAmino(object.value); - }, - toAminoMsg(message: VersionInfo): VersionInfoAminoMsg { - return { - type: "cosmos-sdk/VersionInfo", - value: VersionInfo.toAmino(message) - }; - }, - fromProtoMsg(message: VersionInfoProtoMsg): VersionInfo { - return VersionInfo.decode(message.value); - }, - toProto(message: VersionInfo): Uint8Array { - return VersionInfo.encode(message).finish(); - }, - toProtoMsg(message: VersionInfo): VersionInfoProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo", - value: VersionInfo.encode(message).finish() - }; - } -}; -function createBaseModule(): Module { - return { - path: "", - version: "", - sum: "" - }; -} -export const Module = { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module", - encode(message: Module, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.path !== "") { - writer.uint32(10).string(message.path); - } - if (message.version !== "") { - writer.uint32(18).string(message.version); - } - if (message.sum !== "") { - writer.uint32(26).string(message.sum); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Module { - const reader = input instanceof BinaryReader ? input : new BinaryReader(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: - message.path = reader.string(); - break; - case 2: - message.version = reader.string(); - break; - case 3: - message.sum = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Module { - return { - path: isSet(object.path) ? String(object.path) : "", - version: isSet(object.version) ? String(object.version) : "", - sum: isSet(object.sum) ? String(object.sum) : "" - }; - }, - toJSON(message: Module): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = message.path); - message.version !== undefined && (obj.version = message.version); - message.sum !== undefined && (obj.sum = message.sum); - return obj; - }, - fromPartial(object: Partial): Module { - const message = createBaseModule(); - message.path = object.path ?? ""; - message.version = object.version ?? ""; - message.sum = object.sum ?? ""; - return message; - }, - fromAmino(object: ModuleAmino): Module { - const message = createBaseModule(); - if (object.path !== undefined && object.path !== null) { - message.path = object.path; - } - if (object.version !== undefined && object.version !== null) { - message.version = object.version; - } - if (object.sum !== undefined && object.sum !== null) { - message.sum = object.sum; - } - return message; - }, - toAmino(message: Module): ModuleAmino { - const obj: any = {}; - obj.path = message.path === "" ? undefined : message.path; - obj.version = message.version === "" ? undefined : message.version; - obj.sum = message.sum === "" ? undefined : message.sum; - return obj; - }, - fromAminoMsg(object: ModuleAminoMsg): Module { - return Module.fromAmino(object.value); - }, - toAminoMsg(message: Module): ModuleAminoMsg { - return { - type: "cosmos-sdk/Module", - value: Module.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleProtoMsg): Module { - return Module.decode(message.value); - }, - toProto(message: Module): Uint8Array { - return Module.encode(message).finish(); - }, - toProtoMsg(message: Module): ModuleProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module", - value: Module.encode(message).finish() - }; - } -}; -function createBaseABCIQueryRequest(): ABCIQueryRequest { - return { - data: new Uint8Array(), - path: "", - height: BigInt(0), - prove: false - }; -} -export const ABCIQueryRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest", - encode(message: ABCIQueryRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - if (message.path !== "") { - writer.uint32(18).string(message.path); - } - if (message.height !== BigInt(0)) { - writer.uint32(24).int64(message.height); - } - if (message.prove === true) { - writer.uint32(32).bool(message.prove); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ABCIQueryRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseABCIQueryRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - case 2: - message.path = reader.string(); - break; - case 3: - message.height = reader.int64(); - break; - case 4: - message.prove = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ABCIQueryRequest { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - path: isSet(object.path) ? String(object.path) : "", - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - prove: isSet(object.prove) ? Boolean(object.prove) : false - }; - }, - toJSON(message: ABCIQueryRequest): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.path !== undefined && (obj.path = message.path); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.prove !== undefined && (obj.prove = message.prove); - return obj; - }, - fromPartial(object: Partial): ABCIQueryRequest { - const message = createBaseABCIQueryRequest(); - message.data = object.data ?? new Uint8Array(); - message.path = object.path ?? ""; - message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.prove = object.prove ?? false; - return message; - }, - fromAmino(object: ABCIQueryRequestAmino): ABCIQueryRequest { - const message = createBaseABCIQueryRequest(); - if (object.data !== undefined && object.data !== null) { - message.data = bytesFromBase64(object.data); - } - if (object.path !== undefined && object.path !== null) { - message.path = object.path; - } - if (object.height !== undefined && object.height !== null) { - message.height = BigInt(object.height); - } - if (object.prove !== undefined && object.prove !== null) { - message.prove = object.prove; - } - return message; - }, - toAmino(message: ABCIQueryRequest): ABCIQueryRequestAmino { - const obj: any = {}; - obj.data = message.data ? base64FromBytes(message.data) : undefined; - obj.path = message.path === "" ? undefined : message.path; - obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.prove = message.prove === false ? undefined : message.prove; - return obj; - }, - fromAminoMsg(object: ABCIQueryRequestAminoMsg): ABCIQueryRequest { - return ABCIQueryRequest.fromAmino(object.value); - }, - toAminoMsg(message: ABCIQueryRequest): ABCIQueryRequestAminoMsg { - return { - type: "cosmos-sdk/ABCIQueryRequest", - value: ABCIQueryRequest.toAmino(message) - }; - }, - fromProtoMsg(message: ABCIQueryRequestProtoMsg): ABCIQueryRequest { - return ABCIQueryRequest.decode(message.value); - }, - toProto(message: ABCIQueryRequest): Uint8Array { - return ABCIQueryRequest.encode(message).finish(); - }, - toProtoMsg(message: ABCIQueryRequest): ABCIQueryRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest", - value: ABCIQueryRequest.encode(message).finish() - }; - } -}; -function createBaseABCIQueryResponse(): ABCIQueryResponse { - return { - code: 0, - log: "", - info: "", - index: BigInt(0), - key: new Uint8Array(), - value: new Uint8Array(), - proofOps: undefined, - height: BigInt(0), - codespace: "" - }; -} -export const ABCIQueryResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse", - encode(message: ABCIQueryResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.code !== 0) { - writer.uint32(8).uint32(message.code); - } - if (message.log !== "") { - writer.uint32(26).string(message.log); - } - if (message.info !== "") { - writer.uint32(34).string(message.info); - } - if (message.index !== BigInt(0)) { - writer.uint32(40).int64(message.index); - } - if (message.key.length !== 0) { - writer.uint32(50).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(58).bytes(message.value); - } - if (message.proofOps !== undefined) { - ProofOps.encode(message.proofOps, writer.uint32(66).fork()).ldelim(); - } - if (message.height !== BigInt(0)) { - writer.uint32(72).int64(message.height); - } - if (message.codespace !== "") { - writer.uint32(82).string(message.codespace); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ABCIQueryResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseABCIQueryResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.code = reader.uint32(); - break; - case 3: - message.log = reader.string(); - break; - case 4: - message.info = reader.string(); - break; - case 5: - message.index = reader.int64(); - break; - case 6: - message.key = reader.bytes(); - break; - case 7: - message.value = reader.bytes(); - break; - case 8: - message.proofOps = ProofOps.decode(reader, reader.uint32()); - break; - case 9: - message.height = reader.int64(); - break; - case 10: - message.codespace = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ABCIQueryResponse { - return { - code: isSet(object.code) ? Number(object.code) : 0, - log: isSet(object.log) ? String(object.log) : "", - info: isSet(object.info) ? String(object.info) : "", - index: isSet(object.index) ? BigInt(object.index.toString()) : BigInt(0), - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - proofOps: isSet(object.proofOps) ? ProofOps.fromJSON(object.proofOps) : undefined, - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - codespace: isSet(object.codespace) ? String(object.codespace) : "" - }; - }, - toJSON(message: ABCIQueryResponse): unknown { - const obj: any = {}; - message.code !== undefined && (obj.code = Math.round(message.code)); - message.log !== undefined && (obj.log = message.log); - message.info !== undefined && (obj.info = message.info); - message.index !== undefined && (obj.index = (message.index || BigInt(0)).toString()); - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - message.proofOps !== undefined && (obj.proofOps = message.proofOps ? ProofOps.toJSON(message.proofOps) : undefined); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.codespace !== undefined && (obj.codespace = message.codespace); - return obj; - }, - fromPartial(object: Partial): ABCIQueryResponse { - const message = createBaseABCIQueryResponse(); - message.code = object.code ?? 0; - message.log = object.log ?? ""; - message.info = object.info ?? ""; - message.index = object.index !== undefined && object.index !== null ? BigInt(object.index.toString()) : BigInt(0); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - message.proofOps = object.proofOps !== undefined && object.proofOps !== null ? ProofOps.fromPartial(object.proofOps) : undefined; - message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.codespace = object.codespace ?? ""; - return message; - }, - fromAmino(object: ABCIQueryResponseAmino): ABCIQueryResponse { - const message = createBaseABCIQueryResponse(); - if (object.code !== undefined && object.code !== null) { - message.code = object.code; - } - if (object.log !== undefined && object.log !== null) { - message.log = object.log; - } - if (object.info !== undefined && object.info !== null) { - message.info = object.info; - } - if (object.index !== undefined && object.index !== null) { - message.index = BigInt(object.index); - } - if (object.key !== undefined && object.key !== null) { - message.key = bytesFromBase64(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = bytesFromBase64(object.value); - } - if (object.proof_ops !== undefined && object.proof_ops !== null) { - message.proofOps = ProofOps.fromAmino(object.proof_ops); - } - if (object.height !== undefined && object.height !== null) { - message.height = BigInt(object.height); - } - if (object.codespace !== undefined && object.codespace !== null) { - message.codespace = object.codespace; - } - return message; - }, - toAmino(message: ABCIQueryResponse): ABCIQueryResponseAmino { - const obj: any = {}; - obj.code = message.code === 0 ? undefined : message.code; - obj.log = message.log === "" ? undefined : message.log; - obj.info = message.info === "" ? undefined : message.info; - obj.index = message.index !== BigInt(0) ? message.index.toString() : undefined; - obj.key = message.key ? base64FromBytes(message.key) : undefined; - obj.value = message.value ? base64FromBytes(message.value) : undefined; - obj.proof_ops = message.proofOps ? ProofOps.toAmino(message.proofOps) : undefined; - obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.codespace = message.codespace === "" ? undefined : message.codespace; - return obj; - }, - fromAminoMsg(object: ABCIQueryResponseAminoMsg): ABCIQueryResponse { - return ABCIQueryResponse.fromAmino(object.value); - }, - toAminoMsg(message: ABCIQueryResponse): ABCIQueryResponseAminoMsg { - return { - type: "cosmos-sdk/ABCIQueryResponse", - value: ABCIQueryResponse.toAmino(message) - }; - }, - fromProtoMsg(message: ABCIQueryResponseProtoMsg): ABCIQueryResponse { - return ABCIQueryResponse.decode(message.value); - }, - toProto(message: ABCIQueryResponse): Uint8Array { - return ABCIQueryResponse.encode(message).finish(); - }, - toProtoMsg(message: ABCIQueryResponse): ABCIQueryResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse", - value: ABCIQueryResponse.encode(message).finish() - }; - } -}; -function createBaseProofOp(): ProofOp { - return { - type: "", - key: new Uint8Array(), - data: new Uint8Array() - }; -} -export const ProofOp = { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp", - encode(message: ProofOp, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - if (message.key.length !== 0) { - writer.uint32(18).bytes(message.key); - } - if (message.data.length !== 0) { - writer.uint32(26).bytes(message.data); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ProofOp { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProofOp(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.key = reader.bytes(); - break; - case 3: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ProofOp { - return { - type: isSet(object.type) ? String(object.type) : "", - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - toJSON(message: ProofOp): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): ProofOp { - const message = createBaseProofOp(); - message.type = object.type ?? ""; - message.key = object.key ?? new Uint8Array(); - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromAmino(object: ProofOpAmino): ProofOp { - const message = createBaseProofOp(); - if (object.type !== undefined && object.type !== null) { - message.type = object.type; - } - if (object.key !== undefined && object.key !== null) { - message.key = bytesFromBase64(object.key); - } - if (object.data !== undefined && object.data !== null) { - message.data = bytesFromBase64(object.data); - } - return message; - }, - toAmino(message: ProofOp): ProofOpAmino { - const obj: any = {}; - obj.type = message.type === "" ? undefined : message.type; - obj.key = message.key ? base64FromBytes(message.key) : undefined; - obj.data = message.data ? base64FromBytes(message.data) : undefined; - return obj; - }, - fromAminoMsg(object: ProofOpAminoMsg): ProofOp { - return ProofOp.fromAmino(object.value); - }, - toAminoMsg(message: ProofOp): ProofOpAminoMsg { - return { - type: "cosmos-sdk/ProofOp", - value: ProofOp.toAmino(message) - }; - }, - fromProtoMsg(message: ProofOpProtoMsg): ProofOp { - return ProofOp.decode(message.value); - }, - toProto(message: ProofOp): Uint8Array { - return ProofOp.encode(message).finish(); - }, - toProtoMsg(message: ProofOp): ProofOpProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp", - value: ProofOp.encode(message).finish() - }; - } -}; -function createBaseProofOps(): ProofOps { - return { - ops: [] - }; -} -export const ProofOps = { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps", - encode(message: ProofOps, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.ops) { - ProofOp.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ProofOps { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProofOps(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.ops.push(ProofOp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ProofOps { - return { - ops: Array.isArray(object?.ops) ? object.ops.map((e: any) => ProofOp.fromJSON(e)) : [] - }; - }, - toJSON(message: ProofOps): unknown { - const obj: any = {}; - if (message.ops) { - obj.ops = message.ops.map(e => e ? ProofOp.toJSON(e) : undefined); - } else { - obj.ops = []; - } - return obj; - }, - fromPartial(object: Partial): ProofOps { - const message = createBaseProofOps(); - message.ops = object.ops?.map(e => ProofOp.fromPartial(e)) || []; - return message; - }, - fromAmino(object: ProofOpsAmino): ProofOps { - const message = createBaseProofOps(); - message.ops = object.ops?.map(e => ProofOp.fromAmino(e)) || []; - return message; - }, - toAmino(message: ProofOps): ProofOpsAmino { - const obj: any = {}; - if (message.ops) { - obj.ops = message.ops.map(e => e ? ProofOp.toAmino(e) : undefined); - } else { - obj.ops = message.ops; - } - return obj; - }, - fromAminoMsg(object: ProofOpsAminoMsg): ProofOps { - return ProofOps.fromAmino(object.value); - }, - toAminoMsg(message: ProofOps): ProofOpsAminoMsg { - return { - type: "cosmos-sdk/ProofOps", - value: ProofOps.toAmino(message) - }; - }, - fromProtoMsg(message: ProofOpsProtoMsg): ProofOps { - return ProofOps.decode(message.value); - }, - toProto(message: ProofOps): Uint8Array { - return ProofOps.encode(message).finish(); - }, - toProtoMsg(message: ProofOps): ProofOpsProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps", - value: ProofOps.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/types.ts b/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/types.ts deleted file mode 100644 index 7d23465b..00000000 --- a/packages/api/src/codegen/cosmos/base/tendermint/v1beta1/types.ts +++ /dev/null @@ -1,511 +0,0 @@ -import { Data, DataAmino, DataSDKType, Commit, CommitAmino, CommitSDKType, BlockID, BlockIDAmino, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { EvidenceList, EvidenceListAmino, EvidenceListSDKType } from "../../../../tendermint/types/evidence"; -import { Consensus, ConsensusAmino, ConsensusSDKType } from "../../../../tendermint/version/types"; -import { Timestamp, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, fromJsonTimestamp, bytesFromBase64, fromTimestamp, base64FromBytes } from "../../../../helpers"; -/** - * Block is tendermint type Block, with the Header proposer address - * field converted to bech32 string. - */ -export interface Block { - header: Header; - data: Data; - evidence: EvidenceList; - lastCommit?: Commit; -} -export interface BlockProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Block"; - value: Uint8Array; -} -/** - * Block is tendermint type Block, with the Header proposer address - * field converted to bech32 string. - */ -export interface BlockAmino { - header?: HeaderAmino; - data?: DataAmino; - evidence?: EvidenceListAmino; - last_commit?: CommitAmino; -} -export interface BlockAminoMsg { - type: "cosmos-sdk/Block"; - value: BlockAmino; -} -/** - * Block is tendermint type Block, with the Header proposer address - * field converted to bech32 string. - */ -export interface BlockSDKType { - header: HeaderSDKType; - data: DataSDKType; - evidence: EvidenceListSDKType; - last_commit?: CommitSDKType; -} -/** Header defines the structure of a Tendermint block header. */ -export interface Header { - /** basic block info */ - version: Consensus; - chainId: string; - height: bigint; - time: Timestamp; - /** prev block info */ - lastBlockId: BlockID; - /** hashes of block data */ - lastCommitHash: Uint8Array; - dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - validatorsHash: Uint8Array; - /** validators for the next block */ - nextValidatorsHash: Uint8Array; - /** consensus params for current block */ - consensusHash: Uint8Array; - /** state after txs from the previous block */ - appHash: Uint8Array; - lastResultsHash: Uint8Array; - /** consensus info */ - evidenceHash: Uint8Array; - /** - * proposer_address is the original block proposer address, formatted as a Bech32 string. - * In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string - * for better UX. - */ - proposerAddress: string; -} -export interface HeaderProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Header"; - value: Uint8Array; -} -/** Header defines the structure of a Tendermint block header. */ -export interface HeaderAmino { - /** basic block info */ - version?: ConsensusAmino; - chain_id?: string; - height?: string; - time?: string; - /** prev block info */ - last_block_id?: BlockIDAmino; - /** hashes of block data */ - last_commit_hash?: string; - data_hash?: string; - /** hashes from the app output from the prev block */ - validators_hash?: string; - /** validators for the next block */ - next_validators_hash?: string; - /** consensus params for current block */ - consensus_hash?: string; - /** state after txs from the previous block */ - app_hash?: string; - last_results_hash?: string; - /** consensus info */ - evidence_hash?: string; - /** - * proposer_address is the original block proposer address, formatted as a Bech32 string. - * In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string - * for better UX. - */ - proposer_address?: string; -} -export interface HeaderAminoMsg { - type: "cosmos-sdk/Header"; - value: HeaderAmino; -} -/** Header defines the structure of a Tendermint block header. */ -export interface HeaderSDKType { - version: ConsensusSDKType; - chain_id: string; - height: bigint; - time: TimestampSDKType; - last_block_id: BlockIDSDKType; - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - validators_hash: Uint8Array; - next_validators_hash: Uint8Array; - consensus_hash: Uint8Array; - app_hash: Uint8Array; - last_results_hash: Uint8Array; - evidence_hash: Uint8Array; - proposer_address: string; -} -function createBaseBlock(): Block { - return { - header: Header.fromPartial({}), - data: Data.fromPartial({}), - evidence: EvidenceList.fromPartial({}), - lastCommit: undefined - }; -} -export const Block = { - typeUrl: "/cosmos.base.tendermint.v1beta1.Block", - encode(message: Block, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.header !== undefined) { - Header.encode(message.header, writer.uint32(10).fork()).ldelim(); - } - if (message.data !== undefined) { - Data.encode(message.data, writer.uint32(18).fork()).ldelim(); - } - if (message.evidence !== undefined) { - EvidenceList.encode(message.evidence, writer.uint32(26).fork()).ldelim(); - } - if (message.lastCommit !== undefined) { - Commit.encode(message.lastCommit, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Block { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBlock(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.header = Header.decode(reader, reader.uint32()); - break; - case 2: - message.data = Data.decode(reader, reader.uint32()); - break; - case 3: - message.evidence = EvidenceList.decode(reader, reader.uint32()); - break; - case 4: - message.lastCommit = Commit.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Block { - return { - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - data: isSet(object.data) ? Data.fromJSON(object.data) : undefined, - evidence: isSet(object.evidence) ? EvidenceList.fromJSON(object.evidence) : undefined, - lastCommit: isSet(object.lastCommit) ? Commit.fromJSON(object.lastCommit) : undefined - }; - }, - toJSON(message: Block): unknown { - const obj: any = {}; - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - message.data !== undefined && (obj.data = message.data ? Data.toJSON(message.data) : undefined); - message.evidence !== undefined && (obj.evidence = message.evidence ? EvidenceList.toJSON(message.evidence) : undefined); - message.lastCommit !== undefined && (obj.lastCommit = message.lastCommit ? Commit.toJSON(message.lastCommit) : undefined); - return obj; - }, - fromPartial(object: Partial): Block { - const message = createBaseBlock(); - message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; - message.data = object.data !== undefined && object.data !== null ? Data.fromPartial(object.data) : undefined; - message.evidence = object.evidence !== undefined && object.evidence !== null ? EvidenceList.fromPartial(object.evidence) : undefined; - message.lastCommit = object.lastCommit !== undefined && object.lastCommit !== null ? Commit.fromPartial(object.lastCommit) : undefined; - return message; - }, - fromAmino(object: BlockAmino): Block { - const message = createBaseBlock(); - if (object.header !== undefined && object.header !== null) { - message.header = Header.fromAmino(object.header); - } - if (object.data !== undefined && object.data !== null) { - message.data = Data.fromAmino(object.data); - } - if (object.evidence !== undefined && object.evidence !== null) { - message.evidence = EvidenceList.fromAmino(object.evidence); - } - if (object.last_commit !== undefined && object.last_commit !== null) { - message.lastCommit = Commit.fromAmino(object.last_commit); - } - return message; - }, - toAmino(message: Block): BlockAmino { - const obj: any = {}; - obj.header = message.header ? Header.toAmino(message.header) : undefined; - obj.data = message.data ? Data.toAmino(message.data) : undefined; - obj.evidence = message.evidence ? EvidenceList.toAmino(message.evidence) : undefined; - obj.last_commit = message.lastCommit ? Commit.toAmino(message.lastCommit) : undefined; - return obj; - }, - fromAminoMsg(object: BlockAminoMsg): Block { - return Block.fromAmino(object.value); - }, - toAminoMsg(message: Block): BlockAminoMsg { - return { - type: "cosmos-sdk/Block", - value: Block.toAmino(message) - }; - }, - fromProtoMsg(message: BlockProtoMsg): Block { - return Block.decode(message.value); - }, - toProto(message: Block): Uint8Array { - return Block.encode(message).finish(); - }, - toProtoMsg(message: Block): BlockProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.Block", - value: Block.encode(message).finish() - }; - } -}; -function createBaseHeader(): Header { - return { - version: Consensus.fromPartial({}), - chainId: "", - height: BigInt(0), - time: Timestamp.fromPartial({}), - lastBlockId: BlockID.fromPartial({}), - lastCommitHash: new Uint8Array(), - dataHash: new Uint8Array(), - validatorsHash: new Uint8Array(), - nextValidatorsHash: new Uint8Array(), - consensusHash: new Uint8Array(), - appHash: new Uint8Array(), - lastResultsHash: new Uint8Array(), - evidenceHash: new Uint8Array(), - proposerAddress: "" - }; -} -export const Header = { - typeUrl: "/cosmos.base.tendermint.v1beta1.Header", - encode(message: Header, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.version !== undefined) { - Consensus.encode(message.version, writer.uint32(10).fork()).ldelim(); - } - if (message.chainId !== "") { - writer.uint32(18).string(message.chainId); - } - if (message.height !== BigInt(0)) { - writer.uint32(24).int64(message.height); - } - if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(34).fork()).ldelim(); - } - if (message.lastBlockId !== undefined) { - BlockID.encode(message.lastBlockId, writer.uint32(42).fork()).ldelim(); - } - if (message.lastCommitHash.length !== 0) { - writer.uint32(50).bytes(message.lastCommitHash); - } - if (message.dataHash.length !== 0) { - writer.uint32(58).bytes(message.dataHash); - } - if (message.validatorsHash.length !== 0) { - writer.uint32(66).bytes(message.validatorsHash); - } - if (message.nextValidatorsHash.length !== 0) { - writer.uint32(74).bytes(message.nextValidatorsHash); - } - if (message.consensusHash.length !== 0) { - writer.uint32(82).bytes(message.consensusHash); - } - if (message.appHash.length !== 0) { - writer.uint32(90).bytes(message.appHash); - } - if (message.lastResultsHash.length !== 0) { - writer.uint32(98).bytes(message.lastResultsHash); - } - if (message.evidenceHash.length !== 0) { - writer.uint32(106).bytes(message.evidenceHash); - } - if (message.proposerAddress !== "") { - writer.uint32(114).string(message.proposerAddress); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Header { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHeader(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.version = Consensus.decode(reader, reader.uint32()); - break; - case 2: - message.chainId = reader.string(); - break; - case 3: - message.height = reader.int64(); - break; - case 4: - message.time = Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.lastBlockId = BlockID.decode(reader, reader.uint32()); - break; - case 6: - message.lastCommitHash = reader.bytes(); - break; - case 7: - message.dataHash = reader.bytes(); - break; - case 8: - message.validatorsHash = reader.bytes(); - break; - case 9: - message.nextValidatorsHash = reader.bytes(); - break; - case 10: - message.consensusHash = reader.bytes(); - break; - case 11: - message.appHash = reader.bytes(); - break; - case 12: - message.lastResultsHash = reader.bytes(); - break; - case 13: - message.evidenceHash = reader.bytes(); - break; - case 14: - message.proposerAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Header { - return { - version: isSet(object.version) ? Consensus.fromJSON(object.version) : undefined, - chainId: isSet(object.chainId) ? String(object.chainId) : "", - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - lastBlockId: isSet(object.lastBlockId) ? BlockID.fromJSON(object.lastBlockId) : undefined, - lastCommitHash: isSet(object.lastCommitHash) ? bytesFromBase64(object.lastCommitHash) : new Uint8Array(), - dataHash: isSet(object.dataHash) ? bytesFromBase64(object.dataHash) : new Uint8Array(), - validatorsHash: isSet(object.validatorsHash) ? bytesFromBase64(object.validatorsHash) : new Uint8Array(), - nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array(), - consensusHash: isSet(object.consensusHash) ? bytesFromBase64(object.consensusHash) : new Uint8Array(), - appHash: isSet(object.appHash) ? bytesFromBase64(object.appHash) : new Uint8Array(), - lastResultsHash: isSet(object.lastResultsHash) ? bytesFromBase64(object.lastResultsHash) : new Uint8Array(), - evidenceHash: isSet(object.evidenceHash) ? bytesFromBase64(object.evidenceHash) : new Uint8Array(), - proposerAddress: isSet(object.proposerAddress) ? String(object.proposerAddress) : "" - }; - }, - toJSON(message: Header): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = message.version ? Consensus.toJSON(message.version) : undefined); - message.chainId !== undefined && (obj.chainId = message.chainId); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.lastBlockId !== undefined && (obj.lastBlockId = message.lastBlockId ? BlockID.toJSON(message.lastBlockId) : undefined); - message.lastCommitHash !== undefined && (obj.lastCommitHash = base64FromBytes(message.lastCommitHash !== undefined ? message.lastCommitHash : new Uint8Array())); - message.dataHash !== undefined && (obj.dataHash = base64FromBytes(message.dataHash !== undefined ? message.dataHash : new Uint8Array())); - message.validatorsHash !== undefined && (obj.validatorsHash = base64FromBytes(message.validatorsHash !== undefined ? message.validatorsHash : new Uint8Array())); - message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); - message.consensusHash !== undefined && (obj.consensusHash = base64FromBytes(message.consensusHash !== undefined ? message.consensusHash : new Uint8Array())); - message.appHash !== undefined && (obj.appHash = base64FromBytes(message.appHash !== undefined ? message.appHash : new Uint8Array())); - message.lastResultsHash !== undefined && (obj.lastResultsHash = base64FromBytes(message.lastResultsHash !== undefined ? message.lastResultsHash : new Uint8Array())); - message.evidenceHash !== undefined && (obj.evidenceHash = base64FromBytes(message.evidenceHash !== undefined ? message.evidenceHash : new Uint8Array())); - message.proposerAddress !== undefined && (obj.proposerAddress = message.proposerAddress); - return obj; - }, - fromPartial(object: Partial
): Header { - const message = createBaseHeader(); - message.version = object.version !== undefined && object.version !== null ? Consensus.fromPartial(object.version) : undefined; - message.chainId = object.chainId ?? ""; - message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; - message.lastBlockId = object.lastBlockId !== undefined && object.lastBlockId !== null ? BlockID.fromPartial(object.lastBlockId) : undefined; - message.lastCommitHash = object.lastCommitHash ?? new Uint8Array(); - message.dataHash = object.dataHash ?? new Uint8Array(); - message.validatorsHash = object.validatorsHash ?? new Uint8Array(); - message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array(); - message.consensusHash = object.consensusHash ?? new Uint8Array(); - message.appHash = object.appHash ?? new Uint8Array(); - message.lastResultsHash = object.lastResultsHash ?? new Uint8Array(); - message.evidenceHash = object.evidenceHash ?? new Uint8Array(); - message.proposerAddress = object.proposerAddress ?? ""; - return message; - }, - fromAmino(object: HeaderAmino): Header { - const message = createBaseHeader(); - if (object.version !== undefined && object.version !== null) { - message.version = Consensus.fromAmino(object.version); - } - if (object.chain_id !== undefined && object.chain_id !== null) { - message.chainId = object.chain_id; - } - if (object.height !== undefined && object.height !== null) { - message.height = BigInt(object.height); - } - if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); - } - if (object.last_block_id !== undefined && object.last_block_id !== null) { - message.lastBlockId = BlockID.fromAmino(object.last_block_id); - } - if (object.last_commit_hash !== undefined && object.last_commit_hash !== null) { - message.lastCommitHash = bytesFromBase64(object.last_commit_hash); - } - if (object.data_hash !== undefined && object.data_hash !== null) { - message.dataHash = bytesFromBase64(object.data_hash); - } - if (object.validators_hash !== undefined && object.validators_hash !== null) { - message.validatorsHash = bytesFromBase64(object.validators_hash); - } - if (object.next_validators_hash !== undefined && object.next_validators_hash !== null) { - message.nextValidatorsHash = bytesFromBase64(object.next_validators_hash); - } - if (object.consensus_hash !== undefined && object.consensus_hash !== null) { - message.consensusHash = bytesFromBase64(object.consensus_hash); - } - if (object.app_hash !== undefined && object.app_hash !== null) { - message.appHash = bytesFromBase64(object.app_hash); - } - if (object.last_results_hash !== undefined && object.last_results_hash !== null) { - message.lastResultsHash = bytesFromBase64(object.last_results_hash); - } - if (object.evidence_hash !== undefined && object.evidence_hash !== null) { - message.evidenceHash = bytesFromBase64(object.evidence_hash); - } - if (object.proposer_address !== undefined && object.proposer_address !== null) { - message.proposerAddress = object.proposer_address; - } - return message; - }, - toAmino(message: Header): HeaderAmino { - const obj: any = {}; - obj.version = message.version ? Consensus.toAmino(message.version) : undefined; - obj.chain_id = message.chainId === "" ? undefined : message.chainId; - obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; - obj.last_block_id = message.lastBlockId ? BlockID.toAmino(message.lastBlockId) : undefined; - obj.last_commit_hash = message.lastCommitHash ? base64FromBytes(message.lastCommitHash) : undefined; - obj.data_hash = message.dataHash ? base64FromBytes(message.dataHash) : undefined; - obj.validators_hash = message.validatorsHash ? base64FromBytes(message.validatorsHash) : undefined; - obj.next_validators_hash = message.nextValidatorsHash ? base64FromBytes(message.nextValidatorsHash) : undefined; - obj.consensus_hash = message.consensusHash ? base64FromBytes(message.consensusHash) : undefined; - obj.app_hash = message.appHash ? base64FromBytes(message.appHash) : undefined; - obj.last_results_hash = message.lastResultsHash ? base64FromBytes(message.lastResultsHash) : undefined; - obj.evidence_hash = message.evidenceHash ? base64FromBytes(message.evidenceHash) : undefined; - obj.proposer_address = message.proposerAddress === "" ? undefined : message.proposerAddress; - return obj; - }, - fromAminoMsg(object: HeaderAminoMsg): Header { - return Header.fromAmino(object.value); - }, - toAminoMsg(message: Header): HeaderAminoMsg { - return { - type: "cosmos-sdk/Header", - value: Header.toAmino(message) - }; - }, - fromProtoMsg(message: HeaderProtoMsg): Header { - return Header.decode(message.value); - }, - toProto(message: Header): Uint8Array { - return Header.encode(message).finish(); - }, - toProtoMsg(message: Header): HeaderProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.Header", - value: Header.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/bundle.ts b/packages/api/src/codegen/cosmos/bundle.ts deleted file mode 100644 index 673adb5a..00000000 --- a/packages/api/src/codegen/cosmos/bundle.ts +++ /dev/null @@ -1,520 +0,0 @@ -import * as _2 from "./app/module/v1alpha1/module"; -import * as _3 from "./app/v1alpha1/config"; -import * as _4 from "./app/v1alpha1/module"; -import * as _5 from "./app/v1alpha1/query"; -import * as _6 from "./auth/v1beta1/auth"; -import * as _7 from "./auth/v1beta1/genesis"; -import * as _8 from "./auth/v1beta1/query"; -import * as _9 from "./authz/v1beta1/authz"; -import * as _10 from "./authz/v1beta1/event"; -import * as _11 from "./authz/v1beta1/genesis"; -import * as _12 from "./authz/v1beta1/query"; -import * as _13 from "./authz/v1beta1/tx"; -import * as _14 from "./bank/v1beta1/authz"; -import * as _15 from "./bank/v1beta1/bank"; -import * as _16 from "./bank/v1beta1/genesis"; -import * as _17 from "./bank/v1beta1/query"; -import * as _18 from "./bank/v1beta1/tx"; -import * as _19 from "./base/abci/v1beta1/abci"; -import * as _20 from "./base/kv/v1beta1/kv"; -import * as _21 from "./base/node/v1beta1/query"; -import * as _22 from "./base/query/v1beta1/pagination"; -import * as _23 from "./base/reflection/v1beta1/reflection"; -import * as _24 from "./base/reflection/v2alpha1/reflection"; -import * as _25 from "./base/snapshots/v1beta1/snapshot"; -import * as _26 from "./base/store/v1beta1/commit_info"; -import * as _27 from "./base/store/v1beta1/listening"; -import * as _28 from "./base/tendermint/v1beta1/query"; -import * as _29 from "./base/tendermint/v1beta1/types"; -import * as _30 from "./base/v1beta1/coin"; -import * as _31 from "./capability/v1beta1/capability"; -import * as _32 from "./capability/v1beta1/genesis"; -import * as _33 from "./crisis/v1beta1/genesis"; -import * as _34 from "./crisis/v1beta1/tx"; -import * as _35 from "./crypto/ed25519/keys"; -import * as _36 from "./crypto/hd/v1/hd"; -import * as _37 from "./crypto/keyring/v1/record"; -import * as _38 from "./crypto/multisig/keys"; -import * as _39 from "./crypto/secp256k1/keys"; -import * as _40 from "./crypto/secp256r1/keys"; -import * as _41 from "./distribution/v1beta1/distribution"; -import * as _42 from "./distribution/v1beta1/genesis"; -import * as _43 from "./distribution/v1beta1/query"; -import * as _44 from "./distribution/v1beta1/tx"; -import * as _45 from "./evidence/v1beta1/evidence"; -import * as _46 from "./evidence/v1beta1/genesis"; -import * as _47 from "./evidence/v1beta1/query"; -import * as _48 from "./evidence/v1beta1/tx"; -import * as _49 from "./feegrant/v1beta1/feegrant"; -import * as _50 from "./feegrant/v1beta1/genesis"; -import * as _51 from "./feegrant/v1beta1/query"; -import * as _52 from "./feegrant/v1beta1/tx"; -import * as _53 from "./genutil/v1beta1/genesis"; -import * as _54 from "./gov/v1/genesis"; -import * as _55 from "./gov/v1/gov"; -import * as _56 from "./gov/v1/query"; -import * as _57 from "./gov/v1/tx"; -import * as _58 from "./gov/v1beta1/genesis"; -import * as _59 from "./gov/v1beta1/gov"; -import * as _60 from "./gov/v1beta1/query"; -import * as _61 from "./gov/v1beta1/tx"; -import * as _62 from "./group/v1/events"; -import * as _63 from "./group/v1/genesis"; -import * as _64 from "./group/v1/query"; -import * as _65 from "./group/v1/tx"; -import * as _66 from "./group/v1/types"; -import * as _67 from "./mint/v1beta1/genesis"; -import * as _68 from "./mint/v1beta1/mint"; -import * as _69 from "./mint/v1beta1/query"; -import * as _70 from "./msg/v1/msg"; -import * as _71 from "./nft/v1beta1/event"; -import * as _72 from "./nft/v1beta1/genesis"; -import * as _73 from "./nft/v1beta1/nft"; -import * as _74 from "./nft/v1beta1/query"; -import * as _75 from "./nft/v1beta1/tx"; -import * as _76 from "./orm/module/v1alpha1/module"; -import * as _77 from "./orm/v1/orm"; -import * as _78 from "./orm/v1alpha1/schema"; -import * as _79 from "./params/v1beta1/params"; -import * as _80 from "./params/v1beta1/query"; -import * as _81 from "./slashing/v1beta1/genesis"; -import * as _82 from "./slashing/v1beta1/query"; -import * as _83 from "./slashing/v1beta1/slashing"; -import * as _84 from "./slashing/v1beta1/tx"; -import * as _85 from "./staking/v1beta1/authz"; -import * as _86 from "./staking/v1beta1/genesis"; -import * as _87 from "./staking/v1beta1/query"; -import * as _88 from "./staking/v1beta1/staking"; -import * as _89 from "./staking/v1beta1/tx"; -import * as _90 from "./tx/signing/v1beta1/signing"; -import * as _91 from "./tx/v1beta1/service"; -import * as _92 from "./tx/v1beta1/tx"; -import * as _93 from "./upgrade/v1beta1/query"; -import * as _94 from "./upgrade/v1beta1/tx"; -import * as _95 from "./upgrade/v1beta1/upgrade"; -import * as _96 from "./vesting/v1beta1/tx"; -import * as _97 from "./vesting/v1beta1/vesting"; -import * as _152 from "./authz/v1beta1/tx.amino"; -import * as _153 from "./bank/v1beta1/tx.amino"; -import * as _154 from "./crisis/v1beta1/tx.amino"; -import * as _155 from "./distribution/v1beta1/tx.amino"; -import * as _156 from "./evidence/v1beta1/tx.amino"; -import * as _157 from "./feegrant/v1beta1/tx.amino"; -import * as _158 from "./gov/v1/tx.amino"; -import * as _159 from "./gov/v1beta1/tx.amino"; -import * as _160 from "./group/v1/tx.amino"; -import * as _161 from "./nft/v1beta1/tx.amino"; -import * as _162 from "./slashing/v1beta1/tx.amino"; -import * as _163 from "./staking/v1beta1/tx.amino"; -import * as _164 from "./upgrade/v1beta1/tx.amino"; -import * as _165 from "./vesting/v1beta1/tx.amino"; -import * as _166 from "./authz/v1beta1/tx.registry"; -import * as _167 from "./bank/v1beta1/tx.registry"; -import * as _168 from "./crisis/v1beta1/tx.registry"; -import * as _169 from "./distribution/v1beta1/tx.registry"; -import * as _170 from "./evidence/v1beta1/tx.registry"; -import * as _171 from "./feegrant/v1beta1/tx.registry"; -import * as _172 from "./gov/v1/tx.registry"; -import * as _173 from "./gov/v1beta1/tx.registry"; -import * as _174 from "./group/v1/tx.registry"; -import * as _175 from "./nft/v1beta1/tx.registry"; -import * as _176 from "./slashing/v1beta1/tx.registry"; -import * as _177 from "./staking/v1beta1/tx.registry"; -import * as _178 from "./upgrade/v1beta1/tx.registry"; -import * as _179 from "./vesting/v1beta1/tx.registry"; -import * as _180 from "./auth/v1beta1/query.lcd"; -import * as _181 from "./authz/v1beta1/query.lcd"; -import * as _182 from "./bank/v1beta1/query.lcd"; -import * as _183 from "./base/node/v1beta1/query.lcd"; -import * as _184 from "./base/tendermint/v1beta1/query.lcd"; -import * as _185 from "./distribution/v1beta1/query.lcd"; -import * as _186 from "./evidence/v1beta1/query.lcd"; -import * as _187 from "./feegrant/v1beta1/query.lcd"; -import * as _188 from "./gov/v1/query.lcd"; -import * as _189 from "./gov/v1beta1/query.lcd"; -import * as _190 from "./group/v1/query.lcd"; -import * as _191 from "./mint/v1beta1/query.lcd"; -import * as _192 from "./nft/v1beta1/query.lcd"; -import * as _193 from "./params/v1beta1/query.lcd"; -import * as _194 from "./slashing/v1beta1/query.lcd"; -import * as _195 from "./staking/v1beta1/query.lcd"; -import * as _196 from "./tx/v1beta1/service.lcd"; -import * as _197 from "./upgrade/v1beta1/query.lcd"; -import * as _198 from "./app/v1alpha1/query.rpc.Query"; -import * as _199 from "./auth/v1beta1/query.rpc.Query"; -import * as _200 from "./authz/v1beta1/query.rpc.Query"; -import * as _201 from "./bank/v1beta1/query.rpc.Query"; -import * as _202 from "./base/node/v1beta1/query.rpc.Service"; -import * as _203 from "./base/tendermint/v1beta1/query.rpc.Service"; -import * as _204 from "./distribution/v1beta1/query.rpc.Query"; -import * as _205 from "./evidence/v1beta1/query.rpc.Query"; -import * as _206 from "./feegrant/v1beta1/query.rpc.Query"; -import * as _207 from "./gov/v1/query.rpc.Query"; -import * as _208 from "./gov/v1beta1/query.rpc.Query"; -import * as _209 from "./group/v1/query.rpc.Query"; -import * as _210 from "./mint/v1beta1/query.rpc.Query"; -import * as _211 from "./nft/v1beta1/query.rpc.Query"; -import * as _212 from "./params/v1beta1/query.rpc.Query"; -import * as _213 from "./slashing/v1beta1/query.rpc.Query"; -import * as _214 from "./staking/v1beta1/query.rpc.Query"; -import * as _215 from "./tx/v1beta1/service.rpc.Service"; -import * as _216 from "./upgrade/v1beta1/query.rpc.Query"; -import * as _217 from "./authz/v1beta1/tx.rpc.msg"; -import * as _218 from "./bank/v1beta1/tx.rpc.msg"; -import * as _219 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _220 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _221 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _222 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _223 from "./gov/v1/tx.rpc.msg"; -import * as _224 from "./gov/v1beta1/tx.rpc.msg"; -import * as _225 from "./group/v1/tx.rpc.msg"; -import * as _226 from "./nft/v1beta1/tx.rpc.msg"; -import * as _227 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _228 from "./staking/v1beta1/tx.rpc.msg"; -import * as _229 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _230 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _271 from "./lcd"; -import * as _272 from "./rpc.query"; -import * as _273 from "./rpc.tx"; -export namespace cosmos { - export namespace app { - export namespace module { - export const v1alpha1 = { - ..._2 - }; - } - export const v1alpha1 = { - ..._3, - ..._4, - ..._5, - ..._198 - }; - } - export namespace auth { - export const v1beta1 = { - ..._6, - ..._7, - ..._8, - ..._180, - ..._199 - }; - } - export namespace authz { - export const v1beta1 = { - ..._9, - ..._10, - ..._11, - ..._12, - ..._13, - ..._152, - ..._166, - ..._181, - ..._200, - ..._217 - }; - } - export namespace bank { - export const v1beta1 = { - ..._14, - ..._15, - ..._16, - ..._17, - ..._18, - ..._153, - ..._167, - ..._182, - ..._201, - ..._218 - }; - } - export namespace base { - export namespace abci { - export const v1beta1 = { - ..._19 - }; - } - export namespace kv { - export const v1beta1 = { - ..._20 - }; - } - export namespace node { - export const v1beta1 = { - ..._21, - ..._183, - ..._202 - }; - } - export namespace query { - export const v1beta1 = { - ..._22 - }; - } - export namespace reflection { - export const v1beta1 = { - ..._23 - }; - export const v2alpha1 = { - ..._24 - }; - } - export namespace snapshots { - export const v1beta1 = { - ..._25 - }; - } - export namespace store { - export const v1beta1 = { - ..._26, - ..._27 - }; - } - export namespace tendermint { - export const v1beta1 = { - ..._28, - ..._29, - ..._184, - ..._203 - }; - } - export const v1beta1 = { - ..._30 - }; - } - export namespace capability { - export const v1beta1 = { - ..._31, - ..._32 - }; - } - export namespace crisis { - export const v1beta1 = { - ..._33, - ..._34, - ..._154, - ..._168, - ..._219 - }; - } - export namespace crypto { - export const ed25519 = { - ..._35 - }; - export namespace hd { - export const v1 = { - ..._36 - }; - } - export namespace keyring { - export const v1 = { - ..._37 - }; - } - export const multisig = { - ..._38 - }; - export const secp256k1 = { - ..._39 - }; - export const secp256r1 = { - ..._40 - }; - } - export namespace distribution { - export const v1beta1 = { - ..._41, - ..._42, - ..._43, - ..._44, - ..._155, - ..._169, - ..._185, - ..._204, - ..._220 - }; - } - export namespace evidence { - export const v1beta1 = { - ..._45, - ..._46, - ..._47, - ..._48, - ..._156, - ..._170, - ..._186, - ..._205, - ..._221 - }; - } - export namespace feegrant { - export const v1beta1 = { - ..._49, - ..._50, - ..._51, - ..._52, - ..._157, - ..._171, - ..._187, - ..._206, - ..._222 - }; - } - export namespace genutil { - export const v1beta1 = { - ..._53 - }; - } - export namespace gov { - export const v1 = { - ..._54, - ..._55, - ..._56, - ..._57, - ..._158, - ..._172, - ..._188, - ..._207, - ..._223 - }; - export const v1beta1 = { - ..._58, - ..._59, - ..._60, - ..._61, - ..._159, - ..._173, - ..._189, - ..._208, - ..._224 - }; - } - export namespace group { - export const v1 = { - ..._62, - ..._63, - ..._64, - ..._65, - ..._66, - ..._160, - ..._174, - ..._190, - ..._209, - ..._225 - }; - } - export namespace mint { - export const v1beta1 = { - ..._67, - ..._68, - ..._69, - ..._191, - ..._210 - }; - } - export namespace msg { - export const v1 = { - ..._70 - }; - } - export namespace nft { - export const v1beta1 = { - ..._71, - ..._72, - ..._73, - ..._74, - ..._75, - ..._161, - ..._175, - ..._192, - ..._211, - ..._226 - }; - } - export namespace orm { - export namespace module { - export const v1alpha1 = { - ..._76 - }; - } - export const v1 = { - ..._77 - }; - export const v1alpha1 = { - ..._78 - }; - } - export namespace params { - export const v1beta1 = { - ..._79, - ..._80, - ..._193, - ..._212 - }; - } - export namespace slashing { - export const v1beta1 = { - ..._81, - ..._82, - ..._83, - ..._84, - ..._162, - ..._176, - ..._194, - ..._213, - ..._227 - }; - } - export namespace staking { - export const v1beta1 = { - ..._85, - ..._86, - ..._87, - ..._88, - ..._89, - ..._163, - ..._177, - ..._195, - ..._214, - ..._228 - }; - } - export namespace tx { - export namespace signing { - export const v1beta1 = { - ..._90 - }; - } - export const v1beta1 = { - ..._91, - ..._92, - ..._196, - ..._215 - }; - } - export namespace upgrade { - export const v1beta1 = { - ..._93, - ..._94, - ..._95, - ..._164, - ..._178, - ..._197, - ..._216, - ..._229 - }; - } - export namespace vesting { - export const v1beta1 = { - ..._96, - ..._97, - ..._165, - ..._179, - ..._230 - }; - } - export const ClientFactory = { - ..._271, - ..._272, - ..._273 - }; -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/capability/v1beta1/capability.ts b/packages/api/src/codegen/cosmos/capability/v1beta1/capability.ts deleted file mode 100644 index ff85a857..00000000 --- a/packages/api/src/codegen/cosmos/capability/v1beta1/capability.ts +++ /dev/null @@ -1,349 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface Capability { - index: bigint; -} -export interface CapabilityProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Capability"; - value: Uint8Array; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilityAmino { - index?: string; -} -export interface CapabilityAminoMsg { - type: "cosmos-sdk/Capability"; - value: CapabilityAmino; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilitySDKType { - index: bigint; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface Owner { - module: string; - name: string; -} -export interface OwnerProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Owner"; - value: Uint8Array; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerAmino { - module?: string; - name?: string; -} -export interface OwnerAminoMsg { - type: "cosmos-sdk/Owner"; - value: OwnerAmino; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerSDKType { - module: string; - name: string; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwners { - owners: Owner[]; -} -export interface CapabilityOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners"; - value: Uint8Array; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersAmino { - owners?: OwnerAmino[]; -} -export interface CapabilityOwnersAminoMsg { - type: "cosmos-sdk/CapabilityOwners"; - value: CapabilityOwnersAmino; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersSDKType { - owners: OwnerSDKType[]; -} -function createBaseCapability(): Capability { - return { - index: BigInt(0) - }; -} -export const Capability = { - typeUrl: "/cosmos.capability.v1beta1.Capability", - encode(message: Capability, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.index !== BigInt(0)) { - writer.uint32(8).uint64(message.index); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Capability { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCapability(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = reader.uint64(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Capability { - return { - index: isSet(object.index) ? BigInt(object.index.toString()) : BigInt(0) - }; - }, - toJSON(message: Capability): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || BigInt(0)).toString()); - return obj; - }, - fromPartial(object: Partial): Capability { - const message = createBaseCapability(); - message.index = object.index !== undefined && object.index !== null ? BigInt(object.index.toString()) : BigInt(0); - return message; - }, - fromAmino(object: CapabilityAmino): Capability { - const message = createBaseCapability(); - if (object.index !== undefined && object.index !== null) { - message.index = BigInt(object.index); - } - return message; - }, - toAmino(message: Capability): CapabilityAmino { - const obj: any = {}; - obj.index = message.index !== BigInt(0) ? message.index.toString() : undefined; - return obj; - }, - fromAminoMsg(object: CapabilityAminoMsg): Capability { - return Capability.fromAmino(object.value); - }, - toAminoMsg(message: Capability): CapabilityAminoMsg { - return { - type: "cosmos-sdk/Capability", - value: Capability.toAmino(message) - }; - }, - fromProtoMsg(message: CapabilityProtoMsg): Capability { - return Capability.decode(message.value); - }, - toProto(message: Capability): Uint8Array { - return Capability.encode(message).finish(); - }, - toProtoMsg(message: Capability): CapabilityProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.Capability", - value: Capability.encode(message).finish() - }; - } -}; -function createBaseOwner(): Owner { - return { - module: "", - name: "" - }; -} -export const Owner = { - typeUrl: "/cosmos.capability.v1beta1.Owner", - encode(message: Owner, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.module !== "") { - writer.uint32(10).string(message.module); - } - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Owner { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOwner(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.module = reader.string(); - break; - case 2: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Owner { - return { - module: isSet(object.module) ? String(object.module) : "", - name: isSet(object.name) ? String(object.name) : "" - }; - }, - toJSON(message: Owner): unknown { - const obj: any = {}; - message.module !== undefined && (obj.module = message.module); - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: Partial): Owner { - const message = createBaseOwner(); - message.module = object.module ?? ""; - message.name = object.name ?? ""; - return message; - }, - fromAmino(object: OwnerAmino): Owner { - const message = createBaseOwner(); - if (object.module !== undefined && object.module !== null) { - message.module = object.module; - } - if (object.name !== undefined && object.name !== null) { - message.name = object.name; - } - return message; - }, - toAmino(message: Owner): OwnerAmino { - const obj: any = {}; - obj.module = message.module === "" ? undefined : message.module; - obj.name = message.name === "" ? undefined : message.name; - return obj; - }, - fromAminoMsg(object: OwnerAminoMsg): Owner { - return Owner.fromAmino(object.value); - }, - toAminoMsg(message: Owner): OwnerAminoMsg { - return { - type: "cosmos-sdk/Owner", - value: Owner.toAmino(message) - }; - }, - fromProtoMsg(message: OwnerProtoMsg): Owner { - return Owner.decode(message.value); - }, - toProto(message: Owner): Uint8Array { - return Owner.encode(message).finish(); - }, - toProtoMsg(message: Owner): OwnerProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.Owner", - value: Owner.encode(message).finish() - }; - } -}; -function createBaseCapabilityOwners(): CapabilityOwners { - return { - owners: [] - }; -} -export const CapabilityOwners = { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners", - encode(message: CapabilityOwners, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.owners) { - Owner.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): CapabilityOwners { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCapabilityOwners(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.owners.push(Owner.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CapabilityOwners { - return { - owners: Array.isArray(object?.owners) ? object.owners.map((e: any) => Owner.fromJSON(e)) : [] - }; - }, - toJSON(message: CapabilityOwners): unknown { - const obj: any = {}; - if (message.owners) { - obj.owners = message.owners.map(e => e ? Owner.toJSON(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromPartial(object: Partial): CapabilityOwners { - const message = createBaseCapabilityOwners(); - message.owners = object.owners?.map(e => Owner.fromPartial(e)) || []; - return message; - }, - fromAmino(object: CapabilityOwnersAmino): CapabilityOwners { - const message = createBaseCapabilityOwners(); - message.owners = object.owners?.map(e => Owner.fromAmino(e)) || []; - return message; - }, - toAmino(message: CapabilityOwners): CapabilityOwnersAmino { - const obj: any = {}; - if (message.owners) { - obj.owners = message.owners.map(e => e ? Owner.toAmino(e) : undefined); - } else { - obj.owners = message.owners; - } - return obj; - }, - fromAminoMsg(object: CapabilityOwnersAminoMsg): CapabilityOwners { - return CapabilityOwners.fromAmino(object.value); - }, - toAminoMsg(message: CapabilityOwners): CapabilityOwnersAminoMsg { - return { - type: "cosmos-sdk/CapabilityOwners", - value: CapabilityOwners.toAmino(message) - }; - }, - fromProtoMsg(message: CapabilityOwnersProtoMsg): CapabilityOwners { - return CapabilityOwners.decode(message.value); - }, - toProto(message: CapabilityOwners): Uint8Array { - return CapabilityOwners.encode(message).finish(); - }, - toProtoMsg(message: CapabilityOwners): CapabilityOwnersProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners", - value: CapabilityOwners.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/capability/v1beta1/genesis.ts b/packages/api/src/codegen/cosmos/capability/v1beta1/genesis.ts deleted file mode 100644 index cee6f5e5..00000000 --- a/packages/api/src/codegen/cosmos/capability/v1beta1/genesis.ts +++ /dev/null @@ -1,255 +0,0 @@ -import { CapabilityOwners, CapabilityOwnersAmino, CapabilityOwnersSDKType } from "./capability"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwners { - /** index is the index of the capability owner. */ - index: bigint; - /** index_owners are the owners at the given index. */ - indexOwners: CapabilityOwners; -} -export interface GenesisOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners"; - value: Uint8Array; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersAmino { - /** index is the index of the capability owner. */ - index?: string; - /** index_owners are the owners at the given index. */ - index_owners?: CapabilityOwnersAmino; -} -export interface GenesisOwnersAminoMsg { - type: "cosmos-sdk/GenesisOwners"; - value: GenesisOwnersAmino; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersSDKType { - index: bigint; - index_owners: CapabilityOwnersSDKType; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisState { - /** index is the capability global index. */ - index: bigint; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners: GenesisOwners[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateAmino { - /** index is the capability global index. */ - index?: string; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners?: GenesisOwnersAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateSDKType { - index: bigint; - owners: GenesisOwnersSDKType[]; -} -function createBaseGenesisOwners(): GenesisOwners { - return { - index: BigInt(0), - indexOwners: CapabilityOwners.fromPartial({}) - }; -} -export const GenesisOwners = { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners", - encode(message: GenesisOwners, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.index !== BigInt(0)) { - writer.uint32(8).uint64(message.index); - } - if (message.indexOwners !== undefined) { - CapabilityOwners.encode(message.indexOwners, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GenesisOwners { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisOwners(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = reader.uint64(); - break; - case 2: - message.indexOwners = CapabilityOwners.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisOwners { - return { - index: isSet(object.index) ? BigInt(object.index.toString()) : BigInt(0), - indexOwners: isSet(object.indexOwners) ? CapabilityOwners.fromJSON(object.indexOwners) : undefined - }; - }, - toJSON(message: GenesisOwners): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || BigInt(0)).toString()); - message.indexOwners !== undefined && (obj.indexOwners = message.indexOwners ? CapabilityOwners.toJSON(message.indexOwners) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisOwners { - const message = createBaseGenesisOwners(); - message.index = object.index !== undefined && object.index !== null ? BigInt(object.index.toString()) : BigInt(0); - message.indexOwners = object.indexOwners !== undefined && object.indexOwners !== null ? CapabilityOwners.fromPartial(object.indexOwners) : undefined; - return message; - }, - fromAmino(object: GenesisOwnersAmino): GenesisOwners { - const message = createBaseGenesisOwners(); - if (object.index !== undefined && object.index !== null) { - message.index = BigInt(object.index); - } - if (object.index_owners !== undefined && object.index_owners !== null) { - message.indexOwners = CapabilityOwners.fromAmino(object.index_owners); - } - return message; - }, - toAmino(message: GenesisOwners): GenesisOwnersAmino { - const obj: any = {}; - obj.index = message.index !== BigInt(0) ? message.index.toString() : undefined; - obj.index_owners = message.indexOwners ? CapabilityOwners.toAmino(message.indexOwners) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisOwnersAminoMsg): GenesisOwners { - return GenesisOwners.fromAmino(object.value); - }, - toAminoMsg(message: GenesisOwners): GenesisOwnersAminoMsg { - return { - type: "cosmos-sdk/GenesisOwners", - value: GenesisOwners.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisOwnersProtoMsg): GenesisOwners { - return GenesisOwners.decode(message.value); - }, - toProto(message: GenesisOwners): Uint8Array { - return GenesisOwners.encode(message).finish(); - }, - toProtoMsg(message: GenesisOwners): GenesisOwnersProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners", - value: GenesisOwners.encode(message).finish() - }; - } -}; -function createBaseGenesisState(): GenesisState { - return { - index: BigInt(0), - owners: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.capability.v1beta1.GenesisState", - encode(message: GenesisState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.index !== BigInt(0)) { - writer.uint32(8).uint64(message.index); - } - for (const v of message.owners) { - GenesisOwners.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = reader.uint64(); - break; - case 2: - message.owners.push(GenesisOwners.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - return { - index: isSet(object.index) ? BigInt(object.index.toString()) : BigInt(0), - owners: Array.isArray(object?.owners) ? object.owners.map((e: any) => GenesisOwners.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || BigInt(0)).toString()); - if (message.owners) { - obj.owners = message.owners.map(e => e ? GenesisOwners.toJSON(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.index = object.index !== undefined && object.index !== null ? BigInt(object.index.toString()) : BigInt(0); - message.owners = object.owners?.map(e => GenesisOwners.fromPartial(e)) || []; - return message; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - const message = createBaseGenesisState(); - if (object.index !== undefined && object.index !== null) { - message.index = BigInt(object.index); - } - message.owners = object.owners?.map(e => GenesisOwners.fromAmino(e)) || []; - return message; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.index = message.index !== BigInt(0) ? message.index.toString() : undefined; - if (message.owners) { - obj.owners = message.owners.map(e => e ? GenesisOwners.toAmino(e) : undefined); - } else { - obj.owners = message.owners; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/crisis/v1beta1/genesis.ts b/packages/api/src/codegen/cosmos/crisis/v1beta1/genesis.ts deleted file mode 100644 index dc0f9fde..00000000 --- a/packages/api/src/codegen/cosmos/crisis/v1beta1/genesis.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisState { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constantFee: Coin; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateAmino { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constant_fee?: CoinAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateSDKType { - constant_fee: CoinSDKType; -} -function createBaseGenesisState(): GenesisState { - return { - constantFee: Coin.fromPartial({}) - }; -} -export const GenesisState = { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState", - encode(message: GenesisState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.constantFee !== undefined) { - Coin.encode(message.constantFee, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.constantFee = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - return { - constantFee: isSet(object.constantFee) ? Coin.fromJSON(object.constantFee) : undefined - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.constantFee !== undefined && (obj.constantFee = message.constantFee ? Coin.toJSON(message.constantFee) : undefined); - return obj; - }, - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.constantFee = object.constantFee !== undefined && object.constantFee !== null ? Coin.fromPartial(object.constantFee) : undefined; - return message; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - const message = createBaseGenesisState(); - if (object.constant_fee !== undefined && object.constant_fee !== null) { - message.constantFee = Coin.fromAmino(object.constant_fee); - } - return message; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.constant_fee = message.constantFee ? Coin.toAmino(message.constantFee) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts b/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts deleted file mode 100644 index 5269268b..00000000 --- a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgVerifyInvariant } from "./tx"; -export const AminoConverter = { - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: "cosmos-sdk/MsgVerifyInvariant", - toAmino: MsgVerifyInvariant.toAmino, - fromAmino: MsgVerifyInvariant.fromAmino - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts b/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts deleted file mode 100644 index df0e8e23..00000000 --- a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgVerifyInvariant } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.crisis.v1beta1.MsgVerifyInvariant", MsgVerifyInvariant]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.encode(value).finish() - }; - } - }, - withTypeUrl: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value - }; - } - }, - toJSON: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.toJSON(value) - }; - } - }, - fromJSON: { - verifyInvariant(value: any) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.fromJSON(value) - }; - } - }, - fromPartial: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index b0b9ea1f..00000000 --- a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** VerifyInvariant defines a method to verify a particular invariance. */ - verifyInvariant(request: MsgVerifyInvariant): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.verifyInvariant = this.verifyInvariant.bind(this); - } - verifyInvariant(request: MsgVerifyInvariant): Promise { - const data = MsgVerifyInvariant.encode(request).finish(); - const promise = this.rpc.request("cosmos.crisis.v1beta1.Msg", "VerifyInvariant", data); - return promise.then(data => MsgVerifyInvariantResponse.decode(new BinaryReader(data))); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.ts b/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.ts deleted file mode 100644 index dc827e8d..00000000 --- a/packages/api/src/codegen/cosmos/crisis/v1beta1/tx.ts +++ /dev/null @@ -1,212 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariant { - sender: string; - invariantModuleName: string; - invariantRoute: string; -} -export interface MsgVerifyInvariantProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant"; - value: Uint8Array; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantAmino { - sender?: string; - invariant_module_name?: string; - invariant_route?: string; -} -export interface MsgVerifyInvariantAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariant"; - value: MsgVerifyInvariantAmino; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantSDKType { - sender: string; - invariant_module_name: string; - invariant_route: string; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponse {} -export interface MsgVerifyInvariantResponseProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse"; - value: Uint8Array; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseAmino {} -export interface MsgVerifyInvariantResponseAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariantResponse"; - value: MsgVerifyInvariantResponseAmino; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseSDKType {} -function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { - return { - sender: "", - invariantModuleName: "", - invariantRoute: "" - }; -} -export const MsgVerifyInvariant = { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - encode(message: MsgVerifyInvariant, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.invariantModuleName !== "") { - writer.uint32(18).string(message.invariantModuleName); - } - if (message.invariantRoute !== "") { - writer.uint32(26).string(message.invariantRoute); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgVerifyInvariant { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVerifyInvariant(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 2: - message.invariantModuleName = reader.string(); - break; - case 3: - message.invariantRoute = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgVerifyInvariant { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - invariantModuleName: isSet(object.invariantModuleName) ? String(object.invariantModuleName) : "", - invariantRoute: isSet(object.invariantRoute) ? String(object.invariantRoute) : "" - }; - }, - toJSON(message: MsgVerifyInvariant): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.invariantModuleName !== undefined && (obj.invariantModuleName = message.invariantModuleName); - message.invariantRoute !== undefined && (obj.invariantRoute = message.invariantRoute); - return obj; - }, - fromPartial(object: Partial): MsgVerifyInvariant { - const message = createBaseMsgVerifyInvariant(); - message.sender = object.sender ?? ""; - message.invariantModuleName = object.invariantModuleName ?? ""; - message.invariantRoute = object.invariantRoute ?? ""; - return message; - }, - fromAmino(object: MsgVerifyInvariantAmino): MsgVerifyInvariant { - const message = createBaseMsgVerifyInvariant(); - if (object.sender !== undefined && object.sender !== null) { - message.sender = object.sender; - } - if (object.invariant_module_name !== undefined && object.invariant_module_name !== null) { - message.invariantModuleName = object.invariant_module_name; - } - if (object.invariant_route !== undefined && object.invariant_route !== null) { - message.invariantRoute = object.invariant_route; - } - return message; - }, - toAmino(message: MsgVerifyInvariant): MsgVerifyInvariantAmino { - const obj: any = {}; - obj.sender = message.sender === "" ? undefined : message.sender; - obj.invariant_module_name = message.invariantModuleName === "" ? undefined : message.invariantModuleName; - obj.invariant_route = message.invariantRoute === "" ? undefined : message.invariantRoute; - return obj; - }, - fromAminoMsg(object: MsgVerifyInvariantAminoMsg): MsgVerifyInvariant { - return MsgVerifyInvariant.fromAmino(object.value); - }, - toAminoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantAminoMsg { - return { - type: "cosmos-sdk/MsgVerifyInvariant", - value: MsgVerifyInvariant.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVerifyInvariantProtoMsg): MsgVerifyInvariant { - return MsgVerifyInvariant.decode(message.value); - }, - toProto(message: MsgVerifyInvariant): Uint8Array { - return MsgVerifyInvariant.encode(message).finish(); - }, - toProtoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantProtoMsg { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.encode(message).finish() - }; - } -}; -function createBaseMsgVerifyInvariantResponse(): MsgVerifyInvariantResponse { - return {}; -} -export const MsgVerifyInvariantResponse = { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse", - encode(_: MsgVerifyInvariantResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgVerifyInvariantResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVerifyInvariantResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgVerifyInvariantResponse { - return {}; - }, - toJSON(_: MsgVerifyInvariantResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgVerifyInvariantResponse { - const message = createBaseMsgVerifyInvariantResponse(); - return message; - }, - fromAmino(_: MsgVerifyInvariantResponseAmino): MsgVerifyInvariantResponse { - const message = createBaseMsgVerifyInvariantResponse(); - return message; - }, - toAmino(_: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgVerifyInvariantResponseAminoMsg): MsgVerifyInvariantResponse { - return MsgVerifyInvariantResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAminoMsg { - return { - type: "cosmos-sdk/MsgVerifyInvariantResponse", - value: MsgVerifyInvariantResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVerifyInvariantResponseProtoMsg): MsgVerifyInvariantResponse { - return MsgVerifyInvariantResponse.decode(message.value); - }, - toProto(message: MsgVerifyInvariantResponse): Uint8Array { - return MsgVerifyInvariantResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseProtoMsg { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse", - value: MsgVerifyInvariantResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/evidence.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/evidence.ts deleted file mode 100644 index 43d1430a..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/evidence.ts +++ /dev/null @@ -1,162 +0,0 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface Equivocation { - height: bigint; - time: Timestamp; - power: bigint; - consensusAddress: string; -} -export interface EquivocationProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation"; - value: Uint8Array; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationAmino { - height?: string; - time?: string; - power?: string; - consensus_address?: string; -} -export interface EquivocationAminoMsg { - type: "cosmos-sdk/Equivocation"; - value: EquivocationAmino; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationSDKType { - height: bigint; - time: TimestampSDKType; - power: bigint; - consensus_address: string; -} -function createBaseEquivocation(): Equivocation { - return { - height: BigInt(0), - time: Timestamp.fromPartial({}), - power: BigInt(0), - consensusAddress: "" - }; -} -export const Equivocation = { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation", - encode(message: Equivocation, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.height !== BigInt(0)) { - writer.uint32(8).int64(message.height); - } - if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(18).fork()).ldelim(); - } - if (message.power !== BigInt(0)) { - writer.uint32(24).int64(message.power); - } - if (message.consensusAddress !== "") { - writer.uint32(34).string(message.consensusAddress); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Equivocation { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEquivocation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = reader.int64(); - break; - case 2: - message.time = Timestamp.decode(reader, reader.uint32()); - break; - case 3: - message.power = reader.int64(); - break; - case 4: - message.consensusAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Equivocation { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - power: isSet(object.power) ? BigInt(object.power.toString()) : BigInt(0), - consensusAddress: isSet(object.consensusAddress) ? String(object.consensusAddress) : "" - }; - }, - toJSON(message: Equivocation): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.power !== undefined && (obj.power = (message.power || BigInt(0)).toString()); - message.consensusAddress !== undefined && (obj.consensusAddress = message.consensusAddress); - return obj; - }, - fromPartial(object: Partial): Equivocation { - const message = createBaseEquivocation(); - message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; - message.power = object.power !== undefined && object.power !== null ? BigInt(object.power.toString()) : BigInt(0); - message.consensusAddress = object.consensusAddress ?? ""; - return message; - }, - fromAmino(object: EquivocationAmino): Equivocation { - const message = createBaseEquivocation(); - if (object.height !== undefined && object.height !== null) { - message.height = BigInt(object.height); - } - if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); - } - if (object.power !== undefined && object.power !== null) { - message.power = BigInt(object.power); - } - if (object.consensus_address !== undefined && object.consensus_address !== null) { - message.consensusAddress = object.consensus_address; - } - return message; - }, - toAmino(message: Equivocation): EquivocationAmino { - const obj: any = {}; - obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; - obj.power = message.power !== BigInt(0) ? message.power.toString() : undefined; - obj.consensus_address = message.consensusAddress === "" ? undefined : message.consensusAddress; - return obj; - }, - fromAminoMsg(object: EquivocationAminoMsg): Equivocation { - return Equivocation.fromAmino(object.value); - }, - toAminoMsg(message: Equivocation): EquivocationAminoMsg { - return { - type: "cosmos-sdk/Equivocation", - value: Equivocation.toAmino(message) - }; - }, - fromProtoMsg(message: EquivocationProtoMsg): Equivocation { - return Equivocation.decode(message.value); - }, - toProto(message: Equivocation): Uint8Array { - return Equivocation.encode(message).finish(); - }, - toProtoMsg(message: Equivocation): EquivocationProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation", - value: Equivocation.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/genesis.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/genesis.ts deleted file mode 100644 index 6d3c37a3..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/genesis.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisState { - /** evidence defines all the evidence at genesis. */ - evidence: Any[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateAmino { - /** evidence defines all the evidence at genesis. */ - evidence?: AnyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateSDKType { - evidence: AnySDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - evidence: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState", - encode(message: GenesisState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.evidence) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidence.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - return { - evidence: Array.isArray(object?.evidence) ? object.evidence.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.evidence = []; - } - return obj; - }, - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.evidence = object.evidence?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - const message = createBaseGenesisState(); - message.evidence = object.evidence?.map(e => Any.fromAmino(e)) || []; - return message; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.evidence = message.evidence; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts deleted file mode 100644 index 5696b227..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryEvidenceRequest, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.evidence = this.evidence.bind(this); - this.allEvidence = this.allEvidence.bind(this); - } - /* Evidence queries evidence based on evidence hash. */ - async evidence(params: QueryEvidenceRequest): Promise { - const endpoint = `cosmos/evidence/v1beta1/evidence/${params.evidenceHash}`; - return await this.req.get(endpoint); - } - /* AllEvidence queries all evidence. */ - async allEvidence(params: QueryAllEvidenceRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/evidence/v1beta1/evidence`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 8a7959af..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Evidence queries evidence based on evidence hash. */ - evidence(request: QueryEvidenceRequest): Promise; - /** AllEvidence queries all evidence. */ - allEvidence(request?: QueryAllEvidenceRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.evidence = this.evidence.bind(this); - this.allEvidence = this.allEvidence.bind(this); - } - evidence(request: QueryEvidenceRequest): Promise { - const data = QueryEvidenceRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.evidence.v1beta1.Query", "Evidence", data); - return promise.then(data => QueryEvidenceResponse.decode(new BinaryReader(data))); - } - allEvidence(request: QueryAllEvidenceRequest = { - pagination: undefined - }): Promise { - const data = QueryAllEvidenceRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.evidence.v1beta1.Query", "AllEvidence", data); - return promise.then(data => QueryAllEvidenceResponse.decode(new BinaryReader(data))); - } -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - evidence(request: QueryEvidenceRequest): Promise { - return queryService.evidence(request); - }, - allEvidence(request?: QueryAllEvidenceRequest): Promise { - return queryService.allEvidence(request); - } - }; -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/query.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/query.ts deleted file mode 100644 index fec28cc6..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/query.ts +++ /dev/null @@ -1,451 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequest { - /** evidence_hash defines the hash of the requested evidence. */ - evidenceHash: Uint8Array; -} -export interface QueryEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest"; - value: Uint8Array; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestAmino { - /** evidence_hash defines the hash of the requested evidence. */ - evidence_hash?: string; -} -export interface QueryEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryEvidenceRequest"; - value: QueryEvidenceRequestAmino; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestSDKType { - evidence_hash: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponse { - /** evidence returns the requested evidence. */ - evidence?: Any; -} -export interface QueryEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse"; - value: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseAmino { - /** evidence returns the requested evidence. */ - evidence?: AnyAmino; -} -export interface QueryEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryEvidenceResponse"; - value: QueryEvidenceResponseAmino; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseSDKType { - evidence?: AnySDKType; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -export interface QueryAllEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest"; - value: Uint8Array; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceRequest"; - value: QueryAllEvidenceRequestAmino; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponse { - /** evidence returns all evidences. */ - evidence: Any[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -export interface QueryAllEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse"; - value: Uint8Array; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseAmino { - /** evidence returns all evidences. */ - evidence?: AnyAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceResponse"; - value: QueryAllEvidenceResponseAmino; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseSDKType { - evidence: AnySDKType[]; - pagination?: PageResponseSDKType; -} -function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { - return { - evidenceHash: new Uint8Array() - }; -} -export const QueryEvidenceRequest = { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest", - encode(message: QueryEvidenceRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.evidenceHash.length !== 0) { - writer.uint32(10).bytes(message.evidenceHash); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryEvidenceRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryEvidenceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidenceHash = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryEvidenceRequest { - return { - evidenceHash: isSet(object.evidenceHash) ? bytesFromBase64(object.evidenceHash) : new Uint8Array() - }; - }, - toJSON(message: QueryEvidenceRequest): unknown { - const obj: any = {}; - message.evidenceHash !== undefined && (obj.evidenceHash = base64FromBytes(message.evidenceHash !== undefined ? message.evidenceHash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): QueryEvidenceRequest { - const message = createBaseQueryEvidenceRequest(); - message.evidenceHash = object.evidenceHash ?? new Uint8Array(); - return message; - }, - fromAmino(object: QueryEvidenceRequestAmino): QueryEvidenceRequest { - const message = createBaseQueryEvidenceRequest(); - if (object.evidence_hash !== undefined && object.evidence_hash !== null) { - message.evidenceHash = bytesFromBase64(object.evidence_hash); - } - return message; - }, - toAmino(message: QueryEvidenceRequest): QueryEvidenceRequestAmino { - const obj: any = {}; - obj.evidence_hash = message.evidenceHash ? base64FromBytes(message.evidenceHash) : undefined; - return obj; - }, - fromAminoMsg(object: QueryEvidenceRequestAminoMsg): QueryEvidenceRequest { - return QueryEvidenceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryEvidenceRequest", - value: QueryEvidenceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryEvidenceRequestProtoMsg): QueryEvidenceRequest { - return QueryEvidenceRequest.decode(message.value); - }, - toProto(message: QueryEvidenceRequest): Uint8Array { - return QueryEvidenceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest", - value: QueryEvidenceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryEvidenceResponse(): QueryEvidenceResponse { - return { - evidence: undefined - }; -} -export const QueryEvidenceResponse = { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse", - encode(message: QueryEvidenceResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.evidence !== undefined) { - Any.encode(message.evidence, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryEvidenceResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryEvidenceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidence = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryEvidenceResponse { - return { - evidence: isSet(object.evidence) ? Any.fromJSON(object.evidence) : undefined - }; - }, - toJSON(message: QueryEvidenceResponse): unknown { - const obj: any = {}; - message.evidence !== undefined && (obj.evidence = message.evidence ? Any.toJSON(message.evidence) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryEvidenceResponse { - const message = createBaseQueryEvidenceResponse(); - message.evidence = object.evidence !== undefined && object.evidence !== null ? Any.fromPartial(object.evidence) : undefined; - return message; - }, - fromAmino(object: QueryEvidenceResponseAmino): QueryEvidenceResponse { - const message = createBaseQueryEvidenceResponse(); - if (object.evidence !== undefined && object.evidence !== null) { - message.evidence = Any.fromAmino(object.evidence); - } - return message; - }, - toAmino(message: QueryEvidenceResponse): QueryEvidenceResponseAmino { - const obj: any = {}; - obj.evidence = message.evidence ? Any.toAmino(message.evidence) : undefined; - return obj; - }, - fromAminoMsg(object: QueryEvidenceResponseAminoMsg): QueryEvidenceResponse { - return QueryEvidenceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryEvidenceResponse", - value: QueryEvidenceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryEvidenceResponseProtoMsg): QueryEvidenceResponse { - return QueryEvidenceResponse.decode(message.value); - }, - toProto(message: QueryEvidenceResponse): Uint8Array { - return QueryEvidenceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse", - value: QueryEvidenceResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { - return { - pagination: undefined - }; -} -export const QueryAllEvidenceRequest = { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest", - encode(message: QueryAllEvidenceRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllEvidenceRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllEvidenceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllEvidenceRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllEvidenceRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryAllEvidenceRequest { - const message = createBaseQueryAllEvidenceRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QueryAllEvidenceRequestAmino): QueryAllEvidenceRequest { - const message = createBaseQueryAllEvidenceRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllEvidenceRequestAminoMsg): QueryAllEvidenceRequest { - return QueryAllEvidenceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAllEvidenceRequest", - value: QueryAllEvidenceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllEvidenceRequestProtoMsg): QueryAllEvidenceRequest { - return QueryAllEvidenceRequest.decode(message.value); - }, - toProto(message: QueryAllEvidenceRequest): Uint8Array { - return QueryAllEvidenceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest", - value: QueryAllEvidenceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { - return { - evidence: [], - pagination: undefined - }; -} -export const QueryAllEvidenceResponse = { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse", - encode(message: QueryAllEvidenceResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.evidence) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllEvidenceResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllEvidenceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidence.push(Any.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllEvidenceResponse { - return { - evidence: Array.isArray(object?.evidence) ? object.evidence.map((e: any) => Any.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllEvidenceResponse): unknown { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.evidence = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryAllEvidenceResponse { - const message = createBaseQueryAllEvidenceResponse(); - message.evidence = object.evidence?.map(e => Any.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QueryAllEvidenceResponseAmino): QueryAllEvidenceResponse { - const message = createBaseQueryAllEvidenceResponse(); - message.evidence = object.evidence?.map(e => Any.fromAmino(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAmino { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.evidence = message.evidence; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllEvidenceResponseAminoMsg): QueryAllEvidenceResponse { - return QueryAllEvidenceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAllEvidenceResponse", - value: QueryAllEvidenceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllEvidenceResponseProtoMsg): QueryAllEvidenceResponse { - return QueryAllEvidenceResponse.decode(message.value); - }, - toProto(message: QueryAllEvidenceResponse): Uint8Array { - return QueryAllEvidenceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse", - value: QueryAllEvidenceResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts deleted file mode 100644 index a9da4176..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgSubmitEvidence } from "./tx"; -export const AminoConverter = { - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: "cosmos-sdk/MsgSubmitEvidence", - toAmino: MsgSubmitEvidence.toAmino, - fromAmino: MsgSubmitEvidence.fromAmino - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts deleted file mode 100644 index 8f0a633d..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitEvidence } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.evidence.v1beta1.MsgSubmitEvidence", MsgSubmitEvidence]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.encode(value).finish() - }; - } - }, - withTypeUrl: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value - }; - } - }, - toJSON: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.toJSON(value) - }; - } - }, - fromJSON: { - submitEvidence(value: any) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.fromJSON(value) - }; - } - }, - fromPartial: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 50e7473e..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; -/** Msg defines the evidence Msg service. */ -export interface Msg { - /** - * SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - * counterfactual signing. - */ - submitEvidence(request: MsgSubmitEvidence): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.submitEvidence = this.submitEvidence.bind(this); - } - submitEvidence(request: MsgSubmitEvidence): Promise { - const data = MsgSubmitEvidence.encode(request).finish(); - const promise = this.rpc.request("cosmos.evidence.v1beta1.Msg", "SubmitEvidence", data); - return promise.then(data => MsgSubmitEvidenceResponse.decode(new BinaryReader(data))); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.ts b/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.ts deleted file mode 100644 index 51d1c8ca..00000000 --- a/packages/api/src/codegen/cosmos/evidence/v1beta1/tx.ts +++ /dev/null @@ -1,246 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidence { - submitter: string; - evidence?: (Any) | undefined; -} -export interface MsgSubmitEvidenceProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence"; - value: Uint8Array; -} -export type MsgSubmitEvidenceEncoded = Omit & { - evidence?: AnyProtoMsg | undefined; -}; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceAmino { - submitter?: string; - evidence?: AnyAmino; -} -export interface MsgSubmitEvidenceAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidence"; - value: MsgSubmitEvidenceAmino; -} -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceSDKType { - submitter: string; - evidence?: AnySDKType | undefined; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponse { - /** hash defines the hash of the evidence. */ - hash: Uint8Array; -} -export interface MsgSubmitEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse"; - value: Uint8Array; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseAmino { - /** hash defines the hash of the evidence. */ - hash?: string; -} -export interface MsgSubmitEvidenceResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidenceResponse"; - value: MsgSubmitEvidenceResponseAmino; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseSDKType { - hash: Uint8Array; -} -function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { - return { - submitter: "", - evidence: undefined - }; -} -export const MsgSubmitEvidence = { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - encode(message: MsgSubmitEvidence, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.submitter !== "") { - writer.uint32(10).string(message.submitter); - } - if (message.evidence !== undefined) { - Any.encode((message.evidence as Any), writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitEvidence { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitEvidence(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.submitter = reader.string(); - break; - case 2: - message.evidence = (Evidence_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitEvidence { - return { - submitter: isSet(object.submitter) ? String(object.submitter) : "", - evidence: isSet(object.evidence) ? Any.fromJSON(object.evidence) : undefined - }; - }, - toJSON(message: MsgSubmitEvidence): unknown { - const obj: any = {}; - message.submitter !== undefined && (obj.submitter = message.submitter); - message.evidence !== undefined && (obj.evidence = message.evidence ? Any.toJSON(message.evidence) : undefined); - return obj; - }, - fromPartial(object: Partial): MsgSubmitEvidence { - const message = createBaseMsgSubmitEvidence(); - message.submitter = object.submitter ?? ""; - message.evidence = object.evidence !== undefined && object.evidence !== null ? Any.fromPartial(object.evidence) : undefined; - return message; - }, - fromAmino(object: MsgSubmitEvidenceAmino): MsgSubmitEvidence { - const message = createBaseMsgSubmitEvidence(); - if (object.submitter !== undefined && object.submitter !== null) { - message.submitter = object.submitter; - } - if (object.evidence !== undefined && object.evidence !== null) { - message.evidence = Evidence_FromAmino(object.evidence); - } - return message; - }, - toAmino(message: MsgSubmitEvidence): MsgSubmitEvidenceAmino { - const obj: any = {}; - obj.submitter = message.submitter === "" ? undefined : message.submitter; - obj.evidence = message.evidence ? Evidence_ToAmino((message.evidence as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: MsgSubmitEvidenceAminoMsg): MsgSubmitEvidence { - return MsgSubmitEvidence.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceAminoMsg { - return { - type: "cosmos-sdk/MsgSubmitEvidence", - value: MsgSubmitEvidence.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitEvidenceProtoMsg): MsgSubmitEvidence { - return MsgSubmitEvidence.decode(message.value); - }, - toProto(message: MsgSubmitEvidence): Uint8Array { - return MsgSubmitEvidence.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.encode(message).finish() - }; - } -}; -function createBaseMsgSubmitEvidenceResponse(): MsgSubmitEvidenceResponse { - return { - hash: new Uint8Array() - }; -} -export const MsgSubmitEvidenceResponse = { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse", - encode(message: MsgSubmitEvidenceResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.hash.length !== 0) { - writer.uint32(34).bytes(message.hash); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitEvidenceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 4: - message.hash = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitEvidenceResponse { - return { - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() - }; - }, - toJSON(message: MsgSubmitEvidenceResponse): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): MsgSubmitEvidenceResponse { - const message = createBaseMsgSubmitEvidenceResponse(); - message.hash = object.hash ?? new Uint8Array(); - return message; - }, - fromAmino(object: MsgSubmitEvidenceResponseAmino): MsgSubmitEvidenceResponse { - const message = createBaseMsgSubmitEvidenceResponse(); - if (object.hash !== undefined && object.hash !== null) { - message.hash = bytesFromBase64(object.hash); - } - return message; - }, - toAmino(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAmino { - const obj: any = {}; - obj.hash = message.hash ? base64FromBytes(message.hash) : undefined; - return obj; - }, - fromAminoMsg(object: MsgSubmitEvidenceResponseAminoMsg): MsgSubmitEvidenceResponse { - return MsgSubmitEvidenceResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSubmitEvidenceResponse", - value: MsgSubmitEvidenceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitEvidenceResponseProtoMsg): MsgSubmitEvidenceResponse { - return MsgSubmitEvidenceResponse.decode(message.value); - }, - toProto(message: MsgSubmitEvidenceResponse): Uint8Array { - return MsgSubmitEvidenceResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse", - value: MsgSubmitEvidenceResponse.encode(message).finish() - }; - } -}; -export const Evidence_InterfaceDecoder = (input: BinaryReader | Uint8Array): Any => { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - default: - return data; - } -}; -export const Evidence_FromAmino = (content: AnyAmino): Any => { - return Any.fromAmino(content); -}; -export const Evidence_ToAmino = (content: Any) => { - return Any.toAmino(content); -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/genutil/v1beta1/genesis.ts b/packages/api/src/codegen/cosmos/genutil/v1beta1/genesis.ts deleted file mode 100644 index 348e2e75..00000000 --- a/packages/api/src/codegen/cosmos/genutil/v1beta1/genesis.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { bytesFromBase64, base64FromBytes } from "../../../helpers"; -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisState { - /** gen_txs defines the genesis transactions. */ - genTxs: Uint8Array[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateAmino { - /** gen_txs defines the genesis transactions. */ - gen_txs: string[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateSDKType { - gen_txs: Uint8Array[]; -} -function createBaseGenesisState(): GenesisState { - return { - genTxs: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState", - encode(message: GenesisState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.genTxs) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.genTxs.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - return { - genTxs: Array.isArray(object?.genTxs) ? object.genTxs.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.genTxs) { - obj.genTxs = message.genTxs.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.genTxs = []; - } - return obj; - }, - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.genTxs = object.genTxs?.map(e => e) || []; - return message; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - const message = createBaseGenesisState(); - message.genTxs = object.gen_txs?.map(e => bytesFromBase64(e)) || []; - return message; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.genTxs) { - obj.gen_txs = message.genTxs.map(e => base64FromBytes(e)); - } else { - obj.gen_txs = message.genTxs; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/event.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/event.ts deleted file mode 100644 index e5b10f54..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/event.ts +++ /dev/null @@ -1,418 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** EventSend is emitted on Msg/Send */ -export interface EventSend { - classId: string; - id: string; - sender: string; - receiver: string; -} -export interface EventSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventSend"; - value: Uint8Array; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendAmino { - class_id?: string; - id?: string; - sender?: string; - receiver?: string; -} -export interface EventSendAminoMsg { - type: "cosmos-sdk/EventSend"; - value: EventSendAmino; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** EventMint is emitted on Mint */ -export interface EventMint { - classId: string; - id: string; - owner: string; -} -export interface EventMintProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventMint"; - value: Uint8Array; -} -/** EventMint is emitted on Mint */ -export interface EventMintAmino { - class_id?: string; - id?: string; - owner?: string; -} -export interface EventMintAminoMsg { - type: "cosmos-sdk/EventMint"; - value: EventMintAmino; -} -/** EventMint is emitted on Mint */ -export interface EventMintSDKType { - class_id: string; - id: string; - owner: string; -} -/** EventBurn is emitted on Burn */ -export interface EventBurn { - classId: string; - id: string; - owner: string; -} -export interface EventBurnProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventBurn"; - value: Uint8Array; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnAmino { - class_id?: string; - id?: string; - owner?: string; -} -export interface EventBurnAminoMsg { - type: "cosmos-sdk/EventBurn"; - value: EventBurnAmino; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnSDKType { - class_id: string; - id: string; - owner: string; -} -function createBaseEventSend(): EventSend { - return { - classId: "", - id: "", - sender: "", - receiver: "" - }; -} -export const EventSend = { - typeUrl: "/cosmos.nft.v1beta1.EventSend", - encode(message: EventSend, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.sender !== "") { - writer.uint32(26).string(message.sender); - } - if (message.receiver !== "") { - writer.uint32(34).string(message.receiver); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): EventSend { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventSend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.sender = reader.string(); - break; - case 4: - message.receiver = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventSend { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - id: isSet(object.id) ? String(object.id) : "", - sender: isSet(object.sender) ? String(object.sender) : "", - receiver: isSet(object.receiver) ? String(object.receiver) : "" - }; - }, - toJSON(message: EventSend): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.sender !== undefined && (obj.sender = message.sender); - message.receiver !== undefined && (obj.receiver = message.receiver); - return obj; - }, - fromPartial(object: Partial): EventSend { - const message = createBaseEventSend(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.sender = object.sender ?? ""; - message.receiver = object.receiver ?? ""; - return message; - }, - fromAmino(object: EventSendAmino): EventSend { - const message = createBaseEventSend(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - if (object.sender !== undefined && object.sender !== null) { - message.sender = object.sender; - } - if (object.receiver !== undefined && object.receiver !== null) { - message.receiver = object.receiver; - } - return message; - }, - toAmino(message: EventSend): EventSendAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.id = message.id === "" ? undefined : message.id; - obj.sender = message.sender === "" ? undefined : message.sender; - obj.receiver = message.receiver === "" ? undefined : message.receiver; - return obj; - }, - fromAminoMsg(object: EventSendAminoMsg): EventSend { - return EventSend.fromAmino(object.value); - }, - toAminoMsg(message: EventSend): EventSendAminoMsg { - return { - type: "cosmos-sdk/EventSend", - value: EventSend.toAmino(message) - }; - }, - fromProtoMsg(message: EventSendProtoMsg): EventSend { - return EventSend.decode(message.value); - }, - toProto(message: EventSend): Uint8Array { - return EventSend.encode(message).finish(); - }, - toProtoMsg(message: EventSend): EventSendProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.EventSend", - value: EventSend.encode(message).finish() - }; - } -}; -function createBaseEventMint(): EventMint { - return { - classId: "", - id: "", - owner: "" - }; -} -export const EventMint = { - typeUrl: "/cosmos.nft.v1beta1.EventMint", - encode(message: EventMint, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.owner !== "") { - writer.uint32(26).string(message.owner); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): EventMint { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventMint(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventMint { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - id: isSet(object.id) ? String(object.id) : "", - owner: isSet(object.owner) ? String(object.owner) : "" - }; - }, - toJSON(message: EventMint): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: Partial): EventMint { - const message = createBaseEventMint(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.owner = object.owner ?? ""; - return message; - }, - fromAmino(object: EventMintAmino): EventMint { - const message = createBaseEventMint(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - if (object.owner !== undefined && object.owner !== null) { - message.owner = object.owner; - } - return message; - }, - toAmino(message: EventMint): EventMintAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.id = message.id === "" ? undefined : message.id; - obj.owner = message.owner === "" ? undefined : message.owner; - return obj; - }, - fromAminoMsg(object: EventMintAminoMsg): EventMint { - return EventMint.fromAmino(object.value); - }, - toAminoMsg(message: EventMint): EventMintAminoMsg { - return { - type: "cosmos-sdk/EventMint", - value: EventMint.toAmino(message) - }; - }, - fromProtoMsg(message: EventMintProtoMsg): EventMint { - return EventMint.decode(message.value); - }, - toProto(message: EventMint): Uint8Array { - return EventMint.encode(message).finish(); - }, - toProtoMsg(message: EventMint): EventMintProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.EventMint", - value: EventMint.encode(message).finish() - }; - } -}; -function createBaseEventBurn(): EventBurn { - return { - classId: "", - id: "", - owner: "" - }; -} -export const EventBurn = { - typeUrl: "/cosmos.nft.v1beta1.EventBurn", - encode(message: EventBurn, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.owner !== "") { - writer.uint32(26).string(message.owner); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): EventBurn { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventBurn(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventBurn { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - id: isSet(object.id) ? String(object.id) : "", - owner: isSet(object.owner) ? String(object.owner) : "" - }; - }, - toJSON(message: EventBurn): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: Partial): EventBurn { - const message = createBaseEventBurn(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.owner = object.owner ?? ""; - return message; - }, - fromAmino(object: EventBurnAmino): EventBurn { - const message = createBaseEventBurn(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - if (object.owner !== undefined && object.owner !== null) { - message.owner = object.owner; - } - return message; - }, - toAmino(message: EventBurn): EventBurnAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.id = message.id === "" ? undefined : message.id; - obj.owner = message.owner === "" ? undefined : message.owner; - return obj; - }, - fromAminoMsg(object: EventBurnAminoMsg): EventBurn { - return EventBurn.fromAmino(object.value); - }, - toAminoMsg(message: EventBurn): EventBurnAminoMsg { - return { - type: "cosmos-sdk/EventBurn", - value: EventBurn.toAmino(message) - }; - }, - fromProtoMsg(message: EventBurnProtoMsg): EventBurn { - return EventBurn.decode(message.value); - }, - toProto(message: EventBurn): Uint8Array { - return EventBurn.encode(message).finish(); - }, - toProtoMsg(message: EventBurn): EventBurnProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.EventBurn", - value: EventBurn.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/genesis.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/genesis.ts deleted file mode 100644 index 215bb932..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/genesis.ts +++ /dev/null @@ -1,259 +0,0 @@ -import { Class, ClassAmino, ClassSDKType, NFT, NFTAmino, NFTSDKType } from "./nft"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisState { - /** class defines the class of the nft type. */ - classes: Class[]; - entries: Entry[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateAmino { - /** class defines the class of the nft type. */ - classes?: ClassAmino[]; - entries?: EntryAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateSDKType { - classes: ClassSDKType[]; - entries: EntrySDKType[]; -} -/** Entry Defines all nft owned by a person */ -export interface Entry { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - nfts: NFT[]; -} -export interface EntryProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Entry"; - value: Uint8Array; -} -/** Entry Defines all nft owned by a person */ -export interface EntryAmino { - /** owner is the owner address of the following nft */ - owner?: string; - /** nfts is a group of nfts of the same owner */ - nfts?: NFTAmino[]; -} -export interface EntryAminoMsg { - type: "cosmos-sdk/Entry"; - value: EntryAmino; -} -/** Entry Defines all nft owned by a person */ -export interface EntrySDKType { - owner: string; - nfts: NFTSDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - classes: [], - entries: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.nft.v1beta1.GenesisState", - encode(message: GenesisState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.classes) { - Class.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.entries) { - Entry.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classes.push(Class.decode(reader, reader.uint32())); - break; - case 2: - message.entries.push(Entry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => Class.fromJSON(e)) : [], - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Entry.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toJSON(e) : undefined); - } else { - obj.classes = []; - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? Entry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.classes = object.classes?.map(e => Class.fromPartial(e)) || []; - message.entries = object.entries?.map(e => Entry.fromPartial(e)) || []; - return message; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - const message = createBaseGenesisState(); - message.classes = object.classes?.map(e => Class.fromAmino(e)) || []; - message.entries = object.entries?.map(e => Entry.fromAmino(e)) || []; - return message; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toAmino(e) : undefined); - } else { - obj.classes = message.classes; - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? Entry.toAmino(e) : undefined); - } else { - obj.entries = message.entries; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; -function createBaseEntry(): Entry { - return { - owner: "", - nfts: [] - }; -} -export const Entry = { - typeUrl: "/cosmos.nft.v1beta1.Entry", - encode(message: Entry, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.owner !== "") { - writer.uint32(10).string(message.owner); - } - for (const v of message.nfts) { - NFT.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Entry { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.owner = reader.string(); - break; - case 2: - message.nfts.push(NFT.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Entry { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - nfts: Array.isArray(object?.nfts) ? object.nfts.map((e: any) => NFT.fromJSON(e)) : [] - }; - }, - toJSON(message: Entry): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toJSON(e) : undefined); - } else { - obj.nfts = []; - } - return obj; - }, - fromPartial(object: Partial): Entry { - const message = createBaseEntry(); - message.owner = object.owner ?? ""; - message.nfts = object.nfts?.map(e => NFT.fromPartial(e)) || []; - return message; - }, - fromAmino(object: EntryAmino): Entry { - const message = createBaseEntry(); - if (object.owner !== undefined && object.owner !== null) { - message.owner = object.owner; - } - message.nfts = object.nfts?.map(e => NFT.fromAmino(e)) || []; - return message; - }, - toAmino(message: Entry): EntryAmino { - const obj: any = {}; - obj.owner = message.owner === "" ? undefined : message.owner; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toAmino(e) : undefined); - } else { - obj.nfts = message.nfts; - } - return obj; - }, - fromAminoMsg(object: EntryAminoMsg): Entry { - return Entry.fromAmino(object.value); - }, - toAminoMsg(message: Entry): EntryAminoMsg { - return { - type: "cosmos-sdk/Entry", - value: Entry.toAmino(message) - }; - }, - fromProtoMsg(message: EntryProtoMsg): Entry { - return Entry.decode(message.value); - }, - toProto(message: Entry): Uint8Array { - return Entry.encode(message).finish(); - }, - toProtoMsg(message: Entry): EntryProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.Entry", - value: Entry.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/nft.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/nft.ts deleted file mode 100644 index 3d392b92..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/nft.ts +++ /dev/null @@ -1,395 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** Class defines the class of the nft type. */ -export interface Class { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; - /** description is a brief description of nft classification. Optional */ - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uriHash: string; - /** data is the app specific metadata of the NFT class. Optional */ - data?: Any; -} -export interface ClassProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Class"; - value: Uint8Array; -} -/** Class defines the class of the nft type. */ -export interface ClassAmino { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id?: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name?: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol?: string; - /** description is a brief description of nft classification. Optional */ - description?: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri?: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uri_hash?: string; - /** data is the app specific metadata of the NFT class. Optional */ - data?: AnyAmino; -} -export interface ClassAminoMsg { - type: "cosmos-sdk/Class"; - value: ClassAmino; -} -/** Class defines the class of the nft type. */ -export interface ClassSDKType { - id: string; - name: string; - symbol: string; - description: string; - uri: string; - uri_hash: string; - data?: AnySDKType; -} -/** NFT defines the NFT. */ -export interface NFT { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - classId: string; - /** id is a unique identifier of the NFT */ - id: string; - /** uri for the NFT metadata stored off chain */ - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - uriHash: string; - /** data is an app specific data of the NFT. Optional */ - data?: Any; -} -export interface NFTProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.NFT"; - value: Uint8Array; -} -/** NFT defines the NFT. */ -export interface NFTAmino { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - class_id?: string; - /** id is a unique identifier of the NFT */ - id?: string; - /** uri for the NFT metadata stored off chain */ - uri?: string; - /** uri_hash is a hash of the document pointed by uri */ - uri_hash?: string; - /** data is an app specific data of the NFT. Optional */ - data?: AnyAmino; -} -export interface NFTAminoMsg { - type: "cosmos-sdk/NFT"; - value: NFTAmino; -} -/** NFT defines the NFT. */ -export interface NFTSDKType { - class_id: string; - id: string; - uri: string; - uri_hash: string; - data?: AnySDKType; -} -function createBaseClass(): Class { - return { - id: "", - name: "", - symbol: "", - description: "", - uri: "", - uriHash: "", - data: undefined - }; -} -export const Class = { - typeUrl: "/cosmos.nft.v1beta1.Class", - encode(message: Class, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - if (message.symbol !== "") { - writer.uint32(26).string(message.symbol); - } - if (message.description !== "") { - writer.uint32(34).string(message.description); - } - if (message.uri !== "") { - writer.uint32(42).string(message.uri); - } - if (message.uriHash !== "") { - writer.uint32(50).string(message.uriHash); - } - if (message.data !== undefined) { - Any.encode(message.data, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Class { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClass(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.name = reader.string(); - break; - case 3: - message.symbol = reader.string(); - break; - case 4: - message.description = reader.string(); - break; - case 5: - message.uri = reader.string(); - break; - case 6: - message.uriHash = reader.string(); - break; - case 7: - message.data = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Class { - return { - id: isSet(object.id) ? String(object.id) : "", - name: isSet(object.name) ? String(object.name) : "", - symbol: isSet(object.symbol) ? String(object.symbol) : "", - description: isSet(object.description) ? String(object.description) : "", - uri: isSet(object.uri) ? String(object.uri) : "", - uriHash: isSet(object.uriHash) ? String(object.uriHash) : "", - data: isSet(object.data) ? Any.fromJSON(object.data) : undefined - }; - }, - toJSON(message: Class): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.name !== undefined && (obj.name = message.name); - message.symbol !== undefined && (obj.symbol = message.symbol); - message.description !== undefined && (obj.description = message.description); - message.uri !== undefined && (obj.uri = message.uri); - message.uriHash !== undefined && (obj.uriHash = message.uriHash); - message.data !== undefined && (obj.data = message.data ? Any.toJSON(message.data) : undefined); - return obj; - }, - fromPartial(object: Partial): Class { - const message = createBaseClass(); - message.id = object.id ?? ""; - message.name = object.name ?? ""; - message.symbol = object.symbol ?? ""; - message.description = object.description ?? ""; - message.uri = object.uri ?? ""; - message.uriHash = object.uriHash ?? ""; - message.data = object.data !== undefined && object.data !== null ? Any.fromPartial(object.data) : undefined; - return message; - }, - fromAmino(object: ClassAmino): Class { - const message = createBaseClass(); - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - if (object.name !== undefined && object.name !== null) { - message.name = object.name; - } - if (object.symbol !== undefined && object.symbol !== null) { - message.symbol = object.symbol; - } - if (object.description !== undefined && object.description !== null) { - message.description = object.description; - } - if (object.uri !== undefined && object.uri !== null) { - message.uri = object.uri; - } - if (object.uri_hash !== undefined && object.uri_hash !== null) { - message.uriHash = object.uri_hash; - } - if (object.data !== undefined && object.data !== null) { - message.data = Any.fromAmino(object.data); - } - return message; - }, - toAmino(message: Class): ClassAmino { - const obj: any = {}; - obj.id = message.id === "" ? undefined : message.id; - obj.name = message.name === "" ? undefined : message.name; - obj.symbol = message.symbol === "" ? undefined : message.symbol; - obj.description = message.description === "" ? undefined : message.description; - obj.uri = message.uri === "" ? undefined : message.uri; - obj.uri_hash = message.uriHash === "" ? undefined : message.uriHash; - obj.data = message.data ? Any.toAmino(message.data) : undefined; - return obj; - }, - fromAminoMsg(object: ClassAminoMsg): Class { - return Class.fromAmino(object.value); - }, - toAminoMsg(message: Class): ClassAminoMsg { - return { - type: "cosmos-sdk/Class", - value: Class.toAmino(message) - }; - }, - fromProtoMsg(message: ClassProtoMsg): Class { - return Class.decode(message.value); - }, - toProto(message: Class): Uint8Array { - return Class.encode(message).finish(); - }, - toProtoMsg(message: Class): ClassProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.Class", - value: Class.encode(message).finish() - }; - } -}; -function createBaseNFT(): NFT { - return { - classId: "", - id: "", - uri: "", - uriHash: "", - data: undefined - }; -} -export const NFT = { - typeUrl: "/cosmos.nft.v1beta1.NFT", - encode(message: NFT, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.uri !== "") { - writer.uint32(26).string(message.uri); - } - if (message.uriHash !== "") { - writer.uint32(34).string(message.uriHash); - } - if (message.data !== undefined) { - Any.encode(message.data, writer.uint32(82).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): NFT { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNFT(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.uri = reader.string(); - break; - case 4: - message.uriHash = reader.string(); - break; - case 10: - message.data = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): NFT { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - id: isSet(object.id) ? String(object.id) : "", - uri: isSet(object.uri) ? String(object.uri) : "", - uriHash: isSet(object.uriHash) ? String(object.uriHash) : "", - data: isSet(object.data) ? Any.fromJSON(object.data) : undefined - }; - }, - toJSON(message: NFT): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.uri !== undefined && (obj.uri = message.uri); - message.uriHash !== undefined && (obj.uriHash = message.uriHash); - message.data !== undefined && (obj.data = message.data ? Any.toJSON(message.data) : undefined); - return obj; - }, - fromPartial(object: Partial): NFT { - const message = createBaseNFT(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.uri = object.uri ?? ""; - message.uriHash = object.uriHash ?? ""; - message.data = object.data !== undefined && object.data !== null ? Any.fromPartial(object.data) : undefined; - return message; - }, - fromAmino(object: NFTAmino): NFT { - const message = createBaseNFT(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - if (object.uri !== undefined && object.uri !== null) { - message.uri = object.uri; - } - if (object.uri_hash !== undefined && object.uri_hash !== null) { - message.uriHash = object.uri_hash; - } - if (object.data !== undefined && object.data !== null) { - message.data = Any.fromAmino(object.data); - } - return message; - }, - toAmino(message: NFT): NFTAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.id = message.id === "" ? undefined : message.id; - obj.uri = message.uri === "" ? undefined : message.uri; - obj.uri_hash = message.uriHash === "" ? undefined : message.uriHash; - obj.data = message.data ? Any.toAmino(message.data) : undefined; - return obj; - }, - fromAminoMsg(object: NFTAminoMsg): NFT { - return NFT.fromAmino(object.value); - }, - toAminoMsg(message: NFT): NFTAminoMsg { - return { - type: "cosmos-sdk/NFT", - value: NFT.toAmino(message) - }; - }, - fromProtoMsg(message: NFTProtoMsg): NFT { - return NFT.decode(message.value); - }, - toProto(message: NFT): Uint8Array { - return NFT.encode(message).finish(); - }, - toProtoMsg(message: NFT): NFTProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.NFT", - value: NFT.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/query.lcd.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/query.lcd.ts deleted file mode 100644 index a8dec9fc..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.balance = this.balance.bind(this); - this.owner = this.owner.bind(this); - this.supply = this.supply.bind(this); - this.nFTs = this.nFTs.bind(this); - this.nFT = this.nFT.bind(this); - this.class = this.class.bind(this); - this.classes = this.classes.bind(this); - } - /* Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - async balance(params: QueryBalanceRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/balance/${params.owner}/${params.classId}`; - return await this.req.get(endpoint); - } - /* Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - async owner(params: QueryOwnerRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/owner/${params.classId}/${params.id}`; - return await this.req.get(endpoint); - } - /* Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - async supply(params: QuerySupplyRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/supply/${params.classId}`; - return await this.req.get(endpoint); - } - /* NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - ERC721Enumerable */ - async nFTs(params: QueryNFTsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.classId !== "undefined") { - options.params.class_id = params.classId; - } - if (typeof params?.owner !== "undefined") { - options.params.owner = params.owner; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/nft/v1beta1/nfts`; - return await this.req.get(endpoint, options); - } - /* NFT queries an NFT based on its class and id. */ - async nFT(params: QueryNFTRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/nfts/${params.classId}/${params.id}`; - return await this.req.get(endpoint); - } - /* Class queries an NFT class based on its id */ - async class(params: QueryClassRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/classes/${params.classId}`; - return await this.req.get(endpoint); - } - /* Classes queries all NFT classes */ - async classes(params: QueryClassesRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/nft/v1beta1/classes`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 4b96e9e9..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - balance(request: QueryBalanceRequest): Promise; - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - owner(request: QueryOwnerRequest): Promise; - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - supply(request: QuerySupplyRequest): Promise; - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - nFTs(request: QueryNFTsRequest): Promise; - /** NFT queries an NFT based on its class and id. */ - nFT(request: QueryNFTRequest): Promise; - /** Class queries an NFT class based on its id */ - class(request: QueryClassRequest): Promise; - /** Classes queries all NFT classes */ - classes(request?: QueryClassesRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.balance = this.balance.bind(this); - this.owner = this.owner.bind(this); - this.supply = this.supply.bind(this); - this.nFTs = this.nFTs.bind(this); - this.nFT = this.nFT.bind(this); - this.class = this.class.bind(this); - this.classes = this.classes.bind(this); - } - balance(request: QueryBalanceRequest): Promise { - const data = QueryBalanceRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Query", "Balance", data); - return promise.then(data => QueryBalanceResponse.decode(new BinaryReader(data))); - } - owner(request: QueryOwnerRequest): Promise { - const data = QueryOwnerRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Query", "Owner", data); - return promise.then(data => QueryOwnerResponse.decode(new BinaryReader(data))); - } - supply(request: QuerySupplyRequest): Promise { - const data = QuerySupplyRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Query", "Supply", data); - return promise.then(data => QuerySupplyResponse.decode(new BinaryReader(data))); - } - nFTs(request: QueryNFTsRequest): Promise { - const data = QueryNFTsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Query", "NFTs", data); - return promise.then(data => QueryNFTsResponse.decode(new BinaryReader(data))); - } - nFT(request: QueryNFTRequest): Promise { - const data = QueryNFTRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Query", "NFT", data); - return promise.then(data => QueryNFTResponse.decode(new BinaryReader(data))); - } - class(request: QueryClassRequest): Promise { - const data = QueryClassRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Query", "Class", data); - return promise.then(data => QueryClassResponse.decode(new BinaryReader(data))); - } - classes(request: QueryClassesRequest = { - pagination: undefined - }): Promise { - const data = QueryClassesRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Query", "Classes", data); - return promise.then(data => QueryClassesResponse.decode(new BinaryReader(data))); - } -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - balance(request: QueryBalanceRequest): Promise { - return queryService.balance(request); - }, - owner(request: QueryOwnerRequest): Promise { - return queryService.owner(request); - }, - supply(request: QuerySupplyRequest): Promise { - return queryService.supply(request); - }, - nFTs(request: QueryNFTsRequest): Promise { - return queryService.nFTs(request); - }, - nFT(request: QueryNFTRequest): Promise { - return queryService.nFT(request); - }, - class(request: QueryClassRequest): Promise { - return queryService.class(request); - }, - classes(request?: QueryClassesRequest): Promise { - return queryService.classes(request); - } - }; -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/query.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/query.ts deleted file mode 100644 index aaefa5c5..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/query.ts +++ /dev/null @@ -1,1523 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { NFT, NFTAmino, NFTSDKType, Class, ClassAmino, ClassSDKType } from "./nft"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequest { - classId: string; - owner: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestAmino { - class_id?: string; - owner?: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "cosmos-sdk/QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestSDKType { - class_id: string; - owner: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponse { - amount: bigint; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseAmino { - amount?: string; -} -export interface QueryBalanceResponseAminoMsg { - type: "cosmos-sdk/QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseSDKType { - amount: bigint; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequest { - classId: string; - id: string; -} -export interface QueryOwnerRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest"; - value: Uint8Array; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestAmino { - class_id?: string; - id?: string; -} -export interface QueryOwnerRequestAminoMsg { - type: "cosmos-sdk/QueryOwnerRequest"; - value: QueryOwnerRequestAmino; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestSDKType { - class_id: string; - id: string; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponse { - owner: string; -} -export interface QueryOwnerResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse"; - value: Uint8Array; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseAmino { - owner?: string; -} -export interface QueryOwnerResponseAminoMsg { - type: "cosmos-sdk/QueryOwnerResponse"; - value: QueryOwnerResponseAmino; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseSDKType { - owner: string; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequest { - classId: string; -} -export interface QuerySupplyRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest"; - value: Uint8Array; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestAmino { - class_id?: string; -} -export interface QuerySupplyRequestAminoMsg { - type: "cosmos-sdk/QuerySupplyRequest"; - value: QuerySupplyRequestAmino; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestSDKType { - class_id: string; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponse { - amount: bigint; -} -export interface QuerySupplyResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse"; - value: Uint8Array; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseAmino { - amount?: string; -} -export interface QuerySupplyResponseAminoMsg { - type: "cosmos-sdk/QuerySupplyResponse"; - value: QuerySupplyResponseAmino; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseSDKType { - amount: bigint; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequest { - classId: string; - owner: string; - pagination?: PageRequest; -} -export interface QueryNFTsRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest"; - value: Uint8Array; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestAmino { - class_id?: string; - owner?: string; - pagination?: PageRequestAmino; -} -export interface QueryNFTsRequestAminoMsg { - type: "cosmos-sdk/QueryNFTsRequest"; - value: QueryNFTsRequestAmino; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestSDKType { - class_id: string; - owner: string; - pagination?: PageRequestSDKType; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponse { - nfts: NFT[]; - pagination?: PageResponse; -} -export interface QueryNFTsResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse"; - value: Uint8Array; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseAmino { - nfts?: NFTAmino[]; - pagination?: PageResponseAmino; -} -export interface QueryNFTsResponseAminoMsg { - type: "cosmos-sdk/QueryNFTsResponse"; - value: QueryNFTsResponseAmino; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseSDKType { - nfts: NFTSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequest { - classId: string; - id: string; -} -export interface QueryNFTRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest"; - value: Uint8Array; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestAmino { - class_id?: string; - id?: string; -} -export interface QueryNFTRequestAminoMsg { - type: "cosmos-sdk/QueryNFTRequest"; - value: QueryNFTRequestAmino; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestSDKType { - class_id: string; - id: string; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponse { - nft?: NFT; -} -export interface QueryNFTResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse"; - value: Uint8Array; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseAmino { - nft?: NFTAmino; -} -export interface QueryNFTResponseAminoMsg { - type: "cosmos-sdk/QueryNFTResponse"; - value: QueryNFTResponseAmino; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseSDKType { - nft?: NFTSDKType; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequest { - classId: string; -} -export interface QueryClassRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest"; - value: Uint8Array; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestAmino { - class_id?: string; -} -export interface QueryClassRequestAminoMsg { - type: "cosmos-sdk/QueryClassRequest"; - value: QueryClassRequestAmino; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestSDKType { - class_id: string; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponse { - class?: Class; -} -export interface QueryClassResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse"; - value: Uint8Array; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseAmino { - class?: ClassAmino; -} -export interface QueryClassResponseAminoMsg { - type: "cosmos-sdk/QueryClassResponse"; - value: QueryClassResponseAmino; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseSDKType { - class?: ClassSDKType; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -export interface QueryClassesRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest"; - value: Uint8Array; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryClassesRequestAminoMsg { - type: "cosmos-sdk/QueryClassesRequest"; - value: QueryClassesRequestAmino; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponse { - classes: Class[]; - pagination?: PageResponse; -} -export interface QueryClassesResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse"; - value: Uint8Array; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseAmino { - classes?: ClassAmino[]; - pagination?: PageResponseAmino; -} -export interface QueryClassesResponseAminoMsg { - type: "cosmos-sdk/QueryClassesResponse"; - value: QueryClassesResponseAmino; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseSDKType { - classes: ClassSDKType[]; - pagination?: PageResponseSDKType; -} -function createBaseQueryBalanceRequest(): QueryBalanceRequest { - return { - classId: "", - owner: "" - }; -} -export const QueryBalanceRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest", - encode(message: QueryBalanceRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.owner !== "") { - writer.uint32(18).string(message.owner); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryBalanceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryBalanceRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - owner: isSet(object.owner) ? String(object.owner) : "" - }; - }, - toJSON(message: QueryBalanceRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: Partial): QueryBalanceRequest { - const message = createBaseQueryBalanceRequest(); - message.classId = object.classId ?? ""; - message.owner = object.owner ?? ""; - return message; - }, - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest { - const message = createBaseQueryBalanceRequest(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.owner !== undefined && object.owner !== null) { - message.owner = object.owner; - } - return message; - }, - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.owner = message.owner === "" ? undefined : message.owner; - return obj; - }, - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest { - return QueryBalanceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryBalanceRequest", - value: QueryBalanceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest { - return QueryBalanceRequest.decode(message.value); - }, - toProto(message: QueryBalanceRequest): Uint8Array { - return QueryBalanceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest", - value: QueryBalanceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryBalanceResponse(): QueryBalanceResponse { - return { - amount: BigInt(0) - }; -} -export const QueryBalanceResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse", - encode(message: QueryBalanceResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.amount !== BigInt(0)) { - writer.uint32(8).uint64(message.amount); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryBalanceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount = reader.uint64(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryBalanceResponse { - return { - amount: isSet(object.amount) ? BigInt(object.amount.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || BigInt(0)).toString()); - return obj; - }, - fromPartial(object: Partial): QueryBalanceResponse { - const message = createBaseQueryBalanceResponse(); - message.amount = object.amount !== undefined && object.amount !== null ? BigInt(object.amount.toString()) : BigInt(0); - return message; - }, - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse { - const message = createBaseQueryBalanceResponse(); - if (object.amount !== undefined && object.amount !== null) { - message.amount = BigInt(object.amount); - } - return message; - }, - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino { - const obj: any = {}; - obj.amount = message.amount !== BigInt(0) ? message.amount.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse { - return QueryBalanceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryBalanceResponse", - value: QueryBalanceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse { - return QueryBalanceResponse.decode(message.value); - }, - toProto(message: QueryBalanceResponse): Uint8Array { - return QueryBalanceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse", - value: QueryBalanceResponse.encode(message).finish() - }; - } -}; -function createBaseQueryOwnerRequest(): QueryOwnerRequest { - return { - classId: "", - id: "" - }; -} -export const QueryOwnerRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest", - encode(message: QueryOwnerRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryOwnerRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryOwnerRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryOwnerRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - id: isSet(object.id) ? String(object.id) : "" - }; - }, - toJSON(message: QueryOwnerRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - return obj; - }, - fromPartial(object: Partial): QueryOwnerRequest { - const message = createBaseQueryOwnerRequest(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - return message; - }, - fromAmino(object: QueryOwnerRequestAmino): QueryOwnerRequest { - const message = createBaseQueryOwnerRequest(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - return message; - }, - toAmino(message: QueryOwnerRequest): QueryOwnerRequestAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.id = message.id === "" ? undefined : message.id; - return obj; - }, - fromAminoMsg(object: QueryOwnerRequestAminoMsg): QueryOwnerRequest { - return QueryOwnerRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryOwnerRequest): QueryOwnerRequestAminoMsg { - return { - type: "cosmos-sdk/QueryOwnerRequest", - value: QueryOwnerRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryOwnerRequestProtoMsg): QueryOwnerRequest { - return QueryOwnerRequest.decode(message.value); - }, - toProto(message: QueryOwnerRequest): Uint8Array { - return QueryOwnerRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryOwnerRequest): QueryOwnerRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest", - value: QueryOwnerRequest.encode(message).finish() - }; - } -}; -function createBaseQueryOwnerResponse(): QueryOwnerResponse { - return { - owner: "" - }; -} -export const QueryOwnerResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse", - encode(message: QueryOwnerResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.owner !== "") { - writer.uint32(10).string(message.owner); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryOwnerResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryOwnerResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryOwnerResponse { - return { - owner: isSet(object.owner) ? String(object.owner) : "" - }; - }, - toJSON(message: QueryOwnerResponse): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: Partial): QueryOwnerResponse { - const message = createBaseQueryOwnerResponse(); - message.owner = object.owner ?? ""; - return message; - }, - fromAmino(object: QueryOwnerResponseAmino): QueryOwnerResponse { - const message = createBaseQueryOwnerResponse(); - if (object.owner !== undefined && object.owner !== null) { - message.owner = object.owner; - } - return message; - }, - toAmino(message: QueryOwnerResponse): QueryOwnerResponseAmino { - const obj: any = {}; - obj.owner = message.owner === "" ? undefined : message.owner; - return obj; - }, - fromAminoMsg(object: QueryOwnerResponseAminoMsg): QueryOwnerResponse { - return QueryOwnerResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryOwnerResponse): QueryOwnerResponseAminoMsg { - return { - type: "cosmos-sdk/QueryOwnerResponse", - value: QueryOwnerResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryOwnerResponseProtoMsg): QueryOwnerResponse { - return QueryOwnerResponse.decode(message.value); - }, - toProto(message: QueryOwnerResponse): Uint8Array { - return QueryOwnerResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryOwnerResponse): QueryOwnerResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse", - value: QueryOwnerResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySupplyRequest(): QuerySupplyRequest { - return { - classId: "" - }; -} -export const QuerySupplyRequest = { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest", - encode(message: QuerySupplyRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySupplyRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: QuerySupplyRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, - fromPartial(object: Partial): QuerySupplyRequest { - const message = createBaseQuerySupplyRequest(); - message.classId = object.classId ?? ""; - return message; - }, - fromAmino(object: QuerySupplyRequestAmino): QuerySupplyRequest { - const message = createBaseQuerySupplyRequest(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - return message; - }, - toAmino(message: QuerySupplyRequest): QuerySupplyRequestAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - return obj; - }, - fromAminoMsg(object: QuerySupplyRequestAminoMsg): QuerySupplyRequest { - return QuerySupplyRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySupplyRequest): QuerySupplyRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySupplyRequest", - value: QuerySupplyRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySupplyRequestProtoMsg): QuerySupplyRequest { - return QuerySupplyRequest.decode(message.value); - }, - toProto(message: QuerySupplyRequest): Uint8Array { - return QuerySupplyRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySupplyRequest): QuerySupplyRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest", - value: QuerySupplyRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySupplyResponse(): QuerySupplyResponse { - return { - amount: BigInt(0) - }; -} -export const QuerySupplyResponse = { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse", - encode(message: QuerySupplyResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.amount !== BigInt(0)) { - writer.uint32(8).uint64(message.amount); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount = reader.uint64(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySupplyResponse { - return { - amount: isSet(object.amount) ? BigInt(object.amount.toString()) : BigInt(0) - }; - }, - toJSON(message: QuerySupplyResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || BigInt(0)).toString()); - return obj; - }, - fromPartial(object: Partial): QuerySupplyResponse { - const message = createBaseQuerySupplyResponse(); - message.amount = object.amount !== undefined && object.amount !== null ? BigInt(object.amount.toString()) : BigInt(0); - return message; - }, - fromAmino(object: QuerySupplyResponseAmino): QuerySupplyResponse { - const message = createBaseQuerySupplyResponse(); - if (object.amount !== undefined && object.amount !== null) { - message.amount = BigInt(object.amount); - } - return message; - }, - toAmino(message: QuerySupplyResponse): QuerySupplyResponseAmino { - const obj: any = {}; - obj.amount = message.amount !== BigInt(0) ? message.amount.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QuerySupplyResponseAminoMsg): QuerySupplyResponse { - return QuerySupplyResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySupplyResponse): QuerySupplyResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySupplyResponse", - value: QuerySupplyResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySupplyResponseProtoMsg): QuerySupplyResponse { - return QuerySupplyResponse.decode(message.value); - }, - toProto(message: QuerySupplyResponse): Uint8Array { - return QuerySupplyResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySupplyResponse): QuerySupplyResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse", - value: QuerySupplyResponse.encode(message).finish() - }; - } -}; -function createBaseQueryNFTsRequest(): QueryNFTsRequest { - return { - classId: "", - owner: "", - pagination: undefined - }; -} -export const QueryNFTsRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest", - encode(message: QueryNFTsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.owner !== "") { - writer.uint32(18).string(message.owner); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTsRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.owner = reader.string(); - break; - case 3: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTsRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - owner: isSet(object.owner) ? String(object.owner) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryNFTsRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.owner !== undefined && (obj.owner = message.owner); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryNFTsRequest { - const message = createBaseQueryNFTsRequest(); - message.classId = object.classId ?? ""; - message.owner = object.owner ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QueryNFTsRequestAmino): QueryNFTsRequest { - const message = createBaseQueryNFTsRequest(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.owner !== undefined && object.owner !== null) { - message.owner = object.owner; - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QueryNFTsRequest): QueryNFTsRequestAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.owner = message.owner === "" ? undefined : message.owner; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryNFTsRequestAminoMsg): QueryNFTsRequest { - return QueryNFTsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTsRequest): QueryNFTsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryNFTsRequest", - value: QueryNFTsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTsRequestProtoMsg): QueryNFTsRequest { - return QueryNFTsRequest.decode(message.value); - }, - toProto(message: QueryNFTsRequest): Uint8Array { - return QueryNFTsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTsRequest): QueryNFTsRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest", - value: QueryNFTsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryNFTsResponse(): QueryNFTsResponse { - return { - nfts: [], - pagination: undefined - }; -} -export const QueryNFTsResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse", - encode(message: QueryNFTsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.nfts) { - NFT.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTsResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nfts.push(NFT.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTsResponse { - return { - nfts: Array.isArray(object?.nfts) ? object.nfts.map((e: any) => NFT.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryNFTsResponse): unknown { - const obj: any = {}; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toJSON(e) : undefined); - } else { - obj.nfts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryNFTsResponse { - const message = createBaseQueryNFTsResponse(); - message.nfts = object.nfts?.map(e => NFT.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QueryNFTsResponseAmino): QueryNFTsResponse { - const message = createBaseQueryNFTsResponse(); - message.nfts = object.nfts?.map(e => NFT.fromAmino(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QueryNFTsResponse): QueryNFTsResponseAmino { - const obj: any = {}; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toAmino(e) : undefined); - } else { - obj.nfts = message.nfts; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryNFTsResponseAminoMsg): QueryNFTsResponse { - return QueryNFTsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTsResponse): QueryNFTsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryNFTsResponse", - value: QueryNFTsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTsResponseProtoMsg): QueryNFTsResponse { - return QueryNFTsResponse.decode(message.value); - }, - toProto(message: QueryNFTsResponse): Uint8Array { - return QueryNFTsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTsResponse): QueryNFTsResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse", - value: QueryNFTsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryNFTRequest(): QueryNFTRequest { - return { - classId: "", - id: "" - }; -} -export const QueryNFTRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest", - encode(message: QueryNFTRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - id: isSet(object.id) ? String(object.id) : "" - }; - }, - toJSON(message: QueryNFTRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - return obj; - }, - fromPartial(object: Partial): QueryNFTRequest { - const message = createBaseQueryNFTRequest(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - return message; - }, - fromAmino(object: QueryNFTRequestAmino): QueryNFTRequest { - const message = createBaseQueryNFTRequest(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - return message; - }, - toAmino(message: QueryNFTRequest): QueryNFTRequestAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.id = message.id === "" ? undefined : message.id; - return obj; - }, - fromAminoMsg(object: QueryNFTRequestAminoMsg): QueryNFTRequest { - return QueryNFTRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTRequest): QueryNFTRequestAminoMsg { - return { - type: "cosmos-sdk/QueryNFTRequest", - value: QueryNFTRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTRequestProtoMsg): QueryNFTRequest { - return QueryNFTRequest.decode(message.value); - }, - toProto(message: QueryNFTRequest): Uint8Array { - return QueryNFTRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTRequest): QueryNFTRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest", - value: QueryNFTRequest.encode(message).finish() - }; - } -}; -function createBaseQueryNFTResponse(): QueryNFTResponse { - return { - nft: undefined - }; -} -export const QueryNFTResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse", - encode(message: QueryNFTResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.nft !== undefined) { - NFT.encode(message.nft, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nft = NFT.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTResponse { - return { - nft: isSet(object.nft) ? NFT.fromJSON(object.nft) : undefined - }; - }, - toJSON(message: QueryNFTResponse): unknown { - const obj: any = {}; - message.nft !== undefined && (obj.nft = message.nft ? NFT.toJSON(message.nft) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryNFTResponse { - const message = createBaseQueryNFTResponse(); - message.nft = object.nft !== undefined && object.nft !== null ? NFT.fromPartial(object.nft) : undefined; - return message; - }, - fromAmino(object: QueryNFTResponseAmino): QueryNFTResponse { - const message = createBaseQueryNFTResponse(); - if (object.nft !== undefined && object.nft !== null) { - message.nft = NFT.fromAmino(object.nft); - } - return message; - }, - toAmino(message: QueryNFTResponse): QueryNFTResponseAmino { - const obj: any = {}; - obj.nft = message.nft ? NFT.toAmino(message.nft) : undefined; - return obj; - }, - fromAminoMsg(object: QueryNFTResponseAminoMsg): QueryNFTResponse { - return QueryNFTResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTResponse): QueryNFTResponseAminoMsg { - return { - type: "cosmos-sdk/QueryNFTResponse", - value: QueryNFTResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTResponseProtoMsg): QueryNFTResponse { - return QueryNFTResponse.decode(message.value); - }, - toProto(message: QueryNFTResponse): Uint8Array { - return QueryNFTResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTResponse): QueryNFTResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse", - value: QueryNFTResponse.encode(message).finish() - }; - } -}; -function createBaseQueryClassRequest(): QueryClassRequest { - return { - classId: "" - }; -} -export const QueryClassRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest", - encode(message: QueryClassRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: QueryClassRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, - fromPartial(object: Partial): QueryClassRequest { - const message = createBaseQueryClassRequest(); - message.classId = object.classId ?? ""; - return message; - }, - fromAmino(object: QueryClassRequestAmino): QueryClassRequest { - const message = createBaseQueryClassRequest(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - return message; - }, - toAmino(message: QueryClassRequest): QueryClassRequestAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - return obj; - }, - fromAminoMsg(object: QueryClassRequestAminoMsg): QueryClassRequest { - return QueryClassRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassRequest): QueryClassRequestAminoMsg { - return { - type: "cosmos-sdk/QueryClassRequest", - value: QueryClassRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassRequestProtoMsg): QueryClassRequest { - return QueryClassRequest.decode(message.value); - }, - toProto(message: QueryClassRequest): Uint8Array { - return QueryClassRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryClassRequest): QueryClassRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest", - value: QueryClassRequest.encode(message).finish() - }; - } -}; -function createBaseQueryClassResponse(): QueryClassResponse { - return { - class: undefined - }; -} -export const QueryClassResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse", - encode(message: QueryClassResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.class !== undefined) { - Class.encode(message.class, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.class = Class.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassResponse { - return { - class: isSet(object.class) ? Class.fromJSON(object.class) : undefined - }; - }, - toJSON(message: QueryClassResponse): unknown { - const obj: any = {}; - message.class !== undefined && (obj.class = message.class ? Class.toJSON(message.class) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryClassResponse { - const message = createBaseQueryClassResponse(); - message.class = object.class !== undefined && object.class !== null ? Class.fromPartial(object.class) : undefined; - return message; - }, - fromAmino(object: QueryClassResponseAmino): QueryClassResponse { - const message = createBaseQueryClassResponse(); - if (object.class !== undefined && object.class !== null) { - message.class = Class.fromAmino(object.class); - } - return message; - }, - toAmino(message: QueryClassResponse): QueryClassResponseAmino { - const obj: any = {}; - obj.class = message.class ? Class.toAmino(message.class) : undefined; - return obj; - }, - fromAminoMsg(object: QueryClassResponseAminoMsg): QueryClassResponse { - return QueryClassResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassResponse): QueryClassResponseAminoMsg { - return { - type: "cosmos-sdk/QueryClassResponse", - value: QueryClassResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassResponseProtoMsg): QueryClassResponse { - return QueryClassResponse.decode(message.value); - }, - toProto(message: QueryClassResponse): Uint8Array { - return QueryClassResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryClassResponse): QueryClassResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse", - value: QueryClassResponse.encode(message).finish() - }; - } -}; -function createBaseQueryClassesRequest(): QueryClassesRequest { - return { - pagination: undefined - }; -} -export const QueryClassesRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest", - encode(message: QueryClassesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassesRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryClassesRequest { - const message = createBaseQueryClassesRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QueryClassesRequestAmino): QueryClassesRequest { - const message = createBaseQueryClassesRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QueryClassesRequest): QueryClassesRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryClassesRequestAminoMsg): QueryClassesRequest { - return QueryClassesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassesRequest): QueryClassesRequestAminoMsg { - return { - type: "cosmos-sdk/QueryClassesRequest", - value: QueryClassesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassesRequestProtoMsg): QueryClassesRequest { - return QueryClassesRequest.decode(message.value); - }, - toProto(message: QueryClassesRequest): Uint8Array { - return QueryClassesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryClassesRequest): QueryClassesRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest", - value: QueryClassesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryClassesResponse(): QueryClassesResponse { - return { - classes: [], - pagination: undefined - }; -} -export const QueryClassesResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse", - encode(message: QueryClassesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.classes) { - Class.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassesResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classes.push(Class.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassesResponse { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => Class.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesResponse): unknown { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toJSON(e) : undefined); - } else { - obj.classes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryClassesResponse { - const message = createBaseQueryClassesResponse(); - message.classes = object.classes?.map(e => Class.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QueryClassesResponseAmino): QueryClassesResponse { - const message = createBaseQueryClassesResponse(); - message.classes = object.classes?.map(e => Class.fromAmino(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QueryClassesResponse): QueryClassesResponseAmino { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toAmino(e) : undefined); - } else { - obj.classes = message.classes; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryClassesResponseAminoMsg): QueryClassesResponse { - return QueryClassesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassesResponse): QueryClassesResponseAminoMsg { - return { - type: "cosmos-sdk/QueryClassesResponse", - value: QueryClassesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassesResponseProtoMsg): QueryClassesResponse { - return QueryClassesResponse.decode(message.value); - }, - toProto(message: QueryClassesResponse): Uint8Array { - return QueryClassesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryClassesResponse): QueryClassesResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse", - value: QueryClassesResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.amino.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/tx.amino.ts deleted file mode 100644 index a10e415f..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgSend } from "./tx"; -export const AminoConverter = { - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: "cosmos-sdk/MsgNFTSend", - toAmino: MsgSend.toAmino, - fromAmino: MsgSend.fromAmino - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.registry.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/tx.registry.ts deleted file mode 100644 index 44ffd8b1..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSend } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.nft.v1beta1.MsgSend", MsgSend]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.encode(value).finish() - }; - } - }, - withTypeUrl: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value - }; - } - }, - toJSON: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.toJSON(value) - }; - } - }, - fromJSON: { - send(value: any) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.fromJSON(value) - }; - } - }, - fromPartial: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 54618192..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { MsgSend, MsgSendResponse } from "./tx"; -/** Msg defines the nft Msg service. */ -export interface Msg { - /** Send defines a method to send a nft from one account to another account. */ - send(request: MsgSend): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.send = this.send.bind(this); - } - send(request: MsgSend): Promise { - const data = MsgSend.encode(request).finish(); - const promise = this.rpc.request("cosmos.nft.v1beta1.Msg", "Send", data); - return promise.then(data => MsgSendResponse.decode(new BinaryReader(data))); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.ts b/packages/api/src/codegen/cosmos/nft/v1beta1/tx.ts deleted file mode 100644 index a83163c4..00000000 --- a/packages/api/src/codegen/cosmos/nft/v1beta1/tx.ts +++ /dev/null @@ -1,237 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSend { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - classId: string; - /** id defines the unique identification of nft */ - id: string; - /** sender is the address of the owner of nft */ - sender: string; - /** receiver is the receiver address of nft */ - receiver: string; -} -export interface MsgSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSend"; - value: Uint8Array; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendAmino { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - class_id?: string; - /** id defines the unique identification of nft */ - id?: string; - /** sender is the address of the owner of nft */ - sender?: string; - /** receiver is the receiver address of nft */ - receiver?: string; -} -export interface MsgSendAminoMsg { - type: "cosmos-sdk/MsgNFTSend"; - value: MsgSendAmino; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse {} -export interface MsgSendResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseAmino {} -export interface MsgSendResponseAminoMsg { - type: "cosmos-sdk/MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType {} -function createBaseMsgSend(): MsgSend { - return { - classId: "", - id: "", - sender: "", - receiver: "" - }; -} -export const MsgSend = { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - encode(message: MsgSend, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.sender !== "") { - writer.uint32(26).string(message.sender); - } - if (message.receiver !== "") { - writer.uint32(34).string(message.receiver); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgSend { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.sender = reader.string(); - break; - case 4: - message.receiver = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSend { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - id: isSet(object.id) ? String(object.id) : "", - sender: isSet(object.sender) ? String(object.sender) : "", - receiver: isSet(object.receiver) ? String(object.receiver) : "" - }; - }, - toJSON(message: MsgSend): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.sender !== undefined && (obj.sender = message.sender); - message.receiver !== undefined && (obj.receiver = message.receiver); - return obj; - }, - fromPartial(object: Partial): MsgSend { - const message = createBaseMsgSend(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.sender = object.sender ?? ""; - message.receiver = object.receiver ?? ""; - return message; - }, - fromAmino(object: MsgSendAmino): MsgSend { - const message = createBaseMsgSend(); - if (object.class_id !== undefined && object.class_id !== null) { - message.classId = object.class_id; - } - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - if (object.sender !== undefined && object.sender !== null) { - message.sender = object.sender; - } - if (object.receiver !== undefined && object.receiver !== null) { - message.receiver = object.receiver; - } - return message; - }, - toAmino(message: MsgSend): MsgSendAmino { - const obj: any = {}; - obj.class_id = message.classId === "" ? undefined : message.classId; - obj.id = message.id === "" ? undefined : message.id; - obj.sender = message.sender === "" ? undefined : message.sender; - obj.receiver = message.receiver === "" ? undefined : message.receiver; - return obj; - }, - fromAminoMsg(object: MsgSendAminoMsg): MsgSend { - return MsgSend.fromAmino(object.value); - }, - toAminoMsg(message: MsgSend): MsgSendAminoMsg { - return { - type: "cosmos-sdk/MsgNFTSend", - value: MsgSend.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSendProtoMsg): MsgSend { - return MsgSend.decode(message.value); - }, - toProto(message: MsgSend): Uint8Array { - return MsgSend.encode(message).finish(); - }, - toProtoMsg(message: MsgSend): MsgSendProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.encode(message).finish() - }; - } -}; -function createBaseMsgSendResponse(): MsgSendResponse { - return {}; -} -export const MsgSendResponse = { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse", - encode(_: MsgSendResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgSendResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSendResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgSendResponse { - return {}; - }, - toJSON(_: MsgSendResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgSendResponse { - const message = createBaseMsgSendResponse(); - return message; - }, - fromAmino(_: MsgSendResponseAmino): MsgSendResponse { - const message = createBaseMsgSendResponse(); - return message; - }, - toAmino(_: MsgSendResponse): MsgSendResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse { - return MsgSendResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSendResponse", - value: MsgSendResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse { - return MsgSendResponse.decode(message.value); - }, - toProto(message: MsgSendResponse): Uint8Array { - return MsgSendResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse", - value: MsgSendResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/orm/v1alpha1/schema.ts b/packages/api/src/codegen/cosmos/orm/v1alpha1/schema.ts deleted file mode 100644 index 70e7de91..00000000 --- a/packages/api/src/codegen/cosmos/orm/v1alpha1/schema.ts +++ /dev/null @@ -1,378 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; -/** StorageType */ -export enum StorageType { - /** - * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - * KV-storage where primary key entries are stored in merkle-tree - * backed commitment storage and indexes and seqs are stored in - * fast index storage. Note that the Cosmos SDK before store/v2alpha1 - * does not support this. - */ - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0, - /** - * STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be - * reloaded every time an app restarts. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_MEMORY = 1, - /** - * STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - * at the end of every block. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_TRANSIENT = 2, - /** - * STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed - * by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - * before store/v2alpha1 does not support this. - */ - STORAGE_TYPE_INDEX = 3, - /** - * STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by - * a merkle-tree. With this type of storage, both primary and index keys - * will affect the app hash and this is generally less efficient - * than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - * keys into index storage. Note that modules built with the - * Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - * instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - * because this is the only type of persistent storage available. - */ - STORAGE_TYPE_COMMITMENT = 4, - UNRECOGNIZED = -1, -} -export const StorageTypeSDKType = StorageType; -export const StorageTypeAmino = StorageType; -export function storageTypeFromJSON(object: any): StorageType { - switch (object) { - case 0: - case "STORAGE_TYPE_DEFAULT_UNSPECIFIED": - return StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED; - case 1: - case "STORAGE_TYPE_MEMORY": - return StorageType.STORAGE_TYPE_MEMORY; - case 2: - case "STORAGE_TYPE_TRANSIENT": - return StorageType.STORAGE_TYPE_TRANSIENT; - case 3: - case "STORAGE_TYPE_INDEX": - return StorageType.STORAGE_TYPE_INDEX; - case 4: - case "STORAGE_TYPE_COMMITMENT": - return StorageType.STORAGE_TYPE_COMMITMENT; - case -1: - case "UNRECOGNIZED": - default: - return StorageType.UNRECOGNIZED; - } -} -export function storageTypeToJSON(object: StorageType): string { - switch (object) { - case StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED: - return "STORAGE_TYPE_DEFAULT_UNSPECIFIED"; - case StorageType.STORAGE_TYPE_MEMORY: - return "STORAGE_TYPE_MEMORY"; - case StorageType.STORAGE_TYPE_TRANSIENT: - return "STORAGE_TYPE_TRANSIENT"; - case StorageType.STORAGE_TYPE_INDEX: - return "STORAGE_TYPE_INDEX"; - case StorageType.STORAGE_TYPE_COMMITMENT: - return "STORAGE_TYPE_COMMITMENT"; - case StorageType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptor { - schemaFile: ModuleSchemaDescriptor_FileEntry[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix: Uint8Array; -} -export interface ModuleSchemaDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor"; - value: Uint8Array; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorAmino { - schema_file?: ModuleSchemaDescriptor_FileEntryAmino[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix?: string; -} -export interface ModuleSchemaDescriptorAminoMsg { - type: "cosmos-sdk/ModuleSchemaDescriptor"; - value: ModuleSchemaDescriptorAmino; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorSDKType { - schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; - prefix: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntry { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - protoFileName: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storageType: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry"; - value: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntryAmino { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id?: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - proto_file_name?: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storage_type?: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryAminoMsg { - type: "cosmos-sdk/FileEntry"; - value: ModuleSchemaDescriptor_FileEntryAmino; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntrySDKType { - id: number; - proto_file_name: string; - storage_type: StorageType; -} -function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { - return { - schemaFile: [], - prefix: new Uint8Array() - }; -} -export const ModuleSchemaDescriptor = { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor", - encode(message: ModuleSchemaDescriptor, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.schemaFile) { - ModuleSchemaDescriptor_FileEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.prefix.length !== 0) { - writer.uint32(18).bytes(message.prefix); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleSchemaDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.schemaFile.push(ModuleSchemaDescriptor_FileEntry.decode(reader, reader.uint32())); - break; - case 2: - message.prefix = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleSchemaDescriptor { - return { - schemaFile: Array.isArray(object?.schemaFile) ? object.schemaFile.map((e: any) => ModuleSchemaDescriptor_FileEntry.fromJSON(e)) : [], - prefix: isSet(object.prefix) ? bytesFromBase64(object.prefix) : new Uint8Array() - }; - }, - toJSON(message: ModuleSchemaDescriptor): unknown { - const obj: any = {}; - if (message.schemaFile) { - obj.schemaFile = message.schemaFile.map(e => e ? ModuleSchemaDescriptor_FileEntry.toJSON(e) : undefined); - } else { - obj.schemaFile = []; - } - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): ModuleSchemaDescriptor { - const message = createBaseModuleSchemaDescriptor(); - message.schemaFile = object.schemaFile?.map(e => ModuleSchemaDescriptor_FileEntry.fromPartial(e)) || []; - message.prefix = object.prefix ?? new Uint8Array(); - return message; - }, - fromAmino(object: ModuleSchemaDescriptorAmino): ModuleSchemaDescriptor { - const message = createBaseModuleSchemaDescriptor(); - message.schemaFile = object.schema_file?.map(e => ModuleSchemaDescriptor_FileEntry.fromAmino(e)) || []; - if (object.prefix !== undefined && object.prefix !== null) { - message.prefix = bytesFromBase64(object.prefix); - } - return message; - }, - toAmino(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAmino { - const obj: any = {}; - if (message.schemaFile) { - obj.schema_file = message.schemaFile.map(e => e ? ModuleSchemaDescriptor_FileEntry.toAmino(e) : undefined); - } else { - obj.schema_file = message.schemaFile; - } - obj.prefix = message.prefix ? base64FromBytes(message.prefix) : undefined; - return obj; - }, - fromAminoMsg(object: ModuleSchemaDescriptorAminoMsg): ModuleSchemaDescriptor { - return ModuleSchemaDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAminoMsg { - return { - type: "cosmos-sdk/ModuleSchemaDescriptor", - value: ModuleSchemaDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleSchemaDescriptorProtoMsg): ModuleSchemaDescriptor { - return ModuleSchemaDescriptor.decode(message.value); - }, - toProto(message: ModuleSchemaDescriptor): Uint8Array { - return ModuleSchemaDescriptor.encode(message).finish(); - }, - toProtoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorProtoMsg { - return { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor", - value: ModuleSchemaDescriptor.encode(message).finish() - }; - } -}; -function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry { - return { - id: 0, - protoFileName: "", - storageType: 0 - }; -} -export const ModuleSchemaDescriptor_FileEntry = { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry", - encode(message: ModuleSchemaDescriptor_FileEntry, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.id !== 0) { - writer.uint32(8).uint32(message.id); - } - if (message.protoFileName !== "") { - writer.uint32(18).string(message.protoFileName); - } - if (message.storageType !== 0) { - writer.uint32(24).int32(message.storageType); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleSchemaDescriptor_FileEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.uint32(); - break; - case 2: - message.protoFileName = reader.string(); - break; - case 3: - message.storageType = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleSchemaDescriptor_FileEntry { - return { - id: isSet(object.id) ? Number(object.id) : 0, - protoFileName: isSet(object.protoFileName) ? String(object.protoFileName) : "", - storageType: isSet(object.storageType) ? storageTypeFromJSON(object.storageType) : -1 - }; - }, - toJSON(message: ModuleSchemaDescriptor_FileEntry): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - message.protoFileName !== undefined && (obj.protoFileName = message.protoFileName); - message.storageType !== undefined && (obj.storageType = storageTypeToJSON(message.storageType)); - return obj; - }, - fromPartial(object: Partial): ModuleSchemaDescriptor_FileEntry { - const message = createBaseModuleSchemaDescriptor_FileEntry(); - message.id = object.id ?? 0; - message.protoFileName = object.protoFileName ?? ""; - message.storageType = object.storageType ?? 0; - return message; - }, - fromAmino(object: ModuleSchemaDescriptor_FileEntryAmino): ModuleSchemaDescriptor_FileEntry { - const message = createBaseModuleSchemaDescriptor_FileEntry(); - if (object.id !== undefined && object.id !== null) { - message.id = object.id; - } - if (object.proto_file_name !== undefined && object.proto_file_name !== null) { - message.protoFileName = object.proto_file_name; - } - if (object.storage_type !== undefined && object.storage_type !== null) { - message.storageType = object.storage_type; - } - return message; - }, - toAmino(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAmino { - const obj: any = {}; - obj.id = message.id === 0 ? undefined : message.id; - obj.proto_file_name = message.protoFileName === "" ? undefined : message.protoFileName; - obj.storage_type = message.storageType === 0 ? undefined : message.storageType; - return obj; - }, - fromAminoMsg(object: ModuleSchemaDescriptor_FileEntryAminoMsg): ModuleSchemaDescriptor_FileEntry { - return ModuleSchemaDescriptor_FileEntry.fromAmino(object.value); - }, - toAminoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAminoMsg { - return { - type: "cosmos-sdk/FileEntry", - value: ModuleSchemaDescriptor_FileEntry.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleSchemaDescriptor_FileEntryProtoMsg): ModuleSchemaDescriptor_FileEntry { - return ModuleSchemaDescriptor_FileEntry.decode(message.value); - }, - toProto(message: ModuleSchemaDescriptor_FileEntry): Uint8Array { - return ModuleSchemaDescriptor_FileEntry.encode(message).finish(); - }, - toProtoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryProtoMsg { - return { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry", - value: ModuleSchemaDescriptor_FileEntry.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/genesis.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/genesis.ts deleted file mode 100644 index c8ccef29..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/genesis.ts +++ /dev/null @@ -1,541 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params: Params; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signingInfos: SigningInfo[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missedBlocks: ValidatorMissedBlocks[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsAmino; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signing_infos?: SigningInfoAmino[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missed_blocks?: ValidatorMissedBlocksAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - signing_infos: SigningInfoSDKType[]; - missed_blocks: ValidatorMissedBlocksSDKType[]; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfo { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - validatorSigningInfo: ValidatorSigningInfo; -} -export interface SigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo"; - value: Uint8Array; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoAmino { - /** address is the validator address. */ - address?: string; - /** validator_signing_info represents the signing info of this validator. */ - validator_signing_info?: ValidatorSigningInfoAmino; -} -export interface SigningInfoAminoMsg { - type: "cosmos-sdk/SigningInfo"; - value: SigningInfoAmino; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoSDKType { - address: string; - validator_signing_info: ValidatorSigningInfoSDKType; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocks { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missedBlocks: MissedBlock[]; -} -export interface ValidatorMissedBlocksProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks"; - value: Uint8Array; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksAmino { - /** address is the validator address. */ - address?: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missed_blocks?: MissedBlockAmino[]; -} -export interface ValidatorMissedBlocksAminoMsg { - type: "cosmos-sdk/ValidatorMissedBlocks"; - value: ValidatorMissedBlocksAmino; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksSDKType { - address: string; - missed_blocks: MissedBlockSDKType[]; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlock { - /** index is the height at which the block was missed. */ - index: bigint; - /** missed is the missed status. */ - missed: boolean; -} -export interface MissedBlockProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock"; - value: Uint8Array; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockAmino { - /** index is the height at which the block was missed. */ - index?: string; - /** missed is the missed status. */ - missed?: boolean; -} -export interface MissedBlockAminoMsg { - type: "cosmos-sdk/MissedBlock"; - value: MissedBlockAmino; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockSDKType { - index: bigint; - missed: boolean; -} -function createBaseGenesisState(): GenesisState { - return { - params: Params.fromPartial({}), - signingInfos: [], - missedBlocks: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState", - encode(message: GenesisState, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.signingInfos) { - SigningInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.missedBlocks) { - ValidatorMissedBlocks.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - case 2: - message.signingInfos.push(SigningInfo.decode(reader, reader.uint32())); - break; - case 3: - message.missedBlocks.push(ValidatorMissedBlocks.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - signingInfos: Array.isArray(object?.signingInfos) ? object.signingInfos.map((e: any) => SigningInfo.fromJSON(e)) : [], - missedBlocks: Array.isArray(object?.missedBlocks) ? object.missedBlocks.map((e: any) => ValidatorMissedBlocks.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.signingInfos) { - obj.signingInfos = message.signingInfos.map(e => e ? SigningInfo.toJSON(e) : undefined); - } else { - obj.signingInfos = []; - } - if (message.missedBlocks) { - obj.missedBlocks = message.missedBlocks.map(e => e ? ValidatorMissedBlocks.toJSON(e) : undefined); - } else { - obj.missedBlocks = []; - } - return obj; - }, - fromPartial(object: Partial): GenesisState { - const message = createBaseGenesisState(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - message.signingInfos = object.signingInfos?.map(e => SigningInfo.fromPartial(e)) || []; - message.missedBlocks = object.missedBlocks?.map(e => ValidatorMissedBlocks.fromPartial(e)) || []; - return message; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - const message = createBaseGenesisState(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromAmino(object.params); - } - message.signingInfos = object.signing_infos?.map(e => SigningInfo.fromAmino(e)) || []; - message.missedBlocks = object.missed_blocks?.map(e => ValidatorMissedBlocks.fromAmino(e)) || []; - return message; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - if (message.signingInfos) { - obj.signing_infos = message.signingInfos.map(e => e ? SigningInfo.toAmino(e) : undefined); - } else { - obj.signing_infos = message.signingInfos; - } - if (message.missedBlocks) { - obj.missed_blocks = message.missedBlocks.map(e => e ? ValidatorMissedBlocks.toAmino(e) : undefined); - } else { - obj.missed_blocks = message.missedBlocks; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; -function createBaseSigningInfo(): SigningInfo { - return { - address: "", - validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) - }; -} -export const SigningInfo = { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo", - encode(message: SigningInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.validatorSigningInfo !== undefined) { - ValidatorSigningInfo.encode(message.validatorSigningInfo, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): SigningInfo { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSigningInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.validatorSigningInfo = ValidatorSigningInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SigningInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - validatorSigningInfo: isSet(object.validatorSigningInfo) ? ValidatorSigningInfo.fromJSON(object.validatorSigningInfo) : undefined - }; - }, - toJSON(message: SigningInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.validatorSigningInfo !== undefined && (obj.validatorSigningInfo = message.validatorSigningInfo ? ValidatorSigningInfo.toJSON(message.validatorSigningInfo) : undefined); - return obj; - }, - fromPartial(object: Partial): SigningInfo { - const message = createBaseSigningInfo(); - message.address = object.address ?? ""; - message.validatorSigningInfo = object.validatorSigningInfo !== undefined && object.validatorSigningInfo !== null ? ValidatorSigningInfo.fromPartial(object.validatorSigningInfo) : undefined; - return message; - }, - fromAmino(object: SigningInfoAmino): SigningInfo { - const message = createBaseSigningInfo(); - if (object.address !== undefined && object.address !== null) { - message.address = object.address; - } - if (object.validator_signing_info !== undefined && object.validator_signing_info !== null) { - message.validatorSigningInfo = ValidatorSigningInfo.fromAmino(object.validator_signing_info); - } - return message; - }, - toAmino(message: SigningInfo): SigningInfoAmino { - const obj: any = {}; - obj.address = message.address === "" ? undefined : message.address; - obj.validator_signing_info = message.validatorSigningInfo ? ValidatorSigningInfo.toAmino(message.validatorSigningInfo) : undefined; - return obj; - }, - fromAminoMsg(object: SigningInfoAminoMsg): SigningInfo { - return SigningInfo.fromAmino(object.value); - }, - toAminoMsg(message: SigningInfo): SigningInfoAminoMsg { - return { - type: "cosmos-sdk/SigningInfo", - value: SigningInfo.toAmino(message) - }; - }, - fromProtoMsg(message: SigningInfoProtoMsg): SigningInfo { - return SigningInfo.decode(message.value); - }, - toProto(message: SigningInfo): Uint8Array { - return SigningInfo.encode(message).finish(); - }, - toProtoMsg(message: SigningInfo): SigningInfoProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo", - value: SigningInfo.encode(message).finish() - }; - } -}; -function createBaseValidatorMissedBlocks(): ValidatorMissedBlocks { - return { - address: "", - missedBlocks: [] - }; -} -export const ValidatorMissedBlocks = { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks", - encode(message: ValidatorMissedBlocks, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - for (const v of message.missedBlocks) { - MissedBlock.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorMissedBlocks { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorMissedBlocks(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.missedBlocks.push(MissedBlock.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorMissedBlocks { - return { - address: isSet(object.address) ? String(object.address) : "", - missedBlocks: Array.isArray(object?.missedBlocks) ? object.missedBlocks.map((e: any) => MissedBlock.fromJSON(e)) : [] - }; - }, - toJSON(message: ValidatorMissedBlocks): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.missedBlocks) { - obj.missedBlocks = message.missedBlocks.map(e => e ? MissedBlock.toJSON(e) : undefined); - } else { - obj.missedBlocks = []; - } - return obj; - }, - fromPartial(object: Partial): ValidatorMissedBlocks { - const message = createBaseValidatorMissedBlocks(); - message.address = object.address ?? ""; - message.missedBlocks = object.missedBlocks?.map(e => MissedBlock.fromPartial(e)) || []; - return message; - }, - fromAmino(object: ValidatorMissedBlocksAmino): ValidatorMissedBlocks { - const message = createBaseValidatorMissedBlocks(); - if (object.address !== undefined && object.address !== null) { - message.address = object.address; - } - message.missedBlocks = object.missed_blocks?.map(e => MissedBlock.fromAmino(e)) || []; - return message; - }, - toAmino(message: ValidatorMissedBlocks): ValidatorMissedBlocksAmino { - const obj: any = {}; - obj.address = message.address === "" ? undefined : message.address; - if (message.missedBlocks) { - obj.missed_blocks = message.missedBlocks.map(e => e ? MissedBlock.toAmino(e) : undefined); - } else { - obj.missed_blocks = message.missedBlocks; - } - return obj; - }, - fromAminoMsg(object: ValidatorMissedBlocksAminoMsg): ValidatorMissedBlocks { - return ValidatorMissedBlocks.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksAminoMsg { - return { - type: "cosmos-sdk/ValidatorMissedBlocks", - value: ValidatorMissedBlocks.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorMissedBlocksProtoMsg): ValidatorMissedBlocks { - return ValidatorMissedBlocks.decode(message.value); - }, - toProto(message: ValidatorMissedBlocks): Uint8Array { - return ValidatorMissedBlocks.encode(message).finish(); - }, - toProtoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks", - value: ValidatorMissedBlocks.encode(message).finish() - }; - } -}; -function createBaseMissedBlock(): MissedBlock { - return { - index: BigInt(0), - missed: false - }; -} -export const MissedBlock = { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock", - encode(message: MissedBlock, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.index !== BigInt(0)) { - writer.uint32(8).int64(message.index); - } - if (message.missed === true) { - writer.uint32(16).bool(message.missed); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MissedBlock { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMissedBlock(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = reader.int64(); - break; - case 2: - message.missed = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MissedBlock { - return { - index: isSet(object.index) ? BigInt(object.index.toString()) : BigInt(0), - missed: isSet(object.missed) ? Boolean(object.missed) : false - }; - }, - toJSON(message: MissedBlock): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || BigInt(0)).toString()); - message.missed !== undefined && (obj.missed = message.missed); - return obj; - }, - fromPartial(object: Partial): MissedBlock { - const message = createBaseMissedBlock(); - message.index = object.index !== undefined && object.index !== null ? BigInt(object.index.toString()) : BigInt(0); - message.missed = object.missed ?? false; - return message; - }, - fromAmino(object: MissedBlockAmino): MissedBlock { - const message = createBaseMissedBlock(); - if (object.index !== undefined && object.index !== null) { - message.index = BigInt(object.index); - } - if (object.missed !== undefined && object.missed !== null) { - message.missed = object.missed; - } - return message; - }, - toAmino(message: MissedBlock): MissedBlockAmino { - const obj: any = {}; - obj.index = message.index !== BigInt(0) ? message.index.toString() : undefined; - obj.missed = message.missed === false ? undefined : message.missed; - return obj; - }, - fromAminoMsg(object: MissedBlockAminoMsg): MissedBlock { - return MissedBlock.fromAmino(object.value); - }, - toAminoMsg(message: MissedBlock): MissedBlockAminoMsg { - return { - type: "cosmos-sdk/MissedBlock", - value: MissedBlock.toAmino(message) - }; - }, - fromProtoMsg(message: MissedBlockProtoMsg): MissedBlock { - return MissedBlock.decode(message.value); - }, - toProto(message: MissedBlock): Uint8Array { - return MissedBlock.encode(message).finish(); - }, - toProtoMsg(message: MissedBlock): MissedBlockProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock", - value: MissedBlock.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts deleted file mode 100644 index dbce4023..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.signingInfo = this.signingInfo.bind(this); - this.signingInfos = this.signingInfos.bind(this); - } - /* Params queries the parameters of slashing module */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/slashing/v1beta1/params`; - return await this.req.get(endpoint); - } - /* SigningInfo queries the signing info of given cons address */ - async signingInfo(params: QuerySigningInfoRequest): Promise { - const endpoint = `cosmos/slashing/v1beta1/signing_infos/${params.consAddress}`; - return await this.req.get(endpoint); - } - /* SigningInfos queries signing info of all validators */ - async signingInfos(params: QuerySigningInfosRequest = { - pagination: undefined - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/slashing/v1beta1/signing_infos`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 83586b56..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** Params queries the parameters of slashing module */ - params(request?: QueryParamsRequest): Promise; - /** SigningInfo queries the signing info of given cons address */ - signingInfo(request: QuerySigningInfoRequest): Promise; - /** SigningInfos queries signing info of all validators */ - signingInfos(request?: QuerySigningInfosRequest): Promise; -} -export class QueryClientImpl implements Query { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.params = this.params.bind(this); - this.signingInfo = this.signingInfo.bind(this); - this.signingInfos = this.signingInfos.bind(this); - } - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.slashing.v1beta1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new BinaryReader(data))); - } - signingInfo(request: QuerySigningInfoRequest): Promise { - const data = QuerySigningInfoRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.slashing.v1beta1.Query", "SigningInfo", data); - return promise.then(data => QuerySigningInfoResponse.decode(new BinaryReader(data))); - } - signingInfos(request: QuerySigningInfosRequest = { - pagination: undefined - }): Promise { - const data = QuerySigningInfosRequest.encode(request).finish(); - const promise = this.rpc.request("cosmos.slashing.v1beta1.Query", "SigningInfos", data); - return promise.then(data => QuerySigningInfosResponse.decode(new BinaryReader(data))); - } -} -export const createRpcQueryExtension = (base: QueryClient) => { - const rpc = createProtobufRpcClient(base); - const queryService = new QueryClientImpl(rpc); - return { - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - }, - signingInfo(request: QuerySigningInfoRequest): Promise { - return queryService.signingInfo(request); - }, - signingInfos(request?: QuerySigningInfosRequest): Promise { - return queryService.signingInfos(request); - } - }; -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/query.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/query.ts deleted file mode 100644 index 788d726d..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/query.ts +++ /dev/null @@ -1,641 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequest {} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestAmino {} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestSDKType {} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponse { - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseAmino { - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequest { - /** cons_address is the address to query signing info of */ - consAddress: string; -} -export interface QuerySigningInfoRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestAmino { - /** cons_address is the address to query signing info of */ - cons_address?: string; -} -export interface QuerySigningInfoRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfoRequest"; - value: QuerySigningInfoRequestAmino; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestSDKType { - cons_address: string; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponse { - /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo: ValidatorSigningInfo; -} -export interface QuerySigningInfoResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseAmino { - /** val_signing_info is the signing info of requested val cons address */ - val_signing_info?: ValidatorSigningInfoAmino; -} -export interface QuerySigningInfoResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfoResponse"; - value: QuerySigningInfoResponseAmino; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseSDKType { - val_signing_info: ValidatorSigningInfoSDKType; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequest { - pagination?: PageRequest; -} -export interface QuerySigningInfosRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestAmino { - pagination?: PageRequestAmino; -} -export interface QuerySigningInfosRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfosRequest"; - value: QuerySigningInfosRequestAmino; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponse { - /** info is the signing info of all validators */ - info: ValidatorSigningInfo[]; - pagination?: PageResponse; -} -export interface QuerySigningInfosResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseAmino { - /** info is the signing info of all validators */ - info?: ValidatorSigningInfoAmino[]; - pagination?: PageResponseAmino; -} -export interface QuerySigningInfosResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfosResponse"; - value: QuerySigningInfosResponseAmino; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseSDKType { - info: ValidatorSigningInfoSDKType[]; - pagination?: PageResponseSDKType; -} -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest", - encode(_: QueryParamsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: Params.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse", - encode(message: QueryParamsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: Partial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromAmino(object.params); - } - return message; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfoRequest(): QuerySigningInfoRequest { - return { - consAddress: "" - }; -} -export const QuerySigningInfoRequest = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest", - encode(message: QuerySigningInfoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.consAddress !== "") { - writer.uint32(10).string(message.consAddress); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfoRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.consAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfoRequest { - return { - consAddress: isSet(object.consAddress) ? String(object.consAddress) : "" - }; - }, - toJSON(message: QuerySigningInfoRequest): unknown { - const obj: any = {}; - message.consAddress !== undefined && (obj.consAddress = message.consAddress); - return obj; - }, - fromPartial(object: Partial): QuerySigningInfoRequest { - const message = createBaseQuerySigningInfoRequest(); - message.consAddress = object.consAddress ?? ""; - return message; - }, - fromAmino(object: QuerySigningInfoRequestAmino): QuerySigningInfoRequest { - const message = createBaseQuerySigningInfoRequest(); - if (object.cons_address !== undefined && object.cons_address !== null) { - message.consAddress = object.cons_address; - } - return message; - }, - toAmino(message: QuerySigningInfoRequest): QuerySigningInfoRequestAmino { - const obj: any = {}; - obj.cons_address = message.consAddress === "" ? undefined : message.consAddress; - return obj; - }, - fromAminoMsg(object: QuerySigningInfoRequestAminoMsg): QuerySigningInfoRequest { - return QuerySigningInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfoRequest", - value: QuerySigningInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfoRequestProtoMsg): QuerySigningInfoRequest { - return QuerySigningInfoRequest.decode(message.value); - }, - toProto(message: QuerySigningInfoRequest): Uint8Array { - return QuerySigningInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest", - value: QuerySigningInfoRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { - return { - valSigningInfo: ValidatorSigningInfo.fromPartial({}) - }; -} -export const QuerySigningInfoResponse = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse", - encode(message: QuerySigningInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.valSigningInfo !== undefined) { - ValidatorSigningInfo.encode(message.valSigningInfo, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfoResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.valSigningInfo = ValidatorSigningInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfoResponse { - return { - valSigningInfo: isSet(object.valSigningInfo) ? ValidatorSigningInfo.fromJSON(object.valSigningInfo) : undefined - }; - }, - toJSON(message: QuerySigningInfoResponse): unknown { - const obj: any = {}; - message.valSigningInfo !== undefined && (obj.valSigningInfo = message.valSigningInfo ? ValidatorSigningInfo.toJSON(message.valSigningInfo) : undefined); - return obj; - }, - fromPartial(object: Partial): QuerySigningInfoResponse { - const message = createBaseQuerySigningInfoResponse(); - message.valSigningInfo = object.valSigningInfo !== undefined && object.valSigningInfo !== null ? ValidatorSigningInfo.fromPartial(object.valSigningInfo) : undefined; - return message; - }, - fromAmino(object: QuerySigningInfoResponseAmino): QuerySigningInfoResponse { - const message = createBaseQuerySigningInfoResponse(); - if (object.val_signing_info !== undefined && object.val_signing_info !== null) { - message.valSigningInfo = ValidatorSigningInfo.fromAmino(object.val_signing_info); - } - return message; - }, - toAmino(message: QuerySigningInfoResponse): QuerySigningInfoResponseAmino { - const obj: any = {}; - obj.val_signing_info = message.valSigningInfo ? ValidatorSigningInfo.toAmino(message.valSigningInfo) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySigningInfoResponseAminoMsg): QuerySigningInfoResponse { - return QuerySigningInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfoResponse", - value: QuerySigningInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfoResponseProtoMsg): QuerySigningInfoResponse { - return QuerySigningInfoResponse.decode(message.value); - }, - toProto(message: QuerySigningInfoResponse): Uint8Array { - return QuerySigningInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse", - value: QuerySigningInfoResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { - return { - pagination: undefined - }; -} -export const QuerySigningInfosRequest = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest", - encode(message: QuerySigningInfosRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfosRequest { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfosRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfosRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySigningInfosRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QuerySigningInfosRequest { - const message = createBaseQuerySigningInfosRequest(); - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QuerySigningInfosRequestAmino): QuerySigningInfosRequest { - const message = createBaseQuerySigningInfosRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QuerySigningInfosRequest): QuerySigningInfosRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySigningInfosRequestAminoMsg): QuerySigningInfosRequest { - return QuerySigningInfosRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfosRequest", - value: QuerySigningInfosRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfosRequestProtoMsg): QuerySigningInfosRequest { - return QuerySigningInfosRequest.decode(message.value); - }, - toProto(message: QuerySigningInfosRequest): Uint8Array { - return QuerySigningInfosRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest", - value: QuerySigningInfosRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { - return { - info: [], - pagination: undefined - }; -} -export const QuerySigningInfosResponse = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse", - encode(message: QuerySigningInfosResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - for (const v of message.info) { - ValidatorSigningInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfosResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfosResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.info.push(ValidatorSigningInfo.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfosResponse { - return { - info: Array.isArray(object?.info) ? object.info.map((e: any) => ValidatorSigningInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySigningInfosResponse): unknown { - const obj: any = {}; - if (message.info) { - obj.info = message.info.map(e => e ? ValidatorSigningInfo.toJSON(e) : undefined); - } else { - obj.info = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: Partial): QuerySigningInfosResponse { - const message = createBaseQuerySigningInfosResponse(); - message.info = object.info?.map(e => ValidatorSigningInfo.fromPartial(e)) || []; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined; - return message; - }, - fromAmino(object: QuerySigningInfosResponseAmino): QuerySigningInfosResponse { - const message = createBaseQuerySigningInfosResponse(); - message.info = object.info?.map(e => ValidatorSigningInfo.fromAmino(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromAmino(object.pagination); - } - return message; - }, - toAmino(message: QuerySigningInfosResponse): QuerySigningInfosResponseAmino { - const obj: any = {}; - if (message.info) { - obj.info = message.info.map(e => e ? ValidatorSigningInfo.toAmino(e) : undefined); - } else { - obj.info = message.info; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySigningInfosResponseAminoMsg): QuerySigningInfosResponse { - return QuerySigningInfosResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfosResponse", - value: QuerySigningInfosResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfosResponseProtoMsg): QuerySigningInfosResponse { - return QuerySigningInfosResponse.decode(message.value); - }, - toProto(message: QuerySigningInfosResponse): Uint8Array { - return QuerySigningInfosResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse", - value: QuerySigningInfosResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/slashing.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/slashing.ts deleted file mode 100644 index 2caeb9d7..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/slashing.ts +++ /dev/null @@ -1,394 +0,0 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers"; -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfo { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - startHeight: bigint; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - indexOffset: bigint; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Timestamp; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missedBlocksCounter: bigint; -} -export interface ValidatorSigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo"; - value: Uint8Array; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoAmino { - address?: string; - /** Height at which validator was first a candidate OR was unjailed */ - start_height?: string; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - index_offset?: string; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailed_until?: string; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned?: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missed_blocks_counter?: string; -} -export interface ValidatorSigningInfoAminoMsg { - type: "cosmos-sdk/ValidatorSigningInfo"; - value: ValidatorSigningInfoAmino; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoSDKType { - address: string; - start_height: bigint; - index_offset: bigint; - jailed_until: TimestampSDKType; - tombstoned: boolean; - missed_blocks_counter: bigint; -} -/** Params represents the parameters used for by the slashing module. */ -export interface Params { - signedBlocksWindow: bigint; - minSignedPerWindow: Uint8Array; - downtimeJailDuration: Duration; - slashFractionDoubleSign: Uint8Array; - slashFractionDowntime: Uint8Array; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.Params"; - value: Uint8Array; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsAmino { - signed_blocks_window?: string; - min_signed_per_window?: string; - downtime_jail_duration?: DurationAmino; - slash_fraction_double_sign?: string; - slash_fraction_downtime?: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsSDKType { - signed_blocks_window: bigint; - min_signed_per_window: Uint8Array; - downtime_jail_duration: DurationSDKType; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} -function createBaseValidatorSigningInfo(): ValidatorSigningInfo { - return { - address: "", - startHeight: BigInt(0), - indexOffset: BigInt(0), - jailedUntil: Timestamp.fromPartial({}), - tombstoned: false, - missedBlocksCounter: BigInt(0) - }; -} -export const ValidatorSigningInfo = { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo", - encode(message: ValidatorSigningInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.startHeight !== BigInt(0)) { - writer.uint32(16).int64(message.startHeight); - } - if (message.indexOffset !== BigInt(0)) { - writer.uint32(24).int64(message.indexOffset); - } - if (message.jailedUntil !== undefined) { - Timestamp.encode(message.jailedUntil, writer.uint32(34).fork()).ldelim(); - } - if (message.tombstoned === true) { - writer.uint32(40).bool(message.tombstoned); - } - if (message.missedBlocksCounter !== BigInt(0)) { - writer.uint32(48).int64(message.missedBlocksCounter); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSigningInfo { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSigningInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.startHeight = reader.int64(); - break; - case 3: - message.indexOffset = reader.int64(); - break; - case 4: - message.jailedUntil = Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.tombstoned = reader.bool(); - break; - case 6: - message.missedBlocksCounter = reader.int64(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorSigningInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - startHeight: isSet(object.startHeight) ? BigInt(object.startHeight.toString()) : BigInt(0), - indexOffset: isSet(object.indexOffset) ? BigInt(object.indexOffset.toString()) : BigInt(0), - jailedUntil: isSet(object.jailedUntil) ? fromJsonTimestamp(object.jailedUntil) : undefined, - tombstoned: isSet(object.tombstoned) ? Boolean(object.tombstoned) : false, - missedBlocksCounter: isSet(object.missedBlocksCounter) ? BigInt(object.missedBlocksCounter.toString()) : BigInt(0) - }; - }, - toJSON(message: ValidatorSigningInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.startHeight !== undefined && (obj.startHeight = (message.startHeight || BigInt(0)).toString()); - message.indexOffset !== undefined && (obj.indexOffset = (message.indexOffset || BigInt(0)).toString()); - message.jailedUntil !== undefined && (obj.jailedUntil = fromTimestamp(message.jailedUntil).toISOString()); - message.tombstoned !== undefined && (obj.tombstoned = message.tombstoned); - message.missedBlocksCounter !== undefined && (obj.missedBlocksCounter = (message.missedBlocksCounter || BigInt(0)).toString()); - return obj; - }, - fromPartial(object: Partial): ValidatorSigningInfo { - const message = createBaseValidatorSigningInfo(); - message.address = object.address ?? ""; - message.startHeight = object.startHeight !== undefined && object.startHeight !== null ? BigInt(object.startHeight.toString()) : BigInt(0); - message.indexOffset = object.indexOffset !== undefined && object.indexOffset !== null ? BigInt(object.indexOffset.toString()) : BigInt(0); - message.jailedUntil = object.jailedUntil !== undefined && object.jailedUntil !== null ? Timestamp.fromPartial(object.jailedUntil) : undefined; - message.tombstoned = object.tombstoned ?? false; - message.missedBlocksCounter = object.missedBlocksCounter !== undefined && object.missedBlocksCounter !== null ? BigInt(object.missedBlocksCounter.toString()) : BigInt(0); - return message; - }, - fromAmino(object: ValidatorSigningInfoAmino): ValidatorSigningInfo { - const message = createBaseValidatorSigningInfo(); - if (object.address !== undefined && object.address !== null) { - message.address = object.address; - } - if (object.start_height !== undefined && object.start_height !== null) { - message.startHeight = BigInt(object.start_height); - } - if (object.index_offset !== undefined && object.index_offset !== null) { - message.indexOffset = BigInt(object.index_offset); - } - if (object.jailed_until !== undefined && object.jailed_until !== null) { - message.jailedUntil = Timestamp.fromAmino(object.jailed_until); - } - if (object.tombstoned !== undefined && object.tombstoned !== null) { - message.tombstoned = object.tombstoned; - } - if (object.missed_blocks_counter !== undefined && object.missed_blocks_counter !== null) { - message.missedBlocksCounter = BigInt(object.missed_blocks_counter); - } - return message; - }, - toAmino(message: ValidatorSigningInfo): ValidatorSigningInfoAmino { - const obj: any = {}; - obj.address = message.address === "" ? undefined : message.address; - obj.start_height = message.startHeight !== BigInt(0) ? message.startHeight.toString() : undefined; - obj.index_offset = message.indexOffset !== BigInt(0) ? message.indexOffset.toString() : undefined; - obj.jailed_until = message.jailedUntil ? Timestamp.toAmino(message.jailedUntil) : undefined; - obj.tombstoned = message.tombstoned === false ? undefined : message.tombstoned; - obj.missed_blocks_counter = message.missedBlocksCounter !== BigInt(0) ? message.missedBlocksCounter.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorSigningInfoAminoMsg): ValidatorSigningInfo { - return ValidatorSigningInfo.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoAminoMsg { - return { - type: "cosmos-sdk/ValidatorSigningInfo", - value: ValidatorSigningInfo.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorSigningInfoProtoMsg): ValidatorSigningInfo { - return ValidatorSigningInfo.decode(message.value); - }, - toProto(message: ValidatorSigningInfo): Uint8Array { - return ValidatorSigningInfo.encode(message).finish(); - }, - toProtoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo", - value: ValidatorSigningInfo.encode(message).finish() - }; - } -}; -function createBaseParams(): Params { - return { - signedBlocksWindow: BigInt(0), - minSignedPerWindow: new Uint8Array(), - downtimeJailDuration: Duration.fromPartial({}), - slashFractionDoubleSign: new Uint8Array(), - slashFractionDowntime: new Uint8Array() - }; -} -export const Params = { - typeUrl: "/cosmos.slashing.v1beta1.Params", - encode(message: Params, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.signedBlocksWindow !== BigInt(0)) { - writer.uint32(8).int64(message.signedBlocksWindow); - } - if (message.minSignedPerWindow.length !== 0) { - writer.uint32(18).bytes(message.minSignedPerWindow); - } - if (message.downtimeJailDuration !== undefined) { - Duration.encode(message.downtimeJailDuration, writer.uint32(26).fork()).ldelim(); - } - if (message.slashFractionDoubleSign.length !== 0) { - writer.uint32(34).bytes(message.slashFractionDoubleSign); - } - if (message.slashFractionDowntime.length !== 0) { - writer.uint32(42).bytes(message.slashFractionDowntime); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): Params { - const reader = input instanceof BinaryReader ? input : new BinaryReader(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: - message.signedBlocksWindow = reader.int64(); - break; - case 2: - message.minSignedPerWindow = reader.bytes(); - break; - case 3: - message.downtimeJailDuration = Duration.decode(reader, reader.uint32()); - break; - case 4: - message.slashFractionDoubleSign = reader.bytes(); - break; - case 5: - message.slashFractionDowntime = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - return { - signedBlocksWindow: isSet(object.signedBlocksWindow) ? BigInt(object.signedBlocksWindow.toString()) : BigInt(0), - minSignedPerWindow: isSet(object.minSignedPerWindow) ? bytesFromBase64(object.minSignedPerWindow) : new Uint8Array(), - downtimeJailDuration: isSet(object.downtimeJailDuration) ? Duration.fromJSON(object.downtimeJailDuration) : undefined, - slashFractionDoubleSign: isSet(object.slashFractionDoubleSign) ? bytesFromBase64(object.slashFractionDoubleSign) : new Uint8Array(), - slashFractionDowntime: isSet(object.slashFractionDowntime) ? bytesFromBase64(object.slashFractionDowntime) : new Uint8Array() - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.signedBlocksWindow !== undefined && (obj.signedBlocksWindow = (message.signedBlocksWindow || BigInt(0)).toString()); - message.minSignedPerWindow !== undefined && (obj.minSignedPerWindow = base64FromBytes(message.minSignedPerWindow !== undefined ? message.minSignedPerWindow : new Uint8Array())); - message.downtimeJailDuration !== undefined && (obj.downtimeJailDuration = message.downtimeJailDuration ? Duration.toJSON(message.downtimeJailDuration) : undefined); - message.slashFractionDoubleSign !== undefined && (obj.slashFractionDoubleSign = base64FromBytes(message.slashFractionDoubleSign !== undefined ? message.slashFractionDoubleSign : new Uint8Array())); - message.slashFractionDowntime !== undefined && (obj.slashFractionDowntime = base64FromBytes(message.slashFractionDowntime !== undefined ? message.slashFractionDowntime : new Uint8Array())); - return obj; - }, - fromPartial(object: Partial): Params { - const message = createBaseParams(); - message.signedBlocksWindow = object.signedBlocksWindow !== undefined && object.signedBlocksWindow !== null ? BigInt(object.signedBlocksWindow.toString()) : BigInt(0); - message.minSignedPerWindow = object.minSignedPerWindow ?? new Uint8Array(); - message.downtimeJailDuration = object.downtimeJailDuration !== undefined && object.downtimeJailDuration !== null ? Duration.fromPartial(object.downtimeJailDuration) : undefined; - message.slashFractionDoubleSign = object.slashFractionDoubleSign ?? new Uint8Array(); - message.slashFractionDowntime = object.slashFractionDowntime ?? new Uint8Array(); - return message; - }, - fromAmino(object: ParamsAmino): Params { - const message = createBaseParams(); - if (object.signed_blocks_window !== undefined && object.signed_blocks_window !== null) { - message.signedBlocksWindow = BigInt(object.signed_blocks_window); - } - if (object.min_signed_per_window !== undefined && object.min_signed_per_window !== null) { - message.minSignedPerWindow = bytesFromBase64(object.min_signed_per_window); - } - if (object.downtime_jail_duration !== undefined && object.downtime_jail_duration !== null) { - message.downtimeJailDuration = Duration.fromAmino(object.downtime_jail_duration); - } - if (object.slash_fraction_double_sign !== undefined && object.slash_fraction_double_sign !== null) { - message.slashFractionDoubleSign = bytesFromBase64(object.slash_fraction_double_sign); - } - if (object.slash_fraction_downtime !== undefined && object.slash_fraction_downtime !== null) { - message.slashFractionDowntime = bytesFromBase64(object.slash_fraction_downtime); - } - return message; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - obj.signed_blocks_window = message.signedBlocksWindow !== BigInt(0) ? message.signedBlocksWindow.toString() : undefined; - obj.min_signed_per_window = message.minSignedPerWindow ? base64FromBytes(message.minSignedPerWindow) : undefined; - obj.downtime_jail_duration = message.downtimeJailDuration ? Duration.toAmino(message.downtimeJailDuration) : undefined; - obj.slash_fraction_double_sign = message.slashFractionDoubleSign ? base64FromBytes(message.slashFractionDoubleSign) : undefined; - obj.slash_fraction_downtime = message.slashFractionDowntime ? base64FromBytes(message.slashFractionDowntime) : undefined; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "cosmos-sdk/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.Params", - value: Params.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts deleted file mode 100644 index 9f638256..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgUnjail } from "./tx"; -export const AminoConverter = { - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: "cosmos-sdk/MsgUnjail", - toAmino: MsgUnjail.toAmino, - fromAmino: MsgUnjail.fromAmino - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts deleted file mode 100644 index 9b87b671..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgUnjail } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.slashing.v1beta1.MsgUnjail", MsgUnjail]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.encode(value).finish() - }; - } - }, - withTypeUrl: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value - }; - } - }, - toJSON: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.toJSON(value) - }; - } - }, - fromJSON: { - unjail(value: any) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.fromJSON(value) - }; - } - }, - fromPartial: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 5a4b327d..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { BinaryReader } from "../../../binary"; -import { MsgUnjail, MsgUnjailResponse } from "./tx"; -/** Msg defines the slashing Msg service. */ -export interface Msg { - /** - * Unjail defines a method for unjailing a jailed validator, thus returning - * them into the bonded validator set, so they can begin receiving provisions - * and rewards again. - */ - unjail(request: MsgUnjail): Promise; -} -export class MsgClientImpl implements Msg { - private readonly rpc: Rpc; - constructor(rpc: Rpc) { - this.rpc = rpc; - this.unjail = this.unjail.bind(this); - } - unjail(request: MsgUnjail): Promise { - const data = MsgUnjail.encode(request).finish(); - const promise = this.rpc.request("cosmos.slashing.v1beta1.Msg", "Unjail", data); - return promise.then(data => MsgUnjailResponse.decode(new BinaryReader(data))); - } -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.ts b/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.ts deleted file mode 100644 index ec88a21f..00000000 --- a/packages/api/src/codegen/cosmos/slashing/v1beta1/tx.ts +++ /dev/null @@ -1,178 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjail { - validatorAddr: string; -} -export interface MsgUnjailProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail"; - value: Uint8Array; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailAmino { - validator_addr: string; -} -export interface MsgUnjailAminoMsg { - type: "cosmos-sdk/MsgUnjail"; - value: MsgUnjailAmino; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailSDKType { - validator_addr: string; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponse {} -export interface MsgUnjailResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse"; - value: Uint8Array; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseAmino {} -export interface MsgUnjailResponseAminoMsg { - type: "cosmos-sdk/MsgUnjailResponse"; - value: MsgUnjailResponseAmino; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseSDKType {} -function createBaseMsgUnjail(): MsgUnjail { - return { - validatorAddr: "" - }; -} -export const MsgUnjail = { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - encode(message: MsgUnjail, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgUnjail { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUnjail(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddr = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUnjail { - return { - validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : "" - }; - }, - toJSON(message: MsgUnjail): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, - fromPartial(object: Partial): MsgUnjail { - const message = createBaseMsgUnjail(); - message.validatorAddr = object.validatorAddr ?? ""; - return message; - }, - fromAmino(object: MsgUnjailAmino): MsgUnjail { - const message = createBaseMsgUnjail(); - if (object.validator_addr !== undefined && object.validator_addr !== null) { - message.validatorAddr = object.validator_addr; - } - return message; - }, - toAmino(message: MsgUnjail): MsgUnjailAmino { - const obj: any = {}; - obj.validator_addr = message.validatorAddr ?? ""; - return obj; - }, - fromAminoMsg(object: MsgUnjailAminoMsg): MsgUnjail { - return MsgUnjail.fromAmino(object.value); - }, - toAminoMsg(message: MsgUnjail): MsgUnjailAminoMsg { - return { - type: "cosmos-sdk/MsgUnjail", - value: MsgUnjail.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUnjailProtoMsg): MsgUnjail { - return MsgUnjail.decode(message.value); - }, - toProto(message: MsgUnjail): Uint8Array { - return MsgUnjail.encode(message).finish(); - }, - toProtoMsg(message: MsgUnjail): MsgUnjailProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.encode(message).finish() - }; - } -}; -function createBaseMsgUnjailResponse(): MsgUnjailResponse { - return {}; -} -export const MsgUnjailResponse = { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse", - encode(_: MsgUnjailResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { - return writer; - }, - decode(input: BinaryReader | Uint8Array, length?: number): MsgUnjailResponse { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUnjailResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUnjailResponse { - return {}; - }, - toJSON(_: MsgUnjailResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: Partial): MsgUnjailResponse { - const message = createBaseMsgUnjailResponse(); - return message; - }, - fromAmino(_: MsgUnjailResponseAmino): MsgUnjailResponse { - const message = createBaseMsgUnjailResponse(); - return message; - }, - toAmino(_: MsgUnjailResponse): MsgUnjailResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUnjailResponseAminoMsg): MsgUnjailResponse { - return MsgUnjailResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUnjailResponse): MsgUnjailResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUnjailResponse", - value: MsgUnjailResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUnjailResponseProtoMsg): MsgUnjailResponse { - return MsgUnjailResponse.decode(message.value); - }, - toProto(message: MsgUnjailResponse): Uint8Array { - return MsgUnjailResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUnjailResponse): MsgUnjailResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse", - value: MsgUnjailResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/packages/api/src/codegen/gogoproto/bundle.ts b/packages/api/src/codegen/gogoproto/bundle.ts deleted file mode 100644 index bc2c86ab..00000000 --- a/packages/api/src/codegen/gogoproto/bundle.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as _98 from "./gogo"; -export const gogoproto = { - ..._98 -}; \ No newline at end of file diff --git a/packages/api/src/codegen/google/bundle.ts b/packages/api/src/codegen/google/bundle.ts deleted file mode 100644 index c9d1e72f..00000000 --- a/packages/api/src/codegen/google/bundle.ts +++ /dev/null @@ -1,18 +0,0 @@ -import * as _99 from "./api/annotations"; -import * as _100 from "./api/http"; -import * as _101 from "./protobuf/descriptor"; -import * as _102 from "./protobuf/any"; -import * as _103 from "./protobuf/timestamp"; -import * as _104 from "./protobuf/duration"; -export namespace google { - export const api = { - ..._99, - ..._100 - }; - export const protobuf = { - ..._101, - ..._102, - ..._103, - ..._104 - }; -} \ No newline at end of file diff --git a/packages/api/src/codegen/ibc/bundle.ts b/packages/api/src/codegen/ibc/bundle.ts deleted file mode 100644 index 94f124a6..00000000 --- a/packages/api/src/codegen/ibc/bundle.ts +++ /dev/null @@ -1,58 +0,0 @@ -import * as _105 from "./applications/transfer/v1/genesis"; -import * as _106 from "./applications/transfer/v1/query"; -import * as _107 from "./applications/transfer/v1/transfer"; -import * as _108 from "./applications/transfer/v1/tx"; -import * as _109 from "./core/client/v1/client"; -import * as _110 from "./core/client/v1/genesis"; -import * as _111 from "./core/client/v1/query"; -import * as _112 from "./core/client/v1/tx"; -import * as _231 from "./applications/transfer/v1/tx.amino"; -import * as _232 from "./core/client/v1/tx.amino"; -import * as _233 from "./applications/transfer/v1/tx.registry"; -import * as _234 from "./core/client/v1/tx.registry"; -import * as _235 from "./applications/transfer/v1/query.lcd"; -import * as _236 from "./core/client/v1/query.lcd"; -import * as _237 from "./applications/transfer/v1/query.rpc.Query"; -import * as _238 from "./core/client/v1/query.rpc.Query"; -import * as _239 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _240 from "./core/client/v1/tx.rpc.msg"; -import * as _274 from "./lcd"; -import * as _275 from "./rpc.query"; -import * as _276 from "./rpc.tx"; -export namespace ibc { - export namespace applications { - export namespace transfer { - export const v1 = { - ..._105, - ..._106, - ..._107, - ..._108, - ..._231, - ..._233, - ..._235, - ..._237, - ..._239 - }; - } - } - export namespace core { - export namespace client { - export const v1 = { - ..._109, - ..._110, - ..._111, - ..._112, - ..._232, - ..._234, - ..._236, - ..._238, - ..._240 - }; - } - } - export const ClientFactory = { - ..._274, - ..._275, - ..._276 - }; -} \ No newline at end of file diff --git a/packages/api/src/codegen/index.ts b/packages/api/src/codegen/index.ts deleted file mode 100644 index 9c1ad26a..00000000 --- a/packages/api/src/codegen/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * This file and any referenced files were automatically generated by @cosmology/telescope@1.5.2 - * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain - * and run the transpile command or yarn proto command to regenerate this bundle. - */ - -export * from "./amino/bundle"; -export * from "./cosmos_proto/bundle"; -export * from "./cosmos/bundle"; -export * from "./cosmos/client"; -export * from "./gogoproto/bundle"; -export * from "./google/bundle"; -export * from "./ibc/bundle"; -export * from "./ibc/client"; -export * from "./regen/bundle"; -export * from "./regen/client"; -export * from "./tendermint/bundle"; -export * from "./varint"; -export * from "./utf8"; -export * from "./binary"; \ No newline at end of file diff --git a/packages/api/src/codegen/regen/bundle.ts b/packages/api/src/codegen/regen/bundle.ts deleted file mode 100644 index 8c36ebb4..00000000 --- a/packages/api/src/codegen/regen/bundle.ts +++ /dev/null @@ -1,152 +0,0 @@ -import * as _113 from "./data/v1/events"; -import * as _114 from "./data/v1/query"; -import * as _115 from "./data/v1/state"; -import * as _116 from "./data/v1/tx"; -import * as _117 from "./data/v1/types"; -import * as _118 from "./ecocredit/basket/v1/events"; -import * as _119 from "./ecocredit/basket/v1/query"; -import * as _120 from "./ecocredit/basket/v1/state"; -import * as _121 from "./ecocredit/basket/v1/tx"; -import * as _122 from "./ecocredit/basket/v1/types"; -import * as _123 from "./ecocredit/marketplace/v1/events"; -import * as _124 from "./ecocredit/marketplace/v1/query"; -import * as _125 from "./ecocredit/marketplace/v1/state"; -import * as _126 from "./ecocredit/marketplace/v1/tx"; -import * as _127 from "./ecocredit/marketplace/v1/types"; -import * as _128 from "./ecocredit/orderbook/v1alpha1/memory"; -import * as _129 from "./ecocredit/v1/events"; -import * as _130 from "./ecocredit/v1/query"; -import * as _131 from "./ecocredit/v1/state"; -import * as _132 from "./ecocredit/v1/tx"; -import * as _133 from "./ecocredit/v1/types"; -import * as _134 from "./ecocredit/v1alpha1/events"; -import * as _135 from "./ecocredit/v1alpha1/genesis"; -import * as _136 from "./ecocredit/v1alpha1/query"; -import * as _137 from "./ecocredit/v1alpha1/tx"; -import * as _138 from "./ecocredit/v1alpha1/types"; -import * as _139 from "./intertx/v1/query"; -import * as _140 from "./intertx/v1/tx"; -import * as _241 from "./data/v1/tx.amino"; -import * as _242 from "./ecocredit/basket/v1/tx.amino"; -import * as _243 from "./ecocredit/marketplace/v1/tx.amino"; -import * as _244 from "./ecocredit/v1/tx.amino"; -import * as _245 from "./ecocredit/v1alpha1/tx.amino"; -import * as _246 from "./intertx/v1/tx.amino"; -import * as _247 from "./data/v1/tx.registry"; -import * as _248 from "./ecocredit/basket/v1/tx.registry"; -import * as _249 from "./ecocredit/marketplace/v1/tx.registry"; -import * as _250 from "./ecocredit/v1/tx.registry"; -import * as _251 from "./ecocredit/v1alpha1/tx.registry"; -import * as _252 from "./intertx/v1/tx.registry"; -import * as _253 from "./data/v1/query.lcd"; -import * as _254 from "./ecocredit/basket/v1/query.lcd"; -import * as _255 from "./ecocredit/marketplace/v1/query.lcd"; -import * as _256 from "./ecocredit/v1/query.lcd"; -import * as _257 from "./ecocredit/v1alpha1/query.lcd"; -import * as _258 from "./intertx/v1/query.lcd"; -import * as _259 from "./data/v1/query.rpc.Query"; -import * as _260 from "./ecocredit/basket/v1/query.rpc.Query"; -import * as _261 from "./ecocredit/marketplace/v1/query.rpc.Query"; -import * as _262 from "./ecocredit/v1/query.rpc.Query"; -import * as _263 from "./ecocredit/v1alpha1/query.rpc.Query"; -import * as _264 from "./intertx/v1/query.rpc.Query"; -import * as _265 from "./data/v1/tx.rpc.msg"; -import * as _266 from "./ecocredit/basket/v1/tx.rpc.msg"; -import * as _267 from "./ecocredit/marketplace/v1/tx.rpc.msg"; -import * as _268 from "./ecocredit/v1/tx.rpc.msg"; -import * as _269 from "./ecocredit/v1alpha1/tx.rpc.msg"; -import * as _270 from "./intertx/v1/tx.rpc.msg"; -import * as _277 from "./lcd"; -import * as _278 from "./rpc.query"; -import * as _279 from "./rpc.tx"; -export namespace regen { - export namespace data { - export const v1 = { - ..._113, - ..._114, - ..._115, - ..._116, - ..._117, - ..._241, - ..._247, - ..._253, - ..._259, - ..._265 - }; - } - export namespace ecocredit { - export namespace basket { - export const v1 = { - ..._118, - ..._119, - ..._120, - ..._121, - ..._122, - ..._242, - ..._248, - ..._254, - ..._260, - ..._266 - }; - } - export namespace marketplace { - export const v1 = { - ..._123, - ..._124, - ..._125, - ..._126, - ..._127, - ..._243, - ..._249, - ..._255, - ..._261, - ..._267 - }; - } - export namespace orderbook { - export const v1alpha1 = { - ..._128 - }; - } - export const v1 = { - ..._129, - ..._130, - ..._131, - ..._132, - ..._133, - ..._244, - ..._250, - ..._256, - ..._262, - ..._268 - }; - export const v1alpha1 = { - ..._134, - ..._135, - ..._136, - ..._137, - ..._138, - ..._245, - ..._251, - ..._257, - ..._263, - ..._269 - }; - } - export namespace intertx { - export const v1 = { - ..._139, - ..._140, - ..._246, - ..._252, - ..._258, - ..._264, - ..._270 - }; - } - export const ClientFactory = { - ..._277, - ..._278, - ..._279 - }; -} \ No newline at end of file diff --git a/packages/api/src/codegen/tendermint/bundle.ts b/packages/api/src/codegen/tendermint/bundle.ts deleted file mode 100644 index bc07ef42..00000000 --- a/packages/api/src/codegen/tendermint/bundle.ts +++ /dev/null @@ -1,38 +0,0 @@ -import * as _141 from "./abci/types"; -import * as _142 from "./crypto/keys"; -import * as _143 from "./crypto/proof"; -import * as _144 from "./libs/bits/types"; -import * as _145 from "./p2p/types"; -import * as _146 from "./types/block"; -import * as _147 from "./types/evidence"; -import * as _148 from "./types/params"; -import * as _149 from "./types/types"; -import * as _150 from "./types/validator"; -import * as _151 from "./version/types"; -export namespace tendermint { - export const abci = { - ..._141 - }; - export const crypto = { - ..._142, - ..._143 - }; - export namespace libs { - export const bits = { - ..._144 - }; - } - export const p2p = { - ..._145 - }; - export const types = { - ..._146, - ..._147, - ..._148, - ..._149, - ..._150 - }; - export const version = { - ..._151 - }; -} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/app/module/v1alpha1/module.ts b/packages/api/src/cosmos/app/module/v1alpha1/module.ts similarity index 94% rename from packages/api/src/codegen/cosmos/app/module/v1alpha1/module.ts rename to packages/api/src/cosmos/app/module/v1alpha1/module.ts index 462ad6e1..3141e41c 100644 --- a/packages/api/src/codegen/cosmos/app/module/v1alpha1/module.ts +++ b/packages/api/src/cosmos/app/module/v1alpha1/module.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; /** Module is the module config object for the cosmos.app v1 app module. */ export interface Module {} @@ -35,13 +36,6 @@ export const Module = { } return message; }, - fromJSON(_: any): Module { - return {}; - }, - toJSON(_: Module): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): Module { const message = createBaseModule(); return message; diff --git a/packages/api/src/codegen/cosmos/app/v1alpha1/module.ts b/packages/api/src/cosmos/app/v1alpha1/module.ts similarity index 91% rename from packages/api/src/codegen/cosmos/app/v1alpha1/module.ts rename to packages/api/src/cosmos/app/v1alpha1/module.ts index 43aa136d..42f36950 100644 --- a/packages/api/src/codegen/cosmos/app/v1alpha1/module.ts +++ b/packages/api/src/cosmos/app/v1alpha1/module.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** ModuleDescriptor describes an app module. */ export interface ModuleDescriptor { /** @@ -246,28 +246,6 @@ export const ModuleDescriptor = { } return message; }, - fromJSON(object: any): ModuleDescriptor { - return { - goImport: isSet(object.goImport) ? String(object.goImport) : "", - usePackage: Array.isArray(object?.usePackage) ? object.usePackage.map((e: any) => PackageReference.fromJSON(e)) : [], - canMigrateFrom: Array.isArray(object?.canMigrateFrom) ? object.canMigrateFrom.map((e: any) => MigrateFromInfo.fromJSON(e)) : [] - }; - }, - toJSON(message: ModuleDescriptor): unknown { - const obj: any = {}; - message.goImport !== undefined && (obj.goImport = message.goImport); - if (message.usePackage) { - obj.usePackage = message.usePackage.map(e => e ? PackageReference.toJSON(e) : undefined); - } else { - obj.usePackage = []; - } - if (message.canMigrateFrom) { - obj.canMigrateFrom = message.canMigrateFrom.map(e => e ? MigrateFromInfo.toJSON(e) : undefined); - } else { - obj.canMigrateFrom = []; - } - return obj; - }, fromPartial(object: Partial): ModuleDescriptor { const message = createBaseModuleDescriptor(); message.goImport = object.goImport ?? ""; @@ -358,18 +336,6 @@ export const PackageReference = { } return message; }, - fromJSON(object: any): PackageReference { - return { - name: isSet(object.name) ? String(object.name) : "", - revision: isSet(object.revision) ? Number(object.revision) : 0 - }; - }, - toJSON(message: PackageReference): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.revision !== undefined && (obj.revision = Math.round(message.revision)); - return obj; - }, fromPartial(object: Partial): PackageReference { const message = createBasePackageReference(); message.name = object.name ?? ""; @@ -444,16 +410,6 @@ export const MigrateFromInfo = { } return message; }, - fromJSON(object: any): MigrateFromInfo { - return { - module: isSet(object.module) ? String(object.module) : "" - }; - }, - toJSON(message: MigrateFromInfo): unknown { - const obj: any = {}; - message.module !== undefined && (obj.module = message.module); - return obj; - }, fromPartial(object: Partial): MigrateFromInfo { const message = createBaseMigrateFromInfo(); message.module = object.module ?? ""; diff --git a/packages/api/src/codegen/cosmos/auth/v1beta1/auth.ts b/packages/api/src/cosmos/auth/v1beta1/auth.ts similarity index 83% rename from packages/api/src/codegen/cosmos/auth/v1beta1/auth.ts rename to packages/api/src/cosmos/auth/v1beta1/auth.ts index 8c7e85af..c66e90b5 100644 --- a/packages/api/src/codegen/cosmos/auth/v1beta1/auth.ts +++ b/packages/api/src/cosmos/auth/v1beta1/auth.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * BaseAccount defines a base account type. It contains all the necessary fields * for basic account functionality. Any custom account type should extend this @@ -156,22 +156,6 @@ export const BaseAccount = { } return message; }, - fromJSON(object: any): BaseAccount { - return { - address: isSet(object.address) ? String(object.address) : "", - pubKey: isSet(object.pubKey) ? Any.fromJSON(object.pubKey) : undefined, - accountNumber: isSet(object.accountNumber) ? BigInt(object.accountNumber.toString()) : BigInt(0), - sequence: isSet(object.sequence) ? BigInt(object.sequence.toString()) : BigInt(0) - }; - }, - toJSON(message: BaseAccount): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined); - message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || BigInt(0)).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): BaseAccount { const message = createBaseBaseAccount(); message.address = object.address ?? ""; @@ -271,24 +255,6 @@ export const ModuleAccount = { } return message; }, - fromJSON(object: any): ModuleAccount { - return { - baseAccount: isSet(object.baseAccount) ? BaseAccount.fromJSON(object.baseAccount) : undefined, - name: isSet(object.name) ? String(object.name) : "", - permissions: Array.isArray(object?.permissions) ? object.permissions.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: ModuleAccount): unknown { - const obj: any = {}; - message.baseAccount !== undefined && (obj.baseAccount = message.baseAccount ? BaseAccount.toJSON(message.baseAccount) : undefined); - message.name !== undefined && (obj.name = message.name); - if (message.permissions) { - obj.permissions = message.permissions.map(e => e); - } else { - obj.permissions = []; - } - return obj; - }, fromPartial(object: Partial): ModuleAccount { const message = createBaseModuleAccount(); message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; @@ -398,24 +364,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - maxMemoCharacters: isSet(object.maxMemoCharacters) ? BigInt(object.maxMemoCharacters.toString()) : BigInt(0), - txSigLimit: isSet(object.txSigLimit) ? BigInt(object.txSigLimit.toString()) : BigInt(0), - txSizeCostPerByte: isSet(object.txSizeCostPerByte) ? BigInt(object.txSizeCostPerByte.toString()) : BigInt(0), - sigVerifyCostEd25519: isSet(object.sigVerifyCostEd25519) ? BigInt(object.sigVerifyCostEd25519.toString()) : BigInt(0), - sigVerifyCostSecp256k1: isSet(object.sigVerifyCostSecp256k1) ? BigInt(object.sigVerifyCostSecp256k1.toString()) : BigInt(0) - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.maxMemoCharacters !== undefined && (obj.maxMemoCharacters = (message.maxMemoCharacters || BigInt(0)).toString()); - message.txSigLimit !== undefined && (obj.txSigLimit = (message.txSigLimit || BigInt(0)).toString()); - message.txSizeCostPerByte !== undefined && (obj.txSizeCostPerByte = (message.txSizeCostPerByte || BigInt(0)).toString()); - message.sigVerifyCostEd25519 !== undefined && (obj.sigVerifyCostEd25519 = (message.sigVerifyCostEd25519 || BigInt(0)).toString()); - message.sigVerifyCostSecp256k1 !== undefined && (obj.sigVerifyCostSecp256k1 = (message.sigVerifyCostSecp256k1 || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.maxMemoCharacters = object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null ? BigInt(object.maxMemoCharacters.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/cosmos/auth/v1beta1/genesis.ts b/packages/api/src/cosmos/auth/v1beta1/genesis.ts similarity index 86% rename from packages/api/src/codegen/cosmos/auth/v1beta1/genesis.ts rename to packages/api/src/cosmos/auth/v1beta1/genesis.ts index ee4869df..ac99436c 100644 --- a/packages/api/src/codegen/cosmos/auth/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/auth/v1beta1/genesis.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Params, ParamsAmino, ParamsSDKType } from "./auth"; import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** GenesisState defines the auth module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of the module. */ @@ -66,22 +66,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; diff --git a/packages/api/src/codegen/cosmos/auth/v1beta1/query.lcd.ts b/packages/api/src/cosmos/auth/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/auth/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/auth/v1beta1/query.lcd.ts index 48a724b1..0e3b96b6 100644 --- a/packages/api/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/auth/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/auth/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/auth/v1beta1/query.rpc.Query.ts index c57bccdd..7e8b1d2c 100644 --- a/packages/api/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/auth/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/auth/v1beta1/query.ts b/packages/api/src/cosmos/auth/v1beta1/query.ts similarity index 91% rename from packages/api/src/codegen/cosmos/auth/v1beta1/query.ts rename to packages/api/src/cosmos/auth/v1beta1/query.ts index 7e0c7e69..9ef13b7f 100644 --- a/packages/api/src/codegen/cosmos/auth/v1beta1/query.ts +++ b/packages/api/src/cosmos/auth/v1beta1/query.ts @@ -1,8 +1,9 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { Params, ParamsAmino, ParamsSDKType, BaseAccount, BaseAccountProtoMsg, BaseAccountSDKType, ModuleAccount, ModuleAccountProtoMsg, ModuleAccountSDKType } from "./auth"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** * QueryAccountsRequest is the request type for the Query/Accounts RPC method. * @@ -44,7 +45,7 @@ export interface QueryAccountsRequestSDKType { */ export interface QueryAccountsResponse { /** accounts are the existing accounts */ - accounts: (BaseAccount & Any)[] | Any[]; + accounts: (BaseAccount | Any)[] | Any[]; /** pagination defines the pagination in the response. */ pagination?: PageResponse; } @@ -104,7 +105,7 @@ export interface QueryAccountRequestSDKType { /** QueryAccountResponse is the response type for the Query/Account RPC method. */ export interface QueryAccountResponse { /** account defines the account of the corresponding address. */ - account?: (BaseAccount & Any) | undefined; + account?: BaseAccount | Any | undefined; } export interface QueryAccountResponseProtoMsg { typeUrl: "/cosmos.auth.v1beta1.QueryAccountResponse"; @@ -194,7 +195,7 @@ export interface QueryModuleAccountsRequestSDKType {} * Since: cosmos-sdk 0.46 */ export interface QueryModuleAccountsResponse { - accounts: (ModuleAccount & Any)[] | Any[]; + accounts: (ModuleAccount | Any)[] | Any[]; } export interface QueryModuleAccountsResponseProtoMsg { typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsResponse"; @@ -245,7 +246,7 @@ export interface QueryModuleAccountByNameRequestSDKType { } /** QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. */ export interface QueryModuleAccountByNameResponse { - account?: (ModuleAccount & Any) | undefined; + account?: ModuleAccount | Any | undefined; } export interface QueryModuleAccountByNameResponseProtoMsg { typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountByNameResponse"; @@ -556,16 +557,6 @@ export const QueryAccountsRequest = { } return message; }, - fromJSON(object: any): QueryAccountsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAccountsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAccountsRequest { const message = createBaseQueryAccountsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -642,22 +633,6 @@ export const QueryAccountsResponse = { } return message; }, - fromJSON(object: any): QueryAccountsResponse { - return { - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAccountsResponse): unknown { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.accounts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAccountsResponse { const message = createBaseQueryAccountsResponse(); message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; @@ -734,16 +709,6 @@ export const QueryAccountRequest = { } return message; }, - fromJSON(object: any): QueryAccountRequest { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: QueryAccountRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): QueryAccountRequest { const message = createBaseQueryAccountRequest(); message.address = object.address ?? ""; @@ -813,16 +778,6 @@ export const QueryAccountResponse = { } return message; }, - fromJSON(object: any): QueryAccountResponse { - return { - account: isSet(object.account) ? Any.fromJSON(object.account) : undefined - }; - }, - toJSON(message: QueryAccountResponse): unknown { - const obj: any = {}; - message.account !== undefined && (obj.account = message.account ? Any.toJSON(message.account) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAccountResponse { const message = createBaseQueryAccountResponse(); message.account = object.account !== undefined && object.account !== null ? Any.fromPartial(object.account) : undefined; @@ -884,13 +839,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -955,16 +903,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -1026,13 +964,6 @@ export const QueryModuleAccountsRequest = { } return message; }, - fromJSON(_: any): QueryModuleAccountsRequest { - return {}; - }, - toJSON(_: QueryModuleAccountsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryModuleAccountsRequest { const message = createBaseQueryModuleAccountsRequest(); return message; @@ -1097,20 +1028,6 @@ export const QueryModuleAccountsResponse = { } return message; }, - fromJSON(object: any): QueryModuleAccountsResponse { - return { - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryModuleAccountsResponse): unknown { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, fromPartial(object: Partial): QueryModuleAccountsResponse { const message = createBaseQueryModuleAccountsResponse(); message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; @@ -1182,16 +1099,6 @@ export const QueryModuleAccountByNameRequest = { } return message; }, - fromJSON(object: any): QueryModuleAccountByNameRequest { - return { - name: isSet(object.name) ? String(object.name) : "" - }; - }, - toJSON(message: QueryModuleAccountByNameRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, fromPartial(object: Partial): QueryModuleAccountByNameRequest { const message = createBaseQueryModuleAccountByNameRequest(); message.name = object.name ?? ""; @@ -1261,16 +1168,6 @@ export const QueryModuleAccountByNameResponse = { } return message; }, - fromJSON(object: any): QueryModuleAccountByNameResponse { - return { - account: isSet(object.account) ? Any.fromJSON(object.account) : undefined - }; - }, - toJSON(message: QueryModuleAccountByNameResponse): unknown { - const obj: any = {}; - message.account !== undefined && (obj.account = message.account ? Any.toJSON(message.account) : undefined); - return obj; - }, fromPartial(object: Partial): QueryModuleAccountByNameResponse { const message = createBaseQueryModuleAccountByNameResponse(); message.account = object.account !== undefined && object.account !== null ? Any.fromPartial(object.account) : undefined; @@ -1332,13 +1229,6 @@ export const Bech32PrefixRequest = { } return message; }, - fromJSON(_: any): Bech32PrefixRequest { - return {}; - }, - toJSON(_: Bech32PrefixRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): Bech32PrefixRequest { const message = createBaseBech32PrefixRequest(); return message; @@ -1403,16 +1293,6 @@ export const Bech32PrefixResponse = { } return message; }, - fromJSON(object: any): Bech32PrefixResponse { - return { - bech32Prefix: isSet(object.bech32Prefix) ? String(object.bech32Prefix) : "" - }; - }, - toJSON(message: Bech32PrefixResponse): unknown { - const obj: any = {}; - message.bech32Prefix !== undefined && (obj.bech32Prefix = message.bech32Prefix); - return obj; - }, fromPartial(object: Partial): Bech32PrefixResponse { const message = createBaseBech32PrefixResponse(); message.bech32Prefix = object.bech32Prefix ?? ""; @@ -1482,16 +1362,6 @@ export const AddressBytesToStringRequest = { } return message; }, - fromJSON(object: any): AddressBytesToStringRequest { - return { - addressBytes: isSet(object.addressBytes) ? bytesFromBase64(object.addressBytes) : new Uint8Array() - }; - }, - toJSON(message: AddressBytesToStringRequest): unknown { - const obj: any = {}; - message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): AddressBytesToStringRequest { const message = createBaseAddressBytesToStringRequest(); message.addressBytes = object.addressBytes ?? new Uint8Array(); @@ -1561,16 +1431,6 @@ export const AddressBytesToStringResponse = { } return message; }, - fromJSON(object: any): AddressBytesToStringResponse { - return { - addressString: isSet(object.addressString) ? String(object.addressString) : "" - }; - }, - toJSON(message: AddressBytesToStringResponse): unknown { - const obj: any = {}; - message.addressString !== undefined && (obj.addressString = message.addressString); - return obj; - }, fromPartial(object: Partial): AddressBytesToStringResponse { const message = createBaseAddressBytesToStringResponse(); message.addressString = object.addressString ?? ""; @@ -1640,16 +1500,6 @@ export const AddressStringToBytesRequest = { } return message; }, - fromJSON(object: any): AddressStringToBytesRequest { - return { - addressString: isSet(object.addressString) ? String(object.addressString) : "" - }; - }, - toJSON(message: AddressStringToBytesRequest): unknown { - const obj: any = {}; - message.addressString !== undefined && (obj.addressString = message.addressString); - return obj; - }, fromPartial(object: Partial): AddressStringToBytesRequest { const message = createBaseAddressStringToBytesRequest(); message.addressString = object.addressString ?? ""; @@ -1719,16 +1569,6 @@ export const AddressStringToBytesResponse = { } return message; }, - fromJSON(object: any): AddressStringToBytesResponse { - return { - addressBytes: isSet(object.addressBytes) ? bytesFromBase64(object.addressBytes) : new Uint8Array() - }; - }, - toJSON(message: AddressStringToBytesResponse): unknown { - const obj: any = {}; - message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): AddressStringToBytesResponse { const message = createBaseAddressStringToBytesResponse(); message.addressBytes = object.addressBytes ?? new Uint8Array(); @@ -1798,16 +1638,6 @@ export const QueryAccountAddressByIDRequest = { } return message; }, - fromJSON(object: any): QueryAccountAddressByIDRequest { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryAccountAddressByIDRequest): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryAccountAddressByIDRequest { const message = createBaseQueryAccountAddressByIDRequest(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -1877,16 +1707,6 @@ export const QueryAccountAddressByIDResponse = { } return message; }, - fromJSON(object: any): QueryAccountAddressByIDResponse { - return { - accountAddress: isSet(object.accountAddress) ? String(object.accountAddress) : "" - }; - }, - toJSON(message: QueryAccountAddressByIDResponse): unknown { - const obj: any = {}; - message.accountAddress !== undefined && (obj.accountAddress = message.accountAddress); - return obj; - }, fromPartial(object: Partial): QueryAccountAddressByIDResponse { const message = createBaseQueryAccountAddressByIDResponse(); message.accountAddress = object.accountAddress ?? ""; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/authz.ts b/packages/api/src/cosmos/authz/v1beta1/authz.ts similarity index 83% rename from packages/api/src/codegen/cosmos/authz/v1beta1/authz.ts rename to packages/api/src/cosmos/authz/v1beta1/authz.ts index fa504705..0cb8113d 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/authz.ts +++ b/packages/api/src/cosmos/authz/v1beta1/authz.ts @@ -1,9 +1,10 @@ +//@ts-nocheck import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { SendAuthorization, SendAuthorizationProtoMsg, SendAuthorizationSDKType } from "../../bank/v1beta1/authz"; import { StakeAuthorization, StakeAuthorizationProtoMsg, StakeAuthorizationSDKType } from "../../staking/v1beta1/authz"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** * GenericAuthorization gives the grantee unrestricted permissions to execute * the provided method on behalf of the granter's account. @@ -42,13 +43,13 @@ export interface GenericAuthorizationSDKType { * the provide method with expiration time. */ export interface Grant { - authorization?: (GenericAuthorization & SendAuthorization & StakeAuthorization & Any) | undefined; + authorization?: GenericAuthorization | SendAuthorization | StakeAuthorization | Any | undefined; /** * time when the grant will expire and will be pruned. If null, then the grant * doesn't have a time expiration (other conditions in `authorization` * may apply to invalidate the grant) */ - expiration?: Timestamp; + expiration?: Date; } export interface GrantProtoMsg { typeUrl: "/cosmos.authz.v1beta1.Grant"; @@ -80,7 +81,7 @@ export interface GrantAminoMsg { */ export interface GrantSDKType { authorization?: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration?: TimestampSDKType; + expiration?: Date; } /** * GrantAuthorization extends a grant with both the addresses of the grantee and granter. @@ -89,8 +90,8 @@ export interface GrantSDKType { export interface GrantAuthorization { granter: string; grantee: string; - authorization?: (GenericAuthorization & SendAuthorization & StakeAuthorization & Any) | undefined; - expiration?: Timestamp; + authorization?: GenericAuthorization | SendAuthorization | StakeAuthorization | Any | undefined; + expiration?: Date; } export interface GrantAuthorizationProtoMsg { typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization"; @@ -121,7 +122,7 @@ export interface GrantAuthorizationSDKType { granter: string; grantee: string; authorization?: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration?: TimestampSDKType; + expiration?: Date; } /** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ export interface GrantQueueItem { @@ -176,16 +177,6 @@ export const GenericAuthorization = { } return message; }, - fromJSON(object: any): GenericAuthorization { - return { - msg: isSet(object.msg) ? String(object.msg) : "" - }; - }, - toJSON(message: GenericAuthorization): unknown { - const obj: any = {}; - message.msg !== undefined && (obj.msg = message.msg); - return obj; - }, fromPartial(object: Partial): GenericAuthorization { const message = createBaseGenericAuthorization(); message.msg = object.msg ?? ""; @@ -238,7 +229,7 @@ export const Grant = { Any.encode((message.authorization as Any), writer.uint32(10).fork()).ldelim(); } if (message.expiration !== undefined) { - Timestamp.encode(message.expiration, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -253,7 +244,7 @@ export const Grant = { message.authorization = (Authorization_InterfaceDecoder(reader) as Any); break; case 2: - message.expiration = Timestamp.decode(reader, reader.uint32()); + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -262,22 +253,10 @@ export const Grant = { } return message; }, - fromJSON(object: any): Grant { - return { - authorization: isSet(object.authorization) ? Any.fromJSON(object.authorization) : undefined, - expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined - }; - }, - toJSON(message: Grant): unknown { - const obj: any = {}; - message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined); - message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString()); - return obj; - }, fromPartial(object: Partial): Grant { const message = createBaseGrant(); message.authorization = object.authorization !== undefined && object.authorization !== null ? Any.fromPartial(object.authorization) : undefined; - message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined; + message.expiration = object.expiration ?? undefined; return message; }, fromAmino(object: GrantAmino): Grant { @@ -286,14 +265,14 @@ export const Grant = { message.authorization = Authorization_FromAmino(object.authorization); } if (object.expiration !== undefined && object.expiration !== null) { - message.expiration = Timestamp.fromAmino(object.expiration); + message.expiration = fromTimestamp(Timestamp.fromAmino(object.expiration)); } return message; }, toAmino(message: Grant): GrantAmino { const obj: any = {}; obj.authorization = message.authorization ? Authorization_ToAmino((message.authorization as Any)) : undefined; - obj.expiration = message.expiration ? Timestamp.toAmino(message.expiration) : undefined; + obj.expiration = message.expiration ? Timestamp.toAmino(toTimestamp(message.expiration)) : undefined; return obj; }, fromAminoMsg(object: GrantAminoMsg): Grant { @@ -339,7 +318,7 @@ export const GrantAuthorization = { Any.encode((message.authorization as Any), writer.uint32(26).fork()).ldelim(); } if (message.expiration !== undefined) { - Timestamp.encode(message.expiration, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -360,7 +339,7 @@ export const GrantAuthorization = { message.authorization = (Authorization_InterfaceDecoder(reader) as Any); break; case 4: - message.expiration = Timestamp.decode(reader, reader.uint32()); + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -369,28 +348,12 @@ export const GrantAuthorization = { } return message; }, - fromJSON(object: any): GrantAuthorization { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "", - authorization: isSet(object.authorization) ? Any.fromJSON(object.authorization) : undefined, - expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined - }; - }, - toJSON(message: GrantAuthorization): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined); - message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString()); - return obj; - }, fromPartial(object: Partial): GrantAuthorization { const message = createBaseGrantAuthorization(); message.granter = object.granter ?? ""; message.grantee = object.grantee ?? ""; message.authorization = object.authorization !== undefined && object.authorization !== null ? Any.fromPartial(object.authorization) : undefined; - message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined; + message.expiration = object.expiration ?? undefined; return message; }, fromAmino(object: GrantAuthorizationAmino): GrantAuthorization { @@ -405,7 +368,7 @@ export const GrantAuthorization = { message.authorization = Authorization_FromAmino(object.authorization); } if (object.expiration !== undefined && object.expiration !== null) { - message.expiration = Timestamp.fromAmino(object.expiration); + message.expiration = fromTimestamp(Timestamp.fromAmino(object.expiration)); } return message; }, @@ -414,7 +377,7 @@ export const GrantAuthorization = { obj.granter = message.granter === "" ? undefined : message.granter; obj.grantee = message.grantee === "" ? undefined : message.grantee; obj.authorization = message.authorization ? Authorization_ToAmino((message.authorization as Any)) : undefined; - obj.expiration = message.expiration ? Timestamp.toAmino(message.expiration) : undefined; + obj.expiration = message.expiration ? Timestamp.toAmino(toTimestamp(message.expiration)) : undefined; return obj; }, fromAminoMsg(object: GrantAuthorizationAminoMsg): GrantAuthorization { @@ -469,20 +432,6 @@ export const GrantQueueItem = { } return message; }, - fromJSON(object: any): GrantQueueItem { - return { - msgTypeUrls: Array.isArray(object?.msgTypeUrls) ? object.msgTypeUrls.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: GrantQueueItem): unknown { - const obj: any = {}; - if (message.msgTypeUrls) { - obj.msgTypeUrls = message.msgTypeUrls.map(e => e); - } else { - obj.msgTypeUrls = []; - } - return obj; - }, fromPartial(object: Partial): GrantQueueItem { const message = createBaseGrantQueueItem(); message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || []; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/event.ts b/packages/api/src/cosmos/authz/v1beta1/event.ts similarity index 86% rename from packages/api/src/codegen/cosmos/authz/v1beta1/event.ts rename to packages/api/src/cosmos/authz/v1beta1/event.ts index cdf6602d..b459989a 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/event.ts +++ b/packages/api/src/cosmos/authz/v1beta1/event.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** EventGrant is emitted on Msg/Grant */ export interface EventGrant { /** Msg type URL for which an autorization is granted */ @@ -108,20 +108,6 @@ export const EventGrant = { } return message; }, - fromJSON(object: any): EventGrant { - return { - msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "", - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "" - }; - }, - toJSON(message: EventGrant): unknown { - const obj: any = {}; - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - return obj; - }, fromPartial(object: Partial): EventGrant { const message = createBaseEventGrant(); message.msgTypeUrl = object.msgTypeUrl ?? ""; @@ -215,20 +201,6 @@ export const EventRevoke = { } return message; }, - fromJSON(object: any): EventRevoke { - return { - msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "", - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "" - }; - }, - toJSON(message: EventRevoke): unknown { - const obj: any = {}; - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - return obj; - }, fromPartial(object: Partial): EventRevoke { const message = createBaseEventRevoke(); message.msgTypeUrl = object.msgTypeUrl ?? ""; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/genesis.ts b/packages/api/src/cosmos/authz/v1beta1/genesis.ts similarity index 87% rename from packages/api/src/codegen/cosmos/authz/v1beta1/genesis.ts rename to packages/api/src/cosmos/authz/v1beta1/genesis.ts index 2162ab34..f5ca9e5e 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/authz/v1beta1/genesis.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; import { BinaryReader, BinaryWriter } from "../../../binary"; /** GenesisState defines the authz module's genesis state. */ @@ -50,20 +51,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - authorization: Array.isArray(object?.authorization) ? object.authorization.map((e: any) => GrantAuthorization.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.authorization) { - obj.authorization = message.authorization.map(e => e ? GrantAuthorization.toJSON(e) : undefined); - } else { - obj.authorization = []; - } - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.authorization = object.authorization?.map(e => GrantAuthorization.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/query.lcd.ts b/packages/api/src/cosmos/authz/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/authz/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/authz/v1beta1/query.lcd.ts index e5699e32..4359f0d3 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/authz/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/authz/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/authz/v1beta1/query.rpc.Query.ts index f42a05d8..30d70e94 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/authz/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/query.ts b/packages/api/src/cosmos/authz/v1beta1/query.ts similarity index 87% rename from packages/api/src/codegen/cosmos/authz/v1beta1/query.ts rename to packages/api/src/cosmos/authz/v1beta1/query.ts index 99645180..f1459d3f 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/query.ts +++ b/packages/api/src/cosmos/authz/v1beta1/query.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Grant, GrantAmino, GrantSDKType, GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ export interface QueryGrantsRequest { granter: string; @@ -217,22 +217,6 @@ export const QueryGrantsRequest = { } return message; }, - fromJSON(object: any): QueryGrantsRequest { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "", - msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGrantsRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGrantsRequest { const message = createBaseQueryGrantsRequest(); message.granter = object.granter ?? ""; @@ -324,22 +308,6 @@ export const QueryGrantsResponse = { } return message; }, - fromJSON(object: any): QueryGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => Grant.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGrantsResponse): unknown { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGrantsResponse { const message = createBaseQueryGrantsResponse(); message.grants = object.grants?.map(e => Grant.fromPartial(e)) || []; @@ -423,18 +391,6 @@ export const QueryGranterGrantsRequest = { } return message; }, - fromJSON(object: any): QueryGranterGrantsRequest { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGranterGrantsRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGranterGrantsRequest { const message = createBaseQueryGranterGrantsRequest(); message.granter = object.granter ?? ""; @@ -516,22 +472,6 @@ export const QueryGranterGrantsResponse = { } return message; }, - fromJSON(object: any): QueryGranterGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => GrantAuthorization.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGranterGrantsResponse): unknown { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toJSON(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGranterGrantsResponse { const message = createBaseQueryGranterGrantsResponse(); message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; @@ -615,18 +555,6 @@ export const QueryGranteeGrantsRequest = { } return message; }, - fromJSON(object: any): QueryGranteeGrantsRequest { - return { - grantee: isSet(object.grantee) ? String(object.grantee) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGranteeGrantsRequest): unknown { - const obj: any = {}; - message.grantee !== undefined && (obj.grantee = message.grantee); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGranteeGrantsRequest { const message = createBaseQueryGranteeGrantsRequest(); message.grantee = object.grantee ?? ""; @@ -708,22 +636,6 @@ export const QueryGranteeGrantsResponse = { } return message; }, - fromJSON(object: any): QueryGranteeGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => GrantAuthorization.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGranteeGrantsResponse): unknown { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toJSON(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGranteeGrantsResponse { const message = createBaseQueryGranteeGrantsResponse(); message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/tx.amino.ts b/packages/api/src/cosmos/authz/v1beta1/tx.amino.ts similarity index 100% rename from packages/api/src/codegen/cosmos/authz/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/authz/v1beta1/tx.amino.ts diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/tx.registry.ts b/packages/api/src/cosmos/authz/v1beta1/tx.registry.ts similarity index 67% rename from packages/api/src/codegen/cosmos/authz/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/authz/v1beta1/tx.registry.ts index d4520627..bdcdde87 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/authz/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.authz.v1beta1.MsgGrant", MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke]]; @@ -47,46 +48,6 @@ export const MessageComposer = { }; } }, - toJSON: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.toJSON(value) - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.toJSON(value) - }; - }, - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.toJSON(value) - }; - } - }, - fromJSON: { - grant(value: any) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.fromJSON(value) - }; - }, - exec(value: any) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.fromJSON(value) - }; - }, - revoke(value: any) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.fromJSON(value) - }; - } - }, fromPartial: { grant(value: MsgGrant) { return { diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/authz/v1beta1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/authz/v1beta1/tx.rpc.msg.ts index 4f5bb4ee..d06c05f6 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/authz/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/authz/v1beta1/tx.ts b/packages/api/src/cosmos/authz/v1beta1/tx.ts similarity index 89% rename from packages/api/src/codegen/cosmos/authz/v1beta1/tx.ts rename to packages/api/src/cosmos/authz/v1beta1/tx.ts index 6b4b9c57..953488bd 100644 --- a/packages/api/src/codegen/cosmos/authz/v1beta1/tx.ts +++ b/packages/api/src/cosmos/authz/v1beta1/tx.ts @@ -1,7 +1,8 @@ +//@ts-nocheck import { Grant, GrantAmino, GrantSDKType } from "./authz"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** * MsgGrant is a request type for Grant method. It declares authorization to the grantee * on behalf of the granter with the provided expiration time. @@ -217,20 +218,6 @@ export const MsgGrant = { } return message; }, - fromJSON(object: any): MsgGrant { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "", - grant: isSet(object.grant) ? Grant.fromJSON(object.grant) : undefined - }; - }, - toJSON(message: MsgGrant): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.grant !== undefined && (obj.grant = message.grant ? Grant.toJSON(message.grant) : undefined); - return obj; - }, fromPartial(object: Partial): MsgGrant { const message = createBaseMsgGrant(); message.granter = object.granter ?? ""; @@ -310,20 +297,6 @@ export const MsgExecResponse = { } return message; }, - fromJSON(object: any): MsgExecResponse { - return { - results: Array.isArray(object?.results) ? object.results.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: MsgExecResponse): unknown { - const obj: any = {}; - if (message.results) { - obj.results = message.results.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.results = []; - } - return obj; - }, fromPartial(object: Partial): MsgExecResponse { const message = createBaseMsgExecResponse(); message.results = object.results?.map(e => e) || []; @@ -402,22 +375,6 @@ export const MsgExec = { } return message; }, - fromJSON(object: any): MsgExec { - return { - grantee: isSet(object.grantee) ? String(object.grantee) : "", - msgs: Array.isArray(object?.msgs) ? object.msgs.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgExec): unknown { - const obj: any = {}; - message.grantee !== undefined && (obj.grantee = message.grantee); - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, fromPartial(object: Partial): MsgExec { const message = createBaseMsgExec(); message.grantee = object.grantee ?? ""; @@ -486,13 +443,6 @@ export const MsgGrantResponse = { } return message; }, - fromJSON(_: any): MsgGrantResponse { - return {}; - }, - toJSON(_: MsgGrantResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgGrantResponse { const message = createBaseMsgGrantResponse(); return message; @@ -571,20 +521,6 @@ export const MsgRevoke = { } return message; }, - fromJSON(object: any): MsgRevoke { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "", - msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "" - }; - }, - toJSON(message: MsgRevoke): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - return obj; - }, fromPartial(object: Partial): MsgRevoke { const message = createBaseMsgRevoke(); message.granter = object.granter ?? ""; @@ -656,13 +592,6 @@ export const MsgRevokeResponse = { } return message; }, - fromJSON(_: any): MsgRevokeResponse { - return {}; - }, - toJSON(_: MsgRevokeResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRevokeResponse { const message = createBaseMsgRevokeResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/authz.ts b/packages/api/src/cosmos/bank/v1beta1/authz.ts similarity index 89% rename from packages/api/src/codegen/cosmos/bank/v1beta1/authz.ts rename to packages/api/src/cosmos/bank/v1beta1/authz.ts index 91031a6a..2ec7fcb5 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/authz.ts +++ b/packages/api/src/cosmos/bank/v1beta1/authz.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; /** @@ -68,20 +69,6 @@ export const SendAuthorization = { } return message; }, - fromJSON(object: any): SendAuthorization { - return { - spendLimit: Array.isArray(object?.spendLimit) ? object.spendLimit.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: SendAuthorization): unknown { - const obj: any = {}; - if (message.spendLimit) { - obj.spendLimit = message.spendLimit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.spendLimit = []; - } - return obj; - }, fromPartial(object: Partial): SendAuthorization { const message = createBaseSendAuthorization(); message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/bank.ts b/packages/api/src/cosmos/bank/v1beta1/bank.ts similarity index 86% rename from packages/api/src/codegen/cosmos/bank/v1beta1/bank.ts rename to packages/api/src/cosmos/bank/v1beta1/bank.ts index 40b19057..da93ef76 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/bank.ts +++ b/packages/api/src/cosmos/bank/v1beta1/bank.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** Params defines the parameters for the bank module. */ export interface Params { sendEnabled: SendEnabled[]; @@ -335,22 +335,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - sendEnabled: Array.isArray(object?.sendEnabled) ? object.sendEnabled.map((e: any) => SendEnabled.fromJSON(e)) : [], - defaultSendEnabled: isSet(object.defaultSendEnabled) ? Boolean(object.defaultSendEnabled) : false - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - if (message.sendEnabled) { - obj.sendEnabled = message.sendEnabled.map(e => e ? SendEnabled.toJSON(e) : undefined); - } else { - obj.sendEnabled = []; - } - message.defaultSendEnabled !== undefined && (obj.defaultSendEnabled = message.defaultSendEnabled); - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.sendEnabled = object.sendEnabled?.map(e => SendEnabled.fromPartial(e)) || []; @@ -434,18 +418,6 @@ export const SendEnabled = { } return message; }, - fromJSON(object: any): SendEnabled { - return { - denom: isSet(object.denom) ? String(object.denom) : "", - enabled: isSet(object.enabled) ? Boolean(object.enabled) : false - }; - }, - toJSON(message: SendEnabled): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.enabled !== undefined && (obj.enabled = message.enabled); - return obj; - }, fromPartial(object: Partial): SendEnabled { const message = createBaseSendEnabled(); message.denom = object.denom ?? ""; @@ -527,22 +499,6 @@ export const Input = { } return message; }, - fromJSON(object: any): Input { - return { - address: isSet(object.address) ? String(object.address) : "", - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Input): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, fromPartial(object: Partial): Input { const message = createBaseInput(); message.address = object.address ?? ""; @@ -626,22 +582,6 @@ export const Output = { } return message; }, - fromJSON(object: any): Output { - return { - address: isSet(object.address) ? String(object.address) : "", - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Output): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, fromPartial(object: Partial): Output { const message = createBaseOutput(); message.address = object.address ?? ""; @@ -719,20 +659,6 @@ export const Supply = { } return message; }, - fromJSON(object: any): Supply { - return { - total: Array.isArray(object?.total) ? object.total.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Supply): unknown { - const obj: any = {}; - if (message.total) { - obj.total = message.total.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, fromPartial(object: Partial): Supply { const message = createBaseSupply(); message.total = object.total?.map(e => Coin.fromPartial(e)) || []; @@ -818,24 +744,6 @@ export const DenomUnit = { } return message; }, - fromJSON(object: any): DenomUnit { - return { - denom: isSet(object.denom) ? String(object.denom) : "", - exponent: isSet(object.exponent) ? Number(object.exponent) : 0, - aliases: Array.isArray(object?.aliases) ? object.aliases.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: DenomUnit): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - if (message.aliases) { - obj.aliases = message.aliases.map(e => e); - } else { - obj.aliases = []; - } - return obj; - }, fromPartial(object: Partial): DenomUnit { const message = createBaseDenomUnit(); message.denom = object.denom ?? ""; @@ -966,34 +874,6 @@ export const Metadata = { } return message; }, - fromJSON(object: any): Metadata { - return { - description: isSet(object.description) ? String(object.description) : "", - denomUnits: Array.isArray(object?.denomUnits) ? object.denomUnits.map((e: any) => DenomUnit.fromJSON(e)) : [], - base: isSet(object.base) ? String(object.base) : "", - display: isSet(object.display) ? String(object.display) : "", - name: isSet(object.name) ? String(object.name) : "", - symbol: isSet(object.symbol) ? String(object.symbol) : "", - uri: isSet(object.uri) ? String(object.uri) : "", - uriHash: isSet(object.uriHash) ? String(object.uriHash) : "" - }; - }, - toJSON(message: Metadata): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description); - if (message.denomUnits) { - obj.denomUnits = message.denomUnits.map(e => e ? DenomUnit.toJSON(e) : undefined); - } else { - obj.denomUnits = []; - } - message.base !== undefined && (obj.base = message.base); - message.display !== undefined && (obj.display = message.display); - message.name !== undefined && (obj.name = message.name); - message.symbol !== undefined && (obj.symbol = message.symbol); - message.uri !== undefined && (obj.uri = message.uri); - message.uriHash !== undefined && (obj.uriHash = message.uriHash); - return obj; - }, fromPartial(object: Partial): Metadata { const message = createBaseMetadata(); message.description = object.description ?? ""; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/genesis.ts b/packages/api/src/cosmos/bank/v1beta1/genesis.ts similarity index 84% rename from packages/api/src/codegen/cosmos/bank/v1beta1/genesis.ts rename to packages/api/src/cosmos/bank/v1beta1/genesis.ts index 4e42195d..dfdcd06f 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/bank/v1beta1/genesis.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** GenesisState defines the bank module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of the module. */ @@ -132,34 +132,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Balance.fromJSON(e)) : [], - supply: Array.isArray(object?.supply) ? object.supply.map((e: any) => Coin.fromJSON(e)) : [], - denomMetadata: Array.isArray(object?.denomMetadata) ? object.denomMetadata.map((e: any) => Metadata.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.balances) { - obj.balances = message.balances.map(e => e ? Balance.toJSON(e) : undefined); - } else { - obj.balances = []; - } - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.supply = []; - } - if (message.denomMetadata) { - obj.denomMetadata = message.denomMetadata.map(e => e ? Metadata.toJSON(e) : undefined); - } else { - obj.denomMetadata = []; - } - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -257,22 +229,6 @@ export const Balance = { } return message; }, - fromJSON(object: any): Balance { - return { - address: isSet(object.address) ? String(object.address) : "", - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Balance): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, fromPartial(object: Partial): Balance { const message = createBaseBalance(); message.address = object.address ?? ""; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/query.lcd.ts b/packages/api/src/cosmos/bank/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/bank/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/bank/v1beta1/query.lcd.ts index 7d03aba4..7a74cb83 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/bank/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/bank/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/bank/v1beta1/query.rpc.Query.ts index b2ca89cb..c1841757 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/bank/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/query.ts b/packages/api/src/cosmos/bank/v1beta1/query.ts similarity index 89% rename from packages/api/src/codegen/cosmos/bank/v1beta1/query.ts rename to packages/api/src/cosmos/bank/v1beta1/query.ts index 7ed02ef3..448ec842 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/query.ts +++ b/packages/api/src/cosmos/bank/v1beta1/query.ts @@ -1,8 +1,8 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ export interface QueryBalanceRequest { /** address is the address to query balances for. */ @@ -629,18 +629,6 @@ export const QueryBalanceRequest = { } return message; }, - fromJSON(object: any): QueryBalanceRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: QueryBalanceRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): QueryBalanceRequest { const message = createBaseQueryBalanceRequest(); message.address = object.address ?? ""; @@ -715,16 +703,6 @@ export const QueryBalanceResponse = { } return message; }, - fromJSON(object: any): QueryBalanceResponse { - return { - balance: isSet(object.balance) ? Coin.fromJSON(object.balance) : undefined - }; - }, - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBalanceResponse { const message = createBaseQueryBalanceResponse(); message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined; @@ -801,18 +779,6 @@ export const QueryAllBalancesRequest = { } return message; }, - fromJSON(object: any): QueryAllBalancesRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllBalancesRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllBalancesRequest { const message = createBaseQueryAllBalancesRequest(); message.address = object.address ?? ""; @@ -894,22 +860,6 @@ export const QueryAllBalancesResponse = { } return message; }, - fromJSON(object: any): QueryAllBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Coin.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllBalancesResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllBalancesResponse { const message = createBaseQueryAllBalancesResponse(); message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; @@ -993,18 +943,6 @@ export const QuerySpendableBalancesRequest = { } return message; }, - fromJSON(object: any): QuerySpendableBalancesRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySpendableBalancesRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySpendableBalancesRequest { const message = createBaseQuerySpendableBalancesRequest(); message.address = object.address ?? ""; @@ -1086,22 +1024,6 @@ export const QuerySpendableBalancesResponse = { } return message; }, - fromJSON(object: any): QuerySpendableBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Coin.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySpendableBalancesResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySpendableBalancesResponse { const message = createBaseQuerySpendableBalancesResponse(); message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; @@ -1178,16 +1100,6 @@ export const QueryTotalSupplyRequest = { } return message; }, - fromJSON(object: any): QueryTotalSupplyRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryTotalSupplyRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryTotalSupplyRequest { const message = createBaseQueryTotalSupplyRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1264,22 +1176,6 @@ export const QueryTotalSupplyResponse = { } return message; }, - fromJSON(object: any): QueryTotalSupplyResponse { - return { - supply: Array.isArray(object?.supply) ? object.supply.map((e: any) => Coin.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryTotalSupplyResponse): unknown { - const obj: any = {}; - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.supply = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryTotalSupplyResponse { const message = createBaseQueryTotalSupplyResponse(); message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; @@ -1356,16 +1252,6 @@ export const QuerySupplyOfRequest = { } return message; }, - fromJSON(object: any): QuerySupplyOfRequest { - return { - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: QuerySupplyOfRequest): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): QuerySupplyOfRequest { const message = createBaseQuerySupplyOfRequest(); message.denom = object.denom ?? ""; @@ -1435,16 +1321,6 @@ export const QuerySupplyOfResponse = { } return message; }, - fromJSON(object: any): QuerySupplyOfResponse { - return { - amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined - }; - }, - toJSON(message: QuerySupplyOfResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySupplyOfResponse { const message = createBaseQuerySupplyOfResponse(); message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined; @@ -1506,13 +1382,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -1577,16 +1446,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -1656,16 +1515,6 @@ export const QueryDenomsMetadataRequest = { } return message; }, - fromJSON(object: any): QueryDenomsMetadataRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDenomsMetadataRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomsMetadataRequest { const message = createBaseQueryDenomsMetadataRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1742,22 +1591,6 @@ export const QueryDenomsMetadataResponse = { } return message; }, - fromJSON(object: any): QueryDenomsMetadataResponse { - return { - metadatas: Array.isArray(object?.metadatas) ? object.metadatas.map((e: any) => Metadata.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDenomsMetadataResponse): unknown { - const obj: any = {}; - if (message.metadatas) { - obj.metadatas = message.metadatas.map(e => e ? Metadata.toJSON(e) : undefined); - } else { - obj.metadatas = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomsMetadataResponse { const message = createBaseQueryDenomsMetadataResponse(); message.metadatas = object.metadatas?.map(e => Metadata.fromPartial(e)) || []; @@ -1834,16 +1667,6 @@ export const QueryDenomMetadataRequest = { } return message; }, - fromJSON(object: any): QueryDenomMetadataRequest { - return { - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: QueryDenomMetadataRequest): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): QueryDenomMetadataRequest { const message = createBaseQueryDenomMetadataRequest(); message.denom = object.denom ?? ""; @@ -1913,16 +1736,6 @@ export const QueryDenomMetadataResponse = { } return message; }, - fromJSON(object: any): QueryDenomMetadataResponse { - return { - metadata: isSet(object.metadata) ? Metadata.fromJSON(object.metadata) : undefined - }; - }, - toJSON(message: QueryDenomMetadataResponse): unknown { - const obj: any = {}; - message.metadata !== undefined && (obj.metadata = message.metadata ? Metadata.toJSON(message.metadata) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomMetadataResponse { const message = createBaseQueryDenomMetadataResponse(); message.metadata = object.metadata !== undefined && object.metadata !== null ? Metadata.fromPartial(object.metadata) : undefined; @@ -1999,18 +1812,6 @@ export const QueryDenomOwnersRequest = { } return message; }, - fromJSON(object: any): QueryDenomOwnersRequest { - return { - denom: isSet(object.denom) ? String(object.denom) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDenomOwnersRequest): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomOwnersRequest { const message = createBaseQueryDenomOwnersRequest(); message.denom = object.denom ?? ""; @@ -2092,18 +1893,6 @@ export const DenomOwner = { } return message; }, - fromJSON(object: any): DenomOwner { - return { - address: isSet(object.address) ? String(object.address) : "", - balance: isSet(object.balance) ? Coin.fromJSON(object.balance) : undefined - }; - }, - toJSON(message: DenomOwner): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined); - return obj; - }, fromPartial(object: Partial): DenomOwner { const message = createBaseDenomOwner(); message.address = object.address ?? ""; @@ -2185,22 +1974,6 @@ export const QueryDenomOwnersResponse = { } return message; }, - fromJSON(object: any): QueryDenomOwnersResponse { - return { - denomOwners: Array.isArray(object?.denomOwners) ? object.denomOwners.map((e: any) => DenomOwner.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDenomOwnersResponse): unknown { - const obj: any = {}; - if (message.denomOwners) { - obj.denomOwners = message.denomOwners.map(e => e ? DenomOwner.toJSON(e) : undefined); - } else { - obj.denomOwners = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomOwnersResponse { const message = createBaseQueryDenomOwnersResponse(); message.denomOwners = object.denomOwners?.map(e => DenomOwner.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.amino.ts b/packages/api/src/cosmos/bank/v1beta1/tx.amino.ts similarity index 96% rename from packages/api/src/codegen/cosmos/bank/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/bank/v1beta1/tx.amino.ts index 1aa9a243..340a07fc 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +++ b/packages/api/src/cosmos/bank/v1beta1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgSend, MsgMultiSend } from "./tx"; export const AminoConverter = { "/cosmos.bank.v1beta1.MsgSend": { diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.registry.ts b/packages/api/src/cosmos/bank/v1beta1/tx.registry.ts similarity index 68% rename from packages/api/src/codegen/cosmos/bank/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/bank/v1beta1/tx.registry.ts index cc9903e8..716f9d0d 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/bank/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgSend, MsgMultiSend } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.bank.v1beta1.MsgSend", MsgSend], ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend]]; @@ -35,34 +36,6 @@ export const MessageComposer = { }; } }, - toJSON: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.toJSON(value) - }; - }, - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.toJSON(value) - }; - } - }, - fromJSON: { - send(value: any) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.fromJSON(value) - }; - }, - multiSend(value: any) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.fromJSON(value) - }; - } - }, fromPartial: { send(value: MsgSend) { return { diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/bank/v1beta1/tx.rpc.msg.ts similarity index 98% rename from packages/api/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/bank/v1beta1/tx.rpc.msg.ts index 370da8f4..31fc997d 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/bank/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.ts b/packages/api/src/cosmos/bank/v1beta1/tx.ts similarity index 88% rename from packages/api/src/codegen/cosmos/bank/v1beta1/tx.ts rename to packages/api/src/cosmos/bank/v1beta1/tx.ts index 36477137..6349f1de 100644 --- a/packages/api/src/codegen/cosmos/bank/v1beta1/tx.ts +++ b/packages/api/src/cosmos/bank/v1beta1/tx.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { Input, InputAmino, InputSDKType, Output, OutputAmino, OutputSDKType } from "./bank"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** MsgSend represents a message to send coins from one account to another. */ export interface MsgSend { fromAddress: string; @@ -123,24 +123,6 @@ export const MsgSend = { } return message; }, - fromJSON(object: any): MsgSend { - return { - fromAddress: isSet(object.fromAddress) ? String(object.fromAddress) : "", - toAddress: isSet(object.toAddress) ? String(object.toAddress) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgSend): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): MsgSend { const message = createBaseMsgSend(); message.fromAddress = object.fromAddress ?? ""; @@ -214,13 +196,6 @@ export const MsgSendResponse = { } return message; }, - fromJSON(_: any): MsgSendResponse { - return {}; - }, - toJSON(_: MsgSendResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSendResponse { const message = createBaseMsgSendResponse(); return message; @@ -292,26 +267,6 @@ export const MsgMultiSend = { } return message; }, - fromJSON(object: any): MsgMultiSend { - return { - inputs: Array.isArray(object?.inputs) ? object.inputs.map((e: any) => Input.fromJSON(e)) : [], - outputs: Array.isArray(object?.outputs) ? object.outputs.map((e: any) => Output.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgMultiSend): unknown { - const obj: any = {}; - if (message.inputs) { - obj.inputs = message.inputs.map(e => e ? Input.toJSON(e) : undefined); - } else { - obj.inputs = []; - } - if (message.outputs) { - obj.outputs = message.outputs.map(e => e ? Output.toJSON(e) : undefined); - } else { - obj.outputs = []; - } - return obj; - }, fromPartial(object: Partial): MsgMultiSend { const message = createBaseMsgMultiSend(); message.inputs = object.inputs?.map(e => Input.fromPartial(e)) || []; @@ -382,13 +337,6 @@ export const MsgMultiSendResponse = { } return message; }, - fromJSON(_: any): MsgMultiSendResponse { - return {}; - }, - toJSON(_: MsgMultiSendResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgMultiSendResponse { const message = createBaseMsgMultiSendResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/base/abci/v1beta1/abci.ts b/packages/api/src/cosmos/base/abci/v1beta1/abci.ts similarity index 85% rename from packages/api/src/codegen/cosmos/base/abci/v1beta1/abci.ts rename to packages/api/src/cosmos/base/abci/v1beta1/abci.ts index bd5ed191..0c8944f4 100644 --- a/packages/api/src/codegen/cosmos/base/abci/v1beta1/abci.ts +++ b/packages/api/src/cosmos/base/abci/v1beta1/abci.ts @@ -1,7 +1,8 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { Event, EventAmino, EventSDKType } from "../../../../tendermint/abci/types"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** * TxResponse defines a structure containing relevant tx data and metadata. The * tags are stringified and the log is JSON decoded. @@ -585,48 +586,6 @@ export const TxResponse = { } return message; }, - fromJSON(object: any): TxResponse { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - txhash: isSet(object.txhash) ? String(object.txhash) : "", - codespace: isSet(object.codespace) ? String(object.codespace) : "", - code: isSet(object.code) ? Number(object.code) : 0, - data: isSet(object.data) ? String(object.data) : "", - rawLog: isSet(object.rawLog) ? String(object.rawLog) : "", - logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => ABCIMessageLog.fromJSON(e)) : [], - info: isSet(object.info) ? String(object.info) : "", - gasWanted: isSet(object.gasWanted) ? BigInt(object.gasWanted.toString()) : BigInt(0), - gasUsed: isSet(object.gasUsed) ? BigInt(object.gasUsed.toString()) : BigInt(0), - tx: isSet(object.tx) ? Any.fromJSON(object.tx) : undefined, - timestamp: isSet(object.timestamp) ? String(object.timestamp) : "", - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [] - }; - }, - toJSON(message: TxResponse): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.txhash !== undefined && (obj.txhash = message.txhash); - message.codespace !== undefined && (obj.codespace = message.codespace); - message.code !== undefined && (obj.code = Math.round(message.code)); - message.data !== undefined && (obj.data = message.data); - message.rawLog !== undefined && (obj.rawLog = message.rawLog); - if (message.logs) { - obj.logs = message.logs.map(e => e ? ABCIMessageLog.toJSON(e) : undefined); - } else { - obj.logs = []; - } - message.info !== undefined && (obj.info = message.info); - message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || BigInt(0)).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || BigInt(0)).toString()); - message.tx !== undefined && (obj.tx = message.tx ? Any.toJSON(message.tx) : undefined); - message.timestamp !== undefined && (obj.timestamp = message.timestamp); - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, fromPartial(object: Partial): TxResponse { const message = createBaseTxResponse(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -774,24 +733,6 @@ export const ABCIMessageLog = { } return message; }, - fromJSON(object: any): ABCIMessageLog { - return { - msgIndex: isSet(object.msgIndex) ? Number(object.msgIndex) : 0, - log: isSet(object.log) ? String(object.log) : "", - events: Array.isArray(object?.events) ? object.events.map((e: any) => StringEvent.fromJSON(e)) : [] - }; - }, - toJSON(message: ABCIMessageLog): unknown { - const obj: any = {}; - message.msgIndex !== undefined && (obj.msgIndex = Math.round(message.msgIndex)); - message.log !== undefined && (obj.log = message.log); - if (message.events) { - obj.events = message.events.map(e => e ? StringEvent.toJSON(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, fromPartial(object: Partial): ABCIMessageLog { const message = createBaseABCIMessageLog(); message.msgIndex = object.msgIndex ?? 0; @@ -880,22 +821,6 @@ export const StringEvent = { } return message; }, - fromJSON(object: any): StringEvent { - return { - type: isSet(object.type) ? String(object.type) : "", - attributes: Array.isArray(object?.attributes) ? object.attributes.map((e: any) => Attribute.fromJSON(e)) : [] - }; - }, - toJSON(message: StringEvent): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - if (message.attributes) { - obj.attributes = message.attributes.map(e => e ? Attribute.toJSON(e) : undefined); - } else { - obj.attributes = []; - } - return obj; - }, fromPartial(object: Partial): StringEvent { const message = createBaseStringEvent(); message.type = object.type ?? ""; @@ -979,18 +904,6 @@ export const Attribute = { } return message; }, - fromJSON(object: any): Attribute { - return { - key: isSet(object.key) ? String(object.key) : "", - value: isSet(object.value) ? String(object.value) : "" - }; - }, - toJSON(message: Attribute): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, fromPartial(object: Partial): Attribute { const message = createBaseAttribute(); message.key = object.key ?? ""; @@ -1072,18 +985,6 @@ export const GasInfo = { } return message; }, - fromJSON(object: any): GasInfo { - return { - gasWanted: isSet(object.gasWanted) ? BigInt(object.gasWanted.toString()) : BigInt(0), - gasUsed: isSet(object.gasUsed) ? BigInt(object.gasUsed.toString()) : BigInt(0) - }; - }, - toJSON(message: GasInfo): unknown { - const obj: any = {}; - message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || BigInt(0)).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): GasInfo { const message = createBaseGasInfo(); message.gasWanted = object.gasWanted !== undefined && object.gasWanted !== null ? BigInt(object.gasWanted.toString()) : BigInt(0); @@ -1179,30 +1080,6 @@ export const Result = { } return message; }, - fromJSON(object: any): Result { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - log: isSet(object.log) ? String(object.log) : "", - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [], - msgResponses: Array.isArray(object?.msgResponses) ? object.msgResponses.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: Result): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.log !== undefined && (obj.log = message.log); - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - if (message.msgResponses) { - obj.msgResponses = message.msgResponses.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.msgResponses = []; - } - return obj; - }, fromPartial(object: Partial): Result { const message = createBaseResult(); message.data = object.data ?? new Uint8Array(); @@ -1298,18 +1175,6 @@ export const SimulationResponse = { } return message; }, - fromJSON(object: any): SimulationResponse { - return { - gasInfo: isSet(object.gasInfo) ? GasInfo.fromJSON(object.gasInfo) : undefined, - result: isSet(object.result) ? Result.fromJSON(object.result) : undefined - }; - }, - toJSON(message: SimulationResponse): unknown { - const obj: any = {}; - message.gasInfo !== undefined && (obj.gasInfo = message.gasInfo ? GasInfo.toJSON(message.gasInfo) : undefined); - message.result !== undefined && (obj.result = message.result ? Result.toJSON(message.result) : undefined); - return obj; - }, fromPartial(object: Partial): SimulationResponse { const message = createBaseSimulationResponse(); message.gasInfo = object.gasInfo !== undefined && object.gasInfo !== null ? GasInfo.fromPartial(object.gasInfo) : undefined; @@ -1391,18 +1256,6 @@ export const MsgData = { } return message; }, - fromJSON(object: any): MsgData { - return { - msgType: isSet(object.msgType) ? String(object.msgType) : "", - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - toJSON(message: MsgData): unknown { - const obj: any = {}; - message.msgType !== undefined && (obj.msgType = message.msgType); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): MsgData { const message = createBaseMsgData(); message.msgType = object.msgType ?? ""; @@ -1484,26 +1337,6 @@ export const TxMsgData = { } return message; }, - fromJSON(object: any): TxMsgData { - return { - data: Array.isArray(object?.data) ? object.data.map((e: any) => MsgData.fromJSON(e)) : [], - msgResponses: Array.isArray(object?.msgResponses) ? object.msgResponses.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: TxMsgData): unknown { - const obj: any = {}; - if (message.data) { - obj.data = message.data.map(e => e ? MsgData.toJSON(e) : undefined); - } else { - obj.data = []; - } - if (message.msgResponses) { - obj.msgResponses = message.msgResponses.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.msgResponses = []; - } - return obj; - }, fromPartial(object: Partial): TxMsgData { const message = createBaseTxMsgData(); message.data = object.data?.map(e => MsgData.fromPartial(e)) || []; @@ -1617,30 +1450,6 @@ export const SearchTxsResult = { } return message; }, - fromJSON(object: any): SearchTxsResult { - return { - totalCount: isSet(object.totalCount) ? BigInt(object.totalCount.toString()) : BigInt(0), - count: isSet(object.count) ? BigInt(object.count.toString()) : BigInt(0), - pageNumber: isSet(object.pageNumber) ? BigInt(object.pageNumber.toString()) : BigInt(0), - pageTotal: isSet(object.pageTotal) ? BigInt(object.pageTotal.toString()) : BigInt(0), - limit: isSet(object.limit) ? BigInt(object.limit.toString()) : BigInt(0), - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => TxResponse.fromJSON(e)) : [] - }; - }, - toJSON(message: SearchTxsResult): unknown { - const obj: any = {}; - message.totalCount !== undefined && (obj.totalCount = (message.totalCount || BigInt(0)).toString()); - message.count !== undefined && (obj.count = (message.count || BigInt(0)).toString()); - message.pageNumber !== undefined && (obj.pageNumber = (message.pageNumber || BigInt(0)).toString()); - message.pageTotal !== undefined && (obj.pageTotal = (message.pageTotal || BigInt(0)).toString()); - message.limit !== undefined && (obj.limit = (message.limit || BigInt(0)).toString()); - if (message.txs) { - obj.txs = message.txs.map(e => e ? TxResponse.toJSON(e) : undefined); - } else { - obj.txs = []; - } - return obj; - }, fromPartial(object: Partial): SearchTxsResult { const message = createBaseSearchTxsResult(); message.totalCount = object.totalCount !== undefined && object.totalCount !== null ? BigInt(object.totalCount.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/cosmos/base/node/v1beta1/query.lcd.ts b/packages/api/src/cosmos/base/node/v1beta1/query.lcd.ts similarity index 97% rename from packages/api/src/codegen/cosmos/base/node/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/base/node/v1beta1/query.lcd.ts index 4d1214c6..3e7b6a5f 100644 --- a/packages/api/src/codegen/cosmos/base/node/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/base/node/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; import { ConfigRequest, ConfigResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/packages/api/src/codegen/cosmos/base/node/v1beta1/query.rpc.Service.ts b/packages/api/src/cosmos/base/node/v1beta1/query.rpc.Service.ts similarity index 98% rename from packages/api/src/codegen/cosmos/base/node/v1beta1/query.rpc.Service.ts rename to packages/api/src/cosmos/base/node/v1beta1/query.rpc.Service.ts index 1651b097..db6c9533 100644 --- a/packages/api/src/codegen/cosmos/base/node/v1beta1/query.rpc.Service.ts +++ b/packages/api/src/cosmos/base/node/v1beta1/query.rpc.Service.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/base/node/v1beta1/query.ts b/packages/api/src/cosmos/base/node/v1beta1/query.ts similarity index 91% rename from packages/api/src/codegen/cosmos/base/node/v1beta1/query.ts rename to packages/api/src/cosmos/base/node/v1beta1/query.ts index a4a99aa0..31aafa61 100644 --- a/packages/api/src/codegen/cosmos/base/node/v1beta1/query.ts +++ b/packages/api/src/cosmos/base/node/v1beta1/query.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** ConfigRequest defines the request structure for the Config gRPC query. */ export interface ConfigRequest {} export interface ConfigRequestProtoMsg { @@ -56,13 +56,6 @@ export const ConfigRequest = { } return message; }, - fromJSON(_: any): ConfigRequest { - return {}; - }, - toJSON(_: ConfigRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): ConfigRequest { const message = createBaseConfigRequest(); return message; @@ -127,16 +120,6 @@ export const ConfigResponse = { } return message; }, - fromJSON(object: any): ConfigResponse { - return { - minimumGasPrice: isSet(object.minimumGasPrice) ? String(object.minimumGasPrice) : "" - }; - }, - toJSON(message: ConfigResponse): unknown { - const obj: any = {}; - message.minimumGasPrice !== undefined && (obj.minimumGasPrice = message.minimumGasPrice); - return obj; - }, fromPartial(object: Partial): ConfigResponse { const message = createBaseConfigResponse(); message.minimumGasPrice = object.minimumGasPrice ?? ""; diff --git a/packages/api/src/codegen/cosmos/base/query/v1beta1/pagination.ts b/packages/api/src/cosmos/base/query/v1beta1/pagination.ts similarity index 87% rename from packages/api/src/codegen/cosmos/base/query/v1beta1/pagination.ts rename to packages/api/src/cosmos/base/query/v1beta1/pagination.ts index 0a99d0d5..7428fe06 100644 --- a/packages/api/src/codegen/cosmos/base/query/v1beta1/pagination.ts +++ b/packages/api/src/cosmos/base/query/v1beta1/pagination.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** * PageRequest is to be embedded in gRPC request messages for efficient * pagination. Ex: @@ -229,24 +230,6 @@ export const PageRequest = { } return message; }, - fromJSON(object: any): PageRequest { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - offset: isSet(object.offset) ? BigInt(object.offset.toString()) : BigInt(0), - limit: isSet(object.limit) ? BigInt(object.limit.toString()) : BigInt(0), - countTotal: isSet(object.countTotal) ? Boolean(object.countTotal) : false, - reverse: isSet(object.reverse) ? Boolean(object.reverse) : false - }; - }, - toJSON(message: PageRequest): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.offset !== undefined && (obj.offset = (message.offset || BigInt(0)).toString()); - message.limit !== undefined && (obj.limit = (message.limit || BigInt(0)).toString()); - message.countTotal !== undefined && (obj.countTotal = message.countTotal); - message.reverse !== undefined && (obj.reverse = message.reverse); - return obj; - }, fromPartial(object: Partial): PageRequest { const message = createBasePageRequest(); message.key = object.key ?? new Uint8Array(); @@ -343,18 +326,6 @@ export const PageResponse = { } return message; }, - fromJSON(object: any): PageResponse { - return { - nextKey: isSet(object.nextKey) ? bytesFromBase64(object.nextKey) : new Uint8Array(), - total: isSet(object.total) ? BigInt(object.total.toString()) : BigInt(0) - }; - }, - toJSON(message: PageResponse): unknown { - const obj: any = {}; - message.nextKey !== undefined && (obj.nextKey = base64FromBytes(message.nextKey !== undefined ? message.nextKey : new Uint8Array())); - message.total !== undefined && (obj.total = (message.total || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): PageResponse { const message = createBasePageResponse(); message.nextKey = object.nextKey ?? new Uint8Array(); diff --git a/packages/api/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/packages/api/src/cosmos/base/reflection/v2alpha1/reflection.ts similarity index 89% rename from packages/api/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts rename to packages/api/src/cosmos/base/reflection/v2alpha1/reflection.ts index 2299f569..85b1d03e 100644 --- a/packages/api/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +++ b/packages/api/src/cosmos/base/reflection/v2alpha1/reflection.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** AppDescriptor describes a cosmos-sdk based application */ export interface AppDescriptor { /** @@ -765,26 +765,6 @@ export const AppDescriptor = { } return message; }, - fromJSON(object: any): AppDescriptor { - return { - authn: isSet(object.authn) ? AuthnDescriptor.fromJSON(object.authn) : undefined, - chain: isSet(object.chain) ? ChainDescriptor.fromJSON(object.chain) : undefined, - codec: isSet(object.codec) ? CodecDescriptor.fromJSON(object.codec) : undefined, - configuration: isSet(object.configuration) ? ConfigurationDescriptor.fromJSON(object.configuration) : undefined, - queryServices: isSet(object.queryServices) ? QueryServicesDescriptor.fromJSON(object.queryServices) : undefined, - tx: isSet(object.tx) ? TxDescriptor.fromJSON(object.tx) : undefined - }; - }, - toJSON(message: AppDescriptor): unknown { - const obj: any = {}; - message.authn !== undefined && (obj.authn = message.authn ? AuthnDescriptor.toJSON(message.authn) : undefined); - message.chain !== undefined && (obj.chain = message.chain ? ChainDescriptor.toJSON(message.chain) : undefined); - message.codec !== undefined && (obj.codec = message.codec ? CodecDescriptor.toJSON(message.codec) : undefined); - message.configuration !== undefined && (obj.configuration = message.configuration ? ConfigurationDescriptor.toJSON(message.configuration) : undefined); - message.queryServices !== undefined && (obj.queryServices = message.queryServices ? QueryServicesDescriptor.toJSON(message.queryServices) : undefined); - message.tx !== undefined && (obj.tx = message.tx ? TxDescriptor.toJSON(message.tx) : undefined); - return obj; - }, fromPartial(object: Partial): AppDescriptor { const message = createBaseAppDescriptor(); message.authn = object.authn !== undefined && object.authn !== null ? AuthnDescriptor.fromPartial(object.authn) : undefined; @@ -886,22 +866,6 @@ export const TxDescriptor = { } return message; }, - fromJSON(object: any): TxDescriptor { - return { - fullname: isSet(object.fullname) ? String(object.fullname) : "", - msgs: Array.isArray(object?.msgs) ? object.msgs.map((e: any) => MsgDescriptor.fromJSON(e)) : [] - }; - }, - toJSON(message: TxDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? MsgDescriptor.toJSON(e) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, fromPartial(object: Partial): TxDescriptor { const message = createBaseTxDescriptor(); message.fullname = object.fullname ?? ""; @@ -978,20 +942,6 @@ export const AuthnDescriptor = { } return message; }, - fromJSON(object: any): AuthnDescriptor { - return { - signModes: Array.isArray(object?.signModes) ? object.signModes.map((e: any) => SigningModeDescriptor.fromJSON(e)) : [] - }; - }, - toJSON(message: AuthnDescriptor): unknown { - const obj: any = {}; - if (message.signModes) { - obj.signModes = message.signModes.map(e => e ? SigningModeDescriptor.toJSON(e) : undefined); - } else { - obj.signModes = []; - } - return obj; - }, fromPartial(object: Partial): AuthnDescriptor { const message = createBaseAuthnDescriptor(); message.signModes = object.signModes?.map(e => SigningModeDescriptor.fromPartial(e)) || []; @@ -1077,20 +1027,6 @@ export const SigningModeDescriptor = { } return message; }, - fromJSON(object: any): SigningModeDescriptor { - return { - name: isSet(object.name) ? String(object.name) : "", - number: isSet(object.number) ? Number(object.number) : 0, - authnInfoProviderMethodFullname: isSet(object.authnInfoProviderMethodFullname) ? String(object.authnInfoProviderMethodFullname) : "" - }; - }, - toJSON(message: SigningModeDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.number !== undefined && (obj.number = Math.round(message.number)); - message.authnInfoProviderMethodFullname !== undefined && (obj.authnInfoProviderMethodFullname = message.authnInfoProviderMethodFullname); - return obj; - }, fromPartial(object: Partial): SigningModeDescriptor { const message = createBaseSigningModeDescriptor(); message.name = object.name ?? ""; @@ -1170,16 +1106,6 @@ export const ChainDescriptor = { } return message; }, - fromJSON(object: any): ChainDescriptor { - return { - id: isSet(object.id) ? String(object.id) : "" - }; - }, - toJSON(message: ChainDescriptor): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - return obj; - }, fromPartial(object: Partial): ChainDescriptor { const message = createBaseChainDescriptor(); message.id = object.id ?? ""; @@ -1249,20 +1175,6 @@ export const CodecDescriptor = { } return message; }, - fromJSON(object: any): CodecDescriptor { - return { - interfaces: Array.isArray(object?.interfaces) ? object.interfaces.map((e: any) => InterfaceDescriptor.fromJSON(e)) : [] - }; - }, - toJSON(message: CodecDescriptor): unknown { - const obj: any = {}; - if (message.interfaces) { - obj.interfaces = message.interfaces.map(e => e ? InterfaceDescriptor.toJSON(e) : undefined); - } else { - obj.interfaces = []; - } - return obj; - }, fromPartial(object: Partial): CodecDescriptor { const message = createBaseCodecDescriptor(); message.interfaces = object.interfaces?.map(e => InterfaceDescriptor.fromPartial(e)) || []; @@ -1348,28 +1260,6 @@ export const InterfaceDescriptor = { } return message; }, - fromJSON(object: any): InterfaceDescriptor { - return { - fullname: isSet(object.fullname) ? String(object.fullname) : "", - interfaceAcceptingMessages: Array.isArray(object?.interfaceAcceptingMessages) ? object.interfaceAcceptingMessages.map((e: any) => InterfaceAcceptingMessageDescriptor.fromJSON(e)) : [], - interfaceImplementers: Array.isArray(object?.interfaceImplementers) ? object.interfaceImplementers.map((e: any) => InterfaceImplementerDescriptor.fromJSON(e)) : [] - }; - }, - toJSON(message: InterfaceDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - if (message.interfaceAcceptingMessages) { - obj.interfaceAcceptingMessages = message.interfaceAcceptingMessages.map(e => e ? InterfaceAcceptingMessageDescriptor.toJSON(e) : undefined); - } else { - obj.interfaceAcceptingMessages = []; - } - if (message.interfaceImplementers) { - obj.interfaceImplementers = message.interfaceImplementers.map(e => e ? InterfaceImplementerDescriptor.toJSON(e) : undefined); - } else { - obj.interfaceImplementers = []; - } - return obj; - }, fromPartial(object: Partial): InterfaceDescriptor { const message = createBaseInterfaceDescriptor(); message.fullname = object.fullname ?? ""; @@ -1460,18 +1350,6 @@ export const InterfaceImplementerDescriptor = { } return message; }, - fromJSON(object: any): InterfaceImplementerDescriptor { - return { - fullname: isSet(object.fullname) ? String(object.fullname) : "", - typeUrl: isSet(object.typeUrl) ? String(object.typeUrl) : "" - }; - }, - toJSON(message: InterfaceImplementerDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - message.typeUrl !== undefined && (obj.typeUrl = message.typeUrl); - return obj; - }, fromPartial(object: Partial): InterfaceImplementerDescriptor { const message = createBaseInterfaceImplementerDescriptor(); message.fullname = object.fullname ?? ""; @@ -1553,22 +1431,6 @@ export const InterfaceAcceptingMessageDescriptor = { } return message; }, - fromJSON(object: any): InterfaceAcceptingMessageDescriptor { - return { - fullname: isSet(object.fullname) ? String(object.fullname) : "", - fieldDescriptorNames: Array.isArray(object?.fieldDescriptorNames) ? object.fieldDescriptorNames.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: InterfaceAcceptingMessageDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - if (message.fieldDescriptorNames) { - obj.fieldDescriptorNames = message.fieldDescriptorNames.map(e => e); - } else { - obj.fieldDescriptorNames = []; - } - return obj; - }, fromPartial(object: Partial): InterfaceAcceptingMessageDescriptor { const message = createBaseInterfaceAcceptingMessageDescriptor(); message.fullname = object.fullname ?? ""; @@ -1645,16 +1507,6 @@ export const ConfigurationDescriptor = { } return message; }, - fromJSON(object: any): ConfigurationDescriptor { - return { - bech32AccountAddressPrefix: isSet(object.bech32AccountAddressPrefix) ? String(object.bech32AccountAddressPrefix) : "" - }; - }, - toJSON(message: ConfigurationDescriptor): unknown { - const obj: any = {}; - message.bech32AccountAddressPrefix !== undefined && (obj.bech32AccountAddressPrefix = message.bech32AccountAddressPrefix); - return obj; - }, fromPartial(object: Partial): ConfigurationDescriptor { const message = createBaseConfigurationDescriptor(); message.bech32AccountAddressPrefix = object.bech32AccountAddressPrefix ?? ""; @@ -1724,16 +1576,6 @@ export const MsgDescriptor = { } return message; }, - fromJSON(object: any): MsgDescriptor { - return { - msgTypeUrl: isSet(object.msgTypeUrl) ? String(object.msgTypeUrl) : "" - }; - }, - toJSON(message: MsgDescriptor): unknown { - const obj: any = {}; - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - return obj; - }, fromPartial(object: Partial): MsgDescriptor { const message = createBaseMsgDescriptor(); message.msgTypeUrl = object.msgTypeUrl ?? ""; @@ -1795,13 +1637,6 @@ export const GetAuthnDescriptorRequest = { } return message; }, - fromJSON(_: any): GetAuthnDescriptorRequest { - return {}; - }, - toJSON(_: GetAuthnDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): GetAuthnDescriptorRequest { const message = createBaseGetAuthnDescriptorRequest(); return message; @@ -1866,16 +1701,6 @@ export const GetAuthnDescriptorResponse = { } return message; }, - fromJSON(object: any): GetAuthnDescriptorResponse { - return { - authn: isSet(object.authn) ? AuthnDescriptor.fromJSON(object.authn) : undefined - }; - }, - toJSON(message: GetAuthnDescriptorResponse): unknown { - const obj: any = {}; - message.authn !== undefined && (obj.authn = message.authn ? AuthnDescriptor.toJSON(message.authn) : undefined); - return obj; - }, fromPartial(object: Partial): GetAuthnDescriptorResponse { const message = createBaseGetAuthnDescriptorResponse(); message.authn = object.authn !== undefined && object.authn !== null ? AuthnDescriptor.fromPartial(object.authn) : undefined; @@ -1937,13 +1762,6 @@ export const GetChainDescriptorRequest = { } return message; }, - fromJSON(_: any): GetChainDescriptorRequest { - return {}; - }, - toJSON(_: GetChainDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): GetChainDescriptorRequest { const message = createBaseGetChainDescriptorRequest(); return message; @@ -2008,16 +1826,6 @@ export const GetChainDescriptorResponse = { } return message; }, - fromJSON(object: any): GetChainDescriptorResponse { - return { - chain: isSet(object.chain) ? ChainDescriptor.fromJSON(object.chain) : undefined - }; - }, - toJSON(message: GetChainDescriptorResponse): unknown { - const obj: any = {}; - message.chain !== undefined && (obj.chain = message.chain ? ChainDescriptor.toJSON(message.chain) : undefined); - return obj; - }, fromPartial(object: Partial): GetChainDescriptorResponse { const message = createBaseGetChainDescriptorResponse(); message.chain = object.chain !== undefined && object.chain !== null ? ChainDescriptor.fromPartial(object.chain) : undefined; @@ -2079,13 +1887,6 @@ export const GetCodecDescriptorRequest = { } return message; }, - fromJSON(_: any): GetCodecDescriptorRequest { - return {}; - }, - toJSON(_: GetCodecDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): GetCodecDescriptorRequest { const message = createBaseGetCodecDescriptorRequest(); return message; @@ -2150,16 +1951,6 @@ export const GetCodecDescriptorResponse = { } return message; }, - fromJSON(object: any): GetCodecDescriptorResponse { - return { - codec: isSet(object.codec) ? CodecDescriptor.fromJSON(object.codec) : undefined - }; - }, - toJSON(message: GetCodecDescriptorResponse): unknown { - const obj: any = {}; - message.codec !== undefined && (obj.codec = message.codec ? CodecDescriptor.toJSON(message.codec) : undefined); - return obj; - }, fromPartial(object: Partial): GetCodecDescriptorResponse { const message = createBaseGetCodecDescriptorResponse(); message.codec = object.codec !== undefined && object.codec !== null ? CodecDescriptor.fromPartial(object.codec) : undefined; @@ -2221,13 +2012,6 @@ export const GetConfigurationDescriptorRequest = { } return message; }, - fromJSON(_: any): GetConfigurationDescriptorRequest { - return {}; - }, - toJSON(_: GetConfigurationDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): GetConfigurationDescriptorRequest { const message = createBaseGetConfigurationDescriptorRequest(); return message; @@ -2292,16 +2076,6 @@ export const GetConfigurationDescriptorResponse = { } return message; }, - fromJSON(object: any): GetConfigurationDescriptorResponse { - return { - config: isSet(object.config) ? ConfigurationDescriptor.fromJSON(object.config) : undefined - }; - }, - toJSON(message: GetConfigurationDescriptorResponse): unknown { - const obj: any = {}; - message.config !== undefined && (obj.config = message.config ? ConfigurationDescriptor.toJSON(message.config) : undefined); - return obj; - }, fromPartial(object: Partial): GetConfigurationDescriptorResponse { const message = createBaseGetConfigurationDescriptorResponse(); message.config = object.config !== undefined && object.config !== null ? ConfigurationDescriptor.fromPartial(object.config) : undefined; @@ -2363,13 +2137,6 @@ export const GetQueryServicesDescriptorRequest = { } return message; }, - fromJSON(_: any): GetQueryServicesDescriptorRequest { - return {}; - }, - toJSON(_: GetQueryServicesDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): GetQueryServicesDescriptorRequest { const message = createBaseGetQueryServicesDescriptorRequest(); return message; @@ -2434,16 +2201,6 @@ export const GetQueryServicesDescriptorResponse = { } return message; }, - fromJSON(object: any): GetQueryServicesDescriptorResponse { - return { - queries: isSet(object.queries) ? QueryServicesDescriptor.fromJSON(object.queries) : undefined - }; - }, - toJSON(message: GetQueryServicesDescriptorResponse): unknown { - const obj: any = {}; - message.queries !== undefined && (obj.queries = message.queries ? QueryServicesDescriptor.toJSON(message.queries) : undefined); - return obj; - }, fromPartial(object: Partial): GetQueryServicesDescriptorResponse { const message = createBaseGetQueryServicesDescriptorResponse(); message.queries = object.queries !== undefined && object.queries !== null ? QueryServicesDescriptor.fromPartial(object.queries) : undefined; @@ -2505,13 +2262,6 @@ export const GetTxDescriptorRequest = { } return message; }, - fromJSON(_: any): GetTxDescriptorRequest { - return {}; - }, - toJSON(_: GetTxDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): GetTxDescriptorRequest { const message = createBaseGetTxDescriptorRequest(); return message; @@ -2576,16 +2326,6 @@ export const GetTxDescriptorResponse = { } return message; }, - fromJSON(object: any): GetTxDescriptorResponse { - return { - tx: isSet(object.tx) ? TxDescriptor.fromJSON(object.tx) : undefined - }; - }, - toJSON(message: GetTxDescriptorResponse): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? TxDescriptor.toJSON(message.tx) : undefined); - return obj; - }, fromPartial(object: Partial): GetTxDescriptorResponse { const message = createBaseGetTxDescriptorResponse(); message.tx = object.tx !== undefined && object.tx !== null ? TxDescriptor.fromPartial(object.tx) : undefined; @@ -2655,20 +2395,6 @@ export const QueryServicesDescriptor = { } return message; }, - fromJSON(object: any): QueryServicesDescriptor { - return { - queryServices: Array.isArray(object?.queryServices) ? object.queryServices.map((e: any) => QueryServiceDescriptor.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryServicesDescriptor): unknown { - const obj: any = {}; - if (message.queryServices) { - obj.queryServices = message.queryServices.map(e => e ? QueryServiceDescriptor.toJSON(e) : undefined); - } else { - obj.queryServices = []; - } - return obj; - }, fromPartial(object: Partial): QueryServicesDescriptor { const message = createBaseQueryServicesDescriptor(); message.queryServices = object.queryServices?.map(e => QueryServiceDescriptor.fromPartial(e)) || []; @@ -2754,24 +2480,6 @@ export const QueryServiceDescriptor = { } return message; }, - fromJSON(object: any): QueryServiceDescriptor { - return { - fullname: isSet(object.fullname) ? String(object.fullname) : "", - isModule: isSet(object.isModule) ? Boolean(object.isModule) : false, - methods: Array.isArray(object?.methods) ? object.methods.map((e: any) => QueryMethodDescriptor.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryServiceDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - message.isModule !== undefined && (obj.isModule = message.isModule); - if (message.methods) { - obj.methods = message.methods.map(e => e ? QueryMethodDescriptor.toJSON(e) : undefined); - } else { - obj.methods = []; - } - return obj; - }, fromPartial(object: Partial): QueryServiceDescriptor { const message = createBaseQueryServiceDescriptor(); message.fullname = object.fullname ?? ""; @@ -2860,18 +2568,6 @@ export const QueryMethodDescriptor = { } return message; }, - fromJSON(object: any): QueryMethodDescriptor { - return { - name: isSet(object.name) ? String(object.name) : "", - fullQueryPath: isSet(object.fullQueryPath) ? String(object.fullQueryPath) : "" - }; - }, - toJSON(message: QueryMethodDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.fullQueryPath !== undefined && (obj.fullQueryPath = message.fullQueryPath); - return obj; - }, fromPartial(object: Partial): QueryMethodDescriptor { const message = createBaseQueryMethodDescriptor(); message.name = object.name ?? ""; diff --git a/packages/api/src/codegen/cosmos/base/v1beta1/coin.ts b/packages/api/src/cosmos/base/v1beta1/coin.ts similarity index 89% rename from packages/api/src/codegen/cosmos/base/v1beta1/coin.ts rename to packages/api/src/cosmos/base/v1beta1/coin.ts index dcae3af4..60a45d97 100644 --- a/packages/api/src/codegen/cosmos/base/v1beta1/coin.ts +++ b/packages/api/src/cosmos/base/v1beta1/coin.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * Coin defines a token with a denomination and an amount. * @@ -153,18 +153,6 @@ export const Coin = { } return message; }, - fromJSON(object: any): Coin { - return { - denom: isSet(object.denom) ? String(object.denom) : "", - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: Coin): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): Coin { const message = createBaseCoin(); message.denom = object.denom ?? ""; @@ -246,18 +234,6 @@ export const DecCoin = { } return message; }, - fromJSON(object: any): DecCoin { - return { - denom: isSet(object.denom) ? String(object.denom) : "", - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: DecCoin): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): DecCoin { const message = createBaseDecCoin(); message.denom = object.denom ?? ""; @@ -332,16 +308,6 @@ export const IntProto = { } return message; }, - fromJSON(object: any): IntProto { - return { - int: isSet(object.int) ? String(object.int) : "" - }; - }, - toJSON(message: IntProto): unknown { - const obj: any = {}; - message.int !== undefined && (obj.int = message.int); - return obj; - }, fromPartial(object: Partial): IntProto { const message = createBaseIntProto(); message.int = object.int ?? ""; @@ -411,16 +377,6 @@ export const DecProto = { } return message; }, - fromJSON(object: any): DecProto { - return { - dec: isSet(object.dec) ? String(object.dec) : "" - }; - }, - toJSON(message: DecProto): unknown { - const obj: any = {}; - message.dec !== undefined && (obj.dec = message.dec); - return obj; - }, fromPartial(object: Partial): DecProto { const message = createBaseDecProto(); message.dec = object.dec ?? ""; diff --git a/packages/api/src/cosmos/bundle.ts b/packages/api/src/cosmos/bundle.ts new file mode 100644 index 00000000..aab1f459 --- /dev/null +++ b/packages/api/src/cosmos/bundle.ts @@ -0,0 +1,365 @@ +//@ts-nocheck +import * as _2 from "./app/module/v1alpha1/module"; +import * as _3 from "./auth/v1beta1/auth"; +import * as _4 from "./auth/v1beta1/genesis"; +import * as _5 from "./auth/v1beta1/query"; +import * as _6 from "./authz/v1beta1/authz"; +import * as _7 from "./authz/v1beta1/event"; +import * as _8 from "./authz/v1beta1/genesis"; +import * as _9 from "./authz/v1beta1/query"; +import * as _10 from "./authz/v1beta1/tx"; +import * as _11 from "./bank/v1beta1/authz"; +import * as _12 from "./bank/v1beta1/bank"; +import * as _13 from "./bank/v1beta1/genesis"; +import * as _14 from "./bank/v1beta1/query"; +import * as _15 from "./bank/v1beta1/tx"; +import * as _16 from "./base/abci/v1beta1/abci"; +import * as _17 from "./base/node/v1beta1/query"; +import * as _18 from "./base/query/v1beta1/pagination"; +import * as _19 from "./base/reflection/v2alpha1/reflection"; +import * as _20 from "./base/v1beta1/coin"; +import * as _21 from "./crypto/ed25519/keys"; +import * as _22 from "./crypto/hd/v1/hd"; +import * as _23 from "./crypto/keyring/v1/record"; +import * as _24 from "./crypto/multisig/keys"; +import * as _25 from "./crypto/secp256k1/keys"; +import * as _26 from "./crypto/secp256r1/keys"; +import * as _27 from "./distribution/v1beta1/distribution"; +import * as _28 from "./distribution/v1beta1/genesis"; +import * as _29 from "./distribution/v1beta1/query"; +import * as _30 from "./distribution/v1beta1/tx"; +import * as _31 from "./feegrant/v1beta1/feegrant"; +import * as _32 from "./feegrant/v1beta1/genesis"; +import * as _33 from "./feegrant/v1beta1/query"; +import * as _34 from "./feegrant/v1beta1/tx"; +import * as _35 from "./gov/v1/genesis"; +import * as _36 from "./gov/v1/gov"; +import * as _37 from "./gov/v1/query"; +import * as _38 from "./gov/v1/tx"; +import * as _39 from "./gov/v1beta1/genesis"; +import * as _40 from "./gov/v1beta1/gov"; +import * as _41 from "./gov/v1beta1/query"; +import * as _42 from "./gov/v1beta1/tx"; +import * as _43 from "./group/v1/events"; +import * as _44 from "./group/v1/genesis"; +import * as _45 from "./group/v1/query"; +import * as _46 from "./group/v1/tx"; +import * as _47 from "./group/v1/types"; +import * as _48 from "./mint/v1beta1/genesis"; +import * as _49 from "./mint/v1beta1/mint"; +import * as _50 from "./mint/v1beta1/query"; +import * as _51 from "./orm/module/v1alpha1/module"; +import * as _52 from "./params/v1beta1/params"; +import * as _53 from "./params/v1beta1/query"; +import * as _54 from "./staking/v1beta1/authz"; +import * as _55 from "./staking/v1beta1/genesis"; +import * as _56 from "./staking/v1beta1/query"; +import * as _57 from "./staking/v1beta1/staking"; +import * as _58 from "./staking/v1beta1/tx"; +import * as _59 from "./tx/signing/v1beta1/signing"; +import * as _60 from "./tx/v1beta1/service"; +import * as _61 from "./tx/v1beta1/tx"; +import * as _62 from "./upgrade/v1beta1/query"; +import * as _63 from "./upgrade/v1beta1/tx"; +import * as _64 from "./upgrade/v1beta1/upgrade"; +import * as _65 from "./vesting/v1beta1/tx"; +import * as _66 from "./vesting/v1beta1/vesting"; +import * as _119 from "./authz/v1beta1/tx.amino"; +import * as _120 from "./bank/v1beta1/tx.amino"; +import * as _121 from "./distribution/v1beta1/tx.amino"; +import * as _122 from "./feegrant/v1beta1/tx.amino"; +import * as _123 from "./gov/v1/tx.amino"; +import * as _124 from "./gov/v1beta1/tx.amino"; +import * as _125 from "./group/v1/tx.amino"; +import * as _126 from "./staking/v1beta1/tx.amino"; +import * as _127 from "./upgrade/v1beta1/tx.amino"; +import * as _128 from "./vesting/v1beta1/tx.amino"; +import * as _129 from "./authz/v1beta1/tx.registry"; +import * as _130 from "./bank/v1beta1/tx.registry"; +import * as _131 from "./distribution/v1beta1/tx.registry"; +import * as _132 from "./feegrant/v1beta1/tx.registry"; +import * as _133 from "./gov/v1/tx.registry"; +import * as _134 from "./gov/v1beta1/tx.registry"; +import * as _135 from "./group/v1/tx.registry"; +import * as _136 from "./staking/v1beta1/tx.registry"; +import * as _137 from "./upgrade/v1beta1/tx.registry"; +import * as _138 from "./vesting/v1beta1/tx.registry"; +import * as _139 from "./auth/v1beta1/query.lcd"; +import * as _140 from "./authz/v1beta1/query.lcd"; +import * as _141 from "./bank/v1beta1/query.lcd"; +import * as _142 from "./base/node/v1beta1/query.lcd"; +import * as _143 from "./distribution/v1beta1/query.lcd"; +import * as _144 from "./feegrant/v1beta1/query.lcd"; +import * as _145 from "./gov/v1/query.lcd"; +import * as _146 from "./gov/v1beta1/query.lcd"; +import * as _147 from "./group/v1/query.lcd"; +import * as _148 from "./mint/v1beta1/query.lcd"; +import * as _149 from "./params/v1beta1/query.lcd"; +import * as _150 from "./staking/v1beta1/query.lcd"; +import * as _151 from "./tx/v1beta1/service.lcd"; +import * as _152 from "./upgrade/v1beta1/query.lcd"; +import * as _153 from "./auth/v1beta1/query.rpc.Query"; +import * as _154 from "./authz/v1beta1/query.rpc.Query"; +import * as _155 from "./bank/v1beta1/query.rpc.Query"; +import * as _156 from "./base/node/v1beta1/query.rpc.Service"; +import * as _157 from "./distribution/v1beta1/query.rpc.Query"; +import * as _158 from "./feegrant/v1beta1/query.rpc.Query"; +import * as _159 from "./gov/v1/query.rpc.Query"; +import * as _160 from "./gov/v1beta1/query.rpc.Query"; +import * as _161 from "./group/v1/query.rpc.Query"; +import * as _162 from "./mint/v1beta1/query.rpc.Query"; +import * as _163 from "./params/v1beta1/query.rpc.Query"; +import * as _164 from "./staking/v1beta1/query.rpc.Query"; +import * as _165 from "./tx/v1beta1/service.rpc.Service"; +import * as _166 from "./upgrade/v1beta1/query.rpc.Query"; +import * as _167 from "./authz/v1beta1/tx.rpc.msg"; +import * as _168 from "./bank/v1beta1/tx.rpc.msg"; +import * as _169 from "./distribution/v1beta1/tx.rpc.msg"; +import * as _170 from "./feegrant/v1beta1/tx.rpc.msg"; +import * as _171 from "./gov/v1/tx.rpc.msg"; +import * as _172 from "./gov/v1beta1/tx.rpc.msg"; +import * as _173 from "./group/v1/tx.rpc.msg"; +import * as _174 from "./staking/v1beta1/tx.rpc.msg"; +import * as _175 from "./upgrade/v1beta1/tx.rpc.msg"; +import * as _176 from "./vesting/v1beta1/tx.rpc.msg"; +import * as _217 from "./lcd"; +import * as _218 from "./rpc.query"; +import * as _219 from "./rpc.tx"; +export namespace cosmos { + export namespace app { + export namespace module { + export const v1alpha1 = { + ..._2 + }; + } + } + export namespace auth { + export const v1beta1 = { + ..._3, + ..._4, + ..._5, + ..._139, + ..._153 + }; + } + export namespace authz { + export const v1beta1 = { + ..._6, + ..._7, + ..._8, + ..._9, + ..._10, + ..._119, + ..._129, + ..._140, + ..._154, + ..._167 + }; + } + export namespace bank { + export const v1beta1 = { + ..._11, + ..._12, + ..._13, + ..._14, + ..._15, + ..._120, + ..._130, + ..._141, + ..._155, + ..._168 + }; + } + export namespace base { + export namespace abci { + export const v1beta1 = { + ..._16 + }; + } + export namespace node { + export const v1beta1 = { + ..._17, + ..._142, + ..._156 + }; + } + export namespace query { + export const v1beta1 = { + ..._18 + }; + } + export namespace reflection { + export const v2alpha1 = { + ..._19 + }; + } + export const v1beta1 = { + ..._20 + }; + } + export namespace crypto { + export const ed25519 = { + ..._21 + }; + export namespace hd { + export const v1 = { + ..._22 + }; + } + export namespace keyring { + export const v1 = { + ..._23 + }; + } + export const multisig = { + ..._24 + }; + export const secp256k1 = { + ..._25 + }; + export const secp256r1 = { + ..._26 + }; + } + export namespace distribution { + export const v1beta1 = { + ..._27, + ..._28, + ..._29, + ..._30, + ..._121, + ..._131, + ..._143, + ..._157, + ..._169 + }; + } + export namespace feegrant { + export const v1beta1 = { + ..._31, + ..._32, + ..._33, + ..._34, + ..._122, + ..._132, + ..._144, + ..._158, + ..._170 + }; + } + export namespace gov { + export const v1 = { + ..._35, + ..._36, + ..._37, + ..._38, + ..._123, + ..._133, + ..._145, + ..._159, + ..._171 + }; + export const v1beta1 = { + ..._39, + ..._40, + ..._41, + ..._42, + ..._124, + ..._134, + ..._146, + ..._160, + ..._172 + }; + } + export namespace group { + export const v1 = { + ..._43, + ..._44, + ..._45, + ..._46, + ..._47, + ..._125, + ..._135, + ..._147, + ..._161, + ..._173 + }; + } + export namespace mint { + export const v1beta1 = { + ..._48, + ..._49, + ..._50, + ..._148, + ..._162 + }; + } + export namespace orm { + export namespace module { + export const v1alpha1 = { + ..._51 + }; + } + } + export namespace params { + export const v1beta1 = { + ..._52, + ..._53, + ..._149, + ..._163 + }; + } + export namespace staking { + export const v1beta1 = { + ..._54, + ..._55, + ..._56, + ..._57, + ..._58, + ..._126, + ..._136, + ..._150, + ..._164, + ..._174 + }; + } + export namespace tx { + export namespace signing { + export const v1beta1 = { + ..._59 + }; + } + export const v1beta1 = { + ..._60, + ..._61, + ..._151, + ..._165 + }; + } + export namespace upgrade { + export const v1beta1 = { + ..._62, + ..._63, + ..._64, + ..._127, + ..._137, + ..._152, + ..._166, + ..._175 + }; + } + export namespace vesting { + export const v1beta1 = { + ..._65, + ..._66, + ..._128, + ..._138, + ..._176 + }; + } + export const ClientFactory = { + ..._217, + ..._218, + ..._219 + }; +} \ No newline at end of file diff --git a/packages/api/src/codegen/cosmos/client.ts b/packages/api/src/cosmos/client.ts similarity index 68% rename from packages/api/src/codegen/cosmos/client.ts rename to packages/api/src/cosmos/client.ts index d7164686..b146730d 100644 --- a/packages/api/src/codegen/cosmos/client.ts +++ b/packages/api/src/cosmos/client.ts @@ -1,51 +1,40 @@ +//@ts-nocheck import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; import * as cosmosAuthzV1beta1TxRegistry from "./authz/v1beta1/tx.registry"; import * as cosmosBankV1beta1TxRegistry from "./bank/v1beta1/tx.registry"; -import * as cosmosCrisisV1beta1TxRegistry from "./crisis/v1beta1/tx.registry"; import * as cosmosDistributionV1beta1TxRegistry from "./distribution/v1beta1/tx.registry"; -import * as cosmosEvidenceV1beta1TxRegistry from "./evidence/v1beta1/tx.registry"; import * as cosmosFeegrantV1beta1TxRegistry from "./feegrant/v1beta1/tx.registry"; import * as cosmosGovV1TxRegistry from "./gov/v1/tx.registry"; import * as cosmosGovV1beta1TxRegistry from "./gov/v1beta1/tx.registry"; import * as cosmosGroupV1TxRegistry from "./group/v1/tx.registry"; -import * as cosmosNftV1beta1TxRegistry from "./nft/v1beta1/tx.registry"; -import * as cosmosSlashingV1beta1TxRegistry from "./slashing/v1beta1/tx.registry"; import * as cosmosStakingV1beta1TxRegistry from "./staking/v1beta1/tx.registry"; import * as cosmosUpgradeV1beta1TxRegistry from "./upgrade/v1beta1/tx.registry"; import * as cosmosVestingV1beta1TxRegistry from "./vesting/v1beta1/tx.registry"; import * as cosmosAuthzV1beta1TxAmino from "./authz/v1beta1/tx.amino"; import * as cosmosBankV1beta1TxAmino from "./bank/v1beta1/tx.amino"; -import * as cosmosCrisisV1beta1TxAmino from "./crisis/v1beta1/tx.amino"; import * as cosmosDistributionV1beta1TxAmino from "./distribution/v1beta1/tx.amino"; -import * as cosmosEvidenceV1beta1TxAmino from "./evidence/v1beta1/tx.amino"; import * as cosmosFeegrantV1beta1TxAmino from "./feegrant/v1beta1/tx.amino"; import * as cosmosGovV1TxAmino from "./gov/v1/tx.amino"; import * as cosmosGovV1beta1TxAmino from "./gov/v1beta1/tx.amino"; import * as cosmosGroupV1TxAmino from "./group/v1/tx.amino"; -import * as cosmosNftV1beta1TxAmino from "./nft/v1beta1/tx.amino"; -import * as cosmosSlashingV1beta1TxAmino from "./slashing/v1beta1/tx.amino"; import * as cosmosStakingV1beta1TxAmino from "./staking/v1beta1/tx.amino"; import * as cosmosUpgradeV1beta1TxAmino from "./upgrade/v1beta1/tx.amino"; import * as cosmosVestingV1beta1TxAmino from "./vesting/v1beta1/tx.amino"; export const cosmosAminoConverters = { ...cosmosAuthzV1beta1TxAmino.AminoConverter, ...cosmosBankV1beta1TxAmino.AminoConverter, - ...cosmosCrisisV1beta1TxAmino.AminoConverter, ...cosmosDistributionV1beta1TxAmino.AminoConverter, - ...cosmosEvidenceV1beta1TxAmino.AminoConverter, ...cosmosFeegrantV1beta1TxAmino.AminoConverter, ...cosmosGovV1TxAmino.AminoConverter, ...cosmosGovV1beta1TxAmino.AminoConverter, ...cosmosGroupV1TxAmino.AminoConverter, - ...cosmosNftV1beta1TxAmino.AminoConverter, - ...cosmosSlashingV1beta1TxAmino.AminoConverter, ...cosmosStakingV1beta1TxAmino.AminoConverter, ...cosmosUpgradeV1beta1TxAmino.AminoConverter, ...cosmosVestingV1beta1TxAmino.AminoConverter }; -export const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmosAuthzV1beta1TxRegistry.registry, ...cosmosBankV1beta1TxRegistry.registry, ...cosmosCrisisV1beta1TxRegistry.registry, ...cosmosDistributionV1beta1TxRegistry.registry, ...cosmosEvidenceV1beta1TxRegistry.registry, ...cosmosFeegrantV1beta1TxRegistry.registry, ...cosmosGovV1TxRegistry.registry, ...cosmosGovV1beta1TxRegistry.registry, ...cosmosGroupV1TxRegistry.registry, ...cosmosNftV1beta1TxRegistry.registry, ...cosmosSlashingV1beta1TxRegistry.registry, ...cosmosStakingV1beta1TxRegistry.registry, ...cosmosUpgradeV1beta1TxRegistry.registry, ...cosmosVestingV1beta1TxRegistry.registry]; +export const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmosAuthzV1beta1TxRegistry.registry, ...cosmosBankV1beta1TxRegistry.registry, ...cosmosDistributionV1beta1TxRegistry.registry, ...cosmosFeegrantV1beta1TxRegistry.registry, ...cosmosGovV1TxRegistry.registry, ...cosmosGovV1beta1TxRegistry.registry, ...cosmosGroupV1TxRegistry.registry, ...cosmosStakingV1beta1TxRegistry.registry, ...cosmosUpgradeV1beta1TxRegistry.registry, ...cosmosVestingV1beta1TxRegistry.registry]; export const getSigningCosmosClientOptions = (): { registry: Registry; aminoTypes: AminoTypes; diff --git a/packages/api/src/codegen/cosmos/crypto/ed25519/keys.ts b/packages/api/src/cosmos/crypto/ed25519/keys.ts similarity index 89% rename from packages/api/src/codegen/cosmos/crypto/ed25519/keys.ts rename to packages/api/src/cosmos/crypto/ed25519/keys.ts index 2c41cb75..02e83618 100644 --- a/packages/api/src/codegen/cosmos/crypto/ed25519/keys.ts +++ b/packages/api/src/cosmos/crypto/ed25519/keys.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** * PubKey is an ed25519 public key for handling Tendermint keys in SDK. * It's needed for Any serialization and SDK compatibility. @@ -97,16 +98,6 @@ export const PubKey = { } return message; }, - fromJSON(object: any): PubKey { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array() - }; - }, - toJSON(message: PubKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): PubKey { const message = createBasePubKey(); message.key = object.key ?? new Uint8Array(); @@ -176,16 +167,6 @@ export const PrivKey = { } return message; }, - fromJSON(object: any): PrivKey { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array() - }; - }, - toJSON(message: PrivKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): PrivKey { const message = createBasePrivKey(); message.key = object.key ?? new Uint8Array(); diff --git a/packages/api/src/codegen/cosmos/crypto/hd/v1/hd.ts b/packages/api/src/cosmos/crypto/hd/v1/hd.ts similarity index 85% rename from packages/api/src/codegen/cosmos/crypto/hd/v1/hd.ts rename to packages/api/src/cosmos/crypto/hd/v1/hd.ts index 99d47110..e8fccaca 100644 --- a/packages/api/src/codegen/cosmos/crypto/hd/v1/hd.ts +++ b/packages/api/src/cosmos/crypto/hd/v1/hd.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** BIP44Params is used as path field in ledger item in Record. */ export interface BIP44Params { /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ @@ -106,24 +106,6 @@ export const BIP44Params = { } return message; }, - fromJSON(object: any): BIP44Params { - return { - purpose: isSet(object.purpose) ? Number(object.purpose) : 0, - coinType: isSet(object.coinType) ? Number(object.coinType) : 0, - account: isSet(object.account) ? Number(object.account) : 0, - change: isSet(object.change) ? Boolean(object.change) : false, - addressIndex: isSet(object.addressIndex) ? Number(object.addressIndex) : 0 - }; - }, - toJSON(message: BIP44Params): unknown { - const obj: any = {}; - message.purpose !== undefined && (obj.purpose = Math.round(message.purpose)); - message.coinType !== undefined && (obj.coinType = Math.round(message.coinType)); - message.account !== undefined && (obj.account = Math.round(message.account)); - message.change !== undefined && (obj.change = message.change); - message.addressIndex !== undefined && (obj.addressIndex = Math.round(message.addressIndex)); - return obj; - }, fromPartial(object: Partial): BIP44Params { const message = createBaseBIP44Params(); message.purpose = object.purpose ?? 0; diff --git a/packages/api/src/codegen/cosmos/crypto/keyring/v1/record.ts b/packages/api/src/cosmos/crypto/keyring/v1/record.ts similarity index 88% rename from packages/api/src/codegen/cosmos/crypto/keyring/v1/record.ts rename to packages/api/src/cosmos/crypto/keyring/v1/record.ts index 911bcaf5..85cea3fa 100644 --- a/packages/api/src/codegen/cosmos/crypto/keyring/v1/record.ts +++ b/packages/api/src/cosmos/crypto/keyring/v1/record.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { BIP44Params, BIP44ParamsAmino, BIP44ParamsSDKType } from "../../hd/v1/hd"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** Record is used for representing a key in the keyring. */ export interface Record { /** name represents a name of Record */ @@ -191,26 +191,6 @@ export const Record = { } return message; }, - fromJSON(object: any): Record { - return { - name: isSet(object.name) ? String(object.name) : "", - pubKey: isSet(object.pubKey) ? Any.fromJSON(object.pubKey) : undefined, - local: isSet(object.local) ? Record_Local.fromJSON(object.local) : undefined, - ledger: isSet(object.ledger) ? Record_Ledger.fromJSON(object.ledger) : undefined, - multi: isSet(object.multi) ? Record_Multi.fromJSON(object.multi) : undefined, - offline: isSet(object.offline) ? Record_Offline.fromJSON(object.offline) : undefined - }; - }, - toJSON(message: Record): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined); - message.local !== undefined && (obj.local = message.local ? Record_Local.toJSON(message.local) : undefined); - message.ledger !== undefined && (obj.ledger = message.ledger ? Record_Ledger.toJSON(message.ledger) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? Record_Multi.toJSON(message.multi) : undefined); - message.offline !== undefined && (obj.offline = message.offline ? Record_Offline.toJSON(message.offline) : undefined); - return obj; - }, fromPartial(object: Partial): Record { const message = createBaseRecord(); message.name = object.name ?? ""; @@ -305,16 +285,6 @@ export const Record_Local = { } return message; }, - fromJSON(object: any): Record_Local { - return { - privKey: isSet(object.privKey) ? Any.fromJSON(object.privKey) : undefined - }; - }, - toJSON(message: Record_Local): unknown { - const obj: any = {}; - message.privKey !== undefined && (obj.privKey = message.privKey ? Any.toJSON(message.privKey) : undefined); - return obj; - }, fromPartial(object: Partial): Record_Local { const message = createBaseRecord_Local(); message.privKey = object.privKey !== undefined && object.privKey !== null ? Any.fromPartial(object.privKey) : undefined; @@ -384,16 +354,6 @@ export const Record_Ledger = { } return message; }, - fromJSON(object: any): Record_Ledger { - return { - path: isSet(object.path) ? BIP44Params.fromJSON(object.path) : undefined - }; - }, - toJSON(message: Record_Ledger): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = message.path ? BIP44Params.toJSON(message.path) : undefined); - return obj; - }, fromPartial(object: Partial): Record_Ledger { const message = createBaseRecord_Ledger(); message.path = object.path !== undefined && object.path !== null ? BIP44Params.fromPartial(object.path) : undefined; @@ -455,13 +415,6 @@ export const Record_Multi = { } return message; }, - fromJSON(_: any): Record_Multi { - return {}; - }, - toJSON(_: Record_Multi): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): Record_Multi { const message = createBaseRecord_Multi(); return message; @@ -518,13 +471,6 @@ export const Record_Offline = { } return message; }, - fromJSON(_: any): Record_Offline { - return {}; - }, - toJSON(_: Record_Offline): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): Record_Offline { const message = createBaseRecord_Offline(); return message; diff --git a/packages/api/src/codegen/cosmos/crypto/multisig/keys.ts b/packages/api/src/cosmos/crypto/multisig/keys.ts similarity index 86% rename from packages/api/src/codegen/cosmos/crypto/multisig/keys.ts rename to packages/api/src/cosmos/crypto/multisig/keys.ts index f4e6f332..eddecd00 100644 --- a/packages/api/src/codegen/cosmos/crypto/multisig/keys.ts +++ b/packages/api/src/cosmos/crypto/multisig/keys.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * LegacyAminoPubKey specifies a public key type * which nests multiple public keys and a threshold, @@ -73,22 +73,6 @@ export const LegacyAminoPubKey = { } return message; }, - fromJSON(object: any): LegacyAminoPubKey { - return { - threshold: isSet(object.threshold) ? Number(object.threshold) : 0, - publicKeys: Array.isArray(object?.publicKeys) ? object.publicKeys.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: LegacyAminoPubKey): unknown { - const obj: any = {}; - message.threshold !== undefined && (obj.threshold = Math.round(message.threshold)); - if (message.publicKeys) { - obj.publicKeys = message.publicKeys.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.publicKeys = []; - } - return obj; - }, fromPartial(object: Partial): LegacyAminoPubKey { const message = createBaseLegacyAminoPubKey(); message.threshold = object.threshold ?? 0; diff --git a/packages/api/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/packages/api/src/cosmos/crypto/multisig/v1beta1/multisig.ts similarity index 87% rename from packages/api/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts rename to packages/api/src/cosmos/crypto/multisig/v1beta1/multisig.ts index 4b9934aa..d9247070 100644 --- a/packages/api/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +++ b/packages/api/src/cosmos/crypto/multisig/v1beta1/multisig.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { bytesFromBase64, base64FromBytes, isSet } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers @@ -100,20 +101,6 @@ export const MultiSignature = { } return message; }, - fromJSON(object: any): MultiSignature { - return { - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: MultiSignature): unknown { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.signatures = []; - } - return obj; - }, fromPartial(object: Partial): MultiSignature { const message = createBaseMultiSignature(); message.signatures = object.signatures?.map(e => e) || []; @@ -192,18 +179,6 @@ export const CompactBitArray = { } return message; }, - fromJSON(object: any): CompactBitArray { - return { - extraBitsStored: isSet(object.extraBitsStored) ? Number(object.extraBitsStored) : 0, - elems: isSet(object.elems) ? bytesFromBase64(object.elems) : new Uint8Array() - }; - }, - toJSON(message: CompactBitArray): unknown { - const obj: any = {}; - message.extraBitsStored !== undefined && (obj.extraBitsStored = Math.round(message.extraBitsStored)); - message.elems !== undefined && (obj.elems = base64FromBytes(message.elems !== undefined ? message.elems : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): CompactBitArray { const message = createBaseCompactBitArray(); message.extraBitsStored = object.extraBitsStored ?? 0; diff --git a/packages/api/src/codegen/cosmos/crypto/secp256k1/keys.ts b/packages/api/src/cosmos/crypto/secp256k1/keys.ts similarity index 88% rename from packages/api/src/codegen/cosmos/crypto/secp256k1/keys.ts rename to packages/api/src/cosmos/crypto/secp256k1/keys.ts index e69ea7cc..f5b13ae4 100644 --- a/packages/api/src/codegen/cosmos/crypto/secp256k1/keys.ts +++ b/packages/api/src/cosmos/crypto/secp256k1/keys.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** * PubKey defines a secp256k1 public key * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte @@ -88,16 +89,6 @@ export const PubKey = { } return message; }, - fromJSON(object: any): PubKey { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array() - }; - }, - toJSON(message: PubKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): PubKey { const message = createBasePubKey(); message.key = object.key ?? new Uint8Array(); @@ -167,16 +158,6 @@ export const PrivKey = { } return message; }, - fromJSON(object: any): PrivKey { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array() - }; - }, - toJSON(message: PrivKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): PrivKey { const message = createBasePrivKey(); message.key = object.key ?? new Uint8Array(); diff --git a/packages/api/src/codegen/cosmos/crypto/secp256r1/keys.ts b/packages/api/src/cosmos/crypto/secp256r1/keys.ts similarity index 87% rename from packages/api/src/codegen/cosmos/crypto/secp256r1/keys.ts rename to packages/api/src/cosmos/crypto/secp256r1/keys.ts index 912ad72d..87ebef2b 100644 --- a/packages/api/src/codegen/cosmos/crypto/secp256r1/keys.ts +++ b/packages/api/src/cosmos/crypto/secp256r1/keys.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** PubKey defines a secp256r1 ECDSA public key. */ export interface PubKey { /** @@ -80,16 +81,6 @@ export const PubKey = { } return message; }, - fromJSON(object: any): PubKey { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array() - }; - }, - toJSON(message: PubKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): PubKey { const message = createBasePubKey(); message.key = object.key ?? new Uint8Array(); @@ -159,16 +150,6 @@ export const PrivKey = { } return message; }, - fromJSON(object: any): PrivKey { - return { - secret: isSet(object.secret) ? bytesFromBase64(object.secret) : new Uint8Array() - }; - }, - toJSON(message: PrivKey): unknown { - const obj: any = {}; - message.secret !== undefined && (obj.secret = base64FromBytes(message.secret !== undefined ? message.secret : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): PrivKey { const message = createBasePrivKey(); message.secret = object.secret ?? new Uint8Array(); diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/distribution.ts b/packages/api/src/cosmos/distribution/v1beta1/distribution.ts similarity index 87% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/distribution.ts rename to packages/api/src/cosmos/distribution/v1beta1/distribution.ts index 766f3464..c49d55b6 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/distribution.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/distribution.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { DecCoin, DecCoinAmino, DecCoinSDKType, Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { Decimal } from "@cosmjs/math"; -import { isSet } from "../../../helpers"; /** Params defines the set of params for the distribution module. */ export interface Params { communityTax: string; @@ -480,22 +480,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - communityTax: isSet(object.communityTax) ? String(object.communityTax) : "", - baseProposerReward: isSet(object.baseProposerReward) ? String(object.baseProposerReward) : "", - bonusProposerReward: isSet(object.bonusProposerReward) ? String(object.bonusProposerReward) : "", - withdrawAddrEnabled: isSet(object.withdrawAddrEnabled) ? Boolean(object.withdrawAddrEnabled) : false - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.communityTax !== undefined && (obj.communityTax = message.communityTax); - message.baseProposerReward !== undefined && (obj.baseProposerReward = message.baseProposerReward); - message.bonusProposerReward !== undefined && (obj.bonusProposerReward = message.bonusProposerReward); - message.withdrawAddrEnabled !== undefined && (obj.withdrawAddrEnabled = message.withdrawAddrEnabled); - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.communityTax = object.communityTax ?? ""; @@ -587,22 +571,6 @@ export const ValidatorHistoricalRewards = { } return message; }, - fromJSON(object: any): ValidatorHistoricalRewards { - return { - cumulativeRewardRatio: Array.isArray(object?.cumulativeRewardRatio) ? object.cumulativeRewardRatio.map((e: any) => DecCoin.fromJSON(e)) : [], - referenceCount: isSet(object.referenceCount) ? Number(object.referenceCount) : 0 - }; - }, - toJSON(message: ValidatorHistoricalRewards): unknown { - const obj: any = {}; - if (message.cumulativeRewardRatio) { - obj.cumulativeRewardRatio = message.cumulativeRewardRatio.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.cumulativeRewardRatio = []; - } - message.referenceCount !== undefined && (obj.referenceCount = Math.round(message.referenceCount)); - return obj; - }, fromPartial(object: Partial): ValidatorHistoricalRewards { const message = createBaseValidatorHistoricalRewards(); message.cumulativeRewardRatio = object.cumulativeRewardRatio?.map(e => DecCoin.fromPartial(e)) || []; @@ -686,22 +654,6 @@ export const ValidatorCurrentRewards = { } return message; }, - fromJSON(object: any): ValidatorCurrentRewards { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromJSON(e)) : [], - period: isSet(object.period) ? BigInt(object.period.toString()) : BigInt(0) - }; - }, - toJSON(message: ValidatorCurrentRewards): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - message.period !== undefined && (obj.period = (message.period || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ValidatorCurrentRewards { const message = createBaseValidatorCurrentRewards(); message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; @@ -778,20 +730,6 @@ export const ValidatorAccumulatedCommission = { } return message; }, - fromJSON(object: any): ValidatorAccumulatedCommission { - return { - commission: Array.isArray(object?.commission) ? object.commission.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: ValidatorAccumulatedCommission): unknown { - const obj: any = {}; - if (message.commission) { - obj.commission = message.commission.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.commission = []; - } - return obj; - }, fromPartial(object: Partial): ValidatorAccumulatedCommission { const message = createBaseValidatorAccumulatedCommission(); message.commission = object.commission?.map(e => DecCoin.fromPartial(e)) || []; @@ -863,20 +801,6 @@ export const ValidatorOutstandingRewards = { } return message; }, - fromJSON(object: any): ValidatorOutstandingRewards { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: ValidatorOutstandingRewards): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, fromPartial(object: Partial): ValidatorOutstandingRewards { const message = createBaseValidatorOutstandingRewards(); message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; @@ -955,18 +879,6 @@ export const ValidatorSlashEvent = { } return message; }, - fromJSON(object: any): ValidatorSlashEvent { - return { - validatorPeriod: isSet(object.validatorPeriod) ? BigInt(object.validatorPeriod.toString()) : BigInt(0), - fraction: isSet(object.fraction) ? String(object.fraction) : "" - }; - }, - toJSON(message: ValidatorSlashEvent): unknown { - const obj: any = {}; - message.validatorPeriod !== undefined && (obj.validatorPeriod = (message.validatorPeriod || BigInt(0)).toString()); - message.fraction !== undefined && (obj.fraction = message.fraction); - return obj; - }, fromPartial(object: Partial): ValidatorSlashEvent { const message = createBaseValidatorSlashEvent(); message.validatorPeriod = object.validatorPeriod !== undefined && object.validatorPeriod !== null ? BigInt(object.validatorPeriod.toString()) : BigInt(0); @@ -1041,20 +953,6 @@ export const ValidatorSlashEvents = { } return message; }, - fromJSON(object: any): ValidatorSlashEvents { - return { - validatorSlashEvents: Array.isArray(object?.validatorSlashEvents) ? object.validatorSlashEvents.map((e: any) => ValidatorSlashEvent.fromJSON(e)) : [] - }; - }, - toJSON(message: ValidatorSlashEvents): unknown { - const obj: any = {}; - if (message.validatorSlashEvents) { - obj.validatorSlashEvents = message.validatorSlashEvents.map(e => e ? ValidatorSlashEvent.toJSON(e) : undefined); - } else { - obj.validatorSlashEvents = []; - } - return obj; - }, fromPartial(object: Partial): ValidatorSlashEvents { const message = createBaseValidatorSlashEvents(); message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; @@ -1126,20 +1024,6 @@ export const FeePool = { } return message; }, - fromJSON(object: any): FeePool { - return { - communityPool: Array.isArray(object?.communityPool) ? object.communityPool.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: FeePool): unknown { - const obj: any = {}; - if (message.communityPool) { - obj.communityPool = message.communityPool.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.communityPool = []; - } - return obj; - }, fromPartial(object: Partial): FeePool { const message = createBaseFeePool(); message.communityPool = object.communityPool?.map(e => DecCoin.fromPartial(e)) || []; @@ -1233,26 +1117,6 @@ export const CommunityPoolSpendProposal = { } return message; }, - fromJSON(object: any): CommunityPoolSpendProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: CommunityPoolSpendProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.recipient !== undefined && (obj.recipient = message.recipient); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): CommunityPoolSpendProposal { const message = createBaseCommunityPoolSpendProposal(); message.title = object.title ?? ""; @@ -1353,20 +1217,6 @@ export const DelegatorStartingInfo = { } return message; }, - fromJSON(object: any): DelegatorStartingInfo { - return { - previousPeriod: isSet(object.previousPeriod) ? BigInt(object.previousPeriod.toString()) : BigInt(0), - stake: isSet(object.stake) ? String(object.stake) : "", - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0) - }; - }, - toJSON(message: DelegatorStartingInfo): unknown { - const obj: any = {}; - message.previousPeriod !== undefined && (obj.previousPeriod = (message.previousPeriod || BigInt(0)).toString()); - message.stake !== undefined && (obj.stake = message.stake); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): DelegatorStartingInfo { const message = createBaseDelegatorStartingInfo(); message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? BigInt(object.previousPeriod.toString()) : BigInt(0); @@ -1453,22 +1303,6 @@ export const DelegationDelegatorReward = { } return message; }, - fromJSON(object: any): DelegationDelegatorReward { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - reward: Array.isArray(object?.reward) ? object.reward.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: DelegationDelegatorReward): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - if (message.reward) { - obj.reward = message.reward.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.reward = []; - } - return obj; - }, fromPartial(object: Partial): DelegationDelegatorReward { const message = createBaseDelegationDelegatorReward(); message.validatorAddress = object.validatorAddress ?? ""; @@ -1574,24 +1408,6 @@ export const CommunityPoolSpendProposalWithDeposit = { } return message; }, - fromJSON(object: any): CommunityPoolSpendProposalWithDeposit { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - deposit: isSet(object.deposit) ? String(object.deposit) : "" - }; - }, - toJSON(message: CommunityPoolSpendProposalWithDeposit): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.recipient !== undefined && (obj.recipient = message.recipient); - message.amount !== undefined && (obj.amount = message.amount); - message.deposit !== undefined && (obj.deposit = message.deposit); - return obj; - }, fromPartial(object: Partial): CommunityPoolSpendProposalWithDeposit { const message = createBaseCommunityPoolSpendProposalWithDeposit(); message.title = object.title ?? ""; diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/genesis.ts b/packages/api/src/cosmos/distribution/v1beta1/genesis.ts similarity index 85% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/genesis.ts rename to packages/api/src/cosmos/distribution/v1beta1/genesis.ts index a1648c5a..b98a03b0 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/genesis.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsAmino, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsAmino, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoAmino, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, Params, ParamsAmino, ParamsSDKType, FeePool, FeePoolAmino, FeePoolSDKType } from "./distribution"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * DelegatorWithdrawInfo is the address for where distributions rewards are * withdrawn to by default this struct is only used at genesis to feed in @@ -345,18 +345,6 @@ export const DelegatorWithdrawInfo = { } return message; }, - fromJSON(object: any): DelegatorWithdrawInfo { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - withdrawAddress: isSet(object.withdrawAddress) ? String(object.withdrawAddress) : "" - }; - }, - toJSON(message: DelegatorWithdrawInfo): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress); - return obj; - }, fromPartial(object: Partial): DelegatorWithdrawInfo { const message = createBaseDelegatorWithdrawInfo(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -438,22 +426,6 @@ export const ValidatorOutstandingRewardsRecord = { } return message; }, - fromJSON(object: any): ValidatorOutstandingRewardsRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - outstandingRewards: Array.isArray(object?.outstandingRewards) ? object.outstandingRewards.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: ValidatorOutstandingRewardsRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - if (message.outstandingRewards) { - obj.outstandingRewards = message.outstandingRewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.outstandingRewards = []; - } - return obj; - }, fromPartial(object: Partial): ValidatorOutstandingRewardsRecord { const message = createBaseValidatorOutstandingRewardsRecord(); message.validatorAddress = object.validatorAddress ?? ""; @@ -537,18 +509,6 @@ export const ValidatorAccumulatedCommissionRecord = { } return message; }, - fromJSON(object: any): ValidatorAccumulatedCommissionRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - accumulated: isSet(object.accumulated) ? ValidatorAccumulatedCommission.fromJSON(object.accumulated) : undefined - }; - }, - toJSON(message: ValidatorAccumulatedCommissionRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.accumulated !== undefined && (obj.accumulated = message.accumulated ? ValidatorAccumulatedCommission.toJSON(message.accumulated) : undefined); - return obj; - }, fromPartial(object: Partial): ValidatorAccumulatedCommissionRecord { const message = createBaseValidatorAccumulatedCommissionRecord(); message.validatorAddress = object.validatorAddress ?? ""; @@ -637,20 +597,6 @@ export const ValidatorHistoricalRewardsRecord = { } return message; }, - fromJSON(object: any): ValidatorHistoricalRewardsRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - period: isSet(object.period) ? BigInt(object.period.toString()) : BigInt(0), - rewards: isSet(object.rewards) ? ValidatorHistoricalRewards.fromJSON(object.rewards) : undefined - }; - }, - toJSON(message: ValidatorHistoricalRewardsRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.period !== undefined && (obj.period = (message.period || BigInt(0)).toString()); - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorHistoricalRewards.toJSON(message.rewards) : undefined); - return obj; - }, fromPartial(object: Partial): ValidatorHistoricalRewardsRecord { const message = createBaseValidatorHistoricalRewardsRecord(); message.validatorAddress = object.validatorAddress ?? ""; @@ -737,18 +683,6 @@ export const ValidatorCurrentRewardsRecord = { } return message; }, - fromJSON(object: any): ValidatorCurrentRewardsRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - rewards: isSet(object.rewards) ? ValidatorCurrentRewards.fromJSON(object.rewards) : undefined - }; - }, - toJSON(message: ValidatorCurrentRewardsRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorCurrentRewards.toJSON(message.rewards) : undefined); - return obj; - }, fromPartial(object: Partial): ValidatorCurrentRewardsRecord { const message = createBaseValidatorCurrentRewardsRecord(); message.validatorAddress = object.validatorAddress ?? ""; @@ -837,20 +771,6 @@ export const DelegatorStartingInfoRecord = { } return message; }, - fromJSON(object: any): DelegatorStartingInfoRecord { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - startingInfo: isSet(object.startingInfo) ? DelegatorStartingInfo.fromJSON(object.startingInfo) : undefined - }; - }, - toJSON(message: DelegatorStartingInfoRecord): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.startingInfo !== undefined && (obj.startingInfo = message.startingInfo ? DelegatorStartingInfo.toJSON(message.startingInfo) : undefined); - return obj; - }, fromPartial(object: Partial): DelegatorStartingInfoRecord { const message = createBaseDelegatorStartingInfoRecord(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -951,22 +871,6 @@ export const ValidatorSlashEventRecord = { } return message; }, - fromJSON(object: any): ValidatorSlashEventRecord { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - period: isSet(object.period) ? BigInt(object.period.toString()) : BigInt(0), - validatorSlashEvent: isSet(object.validatorSlashEvent) ? ValidatorSlashEvent.fromJSON(object.validatorSlashEvent) : undefined - }; - }, - toJSON(message: ValidatorSlashEventRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.period !== undefined && (obj.period = (message.period || BigInt(0)).toString()); - message.validatorSlashEvent !== undefined && (obj.validatorSlashEvent = message.validatorSlashEvent ? ValidatorSlashEvent.toJSON(message.validatorSlashEvent) : undefined); - return obj; - }, fromPartial(object: Partial): ValidatorSlashEventRecord { const message = createBaseValidatorSlashEventRecord(); message.validatorAddress = object.validatorAddress ?? ""; @@ -1114,62 +1018,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - feePool: isSet(object.feePool) ? FeePool.fromJSON(object.feePool) : undefined, - delegatorWithdrawInfos: Array.isArray(object?.delegatorWithdrawInfos) ? object.delegatorWithdrawInfos.map((e: any) => DelegatorWithdrawInfo.fromJSON(e)) : [], - previousProposer: isSet(object.previousProposer) ? String(object.previousProposer) : "", - outstandingRewards: Array.isArray(object?.outstandingRewards) ? object.outstandingRewards.map((e: any) => ValidatorOutstandingRewardsRecord.fromJSON(e)) : [], - validatorAccumulatedCommissions: Array.isArray(object?.validatorAccumulatedCommissions) ? object.validatorAccumulatedCommissions.map((e: any) => ValidatorAccumulatedCommissionRecord.fromJSON(e)) : [], - validatorHistoricalRewards: Array.isArray(object?.validatorHistoricalRewards) ? object.validatorHistoricalRewards.map((e: any) => ValidatorHistoricalRewardsRecord.fromJSON(e)) : [], - validatorCurrentRewards: Array.isArray(object?.validatorCurrentRewards) ? object.validatorCurrentRewards.map((e: any) => ValidatorCurrentRewardsRecord.fromJSON(e)) : [], - delegatorStartingInfos: Array.isArray(object?.delegatorStartingInfos) ? object.delegatorStartingInfos.map((e: any) => DelegatorStartingInfoRecord.fromJSON(e)) : [], - validatorSlashEvents: Array.isArray(object?.validatorSlashEvents) ? object.validatorSlashEvents.map((e: any) => ValidatorSlashEventRecord.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - message.feePool !== undefined && (obj.feePool = message.feePool ? FeePool.toJSON(message.feePool) : undefined); - if (message.delegatorWithdrawInfos) { - obj.delegatorWithdrawInfos = message.delegatorWithdrawInfos.map(e => e ? DelegatorWithdrawInfo.toJSON(e) : undefined); - } else { - obj.delegatorWithdrawInfos = []; - } - message.previousProposer !== undefined && (obj.previousProposer = message.previousProposer); - if (message.outstandingRewards) { - obj.outstandingRewards = message.outstandingRewards.map(e => e ? ValidatorOutstandingRewardsRecord.toJSON(e) : undefined); - } else { - obj.outstandingRewards = []; - } - if (message.validatorAccumulatedCommissions) { - obj.validatorAccumulatedCommissions = message.validatorAccumulatedCommissions.map(e => e ? ValidatorAccumulatedCommissionRecord.toJSON(e) : undefined); - } else { - obj.validatorAccumulatedCommissions = []; - } - if (message.validatorHistoricalRewards) { - obj.validatorHistoricalRewards = message.validatorHistoricalRewards.map(e => e ? ValidatorHistoricalRewardsRecord.toJSON(e) : undefined); - } else { - obj.validatorHistoricalRewards = []; - } - if (message.validatorCurrentRewards) { - obj.validatorCurrentRewards = message.validatorCurrentRewards.map(e => e ? ValidatorCurrentRewardsRecord.toJSON(e) : undefined); - } else { - obj.validatorCurrentRewards = []; - } - if (message.delegatorStartingInfos) { - obj.delegatorStartingInfos = message.delegatorStartingInfos.map(e => e ? DelegatorStartingInfoRecord.toJSON(e) : undefined); - } else { - obj.delegatorStartingInfos = []; - } - if (message.validatorSlashEvents) { - obj.validatorSlashEvents = message.validatorSlashEvents.map(e => e ? ValidatorSlashEventRecord.toJSON(e) : undefined); - } else { - obj.validatorSlashEvents = []; - } - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/packages/api/src/cosmos/distribution/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/distribution/v1beta1/query.lcd.ts index 1d0dbb18..49389ca8 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryParamsRequest, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/distribution/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/distribution/v1beta1/query.rpc.Query.ts index 6ecc809c..6ff5c4c2 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/query.ts b/packages/api/src/cosmos/distribution/v1beta1/query.ts similarity index 90% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/query.ts rename to packages/api/src/cosmos/distribution/v1beta1/query.ts index a96aa879..cc887847 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/query.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/query.ts @@ -1,8 +1,8 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Params, ParamsAmino, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsAmino, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardAmino, DelegationDelegatorRewardSDKType } from "./distribution"; import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest {} export interface QueryParamsRequestProtoMsg { @@ -577,13 +577,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -648,16 +641,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -727,16 +710,6 @@ export const QueryValidatorOutstandingRewardsRequest = { } return message; }, - fromJSON(object: any): QueryValidatorOutstandingRewardsRequest { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" - }; - }, - toJSON(message: QueryValidatorOutstandingRewardsRequest): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, fromPartial(object: Partial): QueryValidatorOutstandingRewardsRequest { const message = createBaseQueryValidatorOutstandingRewardsRequest(); message.validatorAddress = object.validatorAddress ?? ""; @@ -806,16 +779,6 @@ export const QueryValidatorOutstandingRewardsResponse = { } return message; }, - fromJSON(object: any): QueryValidatorOutstandingRewardsResponse { - return { - rewards: isSet(object.rewards) ? ValidatorOutstandingRewards.fromJSON(object.rewards) : undefined - }; - }, - toJSON(message: QueryValidatorOutstandingRewardsResponse): unknown { - const obj: any = {}; - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorOutstandingRewards.toJSON(message.rewards) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorOutstandingRewardsResponse { const message = createBaseQueryValidatorOutstandingRewardsResponse(); message.rewards = object.rewards !== undefined && object.rewards !== null ? ValidatorOutstandingRewards.fromPartial(object.rewards) : undefined; @@ -885,16 +848,6 @@ export const QueryValidatorCommissionRequest = { } return message; }, - fromJSON(object: any): QueryValidatorCommissionRequest { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" - }; - }, - toJSON(message: QueryValidatorCommissionRequest): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, fromPartial(object: Partial): QueryValidatorCommissionRequest { const message = createBaseQueryValidatorCommissionRequest(); message.validatorAddress = object.validatorAddress ?? ""; @@ -964,16 +917,6 @@ export const QueryValidatorCommissionResponse = { } return message; }, - fromJSON(object: any): QueryValidatorCommissionResponse { - return { - commission: isSet(object.commission) ? ValidatorAccumulatedCommission.fromJSON(object.commission) : undefined - }; - }, - toJSON(message: QueryValidatorCommissionResponse): unknown { - const obj: any = {}; - message.commission !== undefined && (obj.commission = message.commission ? ValidatorAccumulatedCommission.toJSON(message.commission) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorCommissionResponse { const message = createBaseQueryValidatorCommissionResponse(); message.commission = object.commission !== undefined && object.commission !== null ? ValidatorAccumulatedCommission.fromPartial(object.commission) : undefined; @@ -1064,22 +1007,6 @@ export const QueryValidatorSlashesRequest = { } return message; }, - fromJSON(object: any): QueryValidatorSlashesRequest { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - startingHeight: isSet(object.startingHeight) ? BigInt(object.startingHeight.toString()) : BigInt(0), - endingHeight: isSet(object.endingHeight) ? BigInt(object.endingHeight.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorSlashesRequest): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.startingHeight !== undefined && (obj.startingHeight = (message.startingHeight || BigInt(0)).toString()); - message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorSlashesRequest { const message = createBaseQueryValidatorSlashesRequest(); message.validatorAddress = object.validatorAddress ?? ""; @@ -1171,22 +1098,6 @@ export const QueryValidatorSlashesResponse = { } return message; }, - fromJSON(object: any): QueryValidatorSlashesResponse { - return { - slashes: Array.isArray(object?.slashes) ? object.slashes.map((e: any) => ValidatorSlashEvent.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorSlashesResponse): unknown { - const obj: any = {}; - if (message.slashes) { - obj.slashes = message.slashes.map(e => e ? ValidatorSlashEvent.toJSON(e) : undefined); - } else { - obj.slashes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorSlashesResponse { const message = createBaseQueryValidatorSlashesResponse(); message.slashes = object.slashes?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; @@ -1270,18 +1181,6 @@ export const QueryDelegationRewardsRequest = { } return message; }, - fromJSON(object: any): QueryDelegationRewardsRequest { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" - }; - }, - toJSON(message: QueryDelegationRewardsRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, fromPartial(object: Partial): QueryDelegationRewardsRequest { const message = createBaseQueryDelegationRewardsRequest(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1356,20 +1255,6 @@ export const QueryDelegationRewardsResponse = { } return message; }, - fromJSON(object: any): QueryDelegationRewardsResponse { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryDelegationRewardsResponse): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, fromPartial(object: Partial): QueryDelegationRewardsResponse { const message = createBaseQueryDelegationRewardsResponse(); message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; @@ -1441,16 +1326,6 @@ export const QueryDelegationTotalRewardsRequest = { } return message; }, - fromJSON(object: any): QueryDelegationTotalRewardsRequest { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "" - }; - }, - toJSON(message: QueryDelegationTotalRewardsRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - return obj; - }, fromPartial(object: Partial): QueryDelegationTotalRewardsRequest { const message = createBaseQueryDelegationTotalRewardsRequest(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1527,26 +1402,6 @@ export const QueryDelegationTotalRewardsResponse = { } return message; }, - fromJSON(object: any): QueryDelegationTotalRewardsResponse { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DelegationDelegatorReward.fromJSON(e)) : [], - total: Array.isArray(object?.total) ? object.total.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryDelegationTotalRewardsResponse): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DelegationDelegatorReward.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - if (message.total) { - obj.total = message.total.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, fromPartial(object: Partial): QueryDelegationTotalRewardsResponse { const message = createBaseQueryDelegationTotalRewardsResponse(); message.rewards = object.rewards?.map(e => DelegationDelegatorReward.fromPartial(e)) || []; @@ -1625,16 +1480,6 @@ export const QueryDelegatorValidatorsRequest = { } return message; }, - fromJSON(object: any): QueryDelegatorValidatorsRequest { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "" - }; - }, - toJSON(message: QueryDelegatorValidatorsRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - return obj; - }, fromPartial(object: Partial): QueryDelegatorValidatorsRequest { const message = createBaseQueryDelegatorValidatorsRequest(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1704,20 +1549,6 @@ export const QueryDelegatorValidatorsResponse = { } return message; }, - fromJSON(object: any): QueryDelegatorValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: QueryDelegatorValidatorsResponse): unknown { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e); - } else { - obj.validators = []; - } - return obj; - }, fromPartial(object: Partial): QueryDelegatorValidatorsResponse { const message = createBaseQueryDelegatorValidatorsResponse(); message.validators = object.validators?.map(e => e) || []; @@ -1789,16 +1620,6 @@ export const QueryDelegatorWithdrawAddressRequest = { } return message; }, - fromJSON(object: any): QueryDelegatorWithdrawAddressRequest { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "" - }; - }, - toJSON(message: QueryDelegatorWithdrawAddressRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - return obj; - }, fromPartial(object: Partial): QueryDelegatorWithdrawAddressRequest { const message = createBaseQueryDelegatorWithdrawAddressRequest(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1868,16 +1689,6 @@ export const QueryDelegatorWithdrawAddressResponse = { } return message; }, - fromJSON(object: any): QueryDelegatorWithdrawAddressResponse { - return { - withdrawAddress: isSet(object.withdrawAddress) ? String(object.withdrawAddress) : "" - }; - }, - toJSON(message: QueryDelegatorWithdrawAddressResponse): unknown { - const obj: any = {}; - message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress); - return obj; - }, fromPartial(object: Partial): QueryDelegatorWithdrawAddressResponse { const message = createBaseQueryDelegatorWithdrawAddressResponse(); message.withdrawAddress = object.withdrawAddress ?? ""; @@ -1939,13 +1750,6 @@ export const QueryCommunityPoolRequest = { } return message; }, - fromJSON(_: any): QueryCommunityPoolRequest { - return {}; - }, - toJSON(_: QueryCommunityPoolRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryCommunityPoolRequest { const message = createBaseQueryCommunityPoolRequest(); return message; @@ -2010,20 +1814,6 @@ export const QueryCommunityPoolResponse = { } return message; }, - fromJSON(object: any): QueryCommunityPoolResponse { - return { - pool: Array.isArray(object?.pool) ? object.pool.map((e: any) => DecCoin.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryCommunityPoolResponse): unknown { - const obj: any = {}; - if (message.pool) { - obj.pool = message.pool.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.pool = []; - } - return obj; - }, fromPartial(object: Partial): QueryCommunityPoolResponse { const message = createBaseQueryCommunityPoolResponse(); message.pool = object.pool?.map(e => DecCoin.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts b/packages/api/src/cosmos/distribution/v1beta1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/distribution/v1beta1/tx.amino.ts index 5b1270cb..a55f1e3f 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; export const AminoConverter = { "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts b/packages/api/src/cosmos/distribution/v1beta1/tx.registry.ts similarity index 66% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/distribution/v1beta1/tx.registry.ts index 2ceda653..52151ed5 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", MsgFundCommunityPool]]; @@ -59,58 +60,6 @@ export const MessageComposer = { }; } }, - toJSON: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.toJSON(value) - }; - }, - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.toJSON(value) - }; - }, - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.toJSON(value) - }; - }, - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.toJSON(value) - }; - } - }, - fromJSON: { - setWithdrawAddress(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.fromJSON(value) - }; - }, - withdrawDelegatorReward(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.fromJSON(value) - }; - }, - withdrawValidatorCommission(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.fromJSON(value) - }; - }, - fundCommunityPool(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.fromJSON(value) - }; - } - }, fromPartial: { setWithdrawAddress(value: MsgSetWithdrawAddress) { return { diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts index c66ec3e0..fefe32ff 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.ts b/packages/api/src/cosmos/distribution/v1beta1/tx.ts similarity index 90% rename from packages/api/src/codegen/cosmos/distribution/v1beta1/tx.ts rename to packages/api/src/cosmos/distribution/v1beta1/tx.ts index fd13bc11..37ea746c 100644 --- a/packages/api/src/codegen/cosmos/distribution/v1beta1/tx.ts +++ b/packages/api/src/cosmos/distribution/v1beta1/tx.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * MsgSetWithdrawAddress sets the withdraw address for * a delegator (or validator self-delegation). @@ -235,18 +235,6 @@ export const MsgSetWithdrawAddress = { } return message; }, - fromJSON(object: any): MsgSetWithdrawAddress { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - withdrawAddress: isSet(object.withdrawAddress) ? String(object.withdrawAddress) : "" - }; - }, - toJSON(message: MsgSetWithdrawAddress): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress); - return obj; - }, fromPartial(object: Partial): MsgSetWithdrawAddress { const message = createBaseMsgSetWithdrawAddress(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -313,13 +301,6 @@ export const MsgSetWithdrawAddressResponse = { } return message; }, - fromJSON(_: any): MsgSetWithdrawAddressResponse { - return {}; - }, - toJSON(_: MsgSetWithdrawAddressResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSetWithdrawAddressResponse { const message = createBaseMsgSetWithdrawAddressResponse(); return message; @@ -391,18 +372,6 @@ export const MsgWithdrawDelegatorReward = { } return message; }, - fromJSON(object: any): MsgWithdrawDelegatorReward { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" - }; - }, - toJSON(message: MsgWithdrawDelegatorReward): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, fromPartial(object: Partial): MsgWithdrawDelegatorReward { const message = createBaseMsgWithdrawDelegatorReward(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -477,20 +446,6 @@ export const MsgWithdrawDelegatorRewardResponse = { } return message; }, - fromJSON(object: any): MsgWithdrawDelegatorRewardResponse { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgWithdrawDelegatorRewardResponse): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): MsgWithdrawDelegatorRewardResponse { const message = createBaseMsgWithdrawDelegatorRewardResponse(); message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; @@ -562,16 +517,6 @@ export const MsgWithdrawValidatorCommission = { } return message; }, - fromJSON(object: any): MsgWithdrawValidatorCommission { - return { - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" - }; - }, - toJSON(message: MsgWithdrawValidatorCommission): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, fromPartial(object: Partial): MsgWithdrawValidatorCommission { const message = createBaseMsgWithdrawValidatorCommission(); message.validatorAddress = object.validatorAddress ?? ""; @@ -641,20 +586,6 @@ export const MsgWithdrawValidatorCommissionResponse = { } return message; }, - fromJSON(object: any): MsgWithdrawValidatorCommissionResponse { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgWithdrawValidatorCommissionResponse): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): MsgWithdrawValidatorCommissionResponse { const message = createBaseMsgWithdrawValidatorCommissionResponse(); message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; @@ -733,22 +664,6 @@ export const MsgFundCommunityPool = { } return message; }, - fromJSON(object: any): MsgFundCommunityPool { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], - depositor: isSet(object.depositor) ? String(object.depositor) : "" - }; - }, - toJSON(message: MsgFundCommunityPool): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.depositor !== undefined && (obj.depositor = message.depositor); - return obj; - }, fromPartial(object: Partial): MsgFundCommunityPool { const message = createBaseMsgFundCommunityPool(); message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; @@ -817,13 +732,6 @@ export const MsgFundCommunityPoolResponse = { } return message; }, - fromJSON(_: any): MsgFundCommunityPoolResponse { - return {}; - }, - toJSON(_: MsgFundCommunityPoolResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgFundCommunityPoolResponse { const message = createBaseMsgFundCommunityPoolResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/packages/api/src/cosmos/feegrant/v1beta1/feegrant.ts similarity index 83% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts rename to packages/api/src/cosmos/feegrant/v1beta1/feegrant.ts index b8d28877..45b17c84 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/feegrant.ts @@ -1,9 +1,10 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** * BasicAllowance implements Allowance with a one-time grant of coins * that optionally expires. The grantee can use up to SpendLimit to cover fees. @@ -17,7 +18,7 @@ export interface BasicAllowance { */ spendLimit: Coin[]; /** expiration specifies an optional time when this allowance expires */ - expiration?: Timestamp; + expiration?: Date; } export interface BasicAllowanceProtoMsg { typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance"; @@ -48,7 +49,7 @@ export interface BasicAllowanceAminoMsg { export interface BasicAllowanceSDKType { $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; spend_limit: CoinSDKType[]; - expiration?: TimestampSDKType; + expiration?: Date; } /** * PeriodicAllowance extends Allowance to allow for both a maximum cap, @@ -75,7 +76,7 @@ export interface PeriodicAllowance { * it is calculated from the start time of the first transaction after the * last period ended */ - periodReset: Timestamp; + periodReset: Date; } export interface PeriodicAllowanceProtoMsg { typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; @@ -121,13 +122,13 @@ export interface PeriodicAllowanceSDKType { period: DurationSDKType; period_spend_limit: CoinSDKType[]; period_can_spend: CoinSDKType[]; - period_reset: TimestampSDKType; + period_reset: Date; } /** AllowedMsgAllowance creates allowance only for specified message types. */ export interface AllowedMsgAllowance { $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; /** allowance can be any of basic and periodic fee allowance. */ - allowance?: (BasicAllowance & PeriodicAllowance & AllowedMsgAllowance & Any) | undefined; + allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; /** allowed_messages are the messages for which the grantee has the access. */ allowedMessages: string[]; } @@ -162,7 +163,7 @@ export interface Grant { /** grantee is the address of the user being granted an allowance of another user's funds. */ grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: (BasicAllowance & PeriodicAllowance & AllowedMsgAllowance & Any) | undefined; + allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; } export interface GrantProtoMsg { typeUrl: "/cosmos.feegrant.v1beta1.Grant"; @@ -204,7 +205,7 @@ export const BasicAllowance = { Coin.encode(v!, writer.uint32(10).fork()).ldelim(); } if (message.expiration !== undefined) { - Timestamp.encode(message.expiration, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -219,7 +220,7 @@ export const BasicAllowance = { message.spendLimit.push(Coin.decode(reader, reader.uint32())); break; case 2: - message.expiration = Timestamp.decode(reader, reader.uint32()); + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -228,33 +229,17 @@ export const BasicAllowance = { } return message; }, - fromJSON(object: any): BasicAllowance { - return { - spendLimit: Array.isArray(object?.spendLimit) ? object.spendLimit.map((e: any) => Coin.fromJSON(e)) : [], - expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined - }; - }, - toJSON(message: BasicAllowance): unknown { - const obj: any = {}; - if (message.spendLimit) { - obj.spendLimit = message.spendLimit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.spendLimit = []; - } - message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString()); - return obj; - }, fromPartial(object: Partial): BasicAllowance { const message = createBaseBasicAllowance(); message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; - message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined; + message.expiration = object.expiration ?? undefined; return message; }, fromAmino(object: BasicAllowanceAmino): BasicAllowance { const message = createBaseBasicAllowance(); message.spendLimit = object.spend_limit?.map(e => Coin.fromAmino(e)) || []; if (object.expiration !== undefined && object.expiration !== null) { - message.expiration = Timestamp.fromAmino(object.expiration); + message.expiration = fromTimestamp(Timestamp.fromAmino(object.expiration)); } return message; }, @@ -265,7 +250,7 @@ export const BasicAllowance = { } else { obj.spend_limit = message.spendLimit; } - obj.expiration = message.expiration ? Timestamp.toAmino(message.expiration) : undefined; + obj.expiration = message.expiration ? Timestamp.toAmino(toTimestamp(message.expiration)) : undefined; return obj; }, fromAminoMsg(object: BasicAllowanceAminoMsg): BasicAllowance { @@ -297,7 +282,7 @@ function createBasePeriodicAllowance(): PeriodicAllowance { period: Duration.fromPartial({}), periodSpendLimit: [], periodCanSpend: [], - periodReset: Timestamp.fromPartial({}) + periodReset: new Date() }; } export const PeriodicAllowance = { @@ -316,7 +301,7 @@ export const PeriodicAllowance = { Coin.encode(v!, writer.uint32(34).fork()).ldelim(); } if (message.periodReset !== undefined) { - Timestamp.encode(message.periodReset, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.periodReset), writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -340,7 +325,7 @@ export const PeriodicAllowance = { message.periodCanSpend.push(Coin.decode(reader, reader.uint32())); break; case 5: - message.periodReset = Timestamp.decode(reader, reader.uint32()); + message.periodReset = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -349,39 +334,13 @@ export const PeriodicAllowance = { } return message; }, - fromJSON(object: any): PeriodicAllowance { - return { - basic: isSet(object.basic) ? BasicAllowance.fromJSON(object.basic) : undefined, - period: isSet(object.period) ? Duration.fromJSON(object.period) : undefined, - periodSpendLimit: Array.isArray(object?.periodSpendLimit) ? object.periodSpendLimit.map((e: any) => Coin.fromJSON(e)) : [], - periodCanSpend: Array.isArray(object?.periodCanSpend) ? object.periodCanSpend.map((e: any) => Coin.fromJSON(e)) : [], - periodReset: isSet(object.periodReset) ? fromJsonTimestamp(object.periodReset) : undefined - }; - }, - toJSON(message: PeriodicAllowance): unknown { - const obj: any = {}; - message.basic !== undefined && (obj.basic = message.basic ? BasicAllowance.toJSON(message.basic) : undefined); - message.period !== undefined && (obj.period = message.period ? Duration.toJSON(message.period) : undefined); - if (message.periodSpendLimit) { - obj.periodSpendLimit = message.periodSpendLimit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.periodSpendLimit = []; - } - if (message.periodCanSpend) { - obj.periodCanSpend = message.periodCanSpend.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.periodCanSpend = []; - } - message.periodReset !== undefined && (obj.periodReset = fromTimestamp(message.periodReset).toISOString()); - return obj; - }, fromPartial(object: Partial): PeriodicAllowance { const message = createBasePeriodicAllowance(); message.basic = object.basic !== undefined && object.basic !== null ? BasicAllowance.fromPartial(object.basic) : undefined; message.period = object.period !== undefined && object.period !== null ? Duration.fromPartial(object.period) : undefined; message.periodSpendLimit = object.periodSpendLimit?.map(e => Coin.fromPartial(e)) || []; message.periodCanSpend = object.periodCanSpend?.map(e => Coin.fromPartial(e)) || []; - message.periodReset = object.periodReset !== undefined && object.periodReset !== null ? Timestamp.fromPartial(object.periodReset) : undefined; + message.periodReset = object.periodReset ?? undefined; return message; }, fromAmino(object: PeriodicAllowanceAmino): PeriodicAllowance { @@ -395,7 +354,7 @@ export const PeriodicAllowance = { message.periodSpendLimit = object.period_spend_limit?.map(e => Coin.fromAmino(e)) || []; message.periodCanSpend = object.period_can_spend?.map(e => Coin.fromAmino(e)) || []; if (object.period_reset !== undefined && object.period_reset !== null) { - message.periodReset = Timestamp.fromAmino(object.period_reset); + message.periodReset = fromTimestamp(Timestamp.fromAmino(object.period_reset)); } return message; }, @@ -413,7 +372,7 @@ export const PeriodicAllowance = { } else { obj.period_can_spend = message.periodCanSpend; } - obj.period_reset = message.periodReset ? Timestamp.toAmino(message.periodReset) : undefined; + obj.period_reset = message.periodReset ? Timestamp.toAmino(toTimestamp(message.periodReset)) : undefined; return obj; }, fromAminoMsg(object: PeriodicAllowanceAminoMsg): PeriodicAllowance { @@ -476,22 +435,6 @@ export const AllowedMsgAllowance = { } return message; }, - fromJSON(object: any): AllowedMsgAllowance { - return { - allowance: isSet(object.allowance) ? Any.fromJSON(object.allowance) : undefined, - allowedMessages: Array.isArray(object?.allowedMessages) ? object.allowedMessages.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: AllowedMsgAllowance): unknown { - const obj: any = {}; - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toJSON(message.allowance) : undefined); - if (message.allowedMessages) { - obj.allowedMessages = message.allowedMessages.map(e => e); - } else { - obj.allowedMessages = []; - } - return obj; - }, fromPartial(object: Partial): AllowedMsgAllowance { const message = createBaseAllowedMsgAllowance(); message.allowance = object.allowance !== undefined && object.allowance !== null ? Any.fromPartial(object.allowance) : undefined; @@ -582,20 +525,6 @@ export const Grant = { } return message; }, - fromJSON(object: any): Grant { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "", - allowance: isSet(object.allowance) ? Any.fromJSON(object.allowance) : undefined - }; - }, - toJSON(message: Grant): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toJSON(message.allowance) : undefined); - return obj; - }, fromPartial(object: Partial): Grant { const message = createBaseGrant(); message.granter = object.granter ?? ""; diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/genesis.ts b/packages/api/src/cosmos/feegrant/v1beta1/genesis.ts similarity index 88% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/genesis.ts rename to packages/api/src/cosmos/feegrant/v1beta1/genesis.ts index de66e5d5..2998b092 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/genesis.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; import { BinaryReader, BinaryWriter } from "../../../binary"; /** GenesisState contains a set of fee allowances, persisted from the store */ @@ -50,20 +51,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.allowances = []; - } - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/packages/api/src/cosmos/feegrant/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/feegrant/v1beta1/query.lcd.ts index 5649a3eb..155d35c8 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts index cef07797..76667558 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/query.ts b/packages/api/src/cosmos/feegrant/v1beta1/query.ts similarity index 88% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/query.ts rename to packages/api/src/cosmos/feegrant/v1beta1/query.ts index b1e596fa..37ce48aa 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/query.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/query.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ export interface QueryAllowanceRequest { /** granter is the address of the user granting an allowance of their funds. */ @@ -216,18 +216,6 @@ export const QueryAllowanceRequest = { } return message; }, - fromJSON(object: any): QueryAllowanceRequest { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "" - }; - }, - toJSON(message: QueryAllowanceRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - return obj; - }, fromPartial(object: Partial): QueryAllowanceRequest { const message = createBaseQueryAllowanceRequest(); message.granter = object.granter ?? ""; @@ -302,16 +290,6 @@ export const QueryAllowanceResponse = { } return message; }, - fromJSON(object: any): QueryAllowanceResponse { - return { - allowance: isSet(object.allowance) ? Grant.fromJSON(object.allowance) : undefined - }; - }, - toJSON(message: QueryAllowanceResponse): unknown { - const obj: any = {}; - message.allowance !== undefined && (obj.allowance = message.allowance ? Grant.toJSON(message.allowance) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowanceResponse { const message = createBaseQueryAllowanceResponse(); message.allowance = object.allowance !== undefined && object.allowance !== null ? Grant.fromPartial(object.allowance) : undefined; @@ -388,18 +366,6 @@ export const QueryAllowancesRequest = { } return message; }, - fromJSON(object: any): QueryAllowancesRequest { - return { - grantee: isSet(object.grantee) ? String(object.grantee) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowancesRequest): unknown { - const obj: any = {}; - message.grantee !== undefined && (obj.grantee = message.grantee); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowancesRequest { const message = createBaseQueryAllowancesRequest(); message.grantee = object.grantee ?? ""; @@ -481,22 +447,6 @@ export const QueryAllowancesResponse = { } return message; }, - fromJSON(object: any): QueryAllowancesResponse { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowancesResponse): unknown { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.allowances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowancesResponse { const message = createBaseQueryAllowancesResponse(); message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; @@ -580,18 +530,6 @@ export const QueryAllowancesByGranterRequest = { } return message; }, - fromJSON(object: any): QueryAllowancesByGranterRequest { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowancesByGranterRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowancesByGranterRequest { const message = createBaseQueryAllowancesByGranterRequest(); message.granter = object.granter ?? ""; @@ -673,22 +611,6 @@ export const QueryAllowancesByGranterResponse = { } return message; }, - fromJSON(object: any): QueryAllowancesByGranterResponse { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowancesByGranterResponse): unknown { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.allowances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowancesByGranterResponse { const message = createBaseQueryAllowancesByGranterResponse(); message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts b/packages/api/src/cosmos/feegrant/v1beta1/tx.amino.ts similarity index 97% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/feegrant/v1beta1/tx.amino.ts index 1a5cbbbd..4caf0da6 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; export const AminoConverter = { "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts b/packages/api/src/cosmos/feegrant/v1beta1/tx.registry.ts similarity index 68% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/feegrant/v1beta1/tx.registry.ts index e7592e81..0ef6e3bc 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.feegrant.v1beta1.MsgGrantAllowance", MsgGrantAllowance], ["/cosmos.feegrant.v1beta1.MsgRevokeAllowance", MsgRevokeAllowance]]; @@ -35,34 +36,6 @@ export const MessageComposer = { }; } }, - toJSON: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.toJSON(value) - }; - }, - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.toJSON(value) - }; - } - }, - fromJSON: { - grantAllowance(value: any) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.fromJSON(value) - }; - }, - revokeAllowance(value: any) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.fromJSON(value) - }; - } - }, fromPartial: { grantAllowance(value: MsgGrantAllowance) { return { diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts index 34b65501..ab613eab 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.ts b/packages/api/src/cosmos/feegrant/v1beta1/tx.ts similarity index 91% rename from packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.ts rename to packages/api/src/cosmos/feegrant/v1beta1/tx.ts index b298431a..6e24f86f 100644 --- a/packages/api/src/codegen/cosmos/feegrant/v1beta1/tx.ts +++ b/packages/api/src/cosmos/feegrant/v1beta1/tx.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BasicAllowance, BasicAllowanceProtoMsg, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceProtoMsg, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceProtoMsg, AllowedMsgAllowanceSDKType } from "./feegrant"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * MsgGrantAllowance adds permission for Grantee to spend up to Allowance * of fees from the account of Granter. @@ -12,7 +12,7 @@ export interface MsgGrantAllowance { /** grantee is the address of the user being granted an allowance of another user's funds. */ grantee: string; /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: (BasicAllowance & PeriodicAllowance & AllowedMsgAllowance & Any) | undefined; + allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; } export interface MsgGrantAllowanceProtoMsg { typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance"; @@ -145,20 +145,6 @@ export const MsgGrantAllowance = { } return message; }, - fromJSON(object: any): MsgGrantAllowance { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "", - allowance: isSet(object.allowance) ? Any.fromJSON(object.allowance) : undefined - }; - }, - toJSON(message: MsgGrantAllowance): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toJSON(message.allowance) : undefined); - return obj; - }, fromPartial(object: Partial): MsgGrantAllowance { const message = createBaseMsgGrantAllowance(); message.granter = object.granter ?? ""; @@ -230,13 +216,6 @@ export const MsgGrantAllowanceResponse = { } return message; }, - fromJSON(_: any): MsgGrantAllowanceResponse { - return {}; - }, - toJSON(_: MsgGrantAllowanceResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgGrantAllowanceResponse { const message = createBaseMsgGrantAllowanceResponse(); return message; @@ -308,18 +287,6 @@ export const MsgRevokeAllowance = { } return message; }, - fromJSON(object: any): MsgRevokeAllowance { - return { - granter: isSet(object.granter) ? String(object.granter) : "", - grantee: isSet(object.grantee) ? String(object.grantee) : "" - }; - }, - toJSON(message: MsgRevokeAllowance): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - return obj; - }, fromPartial(object: Partial): MsgRevokeAllowance { const message = createBaseMsgRevokeAllowance(); message.granter = object.granter ?? ""; @@ -386,13 +353,6 @@ export const MsgRevokeAllowanceResponse = { } return message; }, - fromJSON(_: any): MsgRevokeAllowanceResponse { - return {}; - }, - toJSON(_: MsgRevokeAllowanceResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRevokeAllowanceResponse { const message = createBaseMsgRevokeAllowanceResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/gov/v1/genesis.ts b/packages/api/src/cosmos/gov/v1/genesis.ts similarity index 81% rename from packages/api/src/codegen/cosmos/gov/v1/genesis.ts rename to packages/api/src/cosmos/gov/v1/genesis.ts index 7b332ba5..1c20fcef 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/genesis.ts +++ b/packages/api/src/cosmos/gov/v1/genesis.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** GenesisState defines the gov module's genesis state. */ export interface GenesisState { /** starting_proposal_id is the ID of the starting proposal. */ @@ -125,40 +125,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - startingProposalId: isSet(object.startingProposalId) ? BigInt(object.startingProposalId.toString()) : BigInt(0), - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromJSON(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromJSON(e)) : [], - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromJSON(e)) : [], - depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined, - votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined, - tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.startingProposalId !== undefined && (obj.startingProposalId = (message.startingProposalId || BigInt(0)).toString()); - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.startingProposalId = object.startingProposalId !== undefined && object.startingProposalId !== null ? BigInt(object.startingProposalId.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/cosmos/gov/v1/gov.ts b/packages/api/src/cosmos/gov/v1/gov.ts similarity index 81% rename from packages/api/src/codegen/cosmos/gov/v1/gov.ts rename to packages/api/src/cosmos/gov/v1/gov.ts index 9f05b531..75d1f906 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/gov.ts +++ b/packages/api/src/cosmos/gov/v1/gov.ts @@ -1,9 +1,10 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given governance proposal. */ export enum VoteOption { /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ @@ -207,11 +208,11 @@ export interface Proposal { * proposal's voting period has ended. */ finalTallyResult?: TallyResult; - submitTime?: Timestamp; - depositEndTime?: Timestamp; + submitTime?: Date; + depositEndTime?: Date; totalDeposit: Coin[]; - votingStartTime?: Timestamp; - votingEndTime?: Timestamp; + votingStartTime?: Date; + votingEndTime?: Date; /** metadata is any arbitrary metadata attached to the proposal. */ metadata: string; } @@ -248,11 +249,11 @@ export interface ProposalSDKType { messages: AnySDKType[]; status: ProposalStatus; final_tally_result?: TallyResultSDKType; - submit_time?: TimestampSDKType; - deposit_end_time?: TimestampSDKType; + submit_time?: Date; + deposit_end_time?: Date; total_deposit: CoinSDKType[]; - voting_start_time?: TimestampSDKType; - voting_end_time?: TimestampSDKType; + voting_start_time?: Date; + voting_end_time?: Date; metadata: string; } /** TallyResult defines a standard tally for a governance proposal. */ @@ -460,18 +461,6 @@ export const WeightedVoteOption = { } return message; }, - fromJSON(object: any): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - weight: isSet(object.weight) ? String(object.weight) : "" - }; - }, - toJSON(message: WeightedVoteOption): unknown { - const obj: any = {}; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.weight !== undefined && (obj.weight = message.weight); - return obj; - }, fromPartial(object: Partial): WeightedVoteOption { const message = createBaseWeightedVoteOption(); message.option = object.option ?? 0; @@ -560,24 +549,6 @@ export const Deposit = { } return message; }, - fromJSON(object: any): Deposit { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - depositor: isSet(object.depositor) ? String(object.depositor) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Deposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): Deposit { const message = createBaseDeposit(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -659,19 +630,19 @@ export const Proposal = { TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); } if (message.submitTime !== undefined) { - Timestamp.encode(message.submitTime, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); } if (message.depositEndTime !== undefined) { - Timestamp.encode(message.depositEndTime, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.depositEndTime), writer.uint32(50).fork()).ldelim(); } for (const v of message.totalDeposit) { Coin.encode(v!, writer.uint32(58).fork()).ldelim(); } if (message.votingStartTime !== undefined) { - Timestamp.encode(message.votingStartTime, writer.uint32(66).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); } if (message.votingEndTime !== undefined) { - Timestamp.encode(message.votingEndTime, writer.uint32(74).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); } if (message.metadata !== "") { writer.uint32(82).string(message.metadata); @@ -698,19 +669,19 @@ export const Proposal = { message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); break; case 5: - message.submitTime = Timestamp.decode(reader, reader.uint32()); + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 6: - message.depositEndTime = Timestamp.decode(reader, reader.uint32()); + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: message.totalDeposit.push(Coin.decode(reader, reader.uint32())); break; case 8: - message.votingStartTime = Timestamp.decode(reader, reader.uint32()); + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 9: - message.votingEndTime = Timestamp.decode(reader, reader.uint32()); + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 10: message.metadata = reader.string(); @@ -722,53 +693,17 @@ export const Proposal = { } return message; }, - fromJSON(object: any): Proposal { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined, - submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined, - depositEndTime: isSet(object.depositEndTime) ? fromJsonTimestamp(object.depositEndTime) : undefined, - totalDeposit: Array.isArray(object?.totalDeposit) ? object.totalDeposit.map((e: any) => Coin.fromJSON(e)) : [], - votingStartTime: isSet(object.votingStartTime) ? fromJsonTimestamp(object.votingStartTime) : undefined, - votingEndTime: isSet(object.votingEndTime) ? fromJsonTimestamp(object.votingEndTime) : undefined, - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: Proposal): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.submitTime !== undefined && (obj.submitTime = fromTimestamp(message.submitTime).toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = fromTimestamp(message.depositEndTime).toISOString()); - if (message.totalDeposit) { - obj.totalDeposit = message.totalDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.totalDeposit = []; - } - message.votingStartTime !== undefined && (obj.votingStartTime = fromTimestamp(message.votingStartTime).toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = fromTimestamp(message.votingEndTime).toISOString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): Proposal { const message = createBaseProposal(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; message.status = object.status ?? 0; message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined; - message.submitTime = object.submitTime !== undefined && object.submitTime !== null ? Timestamp.fromPartial(object.submitTime) : undefined; - message.depositEndTime = object.depositEndTime !== undefined && object.depositEndTime !== null ? Timestamp.fromPartial(object.depositEndTime) : undefined; + message.submitTime = object.submitTime ?? undefined; + message.depositEndTime = object.depositEndTime ?? undefined; message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; - message.votingStartTime = object.votingStartTime !== undefined && object.votingStartTime !== null ? Timestamp.fromPartial(object.votingStartTime) : undefined; - message.votingEndTime = object.votingEndTime !== undefined && object.votingEndTime !== null ? Timestamp.fromPartial(object.votingEndTime) : undefined; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; message.metadata = object.metadata ?? ""; return message; }, @@ -785,17 +720,17 @@ export const Proposal = { message.finalTallyResult = TallyResult.fromAmino(object.final_tally_result); } if (object.submit_time !== undefined && object.submit_time !== null) { - message.submitTime = Timestamp.fromAmino(object.submit_time); + message.submitTime = fromTimestamp(Timestamp.fromAmino(object.submit_time)); } if (object.deposit_end_time !== undefined && object.deposit_end_time !== null) { - message.depositEndTime = Timestamp.fromAmino(object.deposit_end_time); + message.depositEndTime = fromTimestamp(Timestamp.fromAmino(object.deposit_end_time)); } message.totalDeposit = object.total_deposit?.map(e => Coin.fromAmino(e)) || []; if (object.voting_start_time !== undefined && object.voting_start_time !== null) { - message.votingStartTime = Timestamp.fromAmino(object.voting_start_time); + message.votingStartTime = fromTimestamp(Timestamp.fromAmino(object.voting_start_time)); } if (object.voting_end_time !== undefined && object.voting_end_time !== null) { - message.votingEndTime = Timestamp.fromAmino(object.voting_end_time); + message.votingEndTime = fromTimestamp(Timestamp.fromAmino(object.voting_end_time)); } if (object.metadata !== undefined && object.metadata !== null) { message.metadata = object.metadata; @@ -812,15 +747,15 @@ export const Proposal = { } obj.status = message.status === 0 ? undefined : message.status; obj.final_tally_result = message.finalTallyResult ? TallyResult.toAmino(message.finalTallyResult) : undefined; - obj.submit_time = message.submitTime ? Timestamp.toAmino(message.submitTime) : undefined; - obj.deposit_end_time = message.depositEndTime ? Timestamp.toAmino(message.depositEndTime) : undefined; + obj.submit_time = message.submitTime ? Timestamp.toAmino(toTimestamp(message.submitTime)) : undefined; + obj.deposit_end_time = message.depositEndTime ? Timestamp.toAmino(toTimestamp(message.depositEndTime)) : undefined; if (message.totalDeposit) { obj.total_deposit = message.totalDeposit.map(e => e ? Coin.toAmino(e) : undefined); } else { obj.total_deposit = message.totalDeposit; } - obj.voting_start_time = message.votingStartTime ? Timestamp.toAmino(message.votingStartTime) : undefined; - obj.voting_end_time = message.votingEndTime ? Timestamp.toAmino(message.votingEndTime) : undefined; + obj.voting_start_time = message.votingStartTime ? Timestamp.toAmino(toTimestamp(message.votingStartTime)) : undefined; + obj.voting_end_time = message.votingEndTime ? Timestamp.toAmino(toTimestamp(message.votingEndTime)) : undefined; obj.metadata = message.metadata === "" ? undefined : message.metadata; return obj; }, @@ -897,22 +832,6 @@ export const TallyResult = { } return message; }, - fromJSON(object: any): TallyResult { - return { - yesCount: isSet(object.yesCount) ? String(object.yesCount) : "", - abstainCount: isSet(object.abstainCount) ? String(object.abstainCount) : "", - noCount: isSet(object.noCount) ? String(object.noCount) : "", - noWithVetoCount: isSet(object.noWithVetoCount) ? String(object.noWithVetoCount) : "" - }; - }, - toJSON(message: TallyResult): unknown { - const obj: any = {}; - message.yesCount !== undefined && (obj.yesCount = message.yesCount); - message.abstainCount !== undefined && (obj.abstainCount = message.abstainCount); - message.noCount !== undefined && (obj.noCount = message.noCount); - message.noWithVetoCount !== undefined && (obj.noWithVetoCount = message.noWithVetoCount); - return obj; - }, fromPartial(object: Partial): TallyResult { const message = createBaseTallyResult(); message.yesCount = object.yesCount ?? ""; @@ -1018,26 +937,6 @@ export const Vote = { } return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromJSON(e)) : [], - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: Vote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): Vote { const message = createBaseVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1131,22 +1030,6 @@ export const DepositParams = { } return message; }, - fromJSON(object: any): DepositParams { - return { - minDeposit: Array.isArray(object?.minDeposit) ? object.minDeposit.map((e: any) => Coin.fromJSON(e)) : [], - maxDepositPeriod: isSet(object.maxDepositPeriod) ? Duration.fromJSON(object.maxDepositPeriod) : undefined - }; - }, - toJSON(message: DepositParams): unknown { - const obj: any = {}; - if (message.minDeposit) { - obj.minDeposit = message.minDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.minDeposit = []; - } - message.maxDepositPeriod !== undefined && (obj.maxDepositPeriod = message.maxDepositPeriod ? Duration.toJSON(message.maxDepositPeriod) : undefined); - return obj; - }, fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; @@ -1223,16 +1106,6 @@ export const VotingParams = { } return message; }, - fromJSON(object: any): VotingParams { - return { - votingPeriod: isSet(object.votingPeriod) ? Duration.fromJSON(object.votingPeriod) : undefined - }; - }, - toJSON(message: VotingParams): unknown { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined); - return obj; - }, fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; @@ -1316,20 +1189,6 @@ export const TallyParams = { } return message; }, - fromJSON(object: any): TallyParams { - return { - quorum: isSet(object.quorum) ? String(object.quorum) : "", - threshold: isSet(object.threshold) ? String(object.threshold) : "", - vetoThreshold: isSet(object.vetoThreshold) ? String(object.vetoThreshold) : "" - }; - }, - toJSON(message: TallyParams): unknown { - const obj: any = {}; - message.quorum !== undefined && (obj.quorum = message.quorum); - message.threshold !== undefined && (obj.threshold = message.threshold); - message.vetoThreshold !== undefined && (obj.vetoThreshold = message.vetoThreshold); - return obj; - }, fromPartial(object: Partial): TallyParams { const message = createBaseTallyParams(); message.quorum = object.quorum ?? ""; diff --git a/packages/api/src/codegen/cosmos/gov/v1/query.lcd.ts b/packages/api/src/cosmos/gov/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/gov/v1/query.lcd.ts rename to packages/api/src/cosmos/gov/v1/query.lcd.ts index 5dafe478..d4e813ff 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/query.lcd.ts +++ b/packages/api/src/cosmos/gov/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/gov/v1/query.rpc.Query.ts b/packages/api/src/cosmos/gov/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/gov/v1/query.rpc.Query.ts rename to packages/api/src/cosmos/gov/v1/query.rpc.Query.ts index c4ff3fee..9ed348ce 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/gov/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/gov/v1/query.ts b/packages/api/src/cosmos/gov/v1/query.ts similarity index 88% rename from packages/api/src/codegen/cosmos/gov/v1/query.ts rename to packages/api/src/cosmos/gov/v1/query.ts index 6cd02f09..f928c430 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/query.ts +++ b/packages/api/src/cosmos/gov/v1/query.ts @@ -1,7 +1,7 @@ -import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; +//@ts-nocheck +import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./gov"; import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequest { /** proposal_id defines the unique id of the proposal. */ @@ -453,16 +453,6 @@ export const QueryProposalRequest = { } return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -532,16 +522,6 @@ export const QueryProposalResponse = { } return message; }, - fromJSON(object: any): QueryProposalResponse { - return { - proposal: isSet(object.proposal) ? Proposal.fromJSON(object.proposal) : undefined - }; - }, - toJSON(message: QueryProposalResponse): unknown { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toJSON(message.proposal) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalResponse { const message = createBaseQueryProposalResponse(); message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; @@ -632,22 +612,6 @@ export const QueryProposalsRequest = { } return message; }, - fromJSON(object: any): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : -1, - voter: isSet(object.voter) ? String(object.voter) : "", - depositor: isSet(object.depositor) ? String(object.depositor) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProposalsRequest): unknown { - const obj: any = {}; - message.proposalStatus !== undefined && (obj.proposalStatus = proposalStatusToJSON(message.proposalStatus)); - message.voter !== undefined && (obj.voter = message.voter); - message.depositor !== undefined && (obj.depositor = message.depositor); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalsRequest { const message = createBaseQueryProposalsRequest(); message.proposalStatus = object.proposalStatus ?? 0; @@ -739,22 +703,6 @@ export const QueryProposalsResponse = { } return message; }, - fromJSON(object: any): QueryProposalsResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProposalsResponse): unknown { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalsResponse { const message = createBaseQueryProposalsResponse(); message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; @@ -838,18 +786,6 @@ export const QueryVoteRequest = { } return message; }, - fromJSON(object: any): QueryVoteRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - return obj; - }, fromPartial(object: Partial): QueryVoteRequest { const message = createBaseQueryVoteRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -924,16 +860,6 @@ export const QueryVoteResponse = { } return message; }, - fromJSON(object: any): QueryVoteResponse { - return { - vote: isSet(object.vote) ? Vote.fromJSON(object.vote) : undefined - }; - }, - toJSON(message: QueryVoteResponse): unknown { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toJSON(message.vote) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVoteResponse { const message = createBaseQueryVoteResponse(); message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; @@ -1010,18 +936,6 @@ export const QueryVotesRequest = { } return message; }, - fromJSON(object: any): QueryVotesRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesRequest { const message = createBaseQueryVotesRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1103,22 +1017,6 @@ export const QueryVotesResponse = { } return message; }, - fromJSON(object: any): QueryVotesResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesResponse { const message = createBaseQueryVotesResponse(); message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; @@ -1195,16 +1093,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(object: any): QueryParamsRequest { - return { - paramsType: isSet(object.paramsType) ? String(object.paramsType) : "" - }; - }, - toJSON(message: QueryParamsRequest): unknown { - const obj: any = {}; - message.paramsType !== undefined && (obj.paramsType = message.paramsType); - return obj; - }, fromPartial(object: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); message.paramsType = object.paramsType ?? ""; @@ -1288,20 +1176,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined, - depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined, - tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; @@ -1388,18 +1262,6 @@ export const QueryDepositRequest = { } return message; }, - fromJSON(object: any): QueryDepositRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - depositor: isSet(object.depositor) ? String(object.depositor) : "" - }; - }, - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - return obj; - }, fromPartial(object: Partial): QueryDepositRequest { const message = createBaseQueryDepositRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1474,16 +1336,6 @@ export const QueryDepositResponse = { } return message; }, - fromJSON(object: any): QueryDepositResponse { - return { - deposit: isSet(object.deposit) ? Deposit.fromJSON(object.deposit) : undefined - }; - }, - toJSON(message: QueryDepositResponse): unknown { - const obj: any = {}; - message.deposit !== undefined && (obj.deposit = message.deposit ? Deposit.toJSON(message.deposit) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDepositResponse { const message = createBaseQueryDepositResponse(); message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined; @@ -1560,18 +1412,6 @@ export const QueryDepositsRequest = { } return message; }, - fromJSON(object: any): QueryDepositsRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDepositsRequest { const message = createBaseQueryDepositsRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1653,22 +1493,6 @@ export const QueryDepositsResponse = { } return message; }, - fromJSON(object: any): QueryDepositsResponse { - return { - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDepositsResponse): unknown { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDepositsResponse { const message = createBaseQueryDepositsResponse(); message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; @@ -1745,16 +1569,6 @@ export const QueryTallyResultRequest = { } return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1824,16 +1638,6 @@ export const QueryTallyResultResponse = { } return message; }, - fromJSON(object: any): QueryTallyResultResponse { - return { - tally: isSet(object.tally) ? TallyResult.fromJSON(object.tally) : undefined - }; - }, - toJSON(message: QueryTallyResultResponse): unknown { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toJSON(message.tally) : undefined); - return obj; - }, fromPartial(object: Partial): QueryTallyResultResponse { const message = createBaseQueryTallyResultResponse(); message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; diff --git a/packages/api/src/codegen/cosmos/gov/v1/tx.amino.ts b/packages/api/src/cosmos/gov/v1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/cosmos/gov/v1/tx.amino.ts rename to packages/api/src/cosmos/gov/v1/tx.amino.ts index 33fcf209..a648548e 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/tx.amino.ts +++ b/packages/api/src/cosmos/gov/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export const AminoConverter = { "/cosmos.gov.v1.MsgSubmitProposal": { diff --git a/packages/api/src/codegen/cosmos/gov/v1/tx.registry.ts b/packages/api/src/cosmos/gov/v1/tx.registry.ts similarity index 65% rename from packages/api/src/codegen/cosmos/gov/v1/tx.registry.ts rename to packages/api/src/cosmos/gov/v1/tx.registry.ts index ffd5c163..1201c07b 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/tx.registry.ts +++ b/packages/api/src/cosmos/gov/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.gov.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.gov.v1.MsgExecLegacyContent", MsgExecLegacyContent], ["/cosmos.gov.v1.MsgVote", MsgVote], ["/cosmos.gov.v1.MsgVoteWeighted", MsgVoteWeighted], ["/cosmos.gov.v1.MsgDeposit", MsgDeposit]]; @@ -71,70 +72,6 @@ export const MessageComposer = { }; } }, - toJSON: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.toJSON(value) - }; - }, - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.toJSON(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.toJSON(value) - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.toJSON(value) - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.toJSON(value) - }; - } - }, - fromJSON: { - submitProposal(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromJSON(value) - }; - }, - execLegacyContent(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.fromJSON(value) - }; - }, - vote(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.fromJSON(value) - }; - }, - voteWeighted(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.fromJSON(value) - }; - }, - deposit(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.fromJSON(value) - }; - } - }, fromPartial: { submitProposal(value: MsgSubmitProposal) { return { diff --git a/packages/api/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/packages/api/src/cosmos/gov/v1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts rename to packages/api/src/cosmos/gov/v1/tx.rpc.msg.ts index 2a8605ee..7141fdd1 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/gov/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/gov/v1/tx.ts b/packages/api/src/cosmos/gov/v1/tx.ts similarity index 88% rename from packages/api/src/codegen/cosmos/gov/v1/tx.ts rename to packages/api/src/cosmos/gov/v1/tx.ts index f21b8d6e..9faf1aeb 100644 --- a/packages/api/src/codegen/cosmos/gov/v1/tx.ts +++ b/packages/api/src/cosmos/gov/v1/tx.ts @@ -1,9 +1,9 @@ +//@ts-nocheck import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType } from "./gov"; import { TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "../v1beta1/gov"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. @@ -70,7 +70,7 @@ export interface MsgSubmitProposalResponseSDKType { */ export interface MsgExecLegacyContent { /** content is the proposal's content. */ - content?: (TextProposal & Any) | undefined; + content?: TextProposal | Any | undefined; /** authority must be the gov module address. */ authority: string; } @@ -294,30 +294,6 @@ export const MsgSubmitProposal = { } return message; }, - fromJSON(object: any): MsgSubmitProposal { - return { - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], - initialDeposit: Array.isArray(object?.initialDeposit) ? object.initialDeposit.map((e: any) => Coin.fromJSON(e)) : [], - proposer: isSet(object.proposer) ? String(object.proposer) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - if (message.initialDeposit) { - obj.initialDeposit = message.initialDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.initialDeposit = []; - } - message.proposer !== undefined && (obj.proposer = message.proposer); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgSubmitProposal { const message = createBaseMsgSubmitProposal(); message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; @@ -406,16 +382,6 @@ export const MsgSubmitProposalResponse = { } return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -492,18 +458,6 @@ export const MsgExecLegacyContent = { } return message; }, - fromJSON(object: any): MsgExecLegacyContent { - return { - content: isSet(object.content) ? Any.fromJSON(object.content) : undefined, - authority: isSet(object.authority) ? String(object.authority) : "" - }; - }, - toJSON(message: MsgExecLegacyContent): unknown { - const obj: any = {}; - message.content !== undefined && (obj.content = message.content ? Any.toJSON(message.content) : undefined); - message.authority !== undefined && (obj.authority = message.authority); - return obj; - }, fromPartial(object: Partial): MsgExecLegacyContent { const message = createBaseMsgExecLegacyContent(); message.content = object.content !== undefined && object.content !== null ? Any.fromPartial(object.content) : undefined; @@ -570,13 +524,6 @@ export const MsgExecLegacyContentResponse = { } return message; }, - fromJSON(_: any): MsgExecLegacyContentResponse { - return {}; - }, - toJSON(_: MsgExecLegacyContentResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgExecLegacyContentResponse { const message = createBaseMsgExecLegacyContentResponse(); return message; @@ -662,22 +609,6 @@ export const MsgVote = { } return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgVote { const message = createBaseMsgVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -754,13 +685,6 @@ export const MsgVoteResponse = { } return message; }, - fromJSON(_: any): MsgVoteResponse { - return {}; - }, - toJSON(_: MsgVoteResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgVoteResponse { const message = createBaseMsgVoteResponse(); return message; @@ -846,26 +770,6 @@ export const MsgVoteWeighted = { } return message; }, - fromJSON(object: any): MsgVoteWeighted { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromJSON(e)) : [], - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgVoteWeighted): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgVoteWeighted { const message = createBaseMsgVoteWeighted(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -944,13 +848,6 @@ export const MsgVoteWeightedResponse = { } return message; }, - fromJSON(_: any): MsgVoteWeightedResponse { - return {}; - }, - toJSON(_: MsgVoteWeightedResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgVoteWeightedResponse { const message = createBaseMsgVoteWeightedResponse(); return message; @@ -1029,24 +926,6 @@ export const MsgDeposit = { } return message; }, - fromJSON(object: any): MsgDeposit { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - depositor: isSet(object.depositor) ? String(object.depositor) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgDeposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): MsgDeposit { const message = createBaseMsgDeposit(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1120,13 +999,6 @@ export const MsgDepositResponse = { } return message; }, - fromJSON(_: any): MsgDepositResponse { - return {}; - }, - toJSON(_: MsgDepositResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgDepositResponse { const message = createBaseMsgDepositResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/genesis.ts b/packages/api/src/cosmos/gov/v1beta1/genesis.ts similarity index 81% rename from packages/api/src/codegen/cosmos/gov/v1beta1/genesis.ts rename to packages/api/src/cosmos/gov/v1beta1/genesis.ts index 8392b130..25644b8b 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/gov/v1beta1/genesis.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** GenesisState defines the gov module's genesis state. */ export interface GenesisState { /** starting_proposal_id is the ID of the starting proposal. */ @@ -125,40 +125,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - startingProposalId: isSet(object.startingProposalId) ? BigInt(object.startingProposalId.toString()) : BigInt(0), - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromJSON(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromJSON(e)) : [], - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromJSON(e)) : [], - depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined, - votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined, - tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.startingProposalId !== undefined && (obj.startingProposalId = (message.startingProposalId || BigInt(0)).toString()); - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.startingProposalId = object.startingProposalId !== undefined && object.startingProposalId !== null ? BigInt(object.startingProposalId.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/gov.ts b/packages/api/src/cosmos/gov/v1beta1/gov.ts similarity index 82% rename from packages/api/src/codegen/cosmos/gov/v1beta1/gov.ts rename to packages/api/src/cosmos/gov/v1beta1/gov.ts index b5b8301e..ac759ab7 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/gov.ts +++ b/packages/api/src/cosmos/gov/v1beta1/gov.ts @@ -1,10 +1,11 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { Decimal } from "@cosmjs/math"; -import { isSet, fromJsonTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given governance proposal. */ export enum VoteOption { /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ @@ -246,7 +247,7 @@ export interface DepositSDKType { /** Proposal defines the core field members of a governance proposal. */ export interface Proposal { proposalId: bigint; - content?: (TextProposal & Any) | undefined; + content?: TextProposal | Any | undefined; status: ProposalStatus; /** * final_tally_result is the final tally result of the proposal. When @@ -254,11 +255,11 @@ export interface Proposal { * proposal's voting period has ended. */ finalTallyResult: TallyResult; - submitTime: Timestamp; - depositEndTime: Timestamp; + submitTime: Date; + depositEndTime: Date; totalDeposit: Coin[]; - votingStartTime: Timestamp; - votingEndTime: Timestamp; + votingStartTime: Date; + votingEndTime: Date; } export interface ProposalProtoMsg { typeUrl: "/cosmos.gov.v1beta1.Proposal"; @@ -294,11 +295,11 @@ export interface ProposalSDKType { content?: TextProposalSDKType | AnySDKType | undefined; status: ProposalStatus; final_tally_result: TallyResultSDKType; - submit_time: TimestampSDKType; - deposit_end_time: TimestampSDKType; + submit_time: Date; + deposit_end_time: Date; total_deposit: CoinSDKType[]; - voting_start_time: TimestampSDKType; - voting_end_time: TimestampSDKType; + voting_start_time: Date; + voting_end_time: Date; } /** TallyResult defines a standard tally for a governance proposal. */ export interface TallyResult { @@ -518,18 +519,6 @@ export const WeightedVoteOption = { } return message; }, - fromJSON(object: any): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - weight: isSet(object.weight) ? String(object.weight) : "" - }; - }, - toJSON(message: WeightedVoteOption): unknown { - const obj: any = {}; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.weight !== undefined && (obj.weight = message.weight); - return obj; - }, fromPartial(object: Partial): WeightedVoteOption { const message = createBaseWeightedVoteOption(); message.option = object.option ?? 0; @@ -612,18 +601,6 @@ export const TextProposal = { } return message; }, - fromJSON(object: any): TextProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "" - }; - }, - toJSON(message: TextProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - return obj; - }, fromPartial(object: Partial): TextProposal { const message = createBaseTextProposal(); message.title = object.title ?? ""; @@ -712,24 +689,6 @@ export const Deposit = { } return message; }, - fromJSON(object: any): Deposit { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - depositor: isSet(object.depositor) ? String(object.depositor) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Deposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): Deposit { const message = createBaseDeposit(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -787,11 +746,11 @@ function createBaseProposal(): Proposal { content: undefined, status: 0, finalTallyResult: TallyResult.fromPartial({}), - submitTime: Timestamp.fromPartial({}), - depositEndTime: Timestamp.fromPartial({}), + submitTime: new Date(), + depositEndTime: new Date(), totalDeposit: [], - votingStartTime: Timestamp.fromPartial({}), - votingEndTime: Timestamp.fromPartial({}) + votingStartTime: new Date(), + votingEndTime: new Date() }; } export const Proposal = { @@ -810,19 +769,19 @@ export const Proposal = { TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); } if (message.submitTime !== undefined) { - Timestamp.encode(message.submitTime, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); } if (message.depositEndTime !== undefined) { - Timestamp.encode(message.depositEndTime, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.depositEndTime), writer.uint32(50).fork()).ldelim(); } for (const v of message.totalDeposit) { Coin.encode(v!, writer.uint32(58).fork()).ldelim(); } if (message.votingStartTime !== undefined) { - Timestamp.encode(message.votingStartTime, writer.uint32(66).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); } if (message.votingEndTime !== undefined) { - Timestamp.encode(message.votingEndTime, writer.uint32(74).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); } return writer; }, @@ -846,19 +805,19 @@ export const Proposal = { message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); break; case 5: - message.submitTime = Timestamp.decode(reader, reader.uint32()); + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 6: - message.depositEndTime = Timestamp.decode(reader, reader.uint32()); + message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: message.totalDeposit.push(Coin.decode(reader, reader.uint32())); break; case 8: - message.votingStartTime = Timestamp.decode(reader, reader.uint32()); + message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 9: - message.votingEndTime = Timestamp.decode(reader, reader.uint32()); + message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -867,47 +826,17 @@ export const Proposal = { } return message; }, - fromJSON(object: any): Proposal { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - content: isSet(object.content) ? Any.fromJSON(object.content) : undefined, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined, - submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined, - depositEndTime: isSet(object.depositEndTime) ? fromJsonTimestamp(object.depositEndTime) : undefined, - totalDeposit: Array.isArray(object?.totalDeposit) ? object.totalDeposit.map((e: any) => Coin.fromJSON(e)) : [], - votingStartTime: isSet(object.votingStartTime) ? fromJsonTimestamp(object.votingStartTime) : undefined, - votingEndTime: isSet(object.votingEndTime) ? fromJsonTimestamp(object.votingEndTime) : undefined - }; - }, - toJSON(message: Proposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.content !== undefined && (obj.content = message.content ? Any.toJSON(message.content) : undefined); - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.submitTime !== undefined && (obj.submitTime = fromTimestamp(message.submitTime).toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = fromTimestamp(message.depositEndTime).toISOString()); - if (message.totalDeposit) { - obj.totalDeposit = message.totalDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.totalDeposit = []; - } - message.votingStartTime !== undefined && (obj.votingStartTime = fromTimestamp(message.votingStartTime).toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = fromTimestamp(message.votingEndTime).toISOString()); - return obj; - }, fromPartial(object: Partial): Proposal { const message = createBaseProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); message.content = object.content !== undefined && object.content !== null ? Any.fromPartial(object.content) : undefined; message.status = object.status ?? 0; message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined; - message.submitTime = object.submitTime !== undefined && object.submitTime !== null ? Timestamp.fromPartial(object.submitTime) : undefined; - message.depositEndTime = object.depositEndTime !== undefined && object.depositEndTime !== null ? Timestamp.fromPartial(object.depositEndTime) : undefined; + message.submitTime = object.submitTime ?? undefined; + message.depositEndTime = object.depositEndTime ?? undefined; message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; - message.votingStartTime = object.votingStartTime !== undefined && object.votingStartTime !== null ? Timestamp.fromPartial(object.votingStartTime) : undefined; - message.votingEndTime = object.votingEndTime !== undefined && object.votingEndTime !== null ? Timestamp.fromPartial(object.votingEndTime) : undefined; + message.votingStartTime = object.votingStartTime ?? undefined; + message.votingEndTime = object.votingEndTime ?? undefined; return message; }, fromAmino(object: ProposalAmino): Proposal { @@ -925,17 +854,17 @@ export const Proposal = { message.finalTallyResult = TallyResult.fromAmino(object.final_tally_result); } if (object.submit_time !== undefined && object.submit_time !== null) { - message.submitTime = Timestamp.fromAmino(object.submit_time); + message.submitTime = fromTimestamp(Timestamp.fromAmino(object.submit_time)); } if (object.deposit_end_time !== undefined && object.deposit_end_time !== null) { - message.depositEndTime = Timestamp.fromAmino(object.deposit_end_time); + message.depositEndTime = fromTimestamp(Timestamp.fromAmino(object.deposit_end_time)); } message.totalDeposit = object.total_deposit?.map(e => Coin.fromAmino(e)) || []; if (object.voting_start_time !== undefined && object.voting_start_time !== null) { - message.votingStartTime = Timestamp.fromAmino(object.voting_start_time); + message.votingStartTime = fromTimestamp(Timestamp.fromAmino(object.voting_start_time)); } if (object.voting_end_time !== undefined && object.voting_end_time !== null) { - message.votingEndTime = Timestamp.fromAmino(object.voting_end_time); + message.votingEndTime = fromTimestamp(Timestamp.fromAmino(object.voting_end_time)); } return message; }, @@ -945,15 +874,15 @@ export const Proposal = { obj.content = message.content ? Content_ToAmino((message.content as Any)) : undefined; obj.status = message.status === 0 ? undefined : message.status; obj.final_tally_result = message.finalTallyResult ? TallyResult.toAmino(message.finalTallyResult) : undefined; - obj.submit_time = message.submitTime ? Timestamp.toAmino(message.submitTime) : undefined; - obj.deposit_end_time = message.depositEndTime ? Timestamp.toAmino(message.depositEndTime) : undefined; + obj.submit_time = message.submitTime ? Timestamp.toAmino(toTimestamp(message.submitTime)) : undefined; + obj.deposit_end_time = message.depositEndTime ? Timestamp.toAmino(toTimestamp(message.depositEndTime)) : undefined; if (message.totalDeposit) { obj.total_deposit = message.totalDeposit.map(e => e ? Coin.toAmino(e) : undefined); } else { obj.total_deposit = message.totalDeposit; } - obj.voting_start_time = message.votingStartTime ? Timestamp.toAmino(message.votingStartTime) : undefined; - obj.voting_end_time = message.votingEndTime ? Timestamp.toAmino(message.votingEndTime) : undefined; + obj.voting_start_time = message.votingStartTime ? Timestamp.toAmino(toTimestamp(message.votingStartTime)) : undefined; + obj.voting_end_time = message.votingEndTime ? Timestamp.toAmino(toTimestamp(message.votingEndTime)) : undefined; return obj; }, fromAminoMsg(object: ProposalAminoMsg): Proposal { @@ -1029,22 +958,6 @@ export const TallyResult = { } return message; }, - fromJSON(object: any): TallyResult { - return { - yes: isSet(object.yes) ? String(object.yes) : "", - abstain: isSet(object.abstain) ? String(object.abstain) : "", - no: isSet(object.no) ? String(object.no) : "", - noWithVeto: isSet(object.noWithVeto) ? String(object.noWithVeto) : "" - }; - }, - toJSON(message: TallyResult): unknown { - const obj: any = {}; - message.yes !== undefined && (obj.yes = message.yes); - message.abstain !== undefined && (obj.abstain = message.abstain); - message.no !== undefined && (obj.no = message.no); - message.noWithVeto !== undefined && (obj.noWithVeto = message.noWithVeto); - return obj; - }, fromPartial(object: Partial): TallyResult { const message = createBaseTallyResult(); message.yes = object.yes ?? ""; @@ -1150,26 +1063,6 @@ export const Vote = { } return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromJSON(e)) : [] - }; - }, - toJSON(message: Vote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, fromPartial(object: Partial): Vote { const message = createBaseVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1263,22 +1156,6 @@ export const DepositParams = { } return message; }, - fromJSON(object: any): DepositParams { - return { - minDeposit: Array.isArray(object?.minDeposit) ? object.minDeposit.map((e: any) => Coin.fromJSON(e)) : [], - maxDepositPeriod: isSet(object.maxDepositPeriod) ? Duration.fromJSON(object.maxDepositPeriod) : undefined - }; - }, - toJSON(message: DepositParams): unknown { - const obj: any = {}; - if (message.minDeposit) { - obj.minDeposit = message.minDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.minDeposit = []; - } - message.maxDepositPeriod !== undefined && (obj.maxDepositPeriod = message.maxDepositPeriod ? Duration.toJSON(message.maxDepositPeriod) : undefined); - return obj; - }, fromPartial(object: Partial): DepositParams { const message = createBaseDepositParams(); message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; @@ -1355,16 +1232,6 @@ export const VotingParams = { } return message; }, - fromJSON(object: any): VotingParams { - return { - votingPeriod: isSet(object.votingPeriod) ? Duration.fromJSON(object.votingPeriod) : undefined - }; - }, - toJSON(message: VotingParams): unknown { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined); - return obj; - }, fromPartial(object: Partial): VotingParams { const message = createBaseVotingParams(); message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; @@ -1448,20 +1315,6 @@ export const TallyParams = { } return message; }, - fromJSON(object: any): TallyParams { - return { - quorum: isSet(object.quorum) ? bytesFromBase64(object.quorum) : new Uint8Array(), - threshold: isSet(object.threshold) ? bytesFromBase64(object.threshold) : new Uint8Array(), - vetoThreshold: isSet(object.vetoThreshold) ? bytesFromBase64(object.vetoThreshold) : new Uint8Array() - }; - }, - toJSON(message: TallyParams): unknown { - const obj: any = {}; - message.quorum !== undefined && (obj.quorum = base64FromBytes(message.quorum !== undefined ? message.quorum : new Uint8Array())); - message.threshold !== undefined && (obj.threshold = base64FromBytes(message.threshold !== undefined ? message.threshold : new Uint8Array())); - message.vetoThreshold !== undefined && (obj.vetoThreshold = base64FromBytes(message.vetoThreshold !== undefined ? message.vetoThreshold : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): TallyParams { const message = createBaseTallyParams(); message.quorum = object.quorum ?? new Uint8Array(); diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/query.lcd.ts b/packages/api/src/cosmos/gov/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/gov/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/gov/v1beta1/query.lcd.ts index eeaf06a3..f7fc03c5 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/gov/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/gov/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/gov/v1beta1/query.rpc.Query.ts index ead5910b..17fd7312 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/gov/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/query.ts b/packages/api/src/cosmos/gov/v1beta1/query.ts similarity index 88% rename from packages/api/src/codegen/cosmos/gov/v1beta1/query.ts rename to packages/api/src/cosmos/gov/v1beta1/query.ts index 7c35fb55..93e21125 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/query.ts +++ b/packages/api/src/cosmos/gov/v1beta1/query.ts @@ -1,7 +1,7 @@ -import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; +//@ts-nocheck +import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./gov"; import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ export interface QueryProposalRequest { /** proposal_id defines the unique id of the proposal. */ @@ -453,16 +453,6 @@ export const QueryProposalRequest = { } return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -532,16 +522,6 @@ export const QueryProposalResponse = { } return message; }, - fromJSON(object: any): QueryProposalResponse { - return { - proposal: isSet(object.proposal) ? Proposal.fromJSON(object.proposal) : undefined - }; - }, - toJSON(message: QueryProposalResponse): unknown { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toJSON(message.proposal) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalResponse { const message = createBaseQueryProposalResponse(); message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; @@ -632,22 +612,6 @@ export const QueryProposalsRequest = { } return message; }, - fromJSON(object: any): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposalStatus) ? proposalStatusFromJSON(object.proposalStatus) : -1, - voter: isSet(object.voter) ? String(object.voter) : "", - depositor: isSet(object.depositor) ? String(object.depositor) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProposalsRequest): unknown { - const obj: any = {}; - message.proposalStatus !== undefined && (obj.proposalStatus = proposalStatusToJSON(message.proposalStatus)); - message.voter !== undefined && (obj.voter = message.voter); - message.depositor !== undefined && (obj.depositor = message.depositor); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalsRequest { const message = createBaseQueryProposalsRequest(); message.proposalStatus = object.proposalStatus ?? 0; @@ -739,22 +703,6 @@ export const QueryProposalsResponse = { } return message; }, - fromJSON(object: any): QueryProposalsResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProposalsResponse): unknown { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalsResponse { const message = createBaseQueryProposalsResponse(); message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; @@ -838,18 +786,6 @@ export const QueryVoteRequest = { } return message; }, - fromJSON(object: any): QueryVoteRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - return obj; - }, fromPartial(object: Partial): QueryVoteRequest { const message = createBaseQueryVoteRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -924,16 +860,6 @@ export const QueryVoteResponse = { } return message; }, - fromJSON(object: any): QueryVoteResponse { - return { - vote: isSet(object.vote) ? Vote.fromJSON(object.vote) : undefined - }; - }, - toJSON(message: QueryVoteResponse): unknown { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toJSON(message.vote) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVoteResponse { const message = createBaseQueryVoteResponse(); message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; @@ -1010,18 +936,6 @@ export const QueryVotesRequest = { } return message; }, - fromJSON(object: any): QueryVotesRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesRequest { const message = createBaseQueryVotesRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1103,22 +1017,6 @@ export const QueryVotesResponse = { } return message; }, - fromJSON(object: any): QueryVotesResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesResponse { const message = createBaseQueryVotesResponse(); message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; @@ -1195,16 +1093,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(object: any): QueryParamsRequest { - return { - paramsType: isSet(object.paramsType) ? String(object.paramsType) : "" - }; - }, - toJSON(message: QueryParamsRequest): unknown { - const obj: any = {}; - message.paramsType !== undefined && (obj.paramsType = message.paramsType); - return obj; - }, fromPartial(object: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); message.paramsType = object.paramsType ?? ""; @@ -1288,20 +1176,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - votingParams: isSet(object.votingParams) ? VotingParams.fromJSON(object.votingParams) : undefined, - depositParams: isSet(object.depositParams) ? DepositParams.fromJSON(object.depositParams) : undefined, - tallyParams: isSet(object.tallyParams) ? TallyParams.fromJSON(object.tallyParams) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.votingParams = object.votingParams !== undefined && object.votingParams !== null ? VotingParams.fromPartial(object.votingParams) : undefined; @@ -1388,18 +1262,6 @@ export const QueryDepositRequest = { } return message; }, - fromJSON(object: any): QueryDepositRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - depositor: isSet(object.depositor) ? String(object.depositor) : "" - }; - }, - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - return obj; - }, fromPartial(object: Partial): QueryDepositRequest { const message = createBaseQueryDepositRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1474,16 +1336,6 @@ export const QueryDepositResponse = { } return message; }, - fromJSON(object: any): QueryDepositResponse { - return { - deposit: isSet(object.deposit) ? Deposit.fromJSON(object.deposit) : undefined - }; - }, - toJSON(message: QueryDepositResponse): unknown { - const obj: any = {}; - message.deposit !== undefined && (obj.deposit = message.deposit ? Deposit.toJSON(message.deposit) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDepositResponse { const message = createBaseQueryDepositResponse(); message.deposit = object.deposit !== undefined && object.deposit !== null ? Deposit.fromPartial(object.deposit) : undefined; @@ -1560,18 +1412,6 @@ export const QueryDepositsRequest = { } return message; }, - fromJSON(object: any): QueryDepositsRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDepositsRequest { const message = createBaseQueryDepositsRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1653,22 +1493,6 @@ export const QueryDepositsResponse = { } return message; }, - fromJSON(object: any): QueryDepositsResponse { - return { - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDepositsResponse): unknown { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDepositsResponse { const message = createBaseQueryDepositsResponse(); message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; @@ -1745,16 +1569,6 @@ export const QueryTallyResultRequest = { } return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1824,16 +1638,6 @@ export const QueryTallyResultResponse = { } return message; }, - fromJSON(object: any): QueryTallyResultResponse { - return { - tally: isSet(object.tally) ? TallyResult.fromJSON(object.tally) : undefined - }; - }, - toJSON(message: QueryTallyResultResponse): unknown { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toJSON(message.tally) : undefined); - return obj; - }, fromPartial(object: Partial): QueryTallyResultResponse { const message = createBaseQueryTallyResultResponse(); message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.amino.ts b/packages/api/src/cosmos/gov/v1beta1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/cosmos/gov/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/gov/v1beta1/tx.amino.ts index 1d618905..933c1663 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +++ b/packages/api/src/cosmos/gov/v1beta1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export const AminoConverter = { "/cosmos.gov.v1beta1.MsgSubmitProposal": { diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.registry.ts b/packages/api/src/cosmos/gov/v1beta1/tx.registry.ts similarity index 66% rename from packages/api/src/codegen/cosmos/gov/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/gov/v1beta1/tx.registry.ts index 6941cf19..604c0b30 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/gov/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.gov.v1beta1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.gov.v1beta1.MsgVote", MsgVote], ["/cosmos.gov.v1beta1.MsgVoteWeighted", MsgVoteWeighted], ["/cosmos.gov.v1beta1.MsgDeposit", MsgDeposit]]; @@ -59,58 +60,6 @@ export const MessageComposer = { }; } }, - toJSON: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.toJSON(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.toJSON(value) - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.toJSON(value) - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.toJSON(value) - }; - } - }, - fromJSON: { - submitProposal(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.fromJSON(value) - }; - }, - vote(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.fromJSON(value) - }; - }, - voteWeighted(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.fromJSON(value) - }; - }, - deposit(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.fromJSON(value) - }; - } - }, fromPartial: { submitProposal(value: MsgSubmitProposal) { return { diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/gov/v1beta1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/gov/v1beta1/tx.rpc.msg.ts index 92982883..92c3feaa 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/gov/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.ts b/packages/api/src/cosmos/gov/v1beta1/tx.ts similarity index 88% rename from packages/api/src/codegen/cosmos/gov/v1beta1/tx.ts rename to packages/api/src/cosmos/gov/v1beta1/tx.ts index de048345..c1056c30 100644 --- a/packages/api/src/codegen/cosmos/gov/v1beta1/tx.ts +++ b/packages/api/src/cosmos/gov/v1beta1/tx.ts @@ -1,14 +1,14 @@ +//@ts-nocheck import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, TextProposal, TextProposalProtoMsg, TextProposalSDKType, voteOptionFromJSON, voteOptionToJSON } from "./gov"; +import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "./gov"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary * proposal Content. */ export interface MsgSubmitProposal { - content?: (TextProposal & Any) | undefined; + content?: TextProposal | Any | undefined; initialDeposit: Coin[]; proposer: string; } @@ -249,24 +249,6 @@ export const MsgSubmitProposal = { } return message; }, - fromJSON(object: any): MsgSubmitProposal { - return { - content: isSet(object.content) ? Any.fromJSON(object.content) : undefined, - initialDeposit: Array.isArray(object?.initialDeposit) ? object.initialDeposit.map((e: any) => Coin.fromJSON(e)) : [], - proposer: isSet(object.proposer) ? String(object.proposer) : "" - }; - }, - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - message.content !== undefined && (obj.content = message.content ? Any.toJSON(message.content) : undefined); - if (message.initialDeposit) { - obj.initialDeposit = message.initialDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.initialDeposit = []; - } - message.proposer !== undefined && (obj.proposer = message.proposer); - return obj; - }, fromPartial(object: Partial): MsgSubmitProposal { const message = createBaseMsgSubmitProposal(); message.content = object.content !== undefined && object.content !== null ? Any.fromPartial(object.content) : undefined; @@ -348,16 +330,6 @@ export const MsgSubmitProposalResponse = { } return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -441,20 +413,6 @@ export const MsgVote = { } return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1 - }; - }, - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - return obj; - }, fromPartial(object: Partial): MsgVote { const message = createBaseMsgVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -526,13 +484,6 @@ export const MsgVoteResponse = { } return message; }, - fromJSON(_: any): MsgVoteResponse { - return {}; - }, - toJSON(_: MsgVoteResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgVoteResponse { const message = createBaseMsgVoteResponse(); return message; @@ -611,24 +562,6 @@ export const MsgVoteWeighted = { } return message; }, - fromJSON(object: any): MsgVoteWeighted { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgVoteWeighted): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, fromPartial(object: Partial): MsgVoteWeighted { const message = createBaseMsgVoteWeighted(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -702,13 +635,6 @@ export const MsgVoteWeightedResponse = { } return message; }, - fromJSON(_: any): MsgVoteWeightedResponse { - return {}; - }, - toJSON(_: MsgVoteWeightedResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgVoteWeightedResponse { const message = createBaseMsgVoteWeightedResponse(); return message; @@ -787,24 +713,6 @@ export const MsgDeposit = { } return message; }, - fromJSON(object: any): MsgDeposit { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - depositor: isSet(object.depositor) ? String(object.depositor) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgDeposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): MsgDeposit { const message = createBaseMsgDeposit(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -878,13 +786,6 @@ export const MsgDepositResponse = { } return message; }, - fromJSON(_: any): MsgDepositResponse { - return {}; - }, - toJSON(_: MsgDepositResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgDepositResponse { const message = createBaseMsgDepositResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/group/v1/events.ts b/packages/api/src/cosmos/group/v1/events.ts similarity index 89% rename from packages/api/src/codegen/cosmos/group/v1/events.ts rename to packages/api/src/cosmos/group/v1/events.ts index 6ecd3f54..b795ac9c 100644 --- a/packages/api/src/codegen/cosmos/group/v1/events.ts +++ b/packages/api/src/cosmos/group/v1/events.ts @@ -1,6 +1,6 @@ -import { ProposalExecutorResult, proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types"; +//@ts-nocheck +import { ProposalExecutorResult } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** EventCreateGroup is an event emitted when a group is created. */ export interface EventCreateGroup { /** group_id is the unique ID of the group. */ @@ -244,16 +244,6 @@ export const EventCreateGroup = { } return message; }, - fromJSON(object: any): EventCreateGroup { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventCreateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventCreateGroup { const message = createBaseEventCreateGroup(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -323,16 +313,6 @@ export const EventUpdateGroup = { } return message; }, - fromJSON(object: any): EventUpdateGroup { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventUpdateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventUpdateGroup { const message = createBaseEventUpdateGroup(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -402,16 +382,6 @@ export const EventCreateGroupPolicy = { } return message; }, - fromJSON(object: any): EventCreateGroupPolicy { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: EventCreateGroupPolicy): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): EventCreateGroupPolicy { const message = createBaseEventCreateGroupPolicy(); message.address = object.address ?? ""; @@ -481,16 +451,6 @@ export const EventUpdateGroupPolicy = { } return message; }, - fromJSON(object: any): EventUpdateGroupPolicy { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: EventUpdateGroupPolicy): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): EventUpdateGroupPolicy { const message = createBaseEventUpdateGroupPolicy(); message.address = object.address ?? ""; @@ -560,16 +520,6 @@ export const EventSubmitProposal = { } return message; }, - fromJSON(object: any): EventSubmitProposal { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventSubmitProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventSubmitProposal { const message = createBaseEventSubmitProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -639,16 +589,6 @@ export const EventWithdrawProposal = { } return message; }, - fromJSON(object: any): EventWithdrawProposal { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventWithdrawProposal { const message = createBaseEventWithdrawProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -718,16 +658,6 @@ export const EventVote = { } return message; }, - fromJSON(object: any): EventVote { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventVote { const message = createBaseEventVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -811,20 +741,6 @@ export const EventExec = { } return message; }, - fromJSON(object: any): EventExec { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : -1, - logs: isSet(object.logs) ? String(object.logs) : "" - }; - }, - toJSON(message: EventExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); - message.logs !== undefined && (obj.logs = message.logs); - return obj; - }, fromPartial(object: Partial): EventExec { const message = createBaseEventExec(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -911,18 +827,6 @@ export const EventLeaveGroup = { } return message; }, - fromJSON(object: any): EventLeaveGroup { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: EventLeaveGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): EventLeaveGroup { const message = createBaseEventLeaveGroup(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/cosmos/group/v1/genesis.ts b/packages/api/src/cosmos/group/v1/genesis.ts similarity index 80% rename from packages/api/src/codegen/cosmos/group/v1/genesis.ts rename to packages/api/src/cosmos/group/v1/genesis.ts index 121cf75b..44d152d4 100644 --- a/packages/api/src/codegen/cosmos/group/v1/genesis.ts +++ b/packages/api/src/cosmos/group/v1/genesis.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** GenesisState defines the group module's genesis state. */ export interface GenesisState { /** @@ -155,50 +155,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - groupSeq: isSet(object.groupSeq) ? BigInt(object.groupSeq.toString()) : BigInt(0), - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromJSON(e)) : [], - groupMembers: Array.isArray(object?.groupMembers) ? object.groupMembers.map((e: any) => GroupMember.fromJSON(e)) : [], - groupPolicySeq: isSet(object.groupPolicySeq) ? BigInt(object.groupPolicySeq.toString()) : BigInt(0), - groupPolicies: Array.isArray(object?.groupPolicies) ? object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)) : [], - proposalSeq: isSet(object.proposalSeq) ? BigInt(object.proposalSeq.toString()) : BigInt(0), - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromJSON(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.groupSeq !== undefined && (obj.groupSeq = (message.groupSeq || BigInt(0)).toString()); - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toJSON(e) : undefined); - } else { - obj.groups = []; - } - if (message.groupMembers) { - obj.groupMembers = message.groupMembers.map(e => e ? GroupMember.toJSON(e) : undefined); - } else { - obj.groupMembers = []; - } - message.groupPolicySeq !== undefined && (obj.groupPolicySeq = (message.groupPolicySeq || BigInt(0)).toString()); - if (message.groupPolicies) { - obj.groupPolicies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toJSON(e) : undefined); - } else { - obj.groupPolicies = []; - } - message.proposalSeq !== undefined && (obj.proposalSeq = (message.proposalSeq || BigInt(0)).toString()); - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.groupSeq = object.groupSeq !== undefined && object.groupSeq !== null ? BigInt(object.groupSeq.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/cosmos/group/v1/query.lcd.ts b/packages/api/src/cosmos/group/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/group/v1/query.lcd.ts rename to packages/api/src/cosmos/group/v1/query.lcd.ts index ce566ae2..56af4985 100644 --- a/packages/api/src/codegen/cosmos/group/v1/query.lcd.ts +++ b/packages/api/src/cosmos/group/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryGroupInfoRequest, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/group/v1/query.rpc.Query.ts b/packages/api/src/cosmos/group/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/group/v1/query.rpc.Query.ts rename to packages/api/src/cosmos/group/v1/query.rpc.Query.ts index 56db44e0..3244771b 100644 --- a/packages/api/src/codegen/cosmos/group/v1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/group/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/group/v1/query.ts b/packages/api/src/cosmos/group/v1/query.ts similarity index 88% rename from packages/api/src/codegen/cosmos/group/v1/query.ts rename to packages/api/src/cosmos/group/v1/query.ts index 531545d9..c8150ce3 100644 --- a/packages/api/src/codegen/cosmos/group/v1/query.ts +++ b/packages/api/src/cosmos/group/v1/query.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryGroupInfoRequest is the Query/GroupInfo request type. */ export interface QueryGroupInfoRequest { /** group_id is the unique ID of the group. */ @@ -689,16 +689,6 @@ export const QueryGroupInfoRequest = { } return message; }, - fromJSON(object: any): QueryGroupInfoRequest { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryGroupInfoRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryGroupInfoRequest { const message = createBaseQueryGroupInfoRequest(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -768,16 +758,6 @@ export const QueryGroupInfoResponse = { } return message; }, - fromJSON(object: any): QueryGroupInfoResponse { - return { - info: isSet(object.info) ? GroupInfo.fromJSON(object.info) : undefined - }; - }, - toJSON(message: QueryGroupInfoResponse): unknown { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? GroupInfo.toJSON(message.info) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupInfoResponse { const message = createBaseQueryGroupInfoResponse(); message.info = object.info !== undefined && object.info !== null ? GroupInfo.fromPartial(object.info) : undefined; @@ -847,16 +827,6 @@ export const QueryGroupPolicyInfoRequest = { } return message; }, - fromJSON(object: any): QueryGroupPolicyInfoRequest { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: QueryGroupPolicyInfoRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): QueryGroupPolicyInfoRequest { const message = createBaseQueryGroupPolicyInfoRequest(); message.address = object.address ?? ""; @@ -926,16 +896,6 @@ export const QueryGroupPolicyInfoResponse = { } return message; }, - fromJSON(object: any): QueryGroupPolicyInfoResponse { - return { - info: isSet(object.info) ? GroupPolicyInfo.fromJSON(object.info) : undefined - }; - }, - toJSON(message: QueryGroupPolicyInfoResponse): unknown { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? GroupPolicyInfo.toJSON(message.info) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupPolicyInfoResponse { const message = createBaseQueryGroupPolicyInfoResponse(); message.info = object.info !== undefined && object.info !== null ? GroupPolicyInfo.fromPartial(object.info) : undefined; @@ -1012,18 +972,6 @@ export const QueryGroupMembersRequest = { } return message; }, - fromJSON(object: any): QueryGroupMembersRequest { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupMembersRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupMembersRequest { const message = createBaseQueryGroupMembersRequest(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -1105,22 +1053,6 @@ export const QueryGroupMembersResponse = { } return message; }, - fromJSON(object: any): QueryGroupMembersResponse { - return { - members: Array.isArray(object?.members) ? object.members.map((e: any) => GroupMember.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupMembersResponse): unknown { - const obj: any = {}; - if (message.members) { - obj.members = message.members.map(e => e ? GroupMember.toJSON(e) : undefined); - } else { - obj.members = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupMembersResponse { const message = createBaseQueryGroupMembersResponse(); message.members = object.members?.map(e => GroupMember.fromPartial(e)) || []; @@ -1204,18 +1136,6 @@ export const QueryGroupsByAdminRequest = { } return message; }, - fromJSON(object: any): QueryGroupsByAdminRequest { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupsByAdminRequest): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupsByAdminRequest { const message = createBaseQueryGroupsByAdminRequest(); message.admin = object.admin ?? ""; @@ -1297,22 +1217,6 @@ export const QueryGroupsByAdminResponse = { } return message; }, - fromJSON(object: any): QueryGroupsByAdminResponse { - return { - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupsByAdminResponse): unknown { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toJSON(e) : undefined); - } else { - obj.groups = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupsByAdminResponse { const message = createBaseQueryGroupsByAdminResponse(); message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; @@ -1396,18 +1300,6 @@ export const QueryGroupPoliciesByGroupRequest = { } return message; }, - fromJSON(object: any): QueryGroupPoliciesByGroupRequest { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupPoliciesByGroupRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupPoliciesByGroupRequest { const message = createBaseQueryGroupPoliciesByGroupRequest(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -1489,22 +1381,6 @@ export const QueryGroupPoliciesByGroupResponse = { } return message; }, - fromJSON(object: any): QueryGroupPoliciesByGroupResponse { - return { - groupPolicies: Array.isArray(object?.groupPolicies) ? object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupPoliciesByGroupResponse): unknown { - const obj: any = {}; - if (message.groupPolicies) { - obj.groupPolicies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toJSON(e) : undefined); - } else { - obj.groupPolicies = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupPoliciesByGroupResponse { const message = createBaseQueryGroupPoliciesByGroupResponse(); message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; @@ -1588,18 +1464,6 @@ export const QueryGroupPoliciesByAdminRequest = { } return message; }, - fromJSON(object: any): QueryGroupPoliciesByAdminRequest { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupPoliciesByAdminRequest): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupPoliciesByAdminRequest { const message = createBaseQueryGroupPoliciesByAdminRequest(); message.admin = object.admin ?? ""; @@ -1681,22 +1545,6 @@ export const QueryGroupPoliciesByAdminResponse = { } return message; }, - fromJSON(object: any): QueryGroupPoliciesByAdminResponse { - return { - groupPolicies: Array.isArray(object?.groupPolicies) ? object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupPoliciesByAdminResponse): unknown { - const obj: any = {}; - if (message.groupPolicies) { - obj.groupPolicies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toJSON(e) : undefined); - } else { - obj.groupPolicies = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupPoliciesByAdminResponse { const message = createBaseQueryGroupPoliciesByAdminResponse(); message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; @@ -1773,16 +1621,6 @@ export const QueryProposalRequest = { } return message; }, - fromJSON(object: any): QueryProposalRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryProposalRequest { const message = createBaseQueryProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -1852,16 +1690,6 @@ export const QueryProposalResponse = { } return message; }, - fromJSON(object: any): QueryProposalResponse { - return { - proposal: isSet(object.proposal) ? Proposal.fromJSON(object.proposal) : undefined - }; - }, - toJSON(message: QueryProposalResponse): unknown { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toJSON(message.proposal) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalResponse { const message = createBaseQueryProposalResponse(); message.proposal = object.proposal !== undefined && object.proposal !== null ? Proposal.fromPartial(object.proposal) : undefined; @@ -1938,18 +1766,6 @@ export const QueryProposalsByGroupPolicyRequest = { } return message; }, - fromJSON(object: any): QueryProposalsByGroupPolicyRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProposalsByGroupPolicyRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalsByGroupPolicyRequest { const message = createBaseQueryProposalsByGroupPolicyRequest(); message.address = object.address ?? ""; @@ -2031,22 +1847,6 @@ export const QueryProposalsByGroupPolicyResponse = { } return message; }, - fromJSON(object: any): QueryProposalsByGroupPolicyResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProposalsByGroupPolicyResponse): unknown { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProposalsByGroupPolicyResponse { const message = createBaseQueryProposalsByGroupPolicyResponse(); message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; @@ -2130,18 +1930,6 @@ export const QueryVoteByProposalVoterRequest = { } return message; }, - fromJSON(object: any): QueryVoteByProposalVoterRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "" - }; - }, - toJSON(message: QueryVoteByProposalVoterRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - return obj; - }, fromPartial(object: Partial): QueryVoteByProposalVoterRequest { const message = createBaseQueryVoteByProposalVoterRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -2216,16 +2004,6 @@ export const QueryVoteByProposalVoterResponse = { } return message; }, - fromJSON(object: any): QueryVoteByProposalVoterResponse { - return { - vote: isSet(object.vote) ? Vote.fromJSON(object.vote) : undefined - }; - }, - toJSON(message: QueryVoteByProposalVoterResponse): unknown { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toJSON(message.vote) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVoteByProposalVoterResponse { const message = createBaseQueryVoteByProposalVoterResponse(); message.vote = object.vote !== undefined && object.vote !== null ? Vote.fromPartial(object.vote) : undefined; @@ -2302,18 +2080,6 @@ export const QueryVotesByProposalRequest = { } return message; }, - fromJSON(object: any): QueryVotesByProposalRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesByProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesByProposalRequest { const message = createBaseQueryVotesByProposalRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -2395,22 +2161,6 @@ export const QueryVotesByProposalResponse = { } return message; }, - fromJSON(object: any): QueryVotesByProposalResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesByProposalResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesByProposalResponse { const message = createBaseQueryVotesByProposalResponse(); message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; @@ -2494,18 +2244,6 @@ export const QueryVotesByVoterRequest = { } return message; }, - fromJSON(object: any): QueryVotesByVoterRequest { - return { - voter: isSet(object.voter) ? String(object.voter) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesByVoterRequest): unknown { - const obj: any = {}; - message.voter !== undefined && (obj.voter = message.voter); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesByVoterRequest { const message = createBaseQueryVotesByVoterRequest(); message.voter = object.voter ?? ""; @@ -2587,22 +2325,6 @@ export const QueryVotesByVoterResponse = { } return message; }, - fromJSON(object: any): QueryVotesByVoterResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryVotesByVoterResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryVotesByVoterResponse { const message = createBaseQueryVotesByVoterResponse(); message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; @@ -2686,18 +2408,6 @@ export const QueryGroupsByMemberRequest = { } return message; }, - fromJSON(object: any): QueryGroupsByMemberRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupsByMemberRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupsByMemberRequest { const message = createBaseQueryGroupsByMemberRequest(); message.address = object.address ?? ""; @@ -2779,22 +2489,6 @@ export const QueryGroupsByMemberResponse = { } return message; }, - fromJSON(object: any): QueryGroupsByMemberResponse { - return { - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryGroupsByMemberResponse): unknown { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toJSON(e) : undefined); - } else { - obj.groups = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryGroupsByMemberResponse { const message = createBaseQueryGroupsByMemberResponse(); message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; @@ -2871,16 +2565,6 @@ export const QueryTallyResultRequest = { } return message; }, - fromJSON(object: any): QueryTallyResultRequest { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryTallyResultRequest { const message = createBaseQueryTallyResultRequest(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -2950,16 +2634,6 @@ export const QueryTallyResultResponse = { } return message; }, - fromJSON(object: any): QueryTallyResultResponse { - return { - tally: isSet(object.tally) ? TallyResult.fromJSON(object.tally) : undefined - }; - }, - toJSON(message: QueryTallyResultResponse): unknown { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toJSON(message.tally) : undefined); - return obj; - }, fromPartial(object: Partial): QueryTallyResultResponse { const message = createBaseQueryTallyResultResponse(); message.tally = object.tally !== undefined && object.tally !== null ? TallyResult.fromPartial(object.tally) : undefined; diff --git a/packages/api/src/codegen/cosmos/group/v1/tx.amino.ts b/packages/api/src/cosmos/group/v1/tx.amino.ts similarity index 99% rename from packages/api/src/codegen/cosmos/group/v1/tx.amino.ts rename to packages/api/src/cosmos/group/v1/tx.amino.ts index 3a5c0e59..2c6f396e 100644 --- a/packages/api/src/codegen/cosmos/group/v1/tx.amino.ts +++ b/packages/api/src/cosmos/group/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; export const AminoConverter = { "/cosmos.group.v1.MsgCreateGroup": { diff --git a/packages/api/src/codegen/cosmos/group/v1/tx.registry.ts b/packages/api/src/cosmos/group/v1/tx.registry.ts similarity index 64% rename from packages/api/src/codegen/cosmos/group/v1/tx.registry.ts rename to packages/api/src/cosmos/group/v1/tx.registry.ts index e2bceb8c..f40d6969 100644 --- a/packages/api/src/codegen/cosmos/group/v1/tx.registry.ts +++ b/packages/api/src/cosmos/group/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup], ["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers], ["/cosmos.group.v1.MsgUpdateGroupAdmin", MsgUpdateGroupAdmin], ["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata], ["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy], ["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin], ["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata], ["/cosmos.group.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.group.v1.MsgWithdrawProposal", MsgWithdrawProposal], ["/cosmos.group.v1.MsgVote", MsgVote], ["/cosmos.group.v1.MsgExec", MsgExec], ["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup]]; @@ -179,178 +180,6 @@ export const MessageComposer = { }; } }, - toJSON: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.toJSON(value) - }; - }, - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.toJSON(value) - }; - }, - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.toJSON(value) - }; - }, - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.toJSON(value) - }; - }, - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.toJSON(value) - }; - }, - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.toJSON(value) - }; - }, - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.toJSON(value) - }; - }, - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.toJSON(value) - }; - }, - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.toJSON(value) - }; - }, - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.toJSON(value) - }; - }, - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.toJSON(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.toJSON(value) - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.toJSON(value) - }; - }, - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.toJSON(value) - }; - } - }, - fromJSON: { - createGroup(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.fromJSON(value) - }; - }, - updateGroupMembers(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.fromJSON(value) - }; - }, - updateGroupAdmin(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.fromJSON(value) - }; - }, - updateGroupMetadata(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.fromJSON(value) - }; - }, - createGroupPolicy(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.fromJSON(value) - }; - }, - createGroupWithPolicy(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.fromJSON(value) - }; - }, - updateGroupPolicyAdmin(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.fromJSON(value) - }; - }, - updateGroupPolicyDecisionPolicy(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.fromJSON(value) - }; - }, - updateGroupPolicyMetadata(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.fromJSON(value) - }; - }, - submitProposal(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromJSON(value) - }; - }, - withdrawProposal(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.fromJSON(value) - }; - }, - vote(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.fromJSON(value) - }; - }, - exec(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.fromJSON(value) - }; - }, - leaveGroup(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.fromJSON(value) - }; - } - }, fromPartial: { createGroup(value: MsgCreateGroup) { return { diff --git a/packages/api/src/codegen/cosmos/group/v1/tx.rpc.msg.ts b/packages/api/src/cosmos/group/v1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/group/v1/tx.rpc.msg.ts rename to packages/api/src/cosmos/group/v1/tx.rpc.msg.ts index 2cbd3114..9b8761b7 100644 --- a/packages/api/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/group/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgCreateGroup, MsgCreateGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgSubmitProposal, MsgSubmitProposalResponse, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgVote, MsgVoteResponse, MsgExec, MsgExecResponse, MsgLeaveGroup, MsgLeaveGroupResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/group/v1/tx.ts b/packages/api/src/cosmos/group/v1/tx.ts similarity index 89% rename from packages/api/src/codegen/cosmos/group/v1/tx.ts rename to packages/api/src/cosmos/group/v1/tx.ts index 5b9235a7..e7ca5318 100644 --- a/packages/api/src/codegen/cosmos/group/v1/tx.ts +++ b/packages/api/src/cosmos/group/v1/tx.ts @@ -1,7 +1,7 @@ -import { MemberRequest, MemberRequestAmino, MemberRequestSDKType, VoteOption, ProposalExecutorResult, ThresholdDecisionPolicy, ThresholdDecisionPolicyProtoMsg, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicyProtoMsg, PercentageDecisionPolicySDKType, voteOptionFromJSON, voteOptionToJSON, proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types"; +//@ts-nocheck +import { MemberRequest, MemberRequestAmino, MemberRequestSDKType, VoteOption, ProposalExecutorResult, ThresholdDecisionPolicy, ThresholdDecisionPolicyProtoMsg, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicyProtoMsg, PercentageDecisionPolicySDKType } from "./types"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** Exec defines modes of execution of a proposal on creation or on new vote. */ export enum Exec { /** @@ -252,7 +252,7 @@ export interface MsgCreateGroupPolicy { /** metadata is any arbitrary metadata attached to the group policy. */ metadata: string; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy?: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; + decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; } export interface MsgCreateGroupPolicyProtoMsg { typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy"; @@ -367,7 +367,7 @@ export interface MsgCreateGroupWithPolicy { */ groupPolicyAsAdmin: boolean; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy?: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; + decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; } export interface MsgCreateGroupWithPolicyProtoMsg { typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy"; @@ -441,7 +441,7 @@ export interface MsgUpdateGroupPolicyDecisionPolicy { /** group_policy_address is the account address of group policy. */ groupPolicyAddress: string; /** decision_policy is the updated group policy's decision policy. */ - decisionPolicy?: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; + decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; } export interface MsgUpdateGroupPolicyDecisionPolicyProtoMsg { typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy"; @@ -844,24 +844,6 @@ export const MsgCreateGroup = { } return message; }, - fromJSON(object: any): MsgCreateGroup { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - members: Array.isArray(object?.members) ? object.members.map((e: any) => MemberRequest.fromJSON(e)) : [], - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgCreateGroup): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - if (message.members) { - obj.members = message.members.map(e => e ? MemberRequest.toJSON(e) : undefined); - } else { - obj.members = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgCreateGroup { const message = createBaseMsgCreateGroup(); message.admin = object.admin ?? ""; @@ -943,16 +925,6 @@ export const MsgCreateGroupResponse = { } return message; }, - fromJSON(object: any): MsgCreateGroupResponse { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgCreateGroupResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgCreateGroupResponse { const message = createBaseMsgCreateGroupResponse(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -1036,24 +1008,6 @@ export const MsgUpdateGroupMembers = { } return message; }, - fromJSON(object: any): MsgUpdateGroupMembers { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - memberUpdates: Array.isArray(object?.memberUpdates) ? object.memberUpdates.map((e: any) => MemberRequest.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgUpdateGroupMembers): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - if (message.memberUpdates) { - obj.memberUpdates = message.memberUpdates.map(e => e ? MemberRequest.toJSON(e) : undefined); - } else { - obj.memberUpdates = []; - } - return obj; - }, fromPartial(object: Partial): MsgUpdateGroupMembers { const message = createBaseMsgUpdateGroupMembers(); message.admin = object.admin ?? ""; @@ -1127,13 +1081,6 @@ export const MsgUpdateGroupMembersResponse = { } return message; }, - fromJSON(_: any): MsgUpdateGroupMembersResponse { - return {}; - }, - toJSON(_: MsgUpdateGroupMembersResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateGroupMembersResponse { const message = createBaseMsgUpdateGroupMembersResponse(); return message; @@ -1212,20 +1159,6 @@ export const MsgUpdateGroupAdmin = { } return message; }, - fromJSON(object: any): MsgUpdateGroupAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" - }; - }, - toJSON(message: MsgUpdateGroupAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, fromPartial(object: Partial): MsgUpdateGroupAdmin { const message = createBaseMsgUpdateGroupAdmin(); message.admin = object.admin ?? ""; @@ -1297,13 +1230,6 @@ export const MsgUpdateGroupAdminResponse = { } return message; }, - fromJSON(_: any): MsgUpdateGroupAdminResponse { - return {}; - }, - toJSON(_: MsgUpdateGroupAdminResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateGroupAdminResponse { const message = createBaseMsgUpdateGroupAdminResponse(); return message; @@ -1382,20 +1308,6 @@ export const MsgUpdateGroupMetadata = { } return message; }, - fromJSON(object: any): MsgUpdateGroupMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgUpdateGroupMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgUpdateGroupMetadata { const message = createBaseMsgUpdateGroupMetadata(); message.admin = object.admin ?? ""; @@ -1467,13 +1379,6 @@ export const MsgUpdateGroupMetadataResponse = { } return message; }, - fromJSON(_: any): MsgUpdateGroupMetadataResponse { - return {}; - }, - toJSON(_: MsgUpdateGroupMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateGroupMetadataResponse { const message = createBaseMsgUpdateGroupMetadataResponse(); return message; @@ -1559,22 +1464,6 @@ export const MsgCreateGroupPolicy = { } return message; }, - fromJSON(object: any): MsgCreateGroupPolicy { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - metadata: isSet(object.metadata) ? String(object.metadata) : "", - decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined - }; - }, - toJSON(message: MsgCreateGroupPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - return obj; - }, fromPartial(object: Partial): MsgCreateGroupPolicy { const message = createBaseMsgCreateGroupPolicy(); message.admin = object.admin ?? ""; @@ -1659,16 +1548,6 @@ export const MsgCreateGroupPolicyResponse = { } return message; }, - fromJSON(object: any): MsgCreateGroupPolicyResponse { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: MsgCreateGroupPolicyResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): MsgCreateGroupPolicyResponse { const message = createBaseMsgCreateGroupPolicyResponse(); message.address = object.address ?? ""; @@ -1752,20 +1631,6 @@ export const MsgUpdateGroupPolicyAdmin = { } return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" - }; - }, - toJSON(message: MsgUpdateGroupPolicyAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin { const message = createBaseMsgUpdateGroupPolicyAdmin(); message.admin = object.admin ?? ""; @@ -1837,13 +1702,6 @@ export const MsgUpdateGroupPolicyAdminResponse = { } return message; }, - fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse { - return {}; - }, - toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateGroupPolicyAdminResponse { const message = createBaseMsgUpdateGroupPolicyAdminResponse(); return message; @@ -1943,30 +1801,6 @@ export const MsgCreateGroupWithPolicy = { } return message; }, - fromJSON(object: any): MsgCreateGroupWithPolicy { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - members: Array.isArray(object?.members) ? object.members.map((e: any) => MemberRequest.fromJSON(e)) : [], - groupMetadata: isSet(object.groupMetadata) ? String(object.groupMetadata) : "", - groupPolicyMetadata: isSet(object.groupPolicyMetadata) ? String(object.groupPolicyMetadata) : "", - groupPolicyAsAdmin: isSet(object.groupPolicyAsAdmin) ? Boolean(object.groupPolicyAsAdmin) : false, - decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined - }; - }, - toJSON(message: MsgCreateGroupWithPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - if (message.members) { - obj.members = message.members.map(e => e ? MemberRequest.toJSON(e) : undefined); - } else { - obj.members = []; - } - message.groupMetadata !== undefined && (obj.groupMetadata = message.groupMetadata); - message.groupPolicyMetadata !== undefined && (obj.groupPolicyMetadata = message.groupPolicyMetadata); - message.groupPolicyAsAdmin !== undefined && (obj.groupPolicyAsAdmin = message.groupPolicyAsAdmin); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - return obj; - }, fromPartial(object: Partial): MsgCreateGroupWithPolicy { const message = createBaseMsgCreateGroupWithPolicy(); message.admin = object.admin ?? ""; @@ -2070,18 +1904,6 @@ export const MsgCreateGroupWithPolicyResponse = { } return message; }, - fromJSON(object: any): MsgCreateGroupWithPolicyResponse { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "" - }; - }, - toJSON(message: MsgCreateGroupWithPolicyResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress); - return obj; - }, fromPartial(object: Partial): MsgCreateGroupWithPolicyResponse { const message = createBaseMsgCreateGroupWithPolicyResponse(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -2170,20 +1992,6 @@ export const MsgUpdateGroupPolicyDecisionPolicy = { } return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "", - decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined - }; - }, - toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - return obj; - }, fromPartial(object: Partial): MsgUpdateGroupPolicyDecisionPolicy { const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); message.admin = object.admin ?? ""; @@ -2255,13 +2063,6 @@ export const MsgUpdateGroupPolicyDecisionPolicyResponse = { } return message; }, - fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse { - return {}; - }, - toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateGroupPolicyDecisionPolicyResponse { const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); return message; @@ -2340,20 +2141,6 @@ export const MsgUpdateGroupPolicyMetadata = { } return message; }, - fromJSON(object: any): MsgUpdateGroupPolicyMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgUpdateGroupPolicyMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata { const message = createBaseMsgUpdateGroupPolicyMetadata(); message.admin = object.admin ?? ""; @@ -2425,13 +2212,6 @@ export const MsgUpdateGroupPolicyMetadataResponse = { } return message; }, - fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse { - return {}; - }, - toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateGroupPolicyMetadataResponse { const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); return message; @@ -2524,32 +2304,6 @@ export const MsgSubmitProposal = { } return message; }, - fromJSON(object: any): MsgSubmitProposal { - return { - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "", - proposers: Array.isArray(object?.proposers) ? object.proposers.map((e: any) => String(e)) : [], - metadata: isSet(object.metadata) ? String(object.metadata) : "", - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], - exec: isSet(object.exec) ? execFromJSON(object.exec) : -1 - }; - }, - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress); - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - message.exec !== undefined && (obj.exec = execToJSON(message.exec)); - return obj; - }, fromPartial(object: Partial): MsgSubmitProposal { const message = createBaseMsgSubmitProposal(); message.groupPolicyAddress = object.groupPolicyAddress ?? ""; @@ -2643,16 +2397,6 @@ export const MsgSubmitProposalResponse = { } return message; }, - fromJSON(object: any): MsgSubmitProposalResponse { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgSubmitProposalResponse { const message = createBaseMsgSubmitProposalResponse(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -2729,18 +2473,6 @@ export const MsgWithdrawProposal = { } return message; }, - fromJSON(object: any): MsgWithdrawProposal { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: MsgWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): MsgWithdrawProposal { const message = createBaseMsgWithdrawProposal(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -2807,13 +2539,6 @@ export const MsgWithdrawProposalResponse = { } return message; }, - fromJSON(_: any): MsgWithdrawProposalResponse { - return {}; - }, - toJSON(_: MsgWithdrawProposalResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgWithdrawProposalResponse { const message = createBaseMsgWithdrawProposalResponse(); return message; @@ -2906,24 +2631,6 @@ export const MsgVote = { } return message; }, - fromJSON(object: any): MsgVote { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: isSet(object.metadata) ? String(object.metadata) : "", - exec: isSet(object.exec) ? execFromJSON(object.exec) : -1 - }; - }, - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.exec !== undefined && (obj.exec = execToJSON(message.exec)); - return obj; - }, fromPartial(object: Partial): MsgVote { const message = createBaseMsgVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -3005,13 +2712,6 @@ export const MsgVoteResponse = { } return message; }, - fromJSON(_: any): MsgVoteResponse { - return {}; - }, - toJSON(_: MsgVoteResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgVoteResponse { const message = createBaseMsgVoteResponse(); return message; @@ -3083,18 +2783,6 @@ export const MsgExec = { } return message; }, - fromJSON(object: any): MsgExec { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - executor: isSet(object.executor) ? String(object.executor) : "" - }; - }, - toJSON(message: MsgExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.executor !== undefined && (obj.executor = message.executor); - return obj; - }, fromPartial(object: Partial): MsgExec { const message = createBaseMsgExec(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); @@ -3169,16 +2857,6 @@ export const MsgExecResponse = { } return message; }, - fromJSON(object: any): MsgExecResponse { - return { - result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : -1 - }; - }, - toJSON(message: MsgExecResponse): unknown { - const obj: any = {}; - message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); - return obj; - }, fromPartial(object: Partial): MsgExecResponse { const message = createBaseMsgExecResponse(); message.result = object.result ?? 0; @@ -3255,18 +2933,6 @@ export const MsgLeaveGroup = { } return message; }, - fromJSON(object: any): MsgLeaveGroup { - return { - address: isSet(object.address) ? String(object.address) : "", - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgLeaveGroup): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgLeaveGroup { const message = createBaseMsgLeaveGroup(); message.address = object.address ?? ""; @@ -3333,13 +2999,6 @@ export const MsgLeaveGroupResponse = { } return message; }, - fromJSON(_: any): MsgLeaveGroupResponse { - return {}; - }, - toJSON(_: MsgLeaveGroupResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgLeaveGroupResponse { const message = createBaseMsgLeaveGroupResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/group/v1/types.ts b/packages/api/src/cosmos/group/v1/types.ts similarity index 84% rename from packages/api/src/codegen/cosmos/group/v1/types.ts rename to packages/api/src/cosmos/group/v1/types.ts index de0bc27c..5e13bca9 100644 --- a/packages/api/src/codegen/cosmos/group/v1/types.ts +++ b/packages/api/src/cosmos/group/v1/types.ts @@ -1,8 +1,9 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** VoteOption enumerates the valid vote options for a given proposal. */ export enum VoteOption { /** @@ -198,7 +199,7 @@ export interface Member { /** metadata is any arbitrary metadata attached to the member. */ metadata: string; /** added_at is a timestamp specifying when a member was added. */ - addedAt: Timestamp; + addedAt: Date; } export interface MemberProtoMsg { typeUrl: "/cosmos.group.v1.Member"; @@ -230,7 +231,7 @@ export interface MemberSDKType { address: string; weight: string; metadata: string; - added_at: TimestampSDKType; + added_at: Date; } /** * MemberRequest represents a group member to be used in Msg server requests. @@ -463,7 +464,7 @@ export interface GroupInfo { /** total_weight is the sum of the group members' weights. */ totalWeight: string; /** created_at is a timestamp specifying when a group was created. */ - createdAt: Timestamp; + createdAt: Date; } export interface GroupInfoProtoMsg { typeUrl: "/cosmos.group.v1.GroupInfo"; @@ -500,7 +501,7 @@ export interface GroupInfoSDKType { metadata: string; version: bigint; total_weight: string; - created_at: TimestampSDKType; + created_at: Date; } /** GroupMember represents the relationship between a group and a member. */ export interface GroupMember { @@ -545,9 +546,9 @@ export interface GroupPolicyInfo { */ version: bigint; /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy?: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; + decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; /** created_at is a timestamp specifying when a group policy was created. */ - createdAt: Timestamp; + createdAt: Date; } export interface GroupPolicyInfoProtoMsg { typeUrl: "/cosmos.group.v1.GroupPolicyInfo"; @@ -588,7 +589,7 @@ export interface GroupPolicyInfoSDKType { metadata: string; version: bigint; decision_policy?: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; - created_at: TimestampSDKType; + created_at: Date; } /** * Proposal defines a group proposal. Any member of a group can submit a proposal @@ -606,7 +607,7 @@ export interface Proposal { /** proposers are the account addresses of the proposers. */ proposers: string[]; /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Timestamp; + submitTime: Date; /** * group_version tracks the version of the group at proposal submission. * This field is here for informational purposes only. @@ -635,7 +636,7 @@ export interface Proposal { * at this point, and the `final_tally_result`and `status` fields will be * accordingly updated. */ - votingPeriodEnd: Timestamp; + votingPeriodEnd: Date; /** executor_result is the final result of the proposal execution. Initial value is NotRun. */ executorResult: ProposalExecutorResult; /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ @@ -711,12 +712,12 @@ export interface ProposalSDKType { group_policy_address: string; metadata: string; proposers: string[]; - submit_time: TimestampSDKType; + submit_time: Date; group_version: bigint; group_policy_version: bigint; status: ProposalStatus; final_tally_result: TallyResultSDKType; - voting_period_end: TimestampSDKType; + voting_period_end: Date; executor_result: ProposalExecutorResult; messages: AnySDKType[]; } @@ -768,7 +769,7 @@ export interface Vote { /** metadata is any arbitrary metadata to attached to the vote. */ metadata: string; /** submit_time is the timestamp when the vote was submitted. */ - submitTime: Timestamp; + submitTime: Date; } export interface VoteProtoMsg { typeUrl: "/cosmos.group.v1.Vote"; @@ -797,14 +798,14 @@ export interface VoteSDKType { voter: string; option: VoteOption; metadata: string; - submit_time: TimestampSDKType; + submit_time: Date; } function createBaseMember(): Member { return { address: "", weight: "", metadata: "", - addedAt: Timestamp.fromPartial({}) + addedAt: new Date() }; } export const Member = { @@ -820,7 +821,7 @@ export const Member = { writer.uint32(26).string(message.metadata); } if (message.addedAt !== undefined) { - Timestamp.encode(message.addedAt, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -841,7 +842,7 @@ export const Member = { message.metadata = reader.string(); break; case 4: - message.addedAt = Timestamp.decode(reader, reader.uint32()); + message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -850,28 +851,12 @@ export const Member = { } return message; }, - fromJSON(object: any): Member { - return { - address: isSet(object.address) ? String(object.address) : "", - weight: isSet(object.weight) ? String(object.weight) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - addedAt: isSet(object.addedAt) ? fromJsonTimestamp(object.addedAt) : undefined - }; - }, - toJSON(message: Member): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.weight !== undefined && (obj.weight = message.weight); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.addedAt !== undefined && (obj.addedAt = fromTimestamp(message.addedAt).toISOString()); - return obj; - }, fromPartial(object: Partial): Member { const message = createBaseMember(); message.address = object.address ?? ""; message.weight = object.weight ?? ""; message.metadata = object.metadata ?? ""; - message.addedAt = object.addedAt !== undefined && object.addedAt !== null ? Timestamp.fromPartial(object.addedAt) : undefined; + message.addedAt = object.addedAt ?? undefined; return message; }, fromAmino(object: MemberAmino): Member { @@ -886,7 +871,7 @@ export const Member = { message.metadata = object.metadata; } if (object.added_at !== undefined && object.added_at !== null) { - message.addedAt = Timestamp.fromAmino(object.added_at); + message.addedAt = fromTimestamp(Timestamp.fromAmino(object.added_at)); } return message; }, @@ -895,7 +880,7 @@ export const Member = { obj.address = message.address === "" ? undefined : message.address; obj.weight = message.weight === "" ? undefined : message.weight; obj.metadata = message.metadata === "" ? undefined : message.metadata; - obj.added_at = message.addedAt ? Timestamp.toAmino(message.addedAt) : undefined; + obj.added_at = message.addedAt ? Timestamp.toAmino(toTimestamp(message.addedAt)) : undefined; return obj; }, fromAminoMsg(object: MemberAminoMsg): Member { @@ -964,20 +949,6 @@ export const MemberRequest = { } return message; }, - fromJSON(object: any): MemberRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - weight: isSet(object.weight) ? String(object.weight) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MemberRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.weight !== undefined && (obj.weight = message.weight); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MemberRequest { const message = createBaseMemberRequest(); message.address = object.address ?? ""; @@ -1065,18 +1036,6 @@ export const ThresholdDecisionPolicy = { } return message; }, - fromJSON(object: any): ThresholdDecisionPolicy { - return { - threshold: isSet(object.threshold) ? String(object.threshold) : "", - windows: isSet(object.windows) ? DecisionPolicyWindows.fromJSON(object.windows) : undefined - }; - }, - toJSON(message: ThresholdDecisionPolicy): unknown { - const obj: any = {}; - message.threshold !== undefined && (obj.threshold = message.threshold); - message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined); - return obj; - }, fromPartial(object: Partial): ThresholdDecisionPolicy { const message = createBaseThresholdDecisionPolicy(); message.threshold = object.threshold ?? ""; @@ -1159,18 +1118,6 @@ export const PercentageDecisionPolicy = { } return message; }, - fromJSON(object: any): PercentageDecisionPolicy { - return { - percentage: isSet(object.percentage) ? String(object.percentage) : "", - windows: isSet(object.windows) ? DecisionPolicyWindows.fromJSON(object.windows) : undefined - }; - }, - toJSON(message: PercentageDecisionPolicy): unknown { - const obj: any = {}; - message.percentage !== undefined && (obj.percentage = message.percentage); - message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined); - return obj; - }, fromPartial(object: Partial): PercentageDecisionPolicy { const message = createBasePercentageDecisionPolicy(); message.percentage = object.percentage ?? ""; @@ -1252,18 +1199,6 @@ export const DecisionPolicyWindows = { } return message; }, - fromJSON(object: any): DecisionPolicyWindows { - return { - votingPeriod: isSet(object.votingPeriod) ? Duration.fromJSON(object.votingPeriod) : undefined, - minExecutionPeriod: isSet(object.minExecutionPeriod) ? Duration.fromJSON(object.minExecutionPeriod) : undefined - }; - }, - toJSON(message: DecisionPolicyWindows): unknown { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined); - message.minExecutionPeriod !== undefined && (obj.minExecutionPeriod = message.minExecutionPeriod ? Duration.toJSON(message.minExecutionPeriod) : undefined); - return obj; - }, fromPartial(object: Partial): DecisionPolicyWindows { const message = createBaseDecisionPolicyWindows(); message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined; @@ -1315,7 +1250,7 @@ function createBaseGroupInfo(): GroupInfo { metadata: "", version: BigInt(0), totalWeight: "", - createdAt: Timestamp.fromPartial({}) + createdAt: new Date() }; } export const GroupInfo = { @@ -1337,7 +1272,7 @@ export const GroupInfo = { writer.uint32(42).string(message.totalWeight); } if (message.createdAt !== undefined) { - Timestamp.encode(message.createdAt, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim(); } return writer; }, @@ -1364,7 +1299,7 @@ export const GroupInfo = { message.totalWeight = reader.string(); break; case 6: - message.createdAt = Timestamp.decode(reader, reader.uint32()); + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1373,26 +1308,6 @@ export const GroupInfo = { } return message; }, - fromJSON(object: any): GroupInfo { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - admin: isSet(object.admin) ? String(object.admin) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - version: isSet(object.version) ? BigInt(object.version.toString()) : BigInt(0), - totalWeight: isSet(object.totalWeight) ? String(object.totalWeight) : "", - createdAt: isSet(object.createdAt) ? fromJsonTimestamp(object.createdAt) : undefined - }; - }, - toJSON(message: GroupInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || BigInt(0)).toString()); - message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight); - message.createdAt !== undefined && (obj.createdAt = fromTimestamp(message.createdAt).toISOString()); - return obj; - }, fromPartial(object: Partial): GroupInfo { const message = createBaseGroupInfo(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -1400,7 +1315,7 @@ export const GroupInfo = { message.metadata = object.metadata ?? ""; message.version = object.version !== undefined && object.version !== null ? BigInt(object.version.toString()) : BigInt(0); message.totalWeight = object.totalWeight ?? ""; - message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? Timestamp.fromPartial(object.createdAt) : undefined; + message.createdAt = object.createdAt ?? undefined; return message; }, fromAmino(object: GroupInfoAmino): GroupInfo { @@ -1421,7 +1336,7 @@ export const GroupInfo = { message.totalWeight = object.total_weight; } if (object.created_at !== undefined && object.created_at !== null) { - message.createdAt = Timestamp.fromAmino(object.created_at); + message.createdAt = fromTimestamp(Timestamp.fromAmino(object.created_at)); } return message; }, @@ -1432,7 +1347,7 @@ export const GroupInfo = { obj.metadata = message.metadata === "" ? undefined : message.metadata; obj.version = message.version !== BigInt(0) ? message.version.toString() : undefined; obj.total_weight = message.totalWeight === "" ? undefined : message.totalWeight; - obj.created_at = message.createdAt ? Timestamp.toAmino(message.createdAt) : undefined; + obj.created_at = message.createdAt ? Timestamp.toAmino(toTimestamp(message.createdAt)) : undefined; return obj; }, fromAminoMsg(object: GroupInfoAminoMsg): GroupInfo { @@ -1494,18 +1409,6 @@ export const GroupMember = { } return message; }, - fromJSON(object: any): GroupMember { - return { - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - member: isSet(object.member) ? Member.fromJSON(object.member) : undefined - }; - }, - toJSON(message: GroupMember): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.member !== undefined && (obj.member = message.member ? Member.toJSON(message.member) : undefined); - return obj; - }, fromPartial(object: Partial): GroupMember { const message = createBaseGroupMember(); message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0); @@ -1558,7 +1461,7 @@ function createBaseGroupPolicyInfo(): GroupPolicyInfo { metadata: "", version: BigInt(0), decisionPolicy: undefined, - createdAt: Timestamp.fromPartial({}) + createdAt: new Date() }; } export const GroupPolicyInfo = { @@ -1583,7 +1486,7 @@ export const GroupPolicyInfo = { Any.encode((message.decisionPolicy as Any), writer.uint32(50).fork()).ldelim(); } if (message.createdAt !== undefined) { - Timestamp.encode(message.createdAt, writer.uint32(58).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim(); } return writer; }, @@ -1613,7 +1516,7 @@ export const GroupPolicyInfo = { message.decisionPolicy = (DecisionPolicy_InterfaceDecoder(reader) as Any); break; case 7: - message.createdAt = Timestamp.decode(reader, reader.uint32()); + message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1622,28 +1525,6 @@ export const GroupPolicyInfo = { } return message; }, - fromJSON(object: any): GroupPolicyInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - groupId: isSet(object.groupId) ? BigInt(object.groupId.toString()) : BigInt(0), - admin: isSet(object.admin) ? String(object.admin) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - version: isSet(object.version) ? BigInt(object.version.toString()) : BigInt(0), - decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined, - createdAt: isSet(object.createdAt) ? fromJsonTimestamp(object.createdAt) : undefined - }; - }, - toJSON(message: GroupPolicyInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.groupId !== undefined && (obj.groupId = (message.groupId || BigInt(0)).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || BigInt(0)).toString()); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - message.createdAt !== undefined && (obj.createdAt = fromTimestamp(message.createdAt).toISOString()); - return obj; - }, fromPartial(object: Partial): GroupPolicyInfo { const message = createBaseGroupPolicyInfo(); message.address = object.address ?? ""; @@ -1652,7 +1533,7 @@ export const GroupPolicyInfo = { message.metadata = object.metadata ?? ""; message.version = object.version !== undefined && object.version !== null ? BigInt(object.version.toString()) : BigInt(0); message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined; - message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? Timestamp.fromPartial(object.createdAt) : undefined; + message.createdAt = object.createdAt ?? undefined; return message; }, fromAmino(object: GroupPolicyInfoAmino): GroupPolicyInfo { @@ -1676,7 +1557,7 @@ export const GroupPolicyInfo = { message.decisionPolicy = DecisionPolicy_FromAmino(object.decision_policy); } if (object.created_at !== undefined && object.created_at !== null) { - message.createdAt = Timestamp.fromAmino(object.created_at); + message.createdAt = fromTimestamp(Timestamp.fromAmino(object.created_at)); } return message; }, @@ -1688,7 +1569,7 @@ export const GroupPolicyInfo = { obj.metadata = message.metadata === "" ? undefined : message.metadata; obj.version = message.version !== BigInt(0) ? message.version.toString() : undefined; obj.decision_policy = message.decisionPolicy ? DecisionPolicy_ToAmino((message.decisionPolicy as Any)) : undefined; - obj.created_at = message.createdAt ? Timestamp.toAmino(message.createdAt) : undefined; + obj.created_at = message.createdAt ? Timestamp.toAmino(toTimestamp(message.createdAt)) : undefined; return obj; }, fromAminoMsg(object: GroupPolicyInfoAminoMsg): GroupPolicyInfo { @@ -1719,12 +1600,12 @@ function createBaseProposal(): Proposal { groupPolicyAddress: "", metadata: "", proposers: [], - submitTime: Timestamp.fromPartial({}), + submitTime: new Date(), groupVersion: BigInt(0), groupPolicyVersion: BigInt(0), status: 0, finalTallyResult: TallyResult.fromPartial({}), - votingPeriodEnd: Timestamp.fromPartial({}), + votingPeriodEnd: new Date(), executorResult: 0, messages: [] }; @@ -1745,7 +1626,7 @@ export const Proposal = { writer.uint32(34).string(v!); } if (message.submitTime !== undefined) { - Timestamp.encode(message.submitTime, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); } if (message.groupVersion !== BigInt(0)) { writer.uint32(48).uint64(message.groupVersion); @@ -1760,7 +1641,7 @@ export const Proposal = { TallyResult.encode(message.finalTallyResult, writer.uint32(74).fork()).ldelim(); } if (message.votingPeriodEnd !== undefined) { - Timestamp.encode(message.votingPeriodEnd, writer.uint32(82).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(82).fork()).ldelim(); } if (message.executorResult !== 0) { writer.uint32(88).int32(message.executorResult); @@ -1790,7 +1671,7 @@ export const Proposal = { message.proposers.push(reader.string()); break; case 5: - message.submitTime = Timestamp.decode(reader, reader.uint32()); + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 6: message.groupVersion = reader.uint64(); @@ -1805,7 +1686,7 @@ export const Proposal = { message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); break; case 10: - message.votingPeriodEnd = Timestamp.decode(reader, reader.uint32()); + message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 11: message.executorResult = (reader.int32() as any); @@ -1820,58 +1701,18 @@ export const Proposal = { } return message; }, - fromJSON(object: any): Proposal { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - proposers: Array.isArray(object?.proposers) ? object.proposers.map((e: any) => String(e)) : [], - submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined, - groupVersion: isSet(object.groupVersion) ? BigInt(object.groupVersion.toString()) : BigInt(0), - groupPolicyVersion: isSet(object.groupPolicyVersion) ? BigInt(object.groupPolicyVersion.toString()) : BigInt(0), - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined, - votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined, - executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : -1, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: Proposal): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress); - message.metadata !== undefined && (obj.metadata = message.metadata); - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - message.submitTime !== undefined && (obj.submitTime = fromTimestamp(message.submitTime).toISOString()); - message.groupVersion !== undefined && (obj.groupVersion = (message.groupVersion || BigInt(0)).toString()); - message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = (message.groupPolicyVersion || BigInt(0)).toString()); - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = fromTimestamp(message.votingPeriodEnd).toISOString()); - message.executorResult !== undefined && (obj.executorResult = proposalExecutorResultToJSON(message.executorResult)); - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - return obj; - }, fromPartial(object: Partial): Proposal { const message = createBaseProposal(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); message.groupPolicyAddress = object.groupPolicyAddress ?? ""; message.metadata = object.metadata ?? ""; message.proposers = object.proposers?.map(e => e) || []; - message.submitTime = object.submitTime !== undefined && object.submitTime !== null ? Timestamp.fromPartial(object.submitTime) : undefined; + message.submitTime = object.submitTime ?? undefined; message.groupVersion = object.groupVersion !== undefined && object.groupVersion !== null ? BigInt(object.groupVersion.toString()) : BigInt(0); message.groupPolicyVersion = object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null ? BigInt(object.groupPolicyVersion.toString()) : BigInt(0); message.status = object.status ?? 0; message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined; - message.votingPeriodEnd = object.votingPeriodEnd !== undefined && object.votingPeriodEnd !== null ? Timestamp.fromPartial(object.votingPeriodEnd) : undefined; + message.votingPeriodEnd = object.votingPeriodEnd ?? undefined; message.executorResult = object.executorResult ?? 0; message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; return message; @@ -1889,7 +1730,7 @@ export const Proposal = { } message.proposers = object.proposers?.map(e => e) || []; if (object.submit_time !== undefined && object.submit_time !== null) { - message.submitTime = Timestamp.fromAmino(object.submit_time); + message.submitTime = fromTimestamp(Timestamp.fromAmino(object.submit_time)); } if (object.group_version !== undefined && object.group_version !== null) { message.groupVersion = BigInt(object.group_version); @@ -1904,7 +1745,7 @@ export const Proposal = { message.finalTallyResult = TallyResult.fromAmino(object.final_tally_result); } if (object.voting_period_end !== undefined && object.voting_period_end !== null) { - message.votingPeriodEnd = Timestamp.fromAmino(object.voting_period_end); + message.votingPeriodEnd = fromTimestamp(Timestamp.fromAmino(object.voting_period_end)); } if (object.executor_result !== undefined && object.executor_result !== null) { message.executorResult = object.executor_result; @@ -1922,12 +1763,12 @@ export const Proposal = { } else { obj.proposers = message.proposers; } - obj.submit_time = message.submitTime ? Timestamp.toAmino(message.submitTime) : undefined; + obj.submit_time = message.submitTime ? Timestamp.toAmino(toTimestamp(message.submitTime)) : undefined; obj.group_version = message.groupVersion !== BigInt(0) ? message.groupVersion.toString() : undefined; obj.group_policy_version = message.groupPolicyVersion !== BigInt(0) ? message.groupPolicyVersion.toString() : undefined; obj.status = message.status === 0 ? undefined : message.status; obj.final_tally_result = message.finalTallyResult ? TallyResult.toAmino(message.finalTallyResult) : undefined; - obj.voting_period_end = message.votingPeriodEnd ? Timestamp.toAmino(message.votingPeriodEnd) : undefined; + obj.voting_period_end = message.votingPeriodEnd ? Timestamp.toAmino(toTimestamp(message.votingPeriodEnd)) : undefined; obj.executor_result = message.executorResult === 0 ? undefined : message.executorResult; if (message.messages) { obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined); @@ -2009,22 +1850,6 @@ export const TallyResult = { } return message; }, - fromJSON(object: any): TallyResult { - return { - yesCount: isSet(object.yesCount) ? String(object.yesCount) : "", - abstainCount: isSet(object.abstainCount) ? String(object.abstainCount) : "", - noCount: isSet(object.noCount) ? String(object.noCount) : "", - noWithVetoCount: isSet(object.noWithVetoCount) ? String(object.noWithVetoCount) : "" - }; - }, - toJSON(message: TallyResult): unknown { - const obj: any = {}; - message.yesCount !== undefined && (obj.yesCount = message.yesCount); - message.abstainCount !== undefined && (obj.abstainCount = message.abstainCount); - message.noCount !== undefined && (obj.noCount = message.noCount); - message.noWithVetoCount !== undefined && (obj.noWithVetoCount = message.noWithVetoCount); - return obj; - }, fromPartial(object: Partial): TallyResult { const message = createBaseTallyResult(); message.yesCount = object.yesCount ?? ""; @@ -2085,7 +1910,7 @@ function createBaseVote(): Vote { voter: "", option: 0, metadata: "", - submitTime: Timestamp.fromPartial({}) + submitTime: new Date() }; } export const Vote = { @@ -2104,7 +1929,7 @@ export const Vote = { writer.uint32(34).string(message.metadata); } if (message.submitTime !== undefined) { - Timestamp.encode(message.submitTime, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -2128,7 +1953,7 @@ export const Vote = { message.metadata = reader.string(); break; case 5: - message.submitTime = Timestamp.decode(reader, reader.uint32()); + message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -2137,31 +1962,13 @@ export const Vote = { } return message; }, - fromJSON(object: any): Vote { - return { - proposalId: isSet(object.proposalId) ? BigInt(object.proposalId.toString()) : BigInt(0), - voter: isSet(object.voter) ? String(object.voter) : "", - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: isSet(object.metadata) ? String(object.metadata) : "", - submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined - }; - }, - toJSON(message: Vote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || BigInt(0)).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.submitTime !== undefined && (obj.submitTime = fromTimestamp(message.submitTime).toISOString()); - return obj; - }, fromPartial(object: Partial): Vote { const message = createBaseVote(); message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0); message.voter = object.voter ?? ""; message.option = object.option ?? 0; message.metadata = object.metadata ?? ""; - message.submitTime = object.submitTime !== undefined && object.submitTime !== null ? Timestamp.fromPartial(object.submitTime) : undefined; + message.submitTime = object.submitTime ?? undefined; return message; }, fromAmino(object: VoteAmino): Vote { @@ -2179,7 +1986,7 @@ export const Vote = { message.metadata = object.metadata; } if (object.submit_time !== undefined && object.submit_time !== null) { - message.submitTime = Timestamp.fromAmino(object.submit_time); + message.submitTime = fromTimestamp(Timestamp.fromAmino(object.submit_time)); } return message; }, @@ -2189,7 +1996,7 @@ export const Vote = { obj.voter = message.voter === "" ? undefined : message.voter; obj.option = message.option === 0 ? undefined : message.option; obj.metadata = message.metadata === "" ? undefined : message.metadata; - obj.submit_time = message.submitTime ? Timestamp.toAmino(message.submitTime) : undefined; + obj.submit_time = message.submitTime ? Timestamp.toAmino(toTimestamp(message.submitTime)) : undefined; return obj; }, fromAminoMsg(object: VoteAminoMsg): Vote { diff --git a/packages/api/src/codegen/cosmos/lcd.ts b/packages/api/src/cosmos/lcd.ts similarity index 78% rename from packages/api/src/codegen/cosmos/lcd.ts rename to packages/api/src/cosmos/lcd.ts index a71f3e10..c39cd322 100644 --- a/packages/api/src/codegen/cosmos/lcd.ts +++ b/packages/api/src/cosmos/lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; export const createLCDClient = async ({ restEndpoint @@ -29,11 +30,6 @@ export const createLCDClient = async ({ v1beta1: new (await import("./base/node/v1beta1/query.lcd")).LCDQueryClient({ requestClient }) - }, - tendermint: { - v1beta1: new (await import("./base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) } }, distribution: { @@ -41,11 +37,6 @@ export const createLCDClient = async ({ requestClient }) }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, feegrant: { v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ requestClient @@ -69,21 +60,11 @@ export const createLCDClient = async ({ requestClient }) }, - nft: { - v1beta1: new (await import("./nft/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, params: { v1beta1: new (await import("./params/v1beta1/query.lcd")).LCDQueryClient({ requestClient }) }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, staking: { v1beta1: new (await import("./staking/v1beta1/query.lcd")).LCDQueryClient({ requestClient diff --git a/packages/api/src/codegen/cosmos/mint/v1beta1/genesis.ts b/packages/api/src/cosmos/mint/v1beta1/genesis.ts similarity index 87% rename from packages/api/src/codegen/cosmos/mint/v1beta1/genesis.ts rename to packages/api/src/cosmos/mint/v1beta1/genesis.ts index f301d34e..1fae0bca 100644 --- a/packages/api/src/codegen/cosmos/mint/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/mint/v1beta1/genesis.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Minter, MinterAmino, MinterSDKType, Params, ParamsAmino, ParamsSDKType } from "./mint"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** GenesisState defines the mint module's genesis state. */ export interface GenesisState { /** minter is a space for holding current inflation information. */ @@ -65,18 +65,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - minter: isSet(object.minter) ? Minter.fromJSON(object.minter) : undefined, - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.minter !== undefined && (obj.minter = message.minter ? Minter.toJSON(message.minter) : undefined); - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.minter = object.minter !== undefined && object.minter !== null ? Minter.fromPartial(object.minter) : undefined; diff --git a/packages/api/src/codegen/cosmos/mint/v1beta1/mint.ts b/packages/api/src/cosmos/mint/v1beta1/mint.ts similarity index 85% rename from packages/api/src/codegen/cosmos/mint/v1beta1/mint.ts rename to packages/api/src/cosmos/mint/v1beta1/mint.ts index c7cda98f..c2a83473 100644 --- a/packages/api/src/codegen/cosmos/mint/v1beta1/mint.ts +++ b/packages/api/src/cosmos/mint/v1beta1/mint.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; import { Decimal } from "@cosmjs/math"; -import { isSet } from "../../../helpers"; /** Minter represents the minting state. */ export interface Minter { /** current annual inflation rate */ @@ -112,18 +112,6 @@ export const Minter = { } return message; }, - fromJSON(object: any): Minter { - return { - inflation: isSet(object.inflation) ? String(object.inflation) : "", - annualProvisions: isSet(object.annualProvisions) ? String(object.annualProvisions) : "" - }; - }, - toJSON(message: Minter): unknown { - const obj: any = {}; - message.inflation !== undefined && (obj.inflation = message.inflation); - message.annualProvisions !== undefined && (obj.annualProvisions = message.annualProvisions); - return obj; - }, fromPartial(object: Partial): Minter { const message = createBaseMinter(); message.inflation = object.inflation ?? ""; @@ -233,26 +221,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - mintDenom: isSet(object.mintDenom) ? String(object.mintDenom) : "", - inflationRateChange: isSet(object.inflationRateChange) ? String(object.inflationRateChange) : "", - inflationMax: isSet(object.inflationMax) ? String(object.inflationMax) : "", - inflationMin: isSet(object.inflationMin) ? String(object.inflationMin) : "", - goalBonded: isSet(object.goalBonded) ? String(object.goalBonded) : "", - blocksPerYear: isSet(object.blocksPerYear) ? BigInt(object.blocksPerYear.toString()) : BigInt(0) - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.mintDenom !== undefined && (obj.mintDenom = message.mintDenom); - message.inflationRateChange !== undefined && (obj.inflationRateChange = message.inflationRateChange); - message.inflationMax !== undefined && (obj.inflationMax = message.inflationMax); - message.inflationMin !== undefined && (obj.inflationMin = message.inflationMin); - message.goalBonded !== undefined && (obj.goalBonded = message.goalBonded); - message.blocksPerYear !== undefined && (obj.blocksPerYear = (message.blocksPerYear || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.mintDenom = object.mintDenom ?? ""; diff --git a/packages/api/src/codegen/cosmos/mint/v1beta1/query.lcd.ts b/packages/api/src/cosmos/mint/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/mint/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/mint/v1beta1/query.lcd.ts index ad985b04..cdd100d5 100644 --- a/packages/api/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/mint/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; import { QueryParamsRequest, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/packages/api/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/mint/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/mint/v1beta1/query.rpc.Query.ts index 71e91773..704b5206 100644 --- a/packages/api/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/mint/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/mint/v1beta1/query.ts b/packages/api/src/cosmos/mint/v1beta1/query.ts similarity index 91% rename from packages/api/src/codegen/cosmos/mint/v1beta1/query.ts rename to packages/api/src/cosmos/mint/v1beta1/query.ts index add8d580..65abe54a 100644 --- a/packages/api/src/codegen/cosmos/mint/v1beta1/query.ts +++ b/packages/api/src/cosmos/mint/v1beta1/query.ts @@ -1,6 +1,7 @@ +//@ts-nocheck import { Params, ParamsAmino, ParamsSDKType } from "./mint"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** QueryParamsRequest is the request type for the Query/Params RPC method. */ export interface QueryParamsRequest {} export interface QueryParamsRequestProtoMsg { @@ -158,13 +159,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -229,16 +223,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -300,13 +284,6 @@ export const QueryInflationRequest = { } return message; }, - fromJSON(_: any): QueryInflationRequest { - return {}; - }, - toJSON(_: QueryInflationRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryInflationRequest { const message = createBaseQueryInflationRequest(); return message; @@ -371,16 +348,6 @@ export const QueryInflationResponse = { } return message; }, - fromJSON(object: any): QueryInflationResponse { - return { - inflation: isSet(object.inflation) ? bytesFromBase64(object.inflation) : new Uint8Array() - }; - }, - toJSON(message: QueryInflationResponse): unknown { - const obj: any = {}; - message.inflation !== undefined && (obj.inflation = base64FromBytes(message.inflation !== undefined ? message.inflation : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): QueryInflationResponse { const message = createBaseQueryInflationResponse(); message.inflation = object.inflation ?? new Uint8Array(); @@ -442,13 +409,6 @@ export const QueryAnnualProvisionsRequest = { } return message; }, - fromJSON(_: any): QueryAnnualProvisionsRequest { - return {}; - }, - toJSON(_: QueryAnnualProvisionsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryAnnualProvisionsRequest { const message = createBaseQueryAnnualProvisionsRequest(); return message; @@ -513,16 +473,6 @@ export const QueryAnnualProvisionsResponse = { } return message; }, - fromJSON(object: any): QueryAnnualProvisionsResponse { - return { - annualProvisions: isSet(object.annualProvisions) ? bytesFromBase64(object.annualProvisions) : new Uint8Array() - }; - }, - toJSON(message: QueryAnnualProvisionsResponse): unknown { - const obj: any = {}; - message.annualProvisions !== undefined && (obj.annualProvisions = base64FromBytes(message.annualProvisions !== undefined ? message.annualProvisions : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): QueryAnnualProvisionsResponse { const message = createBaseQueryAnnualProvisionsResponse(); message.annualProvisions = object.annualProvisions ?? new Uint8Array(); diff --git a/packages/api/src/codegen/cosmos/msg/v1/msg.ts b/packages/api/src/cosmos/msg/v1/msg.ts similarity index 100% rename from packages/api/src/codegen/cosmos/msg/v1/msg.ts rename to packages/api/src/cosmos/msg/v1/msg.ts diff --git a/packages/api/src/codegen/cosmos/orm/module/v1alpha1/module.ts b/packages/api/src/cosmos/orm/module/v1alpha1/module.ts similarity index 95% rename from packages/api/src/codegen/cosmos/orm/module/v1alpha1/module.ts rename to packages/api/src/cosmos/orm/module/v1alpha1/module.ts index e9185adc..53ab3170 100644 --- a/packages/api/src/codegen/cosmos/orm/module/v1alpha1/module.ts +++ b/packages/api/src/cosmos/orm/module/v1alpha1/module.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; /** * Module defines the ORM module which adds providers to the app container for @@ -47,13 +48,6 @@ export const Module = { } return message; }, - fromJSON(_: any): Module { - return {}; - }, - toJSON(_: Module): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): Module { const message = createBaseModule(); return message; diff --git a/packages/api/src/codegen/cosmos/orm/v1/orm.ts b/packages/api/src/cosmos/orm/v1/orm.ts similarity index 90% rename from packages/api/src/codegen/cosmos/orm/v1/orm.ts rename to packages/api/src/cosmos/orm/v1/orm.ts index 7e420cb7..3a12a955 100644 --- a/packages/api/src/codegen/cosmos/orm/v1/orm.ts +++ b/packages/api/src/cosmos/orm/v1/orm.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** TableDescriptor describes an ORM table. */ export interface TableDescriptor { /** primary_key defines the primary key for the table. */ @@ -271,24 +271,6 @@ export const TableDescriptor = { } return message; }, - fromJSON(object: any): TableDescriptor { - return { - primaryKey: isSet(object.primaryKey) ? PrimaryKeyDescriptor.fromJSON(object.primaryKey) : undefined, - index: Array.isArray(object?.index) ? object.index.map((e: any) => SecondaryIndexDescriptor.fromJSON(e)) : [], - id: isSet(object.id) ? Number(object.id) : 0 - }; - }, - toJSON(message: TableDescriptor): unknown { - const obj: any = {}; - message.primaryKey !== undefined && (obj.primaryKey = message.primaryKey ? PrimaryKeyDescriptor.toJSON(message.primaryKey) : undefined); - if (message.index) { - obj.index = message.index.map(e => e ? SecondaryIndexDescriptor.toJSON(e) : undefined); - } else { - obj.index = []; - } - message.id !== undefined && (obj.id = Math.round(message.id)); - return obj; - }, fromPartial(object: Partial): TableDescriptor { const message = createBaseTableDescriptor(); message.primaryKey = object.primaryKey !== undefined && object.primaryKey !== null ? PrimaryKeyDescriptor.fromPartial(object.primaryKey) : undefined; @@ -377,18 +359,6 @@ export const PrimaryKeyDescriptor = { } return message; }, - fromJSON(object: any): PrimaryKeyDescriptor { - return { - fields: isSet(object.fields) ? String(object.fields) : "", - autoIncrement: isSet(object.autoIncrement) ? Boolean(object.autoIncrement) : false - }; - }, - toJSON(message: PrimaryKeyDescriptor): unknown { - const obj: any = {}; - message.fields !== undefined && (obj.fields = message.fields); - message.autoIncrement !== undefined && (obj.autoIncrement = message.autoIncrement); - return obj; - }, fromPartial(object: Partial): PrimaryKeyDescriptor { const message = createBasePrimaryKeyDescriptor(); message.fields = object.fields ?? ""; @@ -477,20 +447,6 @@ export const SecondaryIndexDescriptor = { } return message; }, - fromJSON(object: any): SecondaryIndexDescriptor { - return { - fields: isSet(object.fields) ? String(object.fields) : "", - id: isSet(object.id) ? Number(object.id) : 0, - unique: isSet(object.unique) ? Boolean(object.unique) : false - }; - }, - toJSON(message: SecondaryIndexDescriptor): unknown { - const obj: any = {}; - message.fields !== undefined && (obj.fields = message.fields); - message.id !== undefined && (obj.id = Math.round(message.id)); - message.unique !== undefined && (obj.unique = message.unique); - return obj; - }, fromPartial(object: Partial): SecondaryIndexDescriptor { const message = createBaseSecondaryIndexDescriptor(); message.fields = object.fields ?? ""; @@ -570,16 +526,6 @@ export const SingletonDescriptor = { } return message; }, - fromJSON(object: any): SingletonDescriptor { - return { - id: isSet(object.id) ? Number(object.id) : 0 - }; - }, - toJSON(message: SingletonDescriptor): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - return obj; - }, fromPartial(object: Partial): SingletonDescriptor { const message = createBaseSingletonDescriptor(); message.id = object.id ?? 0; diff --git a/packages/api/src/codegen/cosmos/params/v1beta1/params.ts b/packages/api/src/cosmos/params/v1beta1/params.ts similarity index 86% rename from packages/api/src/codegen/cosmos/params/v1beta1/params.ts rename to packages/api/src/cosmos/params/v1beta1/params.ts index 90793ec3..d34859fb 100644 --- a/packages/api/src/codegen/cosmos/params/v1beta1/params.ts +++ b/packages/api/src/cosmos/params/v1beta1/params.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** ParameterChangeProposal defines a proposal to change one or more parameters. */ export interface ParameterChangeProposal { $typeUrl?: "/cosmos.params.v1beta1.ParameterChangeProposal"; @@ -108,24 +108,6 @@ export const ParameterChangeProposal = { } return message; }, - fromJSON(object: any): ParameterChangeProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - changes: Array.isArray(object?.changes) ? object.changes.map((e: any) => ParamChange.fromJSON(e)) : [] - }; - }, - toJSON(message: ParameterChangeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - if (message.changes) { - obj.changes = message.changes.map(e => e ? ParamChange.toJSON(e) : undefined); - } else { - obj.changes = []; - } - return obj; - }, fromPartial(object: Partial): ParameterChangeProposal { const message = createBaseParameterChangeProposal(); message.title = object.title ?? ""; @@ -221,20 +203,6 @@ export const ParamChange = { } return message; }, - fromJSON(object: any): ParamChange { - return { - subspace: isSet(object.subspace) ? String(object.subspace) : "", - key: isSet(object.key) ? String(object.key) : "", - value: isSet(object.value) ? String(object.value) : "" - }; - }, - toJSON(message: ParamChange): unknown { - const obj: any = {}; - message.subspace !== undefined && (obj.subspace = message.subspace); - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, fromPartial(object: Partial): ParamChange { const message = createBaseParamChange(); message.subspace = object.subspace ?? ""; diff --git a/packages/api/src/codegen/cosmos/params/v1beta1/query.lcd.ts b/packages/api/src/cosmos/params/v1beta1/query.lcd.ts similarity index 98% rename from packages/api/src/codegen/cosmos/params/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/params/v1beta1/query.lcd.ts index 30dd12e3..c5c430d9 100644 --- a/packages/api/src/codegen/cosmos/params/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/params/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/packages/api/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/params/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/params/v1beta1/query.rpc.Query.ts index a432f94d..4415b5fe 100644 --- a/packages/api/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/params/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/params/v1beta1/query.ts b/packages/api/src/cosmos/params/v1beta1/query.ts similarity index 89% rename from packages/api/src/codegen/cosmos/params/v1beta1/query.ts rename to packages/api/src/cosmos/params/v1beta1/query.ts index 761b2725..38bf18dc 100644 --- a/packages/api/src/codegen/cosmos/params/v1beta1/query.ts +++ b/packages/api/src/cosmos/params/v1beta1/query.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { ParamChange, ParamChangeAmino, ParamChangeSDKType } from "./params"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryParamsRequest is request type for the Query/Params RPC method. */ export interface QueryParamsRequest { /** subspace defines the module to query the parameter for. */ @@ -189,18 +189,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(object: any): QueryParamsRequest { - return { - subspace: isSet(object.subspace) ? String(object.subspace) : "", - key: isSet(object.key) ? String(object.key) : "" - }; - }, - toJSON(message: QueryParamsRequest): unknown { - const obj: any = {}; - message.subspace !== undefined && (obj.subspace = message.subspace); - message.key !== undefined && (obj.key = message.key); - return obj; - }, fromPartial(object: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); message.subspace = object.subspace ?? ""; @@ -275,16 +263,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - param: isSet(object.param) ? ParamChange.fromJSON(object.param) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.param !== undefined && (obj.param = message.param ? ParamChange.toJSON(message.param) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.param = object.param !== undefined && object.param !== null ? ParamChange.fromPartial(object.param) : undefined; @@ -346,13 +324,6 @@ export const QuerySubspacesRequest = { } return message; }, - fromJSON(_: any): QuerySubspacesRequest { - return {}; - }, - toJSON(_: QuerySubspacesRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QuerySubspacesRequest { const message = createBaseQuerySubspacesRequest(); return message; @@ -417,20 +388,6 @@ export const QuerySubspacesResponse = { } return message; }, - fromJSON(object: any): QuerySubspacesResponse { - return { - subspaces: Array.isArray(object?.subspaces) ? object.subspaces.map((e: any) => Subspace.fromJSON(e)) : [] - }; - }, - toJSON(message: QuerySubspacesResponse): unknown { - const obj: any = {}; - if (message.subspaces) { - obj.subspaces = message.subspaces.map(e => e ? Subspace.toJSON(e) : undefined); - } else { - obj.subspaces = []; - } - return obj; - }, fromPartial(object: Partial): QuerySubspacesResponse { const message = createBaseQuerySubspacesResponse(); message.subspaces = object.subspaces?.map(e => Subspace.fromPartial(e)) || []; @@ -509,22 +466,6 @@ export const Subspace = { } return message; }, - fromJSON(object: any): Subspace { - return { - subspace: isSet(object.subspace) ? String(object.subspace) : "", - keys: Array.isArray(object?.keys) ? object.keys.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: Subspace): unknown { - const obj: any = {}; - message.subspace !== undefined && (obj.subspace = message.subspace); - if (message.keys) { - obj.keys = message.keys.map(e => e); - } else { - obj.keys = []; - } - return obj; - }, fromPartial(object: Partial): Subspace { const message = createBaseSubspace(); message.subspace = object.subspace ?? ""; diff --git a/packages/api/src/codegen/cosmos/rpc.query.ts b/packages/api/src/cosmos/rpc.query.ts similarity index 76% rename from packages/api/src/codegen/cosmos/rpc.query.ts rename to packages/api/src/cosmos/rpc.query.ts index 87be0773..db0b00a0 100644 --- a/packages/api/src/codegen/cosmos/rpc.query.ts +++ b/packages/api/src/cosmos/rpc.query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; import { QueryClient } from "@cosmjs/stargate"; export const createRPCQueryClient = async ({ @@ -9,9 +10,6 @@ export const createRPCQueryClient = async ({ const client = new QueryClient(tmClient); return { cosmos: { - app: { - v1alpha1: (await import("./app/v1alpha1/query.rpc.Query")).createRpcQueryExtension(client) - }, auth: { v1beta1: (await import("./auth/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, @@ -24,17 +22,11 @@ export const createRPCQueryClient = async ({ base: { node: { v1beta1: (await import("./base/node/v1beta1/query.rpc.Service")).createRpcQueryExtension(client) - }, - tendermint: { - v1beta1: (await import("./base/tendermint/v1beta1/query.rpc.Service")).createRpcQueryExtension(client) } }, distribution: { v1beta1: (await import("./distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - evidence: { - v1beta1: (await import("./evidence/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, feegrant: { v1beta1: (await import("./feegrant/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, @@ -48,15 +40,9 @@ export const createRPCQueryClient = async ({ mint: { v1beta1: (await import("./mint/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - nft: { - v1beta1: (await import("./nft/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, params: { v1beta1: (await import("./params/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - slashing: { - v1beta1: (await import("./slashing/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, staking: { v1beta1: (await import("./staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, diff --git a/packages/api/src/codegen/cosmos/rpc.tx.ts b/packages/api/src/cosmos/rpc.tx.ts similarity index 73% rename from packages/api/src/codegen/cosmos/rpc.tx.ts rename to packages/api/src/cosmos/rpc.tx.ts index 3a4dbf9b..c87eaf31 100644 --- a/packages/api/src/codegen/cosmos/rpc.tx.ts +++ b/packages/api/src/cosmos/rpc.tx.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc @@ -11,15 +12,9 @@ export const createRPCMsgClient = async ({ bank: { v1beta1: new (await import("./bank/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, - crisis: { - v1beta1: new (await import("./crisis/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, distribution: { v1beta1: new (await import("./distribution/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, feegrant: { v1beta1: new (await import("./feegrant/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, @@ -30,12 +25,6 @@ export const createRPCMsgClient = async ({ group: { v1: new (await import("./group/v1/tx.rpc.msg")).MsgClientImpl(rpc) }, - nft: { - v1beta1: new (await import("./nft/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, staking: { v1beta1: new (await import("./staking/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/authz.ts b/packages/api/src/cosmos/staking/v1beta1/authz.ts similarity index 88% rename from packages/api/src/codegen/cosmos/staking/v1beta1/authz.ts rename to packages/api/src/cosmos/staking/v1beta1/authz.ts index 558d0df5..7e405db6 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/authz.ts +++ b/packages/api/src/cosmos/staking/v1beta1/authz.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * AuthorizationType defines the type of staking module authorization type * @@ -189,22 +189,6 @@ export const StakeAuthorization = { } return message; }, - fromJSON(object: any): StakeAuthorization { - return { - maxTokens: isSet(object.maxTokens) ? Coin.fromJSON(object.maxTokens) : undefined, - allowList: isSet(object.allowList) ? StakeAuthorization_Validators.fromJSON(object.allowList) : undefined, - denyList: isSet(object.denyList) ? StakeAuthorization_Validators.fromJSON(object.denyList) : undefined, - authorizationType: isSet(object.authorizationType) ? authorizationTypeFromJSON(object.authorizationType) : -1 - }; - }, - toJSON(message: StakeAuthorization): unknown { - const obj: any = {}; - message.maxTokens !== undefined && (obj.maxTokens = message.maxTokens ? Coin.toJSON(message.maxTokens) : undefined); - message.allowList !== undefined && (obj.allowList = message.allowList ? StakeAuthorization_Validators.toJSON(message.allowList) : undefined); - message.denyList !== undefined && (obj.denyList = message.denyList ? StakeAuthorization_Validators.toJSON(message.denyList) : undefined); - message.authorizationType !== undefined && (obj.authorizationType = authorizationTypeToJSON(message.authorizationType)); - return obj; - }, fromPartial(object: Partial): StakeAuthorization { const message = createBaseStakeAuthorization(); message.maxTokens = object.maxTokens !== undefined && object.maxTokens !== null ? Coin.fromPartial(object.maxTokens) : undefined; @@ -289,20 +273,6 @@ export const StakeAuthorization_Validators = { } return message; }, - fromJSON(object: any): StakeAuthorization_Validators { - return { - address: Array.isArray(object?.address) ? object.address.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: StakeAuthorization_Validators): unknown { - const obj: any = {}; - if (message.address) { - obj.address = message.address.map(e => e); - } else { - obj.address = []; - } - return obj; - }, fromPartial(object: Partial): StakeAuthorization_Validators { const message = createBaseStakeAuthorization_Validators(); message.address = object.address?.map(e => e) || []; diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/genesis.ts b/packages/api/src/cosmos/staking/v1beta1/genesis.ts similarity index 82% rename from packages/api/src/codegen/cosmos/staking/v1beta1/genesis.ts rename to packages/api/src/cosmos/staking/v1beta1/genesis.ts index 6f70bb3f..ad73dcd8 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/genesis.ts +++ b/packages/api/src/cosmos/staking/v1beta1/genesis.ts @@ -1,6 +1,7 @@ +//@ts-nocheck import { Params, ParamsAmino, ParamsSDKType, Validator, ValidatorAmino, ValidatorSDKType, Delegation, DelegationAmino, DelegationSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, Redelegation, RedelegationAmino, RedelegationSDKType } from "./staking"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** GenesisState defines the staking module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of related to deposit. */ @@ -174,50 +175,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - lastTotalPower: isSet(object.lastTotalPower) ? bytesFromBase64(object.lastTotalPower) : new Uint8Array(), - lastValidatorPowers: Array.isArray(object?.lastValidatorPowers) ? object.lastValidatorPowers.map((e: any) => LastValidatorPower.fromJSON(e)) : [], - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromJSON(e)) : [], - delegations: Array.isArray(object?.delegations) ? object.delegations.map((e: any) => Delegation.fromJSON(e)) : [], - unbondingDelegations: Array.isArray(object?.unbondingDelegations) ? object.unbondingDelegations.map((e: any) => UnbondingDelegation.fromJSON(e)) : [], - redelegations: Array.isArray(object?.redelegations) ? object.redelegations.map((e: any) => Redelegation.fromJSON(e)) : [], - exported: isSet(object.exported) ? Boolean(object.exported) : false - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - message.lastTotalPower !== undefined && (obj.lastTotalPower = base64FromBytes(message.lastTotalPower !== undefined ? message.lastTotalPower : new Uint8Array())); - if (message.lastValidatorPowers) { - obj.lastValidatorPowers = message.lastValidatorPowers.map(e => e ? LastValidatorPower.toJSON(e) : undefined); - } else { - obj.lastValidatorPowers = []; - } - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - if (message.delegations) { - obj.delegations = message.delegations.map(e => e ? Delegation.toJSON(e) : undefined); - } else { - obj.delegations = []; - } - if (message.unbondingDelegations) { - obj.unbondingDelegations = message.unbondingDelegations.map(e => e ? UnbondingDelegation.toJSON(e) : undefined); - } else { - obj.unbondingDelegations = []; - } - if (message.redelegations) { - obj.redelegations = message.redelegations.map(e => e ? Redelegation.toJSON(e) : undefined); - } else { - obj.redelegations = []; - } - message.exported !== undefined && (obj.exported = message.exported); - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -339,18 +296,6 @@ export const LastValidatorPower = { } return message; }, - fromJSON(object: any): LastValidatorPower { - return { - address: isSet(object.address) ? String(object.address) : "", - power: isSet(object.power) ? BigInt(object.power.toString()) : BigInt(0) - }; - }, - toJSON(message: LastValidatorPower): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.power !== undefined && (obj.power = (message.power || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): LastValidatorPower { const message = createBaseLastValidatorPower(); message.address = object.address ?? ""; diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/query.lcd.ts b/packages/api/src/cosmos/staking/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/staking/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/staking/v1beta1/query.lcd.ts index 4ba0b022..a2ef0fe8 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/staking/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryValidatorsRequest, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/staking/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/staking/v1beta1/query.rpc.Query.ts index 1a204ce8..dcf1f2d4 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/staking/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/query.ts b/packages/api/src/cosmos/staking/v1beta1/query.ts similarity index 88% rename from packages/api/src/codegen/cosmos/staking/v1beta1/query.ts rename to packages/api/src/cosmos/staking/v1beta1/query.ts index e8bc5cde..bb0a7da5 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/query.ts +++ b/packages/api/src/cosmos/staking/v1beta1/query.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { Validator, ValidatorAmino, ValidatorSDKType, DelegationResponse, DelegationResponseAmino, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseAmino, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoAmino, HistoricalInfoSDKType, Pool, PoolAmino, PoolSDKType, Params, ParamsAmino, ParamsSDKType } from "./staking"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryValidatorsRequest is request type for Query/Validators RPC method. */ export interface QueryValidatorsRequest { /** status enables to query for validators matching a given status. */ @@ -888,18 +888,6 @@ export const QueryValidatorsRequest = { } return message; }, - fromJSON(object: any): QueryValidatorsRequest { - return { - status: isSet(object.status) ? String(object.status) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorsRequest): unknown { - const obj: any = {}; - message.status !== undefined && (obj.status = message.status); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorsRequest { const message = createBaseQueryValidatorsRequest(); message.status = object.status ?? ""; @@ -981,22 +969,6 @@ export const QueryValidatorsResponse = { } return message; }, - fromJSON(object: any): QueryValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorsResponse): unknown { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorsResponse { const message = createBaseQueryValidatorsResponse(); message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; @@ -1073,16 +1045,6 @@ export const QueryValidatorRequest = { } return message; }, - fromJSON(object: any): QueryValidatorRequest { - return { - validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : "" - }; - }, - toJSON(message: QueryValidatorRequest): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, fromPartial(object: Partial): QueryValidatorRequest { const message = createBaseQueryValidatorRequest(); message.validatorAddr = object.validatorAddr ?? ""; @@ -1152,16 +1114,6 @@ export const QueryValidatorResponse = { } return message; }, - fromJSON(object: any): QueryValidatorResponse { - return { - validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined - }; - }, - toJSON(message: QueryValidatorResponse): unknown { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorResponse { const message = createBaseQueryValidatorResponse(); message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; @@ -1238,18 +1190,6 @@ export const QueryValidatorDelegationsRequest = { } return message; }, - fromJSON(object: any): QueryValidatorDelegationsRequest { - return { - validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorDelegationsRequest): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorDelegationsRequest { const message = createBaseQueryValidatorDelegationsRequest(); message.validatorAddr = object.validatorAddr ?? ""; @@ -1331,22 +1271,6 @@ export const QueryValidatorDelegationsResponse = { } return message; }, - fromJSON(object: any): QueryValidatorDelegationsResponse { - return { - delegationResponses: Array.isArray(object?.delegationResponses) ? object.delegationResponses.map((e: any) => DelegationResponse.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorDelegationsResponse): unknown { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegationResponses = message.delegationResponses.map(e => e ? DelegationResponse.toJSON(e) : undefined); - } else { - obj.delegationResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorDelegationsResponse { const message = createBaseQueryValidatorDelegationsResponse(); message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; @@ -1430,18 +1354,6 @@ export const QueryValidatorUnbondingDelegationsRequest = { } return message; }, - fromJSON(object: any): QueryValidatorUnbondingDelegationsRequest { - return { - validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorUnbondingDelegationsRequest): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorUnbondingDelegationsRequest { const message = createBaseQueryValidatorUnbondingDelegationsRequest(); message.validatorAddr = object.validatorAddr ?? ""; @@ -1523,22 +1435,6 @@ export const QueryValidatorUnbondingDelegationsResponse = { } return message; }, - fromJSON(object: any): QueryValidatorUnbondingDelegationsResponse { - return { - unbondingResponses: Array.isArray(object?.unbondingResponses) ? object.unbondingResponses.map((e: any) => UnbondingDelegation.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryValidatorUnbondingDelegationsResponse): unknown { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbondingResponses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toJSON(e) : undefined); - } else { - obj.unbondingResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryValidatorUnbondingDelegationsResponse { const message = createBaseQueryValidatorUnbondingDelegationsResponse(); message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; @@ -1622,18 +1518,6 @@ export const QueryDelegationRequest = { } return message; }, - fromJSON(object: any): QueryDelegationRequest { - return { - delegatorAddr: isSet(object.delegatorAddr) ? String(object.delegatorAddr) : "", - validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : "" - }; - }, - toJSON(message: QueryDelegationRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, fromPartial(object: Partial): QueryDelegationRequest { const message = createBaseQueryDelegationRequest(); message.delegatorAddr = object.delegatorAddr ?? ""; @@ -1708,16 +1592,6 @@ export const QueryDelegationResponse = { } return message; }, - fromJSON(object: any): QueryDelegationResponse { - return { - delegationResponse: isSet(object.delegationResponse) ? DelegationResponse.fromJSON(object.delegationResponse) : undefined - }; - }, - toJSON(message: QueryDelegationResponse): unknown { - const obj: any = {}; - message.delegationResponse !== undefined && (obj.delegationResponse = message.delegationResponse ? DelegationResponse.toJSON(message.delegationResponse) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegationResponse { const message = createBaseQueryDelegationResponse(); message.delegationResponse = object.delegationResponse !== undefined && object.delegationResponse !== null ? DelegationResponse.fromPartial(object.delegationResponse) : undefined; @@ -1794,18 +1668,6 @@ export const QueryUnbondingDelegationRequest = { } return message; }, - fromJSON(object: any): QueryUnbondingDelegationRequest { - return { - delegatorAddr: isSet(object.delegatorAddr) ? String(object.delegatorAddr) : "", - validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : "" - }; - }, - toJSON(message: QueryUnbondingDelegationRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, fromPartial(object: Partial): QueryUnbondingDelegationRequest { const message = createBaseQueryUnbondingDelegationRequest(); message.delegatorAddr = object.delegatorAddr ?? ""; @@ -1880,16 +1742,6 @@ export const QueryUnbondingDelegationResponse = { } return message; }, - fromJSON(object: any): QueryUnbondingDelegationResponse { - return { - unbond: isSet(object.unbond) ? UnbondingDelegation.fromJSON(object.unbond) : undefined - }; - }, - toJSON(message: QueryUnbondingDelegationResponse): unknown { - const obj: any = {}; - message.unbond !== undefined && (obj.unbond = message.unbond ? UnbondingDelegation.toJSON(message.unbond) : undefined); - return obj; - }, fromPartial(object: Partial): QueryUnbondingDelegationResponse { const message = createBaseQueryUnbondingDelegationResponse(); message.unbond = object.unbond !== undefined && object.unbond !== null ? UnbondingDelegation.fromPartial(object.unbond) : undefined; @@ -1966,18 +1818,6 @@ export const QueryDelegatorDelegationsRequest = { } return message; }, - fromJSON(object: any): QueryDelegatorDelegationsRequest { - return { - delegatorAddr: isSet(object.delegatorAddr) ? String(object.delegatorAddr) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDelegatorDelegationsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegatorDelegationsRequest { const message = createBaseQueryDelegatorDelegationsRequest(); message.delegatorAddr = object.delegatorAddr ?? ""; @@ -2059,22 +1899,6 @@ export const QueryDelegatorDelegationsResponse = { } return message; }, - fromJSON(object: any): QueryDelegatorDelegationsResponse { - return { - delegationResponses: Array.isArray(object?.delegationResponses) ? object.delegationResponses.map((e: any) => DelegationResponse.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDelegatorDelegationsResponse): unknown { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegationResponses = message.delegationResponses.map(e => e ? DelegationResponse.toJSON(e) : undefined); - } else { - obj.delegationResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegatorDelegationsResponse { const message = createBaseQueryDelegatorDelegationsResponse(); message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; @@ -2158,18 +1982,6 @@ export const QueryDelegatorUnbondingDelegationsRequest = { } return message; }, - fromJSON(object: any): QueryDelegatorUnbondingDelegationsRequest { - return { - delegatorAddr: isSet(object.delegatorAddr) ? String(object.delegatorAddr) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDelegatorUnbondingDelegationsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsRequest { const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); message.delegatorAddr = object.delegatorAddr ?? ""; @@ -2251,22 +2063,6 @@ export const QueryDelegatorUnbondingDelegationsResponse = { } return message; }, - fromJSON(object: any): QueryDelegatorUnbondingDelegationsResponse { - return { - unbondingResponses: Array.isArray(object?.unbondingResponses) ? object.unbondingResponses.map((e: any) => UnbondingDelegation.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDelegatorUnbondingDelegationsResponse): unknown { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbondingResponses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toJSON(e) : undefined); - } else { - obj.unbondingResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsResponse { const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; @@ -2364,22 +2160,6 @@ export const QueryRedelegationsRequest = { } return message; }, - fromJSON(object: any): QueryRedelegationsRequest { - return { - delegatorAddr: isSet(object.delegatorAddr) ? String(object.delegatorAddr) : "", - srcValidatorAddr: isSet(object.srcValidatorAddr) ? String(object.srcValidatorAddr) : "", - dstValidatorAddr: isSet(object.dstValidatorAddr) ? String(object.dstValidatorAddr) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryRedelegationsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.srcValidatorAddr !== undefined && (obj.srcValidatorAddr = message.srcValidatorAddr); - message.dstValidatorAddr !== undefined && (obj.dstValidatorAddr = message.dstValidatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryRedelegationsRequest { const message = createBaseQueryRedelegationsRequest(); message.delegatorAddr = object.delegatorAddr ?? ""; @@ -2471,22 +2251,6 @@ export const QueryRedelegationsResponse = { } return message; }, - fromJSON(object: any): QueryRedelegationsResponse { - return { - redelegationResponses: Array.isArray(object?.redelegationResponses) ? object.redelegationResponses.map((e: any) => RedelegationResponse.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryRedelegationsResponse): unknown { - const obj: any = {}; - if (message.redelegationResponses) { - obj.redelegationResponses = message.redelegationResponses.map(e => e ? RedelegationResponse.toJSON(e) : undefined); - } else { - obj.redelegationResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryRedelegationsResponse { const message = createBaseQueryRedelegationsResponse(); message.redelegationResponses = object.redelegationResponses?.map(e => RedelegationResponse.fromPartial(e)) || []; @@ -2570,18 +2334,6 @@ export const QueryDelegatorValidatorsRequest = { } return message; }, - fromJSON(object: any): QueryDelegatorValidatorsRequest { - return { - delegatorAddr: isSet(object.delegatorAddr) ? String(object.delegatorAddr) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDelegatorValidatorsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegatorValidatorsRequest { const message = createBaseQueryDelegatorValidatorsRequest(); message.delegatorAddr = object.delegatorAddr ?? ""; @@ -2663,22 +2415,6 @@ export const QueryDelegatorValidatorsResponse = { } return message; }, - fromJSON(object: any): QueryDelegatorValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDelegatorValidatorsResponse): unknown { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegatorValidatorsResponse { const message = createBaseQueryDelegatorValidatorsResponse(); message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; @@ -2762,18 +2498,6 @@ export const QueryDelegatorValidatorRequest = { } return message; }, - fromJSON(object: any): QueryDelegatorValidatorRequest { - return { - delegatorAddr: isSet(object.delegatorAddr) ? String(object.delegatorAddr) : "", - validatorAddr: isSet(object.validatorAddr) ? String(object.validatorAddr) : "" - }; - }, - toJSON(message: QueryDelegatorValidatorRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, fromPartial(object: Partial): QueryDelegatorValidatorRequest { const message = createBaseQueryDelegatorValidatorRequest(); message.delegatorAddr = object.delegatorAddr ?? ""; @@ -2848,16 +2572,6 @@ export const QueryDelegatorValidatorResponse = { } return message; }, - fromJSON(object: any): QueryDelegatorValidatorResponse { - return { - validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined - }; - }, - toJSON(message: QueryDelegatorValidatorResponse): unknown { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDelegatorValidatorResponse { const message = createBaseQueryDelegatorValidatorResponse(); message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; @@ -2927,16 +2641,6 @@ export const QueryHistoricalInfoRequest = { } return message; }, - fromJSON(object: any): QueryHistoricalInfoRequest { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryHistoricalInfoRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryHistoricalInfoRequest { const message = createBaseQueryHistoricalInfoRequest(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -3006,16 +2710,6 @@ export const QueryHistoricalInfoResponse = { } return message; }, - fromJSON(object: any): QueryHistoricalInfoResponse { - return { - hist: isSet(object.hist) ? HistoricalInfo.fromJSON(object.hist) : undefined - }; - }, - toJSON(message: QueryHistoricalInfoResponse): unknown { - const obj: any = {}; - message.hist !== undefined && (obj.hist = message.hist ? HistoricalInfo.toJSON(message.hist) : undefined); - return obj; - }, fromPartial(object: Partial): QueryHistoricalInfoResponse { const message = createBaseQueryHistoricalInfoResponse(); message.hist = object.hist !== undefined && object.hist !== null ? HistoricalInfo.fromPartial(object.hist) : undefined; @@ -3077,13 +2771,6 @@ export const QueryPoolRequest = { } return message; }, - fromJSON(_: any): QueryPoolRequest { - return {}; - }, - toJSON(_: QueryPoolRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryPoolRequest { const message = createBaseQueryPoolRequest(); return message; @@ -3148,16 +2835,6 @@ export const QueryPoolResponse = { } return message; }, - fromJSON(object: any): QueryPoolResponse { - return { - pool: isSet(object.pool) ? Pool.fromJSON(object.pool) : undefined - }; - }, - toJSON(message: QueryPoolResponse): unknown { - const obj: any = {}; - message.pool !== undefined && (obj.pool = message.pool ? Pool.toJSON(message.pool) : undefined); - return obj; - }, fromPartial(object: Partial): QueryPoolResponse { const message = createBaseQueryPoolResponse(); message.pool = object.pool !== undefined && object.pool !== null ? Pool.fromPartial(object.pool) : undefined; @@ -3219,13 +2896,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -3290,16 +2960,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/staking.ts b/packages/api/src/cosmos/staking/v1beta1/staking.ts similarity index 84% rename from packages/api/src/codegen/cosmos/staking/v1beta1/staking.ts rename to packages/api/src/cosmos/staking/v1beta1/staking.ts index 28c33660..53b16fc9 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/staking.ts +++ b/packages/api/src/cosmos/staking/v1beta1/staking.ts @@ -1,11 +1,12 @@ +//@ts-nocheck import { Header, HeaderAmino, HeaderSDKType } from "../../../tendermint/types/types"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; import { Decimal } from "@cosmjs/math"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing"; import { Pubkey } from "@cosmjs/amino"; /** BondStatus is the status of a validator. */ @@ -141,7 +142,7 @@ export interface Commission { /** commission_rates defines the initial commission rates to be used for creating a validator. */ commissionRates: CommissionRates; /** update_time is the last time the commission rate was changed. */ - updateTime: Timestamp; + updateTime: Date; } export interface CommissionProtoMsg { typeUrl: "/cosmos.staking.v1beta1.Commission"; @@ -161,7 +162,7 @@ export interface CommissionAminoMsg { /** Commission defines commission parameters for a given validator. */ export interface CommissionSDKType { commission_rates: CommissionRatesSDKType; - update_time: TimestampSDKType; + update_time: Date; } /** Description defines a validator description. */ export interface Description { @@ -219,7 +220,7 @@ export interface Validator { /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ operatorAddress: string; /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensusPubkey?: (Any) | undefined; + consensusPubkey?: Any | undefined; /** jailed defined whether the validator has been jailed from bonded status or not. */ jailed: boolean; /** status is the validator status (bonded/unbonding/unbonded). */ @@ -233,7 +234,7 @@ export interface Validator { /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ unbondingHeight: bigint; /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbondingTime: Timestamp; + unbondingTime: Date; /** commission defines the commission parameters. */ commission: Commission; /** @@ -311,7 +312,7 @@ export interface ValidatorSDKType { delegator_shares: string; description: DescriptionSDKType; unbonding_height: bigint; - unbonding_time: TimestampSDKType; + unbonding_time: Date; commission: CommissionSDKType; min_self_delegation: string; } @@ -541,7 +542,7 @@ export interface UnbondingDelegationEntry { /** creation_height is the height which the unbonding took place. */ creationHeight: bigint; /** completion_time is the unix time for unbonding completion. */ - completionTime: Timestamp; + completionTime: Date; /** initial_balance defines the tokens initially scheduled to receive at completion. */ initialBalance: string; /** balance defines the tokens to receive at completion. */ @@ -569,7 +570,7 @@ export interface UnbondingDelegationEntryAminoMsg { /** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ export interface UnbondingDelegationEntrySDKType { creation_height: bigint; - completion_time: TimestampSDKType; + completion_time: Date; initial_balance: string; balance: string; } @@ -578,7 +579,7 @@ export interface RedelegationEntry { /** creation_height defines the height which the redelegation took place. */ creationHeight: bigint; /** completion_time defines the unix time for redelegation completion. */ - completionTime: Timestamp; + completionTime: Date; /** initial_balance defines the initial balance when redelegation started. */ initialBalance: string; /** shares_dst is the amount of destination-validator shares created by redelegation. */ @@ -606,7 +607,7 @@ export interface RedelegationEntryAminoMsg { /** RedelegationEntry defines a redelegation object with relevant metadata. */ export interface RedelegationEntrySDKType { creation_height: bigint; - completion_time: TimestampSDKType; + completion_time: Date; initial_balance: string; shares_dst: string; } @@ -874,22 +875,6 @@ export const HistoricalInfo = { } return message; }, - fromJSON(object: any): HistoricalInfo { - return { - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - valset: Array.isArray(object?.valset) ? object.valset.map((e: any) => Validator.fromJSON(e)) : [] - }; - }, - toJSON(message: HistoricalInfo): unknown { - const obj: any = {}; - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - if (message.valset) { - obj.valset = message.valset.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.valset = []; - } - return obj; - }, fromPartial(object: Partial): HistoricalInfo { const message = createBaseHistoricalInfo(); message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; @@ -980,20 +965,6 @@ export const CommissionRates = { } return message; }, - fromJSON(object: any): CommissionRates { - return { - rate: isSet(object.rate) ? String(object.rate) : "", - maxRate: isSet(object.maxRate) ? String(object.maxRate) : "", - maxChangeRate: isSet(object.maxChangeRate) ? String(object.maxChangeRate) : "" - }; - }, - toJSON(message: CommissionRates): unknown { - const obj: any = {}; - message.rate !== undefined && (obj.rate = message.rate); - message.maxRate !== undefined && (obj.maxRate = message.maxRate); - message.maxChangeRate !== undefined && (obj.maxChangeRate = message.maxChangeRate); - return obj; - }, fromPartial(object: Partial): CommissionRates { const message = createBaseCommissionRates(); message.rate = object.rate ?? ""; @@ -1046,7 +1017,7 @@ export const CommissionRates = { function createBaseCommission(): Commission { return { commissionRates: CommissionRates.fromPartial({}), - updateTime: Timestamp.fromPartial({}) + updateTime: new Date() }; } export const Commission = { @@ -1056,7 +1027,7 @@ export const Commission = { CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim(); } if (message.updateTime !== undefined) { - Timestamp.encode(message.updateTime, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -1071,7 +1042,7 @@ export const Commission = { message.commissionRates = CommissionRates.decode(reader, reader.uint32()); break; case 2: - message.updateTime = Timestamp.decode(reader, reader.uint32()); + message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1080,22 +1051,10 @@ export const Commission = { } return message; }, - fromJSON(object: any): Commission { - return { - commissionRates: isSet(object.commissionRates) ? CommissionRates.fromJSON(object.commissionRates) : undefined, - updateTime: isSet(object.updateTime) ? fromJsonTimestamp(object.updateTime) : undefined - }; - }, - toJSON(message: Commission): unknown { - const obj: any = {}; - message.commissionRates !== undefined && (obj.commissionRates = message.commissionRates ? CommissionRates.toJSON(message.commissionRates) : undefined); - message.updateTime !== undefined && (obj.updateTime = fromTimestamp(message.updateTime).toISOString()); - return obj; - }, fromPartial(object: Partial): Commission { const message = createBaseCommission(); message.commissionRates = object.commissionRates !== undefined && object.commissionRates !== null ? CommissionRates.fromPartial(object.commissionRates) : undefined; - message.updateTime = object.updateTime !== undefined && object.updateTime !== null ? Timestamp.fromPartial(object.updateTime) : undefined; + message.updateTime = object.updateTime ?? undefined; return message; }, fromAmino(object: CommissionAmino): Commission { @@ -1104,14 +1063,14 @@ export const Commission = { message.commissionRates = CommissionRates.fromAmino(object.commission_rates); } if (object.update_time !== undefined && object.update_time !== null) { - message.updateTime = Timestamp.fromAmino(object.update_time); + message.updateTime = fromTimestamp(Timestamp.fromAmino(object.update_time)); } return message; }, toAmino(message: Commission): CommissionAmino { const obj: any = {}; obj.commission_rates = message.commissionRates ? CommissionRates.toAmino(message.commissionRates) : undefined; - obj.update_time = message.updateTime ? Timestamp.toAmino(message.updateTime) : undefined; + obj.update_time = message.updateTime ? Timestamp.toAmino(toTimestamp(message.updateTime)) : undefined; return obj; }, fromAminoMsg(object: CommissionAminoMsg): Commission { @@ -1194,24 +1153,6 @@ export const Description = { } return message; }, - fromJSON(object: any): Description { - return { - moniker: isSet(object.moniker) ? String(object.moniker) : "", - identity: isSet(object.identity) ? String(object.identity) : "", - website: isSet(object.website) ? String(object.website) : "", - securityContact: isSet(object.securityContact) ? String(object.securityContact) : "", - details: isSet(object.details) ? String(object.details) : "" - }; - }, - toJSON(message: Description): unknown { - const obj: any = {}; - message.moniker !== undefined && (obj.moniker = message.moniker); - message.identity !== undefined && (obj.identity = message.identity); - message.website !== undefined && (obj.website = message.website); - message.securityContact !== undefined && (obj.securityContact = message.securityContact); - message.details !== undefined && (obj.details = message.details); - return obj; - }, fromPartial(object: Partial): Description { const message = createBaseDescription(); message.moniker = object.moniker ?? ""; @@ -1281,7 +1222,7 @@ function createBaseValidator(): Validator { delegatorShares: "", description: Description.fromPartial({}), unbondingHeight: BigInt(0), - unbondingTime: Timestamp.fromPartial({}), + unbondingTime: new Date(), commission: Commission.fromPartial({}), minSelfDelegation: "" }; @@ -1314,7 +1255,7 @@ export const Validator = { writer.uint32(64).int64(message.unbondingHeight); } if (message.unbondingTime !== undefined) { - Timestamp.encode(message.unbondingTime, writer.uint32(74).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim(); } if (message.commission !== undefined) { Commission.encode(message.commission, writer.uint32(82).fork()).ldelim(); @@ -1356,7 +1297,7 @@ export const Validator = { message.unbondingHeight = reader.int64(); break; case 9: - message.unbondingTime = Timestamp.decode(reader, reader.uint32()); + message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 10: message.commission = Commission.decode(reader, reader.uint32()); @@ -1371,36 +1312,6 @@ export const Validator = { } return message; }, - fromJSON(object: any): Validator { - return { - operatorAddress: isSet(object.operatorAddress) ? String(object.operatorAddress) : "", - consensusPubkey: isSet(object.consensusPubkey) ? Any.fromJSON(object.consensusPubkey) : undefined, - jailed: isSet(object.jailed) ? Boolean(object.jailed) : false, - status: isSet(object.status) ? bondStatusFromJSON(object.status) : -1, - tokens: isSet(object.tokens) ? String(object.tokens) : "", - delegatorShares: isSet(object.delegatorShares) ? String(object.delegatorShares) : "", - description: isSet(object.description) ? Description.fromJSON(object.description) : undefined, - unbondingHeight: isSet(object.unbondingHeight) ? BigInt(object.unbondingHeight.toString()) : BigInt(0), - unbondingTime: isSet(object.unbondingTime) ? fromJsonTimestamp(object.unbondingTime) : undefined, - commission: isSet(object.commission) ? Commission.fromJSON(object.commission) : undefined, - minSelfDelegation: isSet(object.minSelfDelegation) ? String(object.minSelfDelegation) : "" - }; - }, - toJSON(message: Validator): unknown { - const obj: any = {}; - message.operatorAddress !== undefined && (obj.operatorAddress = message.operatorAddress); - message.consensusPubkey !== undefined && (obj.consensusPubkey = message.consensusPubkey ? Any.toJSON(message.consensusPubkey) : undefined); - message.jailed !== undefined && (obj.jailed = message.jailed); - message.status !== undefined && (obj.status = bondStatusToJSON(message.status)); - message.tokens !== undefined && (obj.tokens = message.tokens); - message.delegatorShares !== undefined && (obj.delegatorShares = message.delegatorShares); - message.description !== undefined && (obj.description = message.description ? Description.toJSON(message.description) : undefined); - message.unbondingHeight !== undefined && (obj.unbondingHeight = (message.unbondingHeight || BigInt(0)).toString()); - message.unbondingTime !== undefined && (obj.unbondingTime = fromTimestamp(message.unbondingTime).toISOString()); - message.commission !== undefined && (obj.commission = message.commission ? Commission.toJSON(message.commission) : undefined); - message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation); - return obj; - }, fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.operatorAddress = object.operatorAddress ?? ""; @@ -1411,7 +1322,7 @@ export const Validator = { message.delegatorShares = object.delegatorShares ?? ""; message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined; message.unbondingHeight = object.unbondingHeight !== undefined && object.unbondingHeight !== null ? BigInt(object.unbondingHeight.toString()) : BigInt(0); - message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Timestamp.fromPartial(object.unbondingTime) : undefined; + message.unbondingTime = object.unbondingTime ?? undefined; message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined; message.minSelfDelegation = object.minSelfDelegation ?? ""; return message; @@ -1443,7 +1354,7 @@ export const Validator = { message.unbondingHeight = BigInt(object.unbonding_height); } if (object.unbonding_time !== undefined && object.unbonding_time !== null) { - message.unbondingTime = Timestamp.fromAmino(object.unbonding_time); + message.unbondingTime = fromTimestamp(Timestamp.fromAmino(object.unbonding_time)); } if (object.commission !== undefined && object.commission !== null) { message.commission = Commission.fromAmino(object.commission); @@ -1463,7 +1374,7 @@ export const Validator = { obj.delegator_shares = message.delegatorShares === "" ? undefined : message.delegatorShares; obj.description = message.description ? Description.toAmino(message.description) : undefined; obj.unbonding_height = message.unbondingHeight !== BigInt(0) ? message.unbondingHeight.toString() : undefined; - obj.unbonding_time = message.unbondingTime ? Timestamp.toAmino(message.unbondingTime) : undefined; + obj.unbonding_time = message.unbondingTime ? Timestamp.toAmino(toTimestamp(message.unbondingTime)) : undefined; obj.commission = message.commission ? Commission.toAmino(message.commission) : undefined; obj.min_self_delegation = message.minSelfDelegation === "" ? undefined : message.minSelfDelegation; return obj; @@ -1520,20 +1431,6 @@ export const ValAddresses = { } return message; }, - fromJSON(object: any): ValAddresses { - return { - addresses: Array.isArray(object?.addresses) ? object.addresses.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: ValAddresses): unknown { - const obj: any = {}; - if (message.addresses) { - obj.addresses = message.addresses.map(e => e); - } else { - obj.addresses = []; - } - return obj; - }, fromPartial(object: Partial): ValAddresses { const message = createBaseValAddresses(); message.addresses = object.addresses?.map(e => e) || []; @@ -1612,18 +1509,6 @@ export const DVPair = { } return message; }, - fromJSON(object: any): DVPair { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "" - }; - }, - toJSON(message: DVPair): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, fromPartial(object: Partial): DVPair { const message = createBaseDVPair(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1698,20 +1583,6 @@ export const DVPairs = { } return message; }, - fromJSON(object: any): DVPairs { - return { - pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => DVPair.fromJSON(e)) : [] - }; - }, - toJSON(message: DVPairs): unknown { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? DVPair.toJSON(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, fromPartial(object: Partial): DVPairs { const message = createBaseDVPairs(); message.pairs = object.pairs?.map(e => DVPair.fromPartial(e)) || []; @@ -1797,20 +1668,6 @@ export const DVVTriplet = { } return message; }, - fromJSON(object: any): DVVTriplet { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorSrcAddress: isSet(object.validatorSrcAddress) ? String(object.validatorSrcAddress) : "", - validatorDstAddress: isSet(object.validatorDstAddress) ? String(object.validatorDstAddress) : "" - }; - }, - toJSON(message: DVVTriplet): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress); - message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress); - return obj; - }, fromPartial(object: Partial): DVVTriplet { const message = createBaseDVVTriplet(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1890,20 +1747,6 @@ export const DVVTriplets = { } return message; }, - fromJSON(object: any): DVVTriplets { - return { - triplets: Array.isArray(object?.triplets) ? object.triplets.map((e: any) => DVVTriplet.fromJSON(e)) : [] - }; - }, - toJSON(message: DVVTriplets): unknown { - const obj: any = {}; - if (message.triplets) { - obj.triplets = message.triplets.map(e => e ? DVVTriplet.toJSON(e) : undefined); - } else { - obj.triplets = []; - } - return obj; - }, fromPartial(object: Partial): DVVTriplets { const message = createBaseDVVTriplets(); message.triplets = object.triplets?.map(e => DVVTriplet.fromPartial(e)) || []; @@ -1989,20 +1832,6 @@ export const Delegation = { } return message; }, - fromJSON(object: any): Delegation { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - shares: isSet(object.shares) ? String(object.shares) : "" - }; - }, - toJSON(message: Delegation): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.shares !== undefined && (obj.shares = message.shares); - return obj; - }, fromPartial(object: Partial): Delegation { const message = createBaseDelegation(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -2096,24 +1925,6 @@ export const UnbondingDelegation = { } return message; }, - fromJSON(object: any): UnbondingDelegation { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => UnbondingDelegationEntry.fromJSON(e)) : [] - }; - }, - toJSON(message: UnbondingDelegation): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - if (message.entries) { - obj.entries = message.entries.map(e => e ? UnbondingDelegationEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, fromPartial(object: Partial): UnbondingDelegation { const message = createBaseUnbondingDelegation(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -2168,7 +1979,7 @@ export const UnbondingDelegation = { function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry { return { creationHeight: BigInt(0), - completionTime: Timestamp.fromPartial({}), + completionTime: new Date(), initialBalance: "", balance: "" }; @@ -2180,7 +1991,7 @@ export const UnbondingDelegationEntry = { writer.uint32(8).int64(message.creationHeight); } if (message.completionTime !== undefined) { - Timestamp.encode(message.completionTime, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); } if (message.initialBalance !== "") { writer.uint32(26).string(message.initialBalance); @@ -2201,7 +2012,7 @@ export const UnbondingDelegationEntry = { message.creationHeight = reader.int64(); break; case 2: - message.completionTime = Timestamp.decode(reader, reader.uint32()); + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 3: message.initialBalance = reader.string(); @@ -2216,26 +2027,10 @@ export const UnbondingDelegationEntry = { } return message; }, - fromJSON(object: any): UnbondingDelegationEntry { - return { - creationHeight: isSet(object.creationHeight) ? BigInt(object.creationHeight.toString()) : BigInt(0), - completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined, - initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "", - balance: isSet(object.balance) ? String(object.balance) : "" - }; - }, - toJSON(message: UnbondingDelegationEntry): unknown { - const obj: any = {}; - message.creationHeight !== undefined && (obj.creationHeight = (message.creationHeight || BigInt(0)).toString()); - message.completionTime !== undefined && (obj.completionTime = fromTimestamp(message.completionTime).toISOString()); - message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance); - message.balance !== undefined && (obj.balance = message.balance); - return obj; - }, fromPartial(object: Partial): UnbondingDelegationEntry { const message = createBaseUnbondingDelegationEntry(); message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? BigInt(object.creationHeight.toString()) : BigInt(0); - message.completionTime = object.completionTime !== undefined && object.completionTime !== null ? Timestamp.fromPartial(object.completionTime) : undefined; + message.completionTime = object.completionTime ?? undefined; message.initialBalance = object.initialBalance ?? ""; message.balance = object.balance ?? ""; return message; @@ -2246,7 +2041,7 @@ export const UnbondingDelegationEntry = { message.creationHeight = BigInt(object.creation_height); } if (object.completion_time !== undefined && object.completion_time !== null) { - message.completionTime = Timestamp.fromAmino(object.completion_time); + message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time)); } if (object.initial_balance !== undefined && object.initial_balance !== null) { message.initialBalance = object.initial_balance; @@ -2259,7 +2054,7 @@ export const UnbondingDelegationEntry = { toAmino(message: UnbondingDelegationEntry): UnbondingDelegationEntryAmino { const obj: any = {}; obj.creation_height = message.creationHeight !== BigInt(0) ? message.creationHeight.toString() : undefined; - obj.completion_time = message.completionTime ? Timestamp.toAmino(message.completionTime) : undefined; + obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined; obj.initial_balance = message.initialBalance === "" ? undefined : message.initialBalance; obj.balance = message.balance === "" ? undefined : message.balance; return obj; @@ -2289,7 +2084,7 @@ export const UnbondingDelegationEntry = { function createBaseRedelegationEntry(): RedelegationEntry { return { creationHeight: BigInt(0), - completionTime: Timestamp.fromPartial({}), + completionTime: new Date(), initialBalance: "", sharesDst: "" }; @@ -2301,7 +2096,7 @@ export const RedelegationEntry = { writer.uint32(8).int64(message.creationHeight); } if (message.completionTime !== undefined) { - Timestamp.encode(message.completionTime, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); } if (message.initialBalance !== "") { writer.uint32(26).string(message.initialBalance); @@ -2322,7 +2117,7 @@ export const RedelegationEntry = { message.creationHeight = reader.int64(); break; case 2: - message.completionTime = Timestamp.decode(reader, reader.uint32()); + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 3: message.initialBalance = reader.string(); @@ -2337,26 +2132,10 @@ export const RedelegationEntry = { } return message; }, - fromJSON(object: any): RedelegationEntry { - return { - creationHeight: isSet(object.creationHeight) ? BigInt(object.creationHeight.toString()) : BigInt(0), - completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined, - initialBalance: isSet(object.initialBalance) ? String(object.initialBalance) : "", - sharesDst: isSet(object.sharesDst) ? String(object.sharesDst) : "" - }; - }, - toJSON(message: RedelegationEntry): unknown { - const obj: any = {}; - message.creationHeight !== undefined && (obj.creationHeight = (message.creationHeight || BigInt(0)).toString()); - message.completionTime !== undefined && (obj.completionTime = fromTimestamp(message.completionTime).toISOString()); - message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance); - message.sharesDst !== undefined && (obj.sharesDst = message.sharesDst); - return obj; - }, fromPartial(object: Partial): RedelegationEntry { const message = createBaseRedelegationEntry(); message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? BigInt(object.creationHeight.toString()) : BigInt(0); - message.completionTime = object.completionTime !== undefined && object.completionTime !== null ? Timestamp.fromPartial(object.completionTime) : undefined; + message.completionTime = object.completionTime ?? undefined; message.initialBalance = object.initialBalance ?? ""; message.sharesDst = object.sharesDst ?? ""; return message; @@ -2367,7 +2146,7 @@ export const RedelegationEntry = { message.creationHeight = BigInt(object.creation_height); } if (object.completion_time !== undefined && object.completion_time !== null) { - message.completionTime = Timestamp.fromAmino(object.completion_time); + message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time)); } if (object.initial_balance !== undefined && object.initial_balance !== null) { message.initialBalance = object.initial_balance; @@ -2380,7 +2159,7 @@ export const RedelegationEntry = { toAmino(message: RedelegationEntry): RedelegationEntryAmino { const obj: any = {}; obj.creation_height = message.creationHeight !== BigInt(0) ? message.creationHeight.toString() : undefined; - obj.completion_time = message.completionTime ? Timestamp.toAmino(message.completionTime) : undefined; + obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined; obj.initial_balance = message.initialBalance === "" ? undefined : message.initialBalance; obj.shares_dst = message.sharesDst === "" ? undefined : message.sharesDst; return obj; @@ -2458,26 +2237,6 @@ export const Redelegation = { } return message; }, - fromJSON(object: any): Redelegation { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorSrcAddress: isSet(object.validatorSrcAddress) ? String(object.validatorSrcAddress) : "", - validatorDstAddress: isSet(object.validatorDstAddress) ? String(object.validatorDstAddress) : "", - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntry.fromJSON(e)) : [] - }; - }, - toJSON(message: Redelegation): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress); - message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress); - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, fromPartial(object: Partial): Redelegation { const message = createBaseRedelegation(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -2599,26 +2358,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - unbondingTime: isSet(object.unbondingTime) ? Duration.fromJSON(object.unbondingTime) : undefined, - maxValidators: isSet(object.maxValidators) ? Number(object.maxValidators) : 0, - maxEntries: isSet(object.maxEntries) ? Number(object.maxEntries) : 0, - historicalEntries: isSet(object.historicalEntries) ? Number(object.historicalEntries) : 0, - bondDenom: isSet(object.bondDenom) ? String(object.bondDenom) : "", - minCommissionRate: isSet(object.minCommissionRate) ? String(object.minCommissionRate) : "" - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.unbondingTime !== undefined && (obj.unbondingTime = message.unbondingTime ? Duration.toJSON(message.unbondingTime) : undefined); - message.maxValidators !== undefined && (obj.maxValidators = Math.round(message.maxValidators)); - message.maxEntries !== undefined && (obj.maxEntries = Math.round(message.maxEntries)); - message.historicalEntries !== undefined && (obj.historicalEntries = Math.round(message.historicalEntries)); - message.bondDenom !== undefined && (obj.bondDenom = message.bondDenom); - message.minCommissionRate !== undefined && (obj.minCommissionRate = message.minCommissionRate); - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.unbondingTime = object.unbondingTime !== undefined && object.unbondingTime !== null ? Duration.fromPartial(object.unbondingTime) : undefined; @@ -2720,18 +2459,6 @@ export const DelegationResponse = { } return message; }, - fromJSON(object: any): DelegationResponse { - return { - delegation: isSet(object.delegation) ? Delegation.fromJSON(object.delegation) : undefined, - balance: isSet(object.balance) ? Coin.fromJSON(object.balance) : undefined - }; - }, - toJSON(message: DelegationResponse): unknown { - const obj: any = {}; - message.delegation !== undefined && (obj.delegation = message.delegation ? Delegation.toJSON(message.delegation) : undefined); - message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined); - return obj; - }, fromPartial(object: Partial): DelegationResponse { const message = createBaseDelegationResponse(); message.delegation = object.delegation !== undefined && object.delegation !== null ? Delegation.fromPartial(object.delegation) : undefined; @@ -2813,18 +2540,6 @@ export const RedelegationEntryResponse = { } return message; }, - fromJSON(object: any): RedelegationEntryResponse { - return { - redelegationEntry: isSet(object.redelegationEntry) ? RedelegationEntry.fromJSON(object.redelegationEntry) : undefined, - balance: isSet(object.balance) ? String(object.balance) : "" - }; - }, - toJSON(message: RedelegationEntryResponse): unknown { - const obj: any = {}; - message.redelegationEntry !== undefined && (obj.redelegationEntry = message.redelegationEntry ? RedelegationEntry.toJSON(message.redelegationEntry) : undefined); - message.balance !== undefined && (obj.balance = message.balance); - return obj; - }, fromPartial(object: Partial): RedelegationEntryResponse { const message = createBaseRedelegationEntryResponse(); message.redelegationEntry = object.redelegationEntry !== undefined && object.redelegationEntry !== null ? RedelegationEntry.fromPartial(object.redelegationEntry) : undefined; @@ -2906,22 +2621,6 @@ export const RedelegationResponse = { } return message; }, - fromJSON(object: any): RedelegationResponse { - return { - redelegation: isSet(object.redelegation) ? Redelegation.fromJSON(object.redelegation) : undefined, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntryResponse.fromJSON(e)) : [] - }; - }, - toJSON(message: RedelegationResponse): unknown { - const obj: any = {}; - message.redelegation !== undefined && (obj.redelegation = message.redelegation ? Redelegation.toJSON(message.redelegation) : undefined); - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntryResponse.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, fromPartial(object: Partial): RedelegationResponse { const message = createBaseRedelegationResponse(); message.redelegation = object.redelegation !== undefined && object.redelegation !== null ? Redelegation.fromPartial(object.redelegation) : undefined; @@ -3005,18 +2704,6 @@ export const Pool = { } return message; }, - fromJSON(object: any): Pool { - return { - notBondedTokens: isSet(object.notBondedTokens) ? String(object.notBondedTokens) : "", - bondedTokens: isSet(object.bondedTokens) ? String(object.bondedTokens) : "" - }; - }, - toJSON(message: Pool): unknown { - const obj: any = {}; - message.notBondedTokens !== undefined && (obj.notBondedTokens = message.notBondedTokens); - message.bondedTokens !== undefined && (obj.bondedTokens = message.bondedTokens); - return obj; - }, fromPartial(object: Partial): Pool { const message = createBasePool(); message.notBondedTokens = object.notBondedTokens ?? ""; diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/tx.amino.ts b/packages/api/src/cosmos/staking/v1beta1/tx.amino.ts similarity index 100% rename from packages/api/src/codegen/cosmos/staking/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/staking/v1beta1/tx.amino.ts diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/tx.registry.ts b/packages/api/src/cosmos/staking/v1beta1/tx.registry.ts similarity index 65% rename from packages/api/src/codegen/cosmos/staking/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/staking/v1beta1/tx.registry.ts index b663dc95..5b679d0e 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/staking/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator], ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator], ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate], ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate], ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate], ["/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", MsgCancelUnbondingDelegation]]; @@ -83,82 +84,6 @@ export const MessageComposer = { }; } }, - toJSON: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.toJSON(value) - }; - }, - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.toJSON(value) - }; - }, - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.toJSON(value) - }; - }, - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.toJSON(value) - }; - }, - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.toJSON(value) - }; - }, - cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", - value: MsgCancelUnbondingDelegation.toJSON(value) - }; - } - }, - fromJSON: { - createValidator(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.fromJSON(value) - }; - }, - editValidator(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.fromJSON(value) - }; - }, - delegate(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.fromJSON(value) - }; - }, - beginRedelegate(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.fromJSON(value) - }; - }, - undelegate(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.fromJSON(value) - }; - }, - cancelUnbondingDelegation(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation", - value: MsgCancelUnbondingDelegation.fromJSON(value) - }; - } - }, fromPartial: { createValidator(value: MsgCreateValidator) { return { diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/staking/v1beta1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/staking/v1beta1/tx.rpc.msg.ts index 2325cd2c..62f494a6 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/staking/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse, MsgCancelUnbondingDelegation, MsgCancelUnbondingDelegationResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/staking/v1beta1/tx.ts b/packages/api/src/cosmos/staking/v1beta1/tx.ts similarity index 85% rename from packages/api/src/codegen/cosmos/staking/v1beta1/tx.ts rename to packages/api/src/cosmos/staking/v1beta1/tx.ts index a6064a44..2446f5ba 100644 --- a/packages/api/src/codegen/cosmos/staking/v1beta1/tx.ts +++ b/packages/api/src/cosmos/staking/v1beta1/tx.ts @@ -1,11 +1,12 @@ +//@ts-nocheck import { Description, DescriptionAmino, DescriptionSDKType, CommissionRates, CommissionRatesAmino, CommissionRatesSDKType } from "./staking"; import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing"; import { Decimal } from "@cosmjs/math"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; import { Pubkey } from "@cosmjs/amino"; /** MsgCreateValidator defines a SDK message for creating a new validator. */ export interface MsgCreateValidator { @@ -14,7 +15,7 @@ export interface MsgCreateValidator { minSelfDelegation: string; delegatorAddress: string; validatorAddress: string; - pubkey?: (Any) | undefined; + pubkey?: Any | undefined; value: Coin; } export interface MsgCreateValidatorProtoMsg { @@ -206,7 +207,7 @@ export interface MsgBeginRedelegateSDKType { } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponse { - completionTime: Timestamp; + completionTime: Date; } export interface MsgBeginRedelegateResponseProtoMsg { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse"; @@ -222,7 +223,7 @@ export interface MsgBeginRedelegateResponseAminoMsg { } /** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ export interface MsgBeginRedelegateResponseSDKType { - completion_time: TimestampSDKType; + completion_time: Date; } /** * MsgUndelegate defines a SDK message for performing an undelegation from a @@ -261,7 +262,7 @@ export interface MsgUndelegateSDKType { } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponse { - completionTime: Timestamp; + completionTime: Date; } export interface MsgUndelegateResponseProtoMsg { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse"; @@ -277,7 +278,7 @@ export interface MsgUndelegateResponseAminoMsg { } /** MsgUndelegateResponse defines the Msg/Undelegate response type. */ export interface MsgUndelegateResponseSDKType { - completion_time: TimestampSDKType; + completion_time: Date; } /** * MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator @@ -422,28 +423,6 @@ export const MsgCreateValidator = { } return message; }, - fromJSON(object: any): MsgCreateValidator { - return { - description: isSet(object.description) ? Description.fromJSON(object.description) : undefined, - commission: isSet(object.commission) ? CommissionRates.fromJSON(object.commission) : undefined, - minSelfDelegation: isSet(object.minSelfDelegation) ? String(object.minSelfDelegation) : "", - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - pubkey: isSet(object.pubkey) ? Any.fromJSON(object.pubkey) : undefined, - value: isSet(object.value) ? Coin.fromJSON(object.value) : undefined - }; - }, - toJSON(message: MsgCreateValidator): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description ? Description.toJSON(message.description) : undefined); - message.commission !== undefined && (obj.commission = message.commission ? CommissionRates.toJSON(message.commission) : undefined); - message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation); - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.pubkey !== undefined && (obj.pubkey = message.pubkey ? Any.toJSON(message.pubkey) : undefined); - message.value !== undefined && (obj.value = message.value ? Coin.toJSON(message.value) : undefined); - return obj; - }, fromPartial(object: Partial): MsgCreateValidator { const message = createBaseMsgCreateValidator(); message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined; @@ -535,13 +514,6 @@ export const MsgCreateValidatorResponse = { } return message; }, - fromJSON(_: any): MsgCreateValidatorResponse { - return {}; - }, - toJSON(_: MsgCreateValidatorResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCreateValidatorResponse { const message = createBaseMsgCreateValidatorResponse(); return message; @@ -627,22 +599,6 @@ export const MsgEditValidator = { } return message; }, - fromJSON(object: any): MsgEditValidator { - return { - description: isSet(object.description) ? Description.fromJSON(object.description) : undefined, - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - commissionRate: isSet(object.commissionRate) ? String(object.commissionRate) : "", - minSelfDelegation: isSet(object.minSelfDelegation) ? String(object.minSelfDelegation) : "" - }; - }, - toJSON(message: MsgEditValidator): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description ? Description.toJSON(message.description) : undefined); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.commissionRate !== undefined && (obj.commissionRate = message.commissionRate); - message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation); - return obj; - }, fromPartial(object: Partial): MsgEditValidator { const message = createBaseMsgEditValidator(); message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined; @@ -719,13 +675,6 @@ export const MsgEditValidatorResponse = { } return message; }, - fromJSON(_: any): MsgEditValidatorResponse { - return {}; - }, - toJSON(_: MsgEditValidatorResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgEditValidatorResponse { const message = createBaseMsgEditValidatorResponse(); return message; @@ -804,20 +753,6 @@ export const MsgDelegate = { } return message; }, - fromJSON(object: any): MsgDelegate { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined - }; - }, - toJSON(message: MsgDelegate): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, fromPartial(object: Partial): MsgDelegate { const message = createBaseMsgDelegate(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -889,13 +824,6 @@ export const MsgDelegateResponse = { } return message; }, - fromJSON(_: any): MsgDelegateResponse { - return {}; - }, - toJSON(_: MsgDelegateResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgDelegateResponse { const message = createBaseMsgDelegateResponse(); return message; @@ -981,22 +909,6 @@ export const MsgBeginRedelegate = { } return message; }, - fromJSON(object: any): MsgBeginRedelegate { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorSrcAddress: isSet(object.validatorSrcAddress) ? String(object.validatorSrcAddress) : "", - validatorDstAddress: isSet(object.validatorDstAddress) ? String(object.validatorDstAddress) : "", - amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined - }; - }, - toJSON(message: MsgBeginRedelegate): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress); - message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress); - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, fromPartial(object: Partial): MsgBeginRedelegate { const message = createBaseMsgBeginRedelegate(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1053,14 +965,14 @@ export const MsgBeginRedelegate = { }; function createBaseMsgBeginRedelegateResponse(): MsgBeginRedelegateResponse { return { - completionTime: Timestamp.fromPartial({}) + completionTime: new Date() }; } export const MsgBeginRedelegateResponse = { typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse", encode(message: MsgBeginRedelegateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { if (message.completionTime !== undefined) { - Timestamp.encode(message.completionTime, writer.uint32(10).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); } return writer; }, @@ -1072,7 +984,7 @@ export const MsgBeginRedelegateResponse = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.completionTime = Timestamp.decode(reader, reader.uint32()); + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1081,31 +993,21 @@ export const MsgBeginRedelegateResponse = { } return message; }, - fromJSON(object: any): MsgBeginRedelegateResponse { - return { - completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined - }; - }, - toJSON(message: MsgBeginRedelegateResponse): unknown { - const obj: any = {}; - message.completionTime !== undefined && (obj.completionTime = fromTimestamp(message.completionTime).toISOString()); - return obj; - }, fromPartial(object: Partial): MsgBeginRedelegateResponse { const message = createBaseMsgBeginRedelegateResponse(); - message.completionTime = object.completionTime !== undefined && object.completionTime !== null ? Timestamp.fromPartial(object.completionTime) : undefined; + message.completionTime = object.completionTime ?? undefined; return message; }, fromAmino(object: MsgBeginRedelegateResponseAmino): MsgBeginRedelegateResponse { const message = createBaseMsgBeginRedelegateResponse(); if (object.completion_time !== undefined && object.completion_time !== null) { - message.completionTime = Timestamp.fromAmino(object.completion_time); + message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time)); } return message; }, toAmino(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAmino { const obj: any = {}; - obj.completion_time = message.completionTime ? Timestamp.toAmino(message.completionTime) : undefined; + obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined; return obj; }, fromAminoMsg(object: MsgBeginRedelegateResponseAminoMsg): MsgBeginRedelegateResponse { @@ -1174,20 +1076,6 @@ export const MsgUndelegate = { } return message; }, - fromJSON(object: any): MsgUndelegate { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined - }; - }, - toJSON(message: MsgUndelegate): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, fromPartial(object: Partial): MsgUndelegate { const message = createBaseMsgUndelegate(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1239,14 +1127,14 @@ export const MsgUndelegate = { }; function createBaseMsgUndelegateResponse(): MsgUndelegateResponse { return { - completionTime: Timestamp.fromPartial({}) + completionTime: new Date() }; } export const MsgUndelegateResponse = { typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse", encode(message: MsgUndelegateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { if (message.completionTime !== undefined) { - Timestamp.encode(message.completionTime, writer.uint32(10).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); } return writer; }, @@ -1258,7 +1146,7 @@ export const MsgUndelegateResponse = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.completionTime = Timestamp.decode(reader, reader.uint32()); + message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1267,31 +1155,21 @@ export const MsgUndelegateResponse = { } return message; }, - fromJSON(object: any): MsgUndelegateResponse { - return { - completionTime: isSet(object.completionTime) ? fromJsonTimestamp(object.completionTime) : undefined - }; - }, - toJSON(message: MsgUndelegateResponse): unknown { - const obj: any = {}; - message.completionTime !== undefined && (obj.completionTime = fromTimestamp(message.completionTime).toISOString()); - return obj; - }, fromPartial(object: Partial): MsgUndelegateResponse { const message = createBaseMsgUndelegateResponse(); - message.completionTime = object.completionTime !== undefined && object.completionTime !== null ? Timestamp.fromPartial(object.completionTime) : undefined; + message.completionTime = object.completionTime ?? undefined; return message; }, fromAmino(object: MsgUndelegateResponseAmino): MsgUndelegateResponse { const message = createBaseMsgUndelegateResponse(); if (object.completion_time !== undefined && object.completion_time !== null) { - message.completionTime = Timestamp.fromAmino(object.completion_time); + message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time)); } return message; }, toAmino(message: MsgUndelegateResponse): MsgUndelegateResponseAmino { const obj: any = {}; - obj.completion_time = message.completionTime ? Timestamp.toAmino(message.completionTime) : undefined; + obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined; return obj; }, fromAminoMsg(object: MsgUndelegateResponseAminoMsg): MsgUndelegateResponse { @@ -1367,22 +1245,6 @@ export const MsgCancelUnbondingDelegation = { } return message; }, - fromJSON(object: any): MsgCancelUnbondingDelegation { - return { - delegatorAddress: isSet(object.delegatorAddress) ? String(object.delegatorAddress) : "", - validatorAddress: isSet(object.validatorAddress) ? String(object.validatorAddress) : "", - amount: isSet(object.amount) ? Coin.fromJSON(object.amount) : undefined, - creationHeight: isSet(object.creationHeight) ? BigInt(object.creationHeight.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgCancelUnbondingDelegation): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - message.creationHeight !== undefined && (obj.creationHeight = (message.creationHeight || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgCancelUnbondingDelegation { const message = createBaseMsgCancelUnbondingDelegation(); message.delegatorAddress = object.delegatorAddress ?? ""; @@ -1459,13 +1321,6 @@ export const MsgCancelUnbondingDelegationResponse = { } return message; }, - fromJSON(_: any): MsgCancelUnbondingDelegationResponse { - return {}; - }, - toJSON(_: MsgCancelUnbondingDelegationResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCancelUnbondingDelegationResponse { const message = createBaseMsgCancelUnbondingDelegationResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/tx/signing/v1beta1/signing.ts b/packages/api/src/cosmos/tx/signing/v1beta1/signing.ts similarity index 88% rename from packages/api/src/codegen/cosmos/tx/signing/v1beta1/signing.ts rename to packages/api/src/cosmos/tx/signing/v1beta1/signing.ts index fc4dc926..7929a5b9 100644 --- a/packages/api/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +++ b/packages/api/src/cosmos/tx/signing/v1beta1/signing.ts @@ -1,7 +1,8 @@ +//@ts-nocheck import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** * SignMode represents a signing mode with its own security guarantees. * @@ -291,20 +292,6 @@ export const SignatureDescriptors = { } return message; }, - fromJSON(object: any): SignatureDescriptors { - return { - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => SignatureDescriptor.fromJSON(e)) : [] - }; - }, - toJSON(message: SignatureDescriptors): unknown { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor.toJSON(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, fromPartial(object: Partial): SignatureDescriptors { const message = createBaseSignatureDescriptors(); message.signatures = object.signatures?.map(e => SignatureDescriptor.fromPartial(e)) || []; @@ -390,20 +377,6 @@ export const SignatureDescriptor = { } return message; }, - fromJSON(object: any): SignatureDescriptor { - return { - publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, - data: isSet(object.data) ? SignatureDescriptor_Data.fromJSON(object.data) : undefined, - sequence: isSet(object.sequence) ? BigInt(object.sequence.toString()) : BigInt(0) - }; - }, - toJSON(message: SignatureDescriptor): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.data !== undefined && (obj.data = message.data ? SignatureDescriptor_Data.toJSON(message.data) : undefined); - message.sequence !== undefined && (obj.sequence = (message.sequence || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): SignatureDescriptor { const message = createBaseSignatureDescriptor(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -490,18 +463,6 @@ export const SignatureDescriptor_Data = { } return message; }, - fromJSON(object: any): SignatureDescriptor_Data { - return { - single: isSet(object.single) ? SignatureDescriptor_Data_Single.fromJSON(object.single) : undefined, - multi: isSet(object.multi) ? SignatureDescriptor_Data_Multi.fromJSON(object.multi) : undefined - }; - }, - toJSON(message: SignatureDescriptor_Data): unknown { - const obj: any = {}; - message.single !== undefined && (obj.single = message.single ? SignatureDescriptor_Data_Single.toJSON(message.single) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? SignatureDescriptor_Data_Multi.toJSON(message.multi) : undefined); - return obj; - }, fromPartial(object: Partial): SignatureDescriptor_Data { const message = createBaseSignatureDescriptor_Data(); message.single = object.single !== undefined && object.single !== null ? SignatureDescriptor_Data_Single.fromPartial(object.single) : undefined; @@ -583,18 +544,6 @@ export const SignatureDescriptor_Data_Single = { } return message; }, - fromJSON(object: any): SignatureDescriptor_Data_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array() - }; - }, - toJSON(message: SignatureDescriptor_Data_Single): unknown { - const obj: any = {}; - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): SignatureDescriptor_Data_Single { const message = createBaseSignatureDescriptor_Data_Single(); message.mode = object.mode ?? 0; @@ -676,22 +625,6 @@ export const SignatureDescriptor_Data_Multi = { } return message; }, - fromJSON(object: any): SignatureDescriptor_Data_Multi { - return { - bitarray: isSet(object.bitarray) ? CompactBitArray.fromJSON(object.bitarray) : undefined, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => SignatureDescriptor_Data.fromJSON(e)) : [] - }; - }, - toJSON(message: SignatureDescriptor_Data_Multi): unknown { - const obj: any = {}; - message.bitarray !== undefined && (obj.bitarray = message.bitarray ? CompactBitArray.toJSON(message.bitarray) : undefined); - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor_Data.toJSON(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, fromPartial(object: Partial): SignatureDescriptor_Data_Multi { const message = createBaseSignatureDescriptor_Data_Multi(); message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined; diff --git a/packages/api/src/codegen/cosmos/tx/v1beta1/service.lcd.ts b/packages/api/src/cosmos/tx/v1beta1/service.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/tx/v1beta1/service.lcd.ts rename to packages/api/src/cosmos/tx/v1beta1/service.lcd.ts index 18594347..aabc5abf 100644 --- a/packages/api/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +++ b/packages/api/src/cosmos/tx/v1beta1/service.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; diff --git a/packages/api/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts b/packages/api/src/cosmos/tx/v1beta1/service.rpc.Service.ts similarity index 99% rename from packages/api/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts rename to packages/api/src/cosmos/tx/v1beta1/service.rpc.Service.ts index 5a963175..f52a7913 100644 --- a/packages/api/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +++ b/packages/api/src/cosmos/tx/v1beta1/service.rpc.Service.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/tx/v1beta1/service.ts b/packages/api/src/cosmos/tx/v1beta1/service.ts similarity index 87% rename from packages/api/src/codegen/cosmos/tx/v1beta1/service.ts rename to packages/api/src/cosmos/tx/v1beta1/service.ts index 81775aa1..63971d12 100644 --- a/packages/api/src/codegen/cosmos/tx/v1beta1/service.ts +++ b/packages/api/src/cosmos/tx/v1beta1/service.ts @@ -1,10 +1,11 @@ +//@ts-nocheck import { Tx, TxAmino, TxSDKType } from "./tx"; import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; import { TxResponse, TxResponseAmino, TxResponseSDKType, GasInfo, GasInfoAmino, GasInfoSDKType, Result, ResultAmino, ResultSDKType } from "../../base/abci/v1beta1/abci"; import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../tendermint/types/types"; import { Block, BlockAmino, BlockSDKType } from "../../../tendermint/types/block"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** OrderBy defines the sorting order */ export enum OrderBy { /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */ @@ -581,28 +582,6 @@ export const GetTxsEventRequest = { } return message; }, - fromJSON(object: any): GetTxsEventRequest { - return { - events: Array.isArray(object?.events) ? object.events.map((e: any) => String(e)) : [], - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined, - orderBy: isSet(object.orderBy) ? orderByFromJSON(object.orderBy) : -1, - page: isSet(object.page) ? BigInt(object.page.toString()) : BigInt(0), - limit: isSet(object.limit) ? BigInt(object.limit.toString()) : BigInt(0) - }; - }, - toJSON(message: GetTxsEventRequest): unknown { - const obj: any = {}; - if (message.events) { - obj.events = message.events.map(e => e); - } else { - obj.events = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - message.orderBy !== undefined && (obj.orderBy = orderByToJSON(message.orderBy)); - message.page !== undefined && (obj.page = (message.page || BigInt(0)).toString()); - message.limit !== undefined && (obj.limit = (message.limit || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): GetTxsEventRequest { const message = createBaseGetTxsEventRequest(); message.events = object.events?.map(e => e) || []; @@ -715,30 +694,6 @@ export const GetTxsEventResponse = { } return message; }, - fromJSON(object: any): GetTxsEventResponse { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => Tx.fromJSON(e)) : [], - txResponses: Array.isArray(object?.txResponses) ? object.txResponses.map((e: any) => TxResponse.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - total: isSet(object.total) ? BigInt(object.total.toString()) : BigInt(0) - }; - }, - toJSON(message: GetTxsEventResponse): unknown { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toJSON(e) : undefined); - } else { - obj.txs = []; - } - if (message.txResponses) { - obj.txResponses = message.txResponses.map(e => e ? TxResponse.toJSON(e) : undefined); - } else { - obj.txResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - message.total !== undefined && (obj.total = (message.total || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): GetTxsEventResponse { const message = createBaseGetTxsEventResponse(); message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; @@ -834,18 +789,6 @@ export const BroadcastTxRequest = { } return message; }, - fromJSON(object: any): BroadcastTxRequest { - return { - txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array(), - mode: isSet(object.mode) ? broadcastModeFromJSON(object.mode) : -1 - }; - }, - toJSON(message: BroadcastTxRequest): unknown { - const obj: any = {}; - message.txBytes !== undefined && (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array())); - message.mode !== undefined && (obj.mode = broadcastModeToJSON(message.mode)); - return obj; - }, fromPartial(object: Partial): BroadcastTxRequest { const message = createBaseBroadcastTxRequest(); message.txBytes = object.txBytes ?? new Uint8Array(); @@ -920,16 +863,6 @@ export const BroadcastTxResponse = { } return message; }, - fromJSON(object: any): BroadcastTxResponse { - return { - txResponse: isSet(object.txResponse) ? TxResponse.fromJSON(object.txResponse) : undefined - }; - }, - toJSON(message: BroadcastTxResponse): unknown { - const obj: any = {}; - message.txResponse !== undefined && (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined); - return obj; - }, fromPartial(object: Partial): BroadcastTxResponse { const message = createBaseBroadcastTxResponse(); message.txResponse = object.txResponse !== undefined && object.txResponse !== null ? TxResponse.fromPartial(object.txResponse) : undefined; @@ -1006,18 +939,6 @@ export const SimulateRequest = { } return message; }, - fromJSON(object: any): SimulateRequest { - return { - tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined, - txBytes: isSet(object.txBytes) ? bytesFromBase64(object.txBytes) : new Uint8Array() - }; - }, - toJSON(message: SimulateRequest): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined); - message.txBytes !== undefined && (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): SimulateRequest { const message = createBaseSimulateRequest(); message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined; @@ -1099,18 +1020,6 @@ export const SimulateResponse = { } return message; }, - fromJSON(object: any): SimulateResponse { - return { - gasInfo: isSet(object.gasInfo) ? GasInfo.fromJSON(object.gasInfo) : undefined, - result: isSet(object.result) ? Result.fromJSON(object.result) : undefined - }; - }, - toJSON(message: SimulateResponse): unknown { - const obj: any = {}; - message.gasInfo !== undefined && (obj.gasInfo = message.gasInfo ? GasInfo.toJSON(message.gasInfo) : undefined); - message.result !== undefined && (obj.result = message.result ? Result.toJSON(message.result) : undefined); - return obj; - }, fromPartial(object: Partial): SimulateResponse { const message = createBaseSimulateResponse(); message.gasInfo = object.gasInfo !== undefined && object.gasInfo !== null ? GasInfo.fromPartial(object.gasInfo) : undefined; @@ -1185,16 +1094,6 @@ export const GetTxRequest = { } return message; }, - fromJSON(object: any): GetTxRequest { - return { - hash: isSet(object.hash) ? String(object.hash) : "" - }; - }, - toJSON(message: GetTxRequest): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = message.hash); - return obj; - }, fromPartial(object: Partial): GetTxRequest { const message = createBaseGetTxRequest(); message.hash = object.hash ?? ""; @@ -1271,18 +1170,6 @@ export const GetTxResponse = { } return message; }, - fromJSON(object: any): GetTxResponse { - return { - tx: isSet(object.tx) ? Tx.fromJSON(object.tx) : undefined, - txResponse: isSet(object.txResponse) ? TxResponse.fromJSON(object.txResponse) : undefined - }; - }, - toJSON(message: GetTxResponse): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined); - message.txResponse !== undefined && (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined); - return obj; - }, fromPartial(object: Partial): GetTxResponse { const message = createBaseGetTxResponse(); message.tx = object.tx !== undefined && object.tx !== null ? Tx.fromPartial(object.tx) : undefined; @@ -1364,18 +1251,6 @@ export const GetBlockWithTxsRequest = { } return message; }, - fromJSON(object: any): GetBlockWithTxsRequest { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: GetBlockWithTxsRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): GetBlockWithTxsRequest { const message = createBaseGetBlockWithTxsRequest(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -1471,26 +1346,6 @@ export const GetBlockWithTxsResponse = { } return message; }, - fromJSON(object: any): GetBlockWithTxsResponse { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => Tx.fromJSON(e)) : [], - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - block: isSet(object.block) ? Block.fromJSON(object.block) : undefined, - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: GetBlockWithTxsResponse): unknown { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toJSON(e) : undefined); - } else { - obj.txs = []; - } - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): GetBlockWithTxsResponse { const message = createBaseGetBlockWithTxsResponse(); message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/cosmos/tx/v1beta1/tx.ts b/packages/api/src/cosmos/tx/v1beta1/tx.ts similarity index 86% rename from packages/api/src/codegen/cosmos/tx/v1beta1/tx.ts rename to packages/api/src/cosmos/tx/v1beta1/tx.ts index 5775a835..8011a956 100644 --- a/packages/api/src/codegen/cosmos/tx/v1beta1/tx.ts +++ b/packages/api/src/cosmos/tx/v1beta1/tx.ts @@ -1,9 +1,10 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { SignMode, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing"; +import { SignMode } from "../signing/v1beta1/signing"; import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** Tx is the standard type used for broadcasting transactions. */ export interface Tx { /** body is the processable content of the transaction */ @@ -815,24 +816,6 @@ export const Tx = { } return message; }, - fromJSON(object: any): Tx { - return { - body: isSet(object.body) ? TxBody.fromJSON(object.body) : undefined, - authInfo: isSet(object.authInfo) ? AuthInfo.fromJSON(object.authInfo) : undefined, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: Tx): unknown { - const obj: any = {}; - message.body !== undefined && (obj.body = message.body ? TxBody.toJSON(message.body) : undefined); - message.authInfo !== undefined && (obj.authInfo = message.authInfo ? AuthInfo.toJSON(message.authInfo) : undefined); - if (message.signatures) { - obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.signatures = []; - } - return obj; - }, fromPartial(object: Partial): Tx { const message = createBaseTx(); message.body = object.body !== undefined && object.body !== null ? TxBody.fromPartial(object.body) : undefined; @@ -928,24 +911,6 @@ export const TxRaw = { } return message; }, - fromJSON(object: any): TxRaw { - return { - bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(), - authInfoBytes: isSet(object.authInfoBytes) ? bytesFromBase64(object.authInfoBytes) : new Uint8Array(), - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: TxRaw): unknown { - const obj: any = {}; - message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array())); - message.authInfoBytes !== undefined && (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array())); - if (message.signatures) { - obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.signatures = []; - } - return obj; - }, fromPartial(object: Partial): TxRaw { const message = createBaseTxRaw(); message.bodyBytes = object.bodyBytes ?? new Uint8Array(); @@ -1048,22 +1013,6 @@ export const SignDoc = { } return message; }, - fromJSON(object: any): SignDoc { - return { - bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(), - authInfoBytes: isSet(object.authInfoBytes) ? bytesFromBase64(object.authInfoBytes) : new Uint8Array(), - chainId: isSet(object.chainId) ? String(object.chainId) : "", - accountNumber: isSet(object.accountNumber) ? BigInt(object.accountNumber.toString()) : BigInt(0) - }; - }, - toJSON(message: SignDoc): unknown { - const obj: any = {}; - message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array())); - message.authInfoBytes !== undefined && (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array())); - message.chainId !== undefined && (obj.chainId = message.chainId); - message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): SignDoc { const message = createBaseSignDoc(); message.bodyBytes = object.bodyBytes ?? new Uint8Array(); @@ -1183,26 +1132,6 @@ export const SignDocDirectAux = { } return message; }, - fromJSON(object: any): SignDocDirectAux { - return { - bodyBytes: isSet(object.bodyBytes) ? bytesFromBase64(object.bodyBytes) : new Uint8Array(), - publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, - chainId: isSet(object.chainId) ? String(object.chainId) : "", - accountNumber: isSet(object.accountNumber) ? BigInt(object.accountNumber.toString()) : BigInt(0), - sequence: isSet(object.sequence) ? BigInt(object.sequence.toString()) : BigInt(0), - tip: isSet(object.tip) ? Tip.fromJSON(object.tip) : undefined - }; - }, - toJSON(message: SignDocDirectAux): unknown { - const obj: any = {}; - message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array())); - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.chainId !== undefined && (obj.chainId = message.chainId); - message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || BigInt(0)).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || BigInt(0)).toString()); - message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined); - return obj; - }, fromPartial(object: Partial): SignDocDirectAux { const message = createBaseSignDocDirectAux(); message.bodyBytes = object.bodyBytes ?? new Uint8Array(); @@ -1325,36 +1254,6 @@ export const TxBody = { } return message; }, - fromJSON(object: any): TxBody { - return { - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [], - memo: isSet(object.memo) ? String(object.memo) : "", - timeoutHeight: isSet(object.timeoutHeight) ? BigInt(object.timeoutHeight.toString()) : BigInt(0), - extensionOptions: Array.isArray(object?.extensionOptions) ? object.extensionOptions.map((e: any) => Any.fromJSON(e)) : [], - nonCriticalExtensionOptions: Array.isArray(object?.nonCriticalExtensionOptions) ? object.nonCriticalExtensionOptions.map((e: any) => Any.fromJSON(e)) : [] - }; - }, - toJSON(message: TxBody): unknown { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - message.memo !== undefined && (obj.memo = message.memo); - message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || BigInt(0)).toString()); - if (message.extensionOptions) { - obj.extensionOptions = message.extensionOptions.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.extensionOptions = []; - } - if (message.nonCriticalExtensionOptions) { - obj.nonCriticalExtensionOptions = message.nonCriticalExtensionOptions.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.nonCriticalExtensionOptions = []; - } - return obj; - }, fromPartial(object: Partial): TxBody { const message = createBaseTxBody(); message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; @@ -1464,24 +1363,6 @@ export const AuthInfo = { } return message; }, - fromJSON(object: any): AuthInfo { - return { - signerInfos: Array.isArray(object?.signerInfos) ? object.signerInfos.map((e: any) => SignerInfo.fromJSON(e)) : [], - fee: isSet(object.fee) ? Fee.fromJSON(object.fee) : undefined, - tip: isSet(object.tip) ? Tip.fromJSON(object.tip) : undefined - }; - }, - toJSON(message: AuthInfo): unknown { - const obj: any = {}; - if (message.signerInfos) { - obj.signerInfos = message.signerInfos.map(e => e ? SignerInfo.toJSON(e) : undefined); - } else { - obj.signerInfos = []; - } - message.fee !== undefined && (obj.fee = message.fee ? Fee.toJSON(message.fee) : undefined); - message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined); - return obj; - }, fromPartial(object: Partial): AuthInfo { const message = createBaseAuthInfo(); message.signerInfos = object.signerInfos?.map(e => SignerInfo.fromPartial(e)) || []; @@ -1577,20 +1458,6 @@ export const SignerInfo = { } return message; }, - fromJSON(object: any): SignerInfo { - return { - publicKey: isSet(object.publicKey) ? Any.fromJSON(object.publicKey) : undefined, - modeInfo: isSet(object.modeInfo) ? ModeInfo.fromJSON(object.modeInfo) : undefined, - sequence: isSet(object.sequence) ? BigInt(object.sequence.toString()) : BigInt(0) - }; - }, - toJSON(message: SignerInfo): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.modeInfo !== undefined && (obj.modeInfo = message.modeInfo ? ModeInfo.toJSON(message.modeInfo) : undefined); - message.sequence !== undefined && (obj.sequence = (message.sequence || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): SignerInfo { const message = createBaseSignerInfo(); message.publicKey = object.publicKey !== undefined && object.publicKey !== null ? Any.fromPartial(object.publicKey) : undefined; @@ -1677,18 +1544,6 @@ export const ModeInfo = { } return message; }, - fromJSON(object: any): ModeInfo { - return { - single: isSet(object.single) ? ModeInfo_Single.fromJSON(object.single) : undefined, - multi: isSet(object.multi) ? ModeInfo_Multi.fromJSON(object.multi) : undefined - }; - }, - toJSON(message: ModeInfo): unknown { - const obj: any = {}; - message.single !== undefined && (obj.single = message.single ? ModeInfo_Single.toJSON(message.single) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? ModeInfo_Multi.toJSON(message.multi) : undefined); - return obj; - }, fromPartial(object: Partial): ModeInfo { const message = createBaseModeInfo(); message.single = object.single !== undefined && object.single !== null ? ModeInfo_Single.fromPartial(object.single) : undefined; @@ -1763,16 +1618,6 @@ export const ModeInfo_Single = { } return message; }, - fromJSON(object: any): ModeInfo_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1 - }; - }, - toJSON(message: ModeInfo_Single): unknown { - const obj: any = {}; - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - return obj; - }, fromPartial(object: Partial): ModeInfo_Single { const message = createBaseModeInfo_Single(); message.mode = object.mode ?? 0; @@ -1849,22 +1694,6 @@ export const ModeInfo_Multi = { } return message; }, - fromJSON(object: any): ModeInfo_Multi { - return { - bitarray: isSet(object.bitarray) ? CompactBitArray.fromJSON(object.bitarray) : undefined, - modeInfos: Array.isArray(object?.modeInfos) ? object.modeInfos.map((e: any) => ModeInfo.fromJSON(e)) : [] - }; - }, - toJSON(message: ModeInfo_Multi): unknown { - const obj: any = {}; - message.bitarray !== undefined && (obj.bitarray = message.bitarray ? CompactBitArray.toJSON(message.bitarray) : undefined); - if (message.modeInfos) { - obj.modeInfos = message.modeInfos.map(e => e ? ModeInfo.toJSON(e) : undefined); - } else { - obj.modeInfos = []; - } - return obj; - }, fromPartial(object: Partial): ModeInfo_Multi { const message = createBaseModeInfo_Multi(); message.bitarray = object.bitarray !== undefined && object.bitarray !== null ? CompactBitArray.fromPartial(object.bitarray) : undefined; @@ -1962,26 +1791,6 @@ export const Fee = { } return message; }, - fromJSON(object: any): Fee { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], - gasLimit: isSet(object.gasLimit) ? BigInt(object.gasLimit.toString()) : BigInt(0), - payer: isSet(object.payer) ? String(object.payer) : "", - granter: isSet(object.granter) ? String(object.granter) : "" - }; - }, - toJSON(message: Fee): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.gasLimit !== undefined && (obj.gasLimit = (message.gasLimit || BigInt(0)).toString()); - message.payer !== undefined && (obj.payer = message.payer); - message.granter !== undefined && (obj.granter = message.granter); - return obj; - }, fromPartial(object: Partial): Fee { const message = createBaseFee(); message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; @@ -2075,22 +1884,6 @@ export const Tip = { } return message; }, - fromJSON(object: any): Tip { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], - tipper: isSet(object.tipper) ? String(object.tipper) : "" - }; - }, - toJSON(message: Tip): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.tipper !== undefined && (obj.tipper = message.tipper); - return obj; - }, fromPartial(object: Partial): Tip { const message = createBaseTip(); message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; @@ -2188,22 +1981,6 @@ export const AuxSignerData = { } return message; }, - fromJSON(object: any): AuxSignerData { - return { - address: isSet(object.address) ? String(object.address) : "", - signDoc: isSet(object.signDoc) ? SignDocDirectAux.fromJSON(object.signDoc) : undefined, - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1, - sig: isSet(object.sig) ? bytesFromBase64(object.sig) : new Uint8Array() - }; - }, - toJSON(message: AuxSignerData): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.signDoc !== undefined && (obj.signDoc = message.signDoc ? SignDocDirectAux.toJSON(message.signDoc) : undefined); - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - message.sig !== undefined && (obj.sig = base64FromBytes(message.sig !== undefined ? message.sig : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): AuxSignerData { const message = createBaseAuxSignerData(); message.address = object.address ?? ""; diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/packages/api/src/cosmos/upgrade/v1beta1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts rename to packages/api/src/cosmos/upgrade/v1beta1/query.lcd.ts index 40543d68..5332acf6 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts b/packages/api/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts rename to packages/api/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts index 042c6fde..e7ab8848 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/query.ts b/packages/api/src/cosmos/upgrade/v1beta1/query.ts similarity index 91% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/query.ts rename to packages/api/src/cosmos/upgrade/v1beta1/query.ts index 1dc03091..66f4dac9 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/query.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/query.ts @@ -1,6 +1,7 @@ +//@ts-nocheck import { Plan, PlanAmino, PlanSDKType, ModuleVersion, ModuleVersionAmino, ModuleVersionSDKType } from "./upgrade"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC * method. @@ -353,13 +354,6 @@ export const QueryCurrentPlanRequest = { } return message; }, - fromJSON(_: any): QueryCurrentPlanRequest { - return {}; - }, - toJSON(_: QueryCurrentPlanRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryCurrentPlanRequest { const message = createBaseQueryCurrentPlanRequest(); return message; @@ -424,16 +418,6 @@ export const QueryCurrentPlanResponse = { } return message; }, - fromJSON(object: any): QueryCurrentPlanResponse { - return { - plan: isSet(object.plan) ? Plan.fromJSON(object.plan) : undefined - }; - }, - toJSON(message: QueryCurrentPlanResponse): unknown { - const obj: any = {}; - message.plan !== undefined && (obj.plan = message.plan ? Plan.toJSON(message.plan) : undefined); - return obj; - }, fromPartial(object: Partial): QueryCurrentPlanResponse { const message = createBaseQueryCurrentPlanResponse(); message.plan = object.plan !== undefined && object.plan !== null ? Plan.fromPartial(object.plan) : undefined; @@ -503,16 +487,6 @@ export const QueryAppliedPlanRequest = { } return message; }, - fromJSON(object: any): QueryAppliedPlanRequest { - return { - name: isSet(object.name) ? String(object.name) : "" - }; - }, - toJSON(message: QueryAppliedPlanRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, fromPartial(object: Partial): QueryAppliedPlanRequest { const message = createBaseQueryAppliedPlanRequest(); message.name = object.name ?? ""; @@ -582,16 +556,6 @@ export const QueryAppliedPlanResponse = { } return message; }, - fromJSON(object: any): QueryAppliedPlanResponse { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryAppliedPlanResponse): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryAppliedPlanResponse { const message = createBaseQueryAppliedPlanResponse(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -661,16 +625,6 @@ export const QueryUpgradedConsensusStateRequest = { } return message; }, - fromJSON(object: any): QueryUpgradedConsensusStateRequest { - return { - lastHeight: isSet(object.lastHeight) ? BigInt(object.lastHeight.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryUpgradedConsensusStateRequest): unknown { - const obj: any = {}; - message.lastHeight !== undefined && (obj.lastHeight = (message.lastHeight || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryUpgradedConsensusStateRequest { const message = createBaseQueryUpgradedConsensusStateRequest(); message.lastHeight = object.lastHeight !== undefined && object.lastHeight !== null ? BigInt(object.lastHeight.toString()) : BigInt(0); @@ -740,16 +694,6 @@ export const QueryUpgradedConsensusStateResponse = { } return message; }, - fromJSON(object: any): QueryUpgradedConsensusStateResponse { - return { - upgradedConsensusState: isSet(object.upgradedConsensusState) ? bytesFromBase64(object.upgradedConsensusState) : new Uint8Array() - }; - }, - toJSON(message: QueryUpgradedConsensusStateResponse): unknown { - const obj: any = {}; - message.upgradedConsensusState !== undefined && (obj.upgradedConsensusState = base64FromBytes(message.upgradedConsensusState !== undefined ? message.upgradedConsensusState : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): QueryUpgradedConsensusStateResponse { const message = createBaseQueryUpgradedConsensusStateResponse(); message.upgradedConsensusState = object.upgradedConsensusState ?? new Uint8Array(); @@ -819,16 +763,6 @@ export const QueryModuleVersionsRequest = { } return message; }, - fromJSON(object: any): QueryModuleVersionsRequest { - return { - moduleName: isSet(object.moduleName) ? String(object.moduleName) : "" - }; - }, - toJSON(message: QueryModuleVersionsRequest): unknown { - const obj: any = {}; - message.moduleName !== undefined && (obj.moduleName = message.moduleName); - return obj; - }, fromPartial(object: Partial): QueryModuleVersionsRequest { const message = createBaseQueryModuleVersionsRequest(); message.moduleName = object.moduleName ?? ""; @@ -898,20 +832,6 @@ export const QueryModuleVersionsResponse = { } return message; }, - fromJSON(object: any): QueryModuleVersionsResponse { - return { - moduleVersions: Array.isArray(object?.moduleVersions) ? object.moduleVersions.map((e: any) => ModuleVersion.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryModuleVersionsResponse): unknown { - const obj: any = {}; - if (message.moduleVersions) { - obj.moduleVersions = message.moduleVersions.map(e => e ? ModuleVersion.toJSON(e) : undefined); - } else { - obj.moduleVersions = []; - } - return obj; - }, fromPartial(object: Partial): QueryModuleVersionsResponse { const message = createBaseQueryModuleVersionsResponse(); message.moduleVersions = object.moduleVersions?.map(e => ModuleVersion.fromPartial(e)) || []; @@ -975,13 +895,6 @@ export const QueryAuthorityRequest = { } return message; }, - fromJSON(_: any): QueryAuthorityRequest { - return {}; - }, - toJSON(_: QueryAuthorityRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryAuthorityRequest { const message = createBaseQueryAuthorityRequest(); return message; @@ -1046,16 +959,6 @@ export const QueryAuthorityResponse = { } return message; }, - fromJSON(object: any): QueryAuthorityResponse { - return { - address: isSet(object.address) ? String(object.address) : "" - }; - }, - toJSON(message: QueryAuthorityResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, fromPartial(object: Partial): QueryAuthorityResponse { const message = createBaseQueryAuthorityResponse(); message.address = object.address ?? ""; diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/packages/api/src/cosmos/upgrade/v1beta1/tx.amino.ts similarity index 97% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/upgrade/v1beta1/tx.amino.ts index 1734b0fa..59e87c08 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; export const AminoConverter = { "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts b/packages/api/src/cosmos/upgrade/v1beta1/tx.registry.ts similarity index 68% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/upgrade/v1beta1/tx.registry.ts index 2ace489f..019dde52 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", MsgSoftwareUpgrade], ["/cosmos.upgrade.v1beta1.MsgCancelUpgrade", MsgCancelUpgrade]]; @@ -35,34 +36,6 @@ export const MessageComposer = { }; } }, - toJSON: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.toJSON(value) - }; - }, - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.toJSON(value) - }; - } - }, - fromJSON: { - softwareUpgrade(value: any) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.fromJSON(value) - }; - }, - cancelUpgrade(value: any) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.fromJSON(value) - }; - } - }, fromPartial: { softwareUpgrade(value: MsgSoftwareUpgrade) { return { diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts index cbef95a8..a4db6d5c 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.ts b/packages/api/src/cosmos/upgrade/v1beta1/tx.ts similarity index 91% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.ts rename to packages/api/src/cosmos/upgrade/v1beta1/tx.ts index 53b7baec..c84bbdd3 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/tx.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/tx.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Plan, PlanAmino, PlanSDKType } from "./upgrade"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. * @@ -163,18 +163,6 @@ export const MsgSoftwareUpgrade = { } return message; }, - fromJSON(object: any): MsgSoftwareUpgrade { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - plan: isSet(object.plan) ? Plan.fromJSON(object.plan) : undefined - }; - }, - toJSON(message: MsgSoftwareUpgrade): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.plan !== undefined && (obj.plan = message.plan ? Plan.toJSON(message.plan) : undefined); - return obj; - }, fromPartial(object: Partial): MsgSoftwareUpgrade { const message = createBaseMsgSoftwareUpgrade(); message.authority = object.authority ?? ""; @@ -241,13 +229,6 @@ export const MsgSoftwareUpgradeResponse = { } return message; }, - fromJSON(_: any): MsgSoftwareUpgradeResponse { - return {}; - }, - toJSON(_: MsgSoftwareUpgradeResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSoftwareUpgradeResponse { const message = createBaseMsgSoftwareUpgradeResponse(); return message; @@ -312,16 +293,6 @@ export const MsgCancelUpgrade = { } return message; }, - fromJSON(object: any): MsgCancelUpgrade { - return { - authority: isSet(object.authority) ? String(object.authority) : "" - }; - }, - toJSON(message: MsgCancelUpgrade): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - return obj; - }, fromPartial(object: Partial): MsgCancelUpgrade { const message = createBaseMsgCancelUpgrade(); message.authority = object.authority ?? ""; @@ -383,13 +354,6 @@ export const MsgCancelUpgradeResponse = { } return message; }, - fromJSON(_: any): MsgCancelUpgradeResponse { - return {}; - }, - toJSON(_: MsgCancelUpgradeResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCancelUpgradeResponse { const message = createBaseMsgCancelUpgradeResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/packages/api/src/cosmos/upgrade/v1beta1/upgrade.ts similarity index 86% rename from packages/api/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts rename to packages/api/src/cosmos/upgrade/v1beta1/upgrade.ts index 3910122a..c461c729 100644 --- a/packages/api/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +++ b/packages/api/src/cosmos/upgrade/v1beta1/upgrade.ts @@ -1,7 +1,8 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** Plan specifies information about a planned upgrade and when it should occur. */ export interface Plan { /** @@ -20,7 +21,7 @@ export interface Plan { * If this field is not empty, an error will be thrown. */ /** @deprecated */ - time: Timestamp; + time: Date; /** * The height at which the upgrade must be performed. * Only used if Time is not set. @@ -88,7 +89,7 @@ export interface PlanAminoMsg { export interface PlanSDKType { name: string; /** @deprecated */ - time: TimestampSDKType; + time: Date; height: bigint; info: string; /** @deprecated */ @@ -225,7 +226,7 @@ export interface ModuleVersionSDKType { function createBasePlan(): Plan { return { name: "", - time: Timestamp.fromPartial({}), + time: new Date(), height: BigInt(0), info: "", upgradedClientState: undefined @@ -238,7 +239,7 @@ export const Plan = { writer.uint32(10).string(message.name); } if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); } if (message.height !== BigInt(0)) { writer.uint32(24).int64(message.height); @@ -262,7 +263,7 @@ export const Plan = { message.name = reader.string(); break; case 2: - message.time = Timestamp.decode(reader, reader.uint32()); + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 3: message.height = reader.int64(); @@ -280,28 +281,10 @@ export const Plan = { } return message; }, - fromJSON(object: any): Plan { - return { - name: isSet(object.name) ? String(object.name) : "", - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - info: isSet(object.info) ? String(object.info) : "", - upgradedClientState: isSet(object.upgradedClientState) ? Any.fromJSON(object.upgradedClientState) : undefined - }; - }, - toJSON(message: Plan): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.info !== undefined && (obj.info = message.info); - message.upgradedClientState !== undefined && (obj.upgradedClientState = message.upgradedClientState ? Any.toJSON(message.upgradedClientState) : undefined); - return obj; - }, fromPartial(object: Partial): Plan { const message = createBasePlan(); message.name = object.name ?? ""; - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; + message.time = object.time ?? undefined; message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); message.info = object.info ?? ""; message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; @@ -313,7 +296,7 @@ export const Plan = { message.name = object.name; } if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); + message.time = fromTimestamp(Timestamp.fromAmino(object.time)); } if (object.height !== undefined && object.height !== null) { message.height = BigInt(object.height); @@ -329,7 +312,7 @@ export const Plan = { toAmino(message: Plan): PlanAmino { const obj: any = {}; obj.name = message.name === "" ? undefined : message.name; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; + obj.time = message.time ? Timestamp.toAmino(toTimestamp(message.time)) : undefined; obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; obj.info = message.info === "" ? undefined : message.info; obj.upgraded_client_state = message.upgradedClientState ? Any.toAmino(message.upgradedClientState) : undefined; @@ -402,20 +385,6 @@ export const SoftwareUpgradeProposal = { } return message; }, - fromJSON(object: any): SoftwareUpgradeProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - plan: isSet(object.plan) ? Plan.fromJSON(object.plan) : undefined - }; - }, - toJSON(message: SoftwareUpgradeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.plan !== undefined && (obj.plan = message.plan ? Plan.toJSON(message.plan) : undefined); - return obj; - }, fromPartial(object: Partial): SoftwareUpgradeProposal { const message = createBaseSoftwareUpgradeProposal(); message.title = object.title ?? ""; @@ -503,18 +472,6 @@ export const CancelSoftwareUpgradeProposal = { } return message; }, - fromJSON(object: any): CancelSoftwareUpgradeProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "" - }; - }, - toJSON(message: CancelSoftwareUpgradeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - return obj; - }, fromPartial(object: Partial): CancelSoftwareUpgradeProposal { const message = createBaseCancelSoftwareUpgradeProposal(); message.title = object.title ?? ""; @@ -596,18 +553,6 @@ export const ModuleVersion = { } return message; }, - fromJSON(object: any): ModuleVersion { - return { - name: isSet(object.name) ? String(object.name) : "", - version: isSet(object.version) ? BigInt(object.version.toString()) : BigInt(0) - }; - }, - toJSON(message: ModuleVersion): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.version !== undefined && (obj.version = (message.version || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ModuleVersion { const message = createBaseModuleVersion(); message.name = object.name ?? ""; diff --git a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/packages/api/src/cosmos/vesting/v1beta1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts rename to packages/api/src/cosmos/vesting/v1beta1/tx.amino.ts index a197b23b..b918e6d3 100644 --- a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +++ b/packages/api/src/cosmos/vesting/v1beta1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; export const AminoConverter = { "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { diff --git a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts b/packages/api/src/cosmos/vesting/v1beta1/tx.registry.ts similarity index 66% rename from packages/api/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts rename to packages/api/src/cosmos/vesting/v1beta1/tx.registry.ts index ba736f61..9942916a 100644 --- a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +++ b/packages/api/src/cosmos/vesting/v1beta1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.vesting.v1beta1.MsgCreateVestingAccount", MsgCreateVestingAccount], ["/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", MsgCreatePermanentLockedAccount], ["/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", MsgCreatePeriodicVestingAccount]]; @@ -47,46 +48,6 @@ export const MessageComposer = { }; } }, - toJSON: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.toJSON(value) - }; - }, - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.toJSON(value) - }; - }, - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.toJSON(value) - }; - } - }, - fromJSON: { - createVestingAccount(value: any) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.fromJSON(value) - }; - }, - createPermanentLockedAccount(value: any) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.fromJSON(value) - }; - }, - createPeriodicVestingAccount(value: any) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.fromJSON(value) - }; - } - }, fromPartial: { createVestingAccount(value: MsgCreateVestingAccount) { return { diff --git a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/packages/api/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts rename to packages/api/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts index e588f16d..b4a6a543 100644 --- a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +++ b/packages/api/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; diff --git a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.ts b/packages/api/src/cosmos/vesting/v1beta1/tx.ts similarity index 88% rename from packages/api/src/codegen/cosmos/vesting/v1beta1/tx.ts rename to packages/api/src/cosmos/vesting/v1beta1/tx.ts index d7acb006..82d0346a 100644 --- a/packages/api/src/codegen/cosmos/vesting/v1beta1/tx.ts +++ b/packages/api/src/cosmos/vesting/v1beta1/tx.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { Period, PeriodAmino, PeriodSDKType } from "./vesting"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * MsgCreateVestingAccount defines a message that enables creating a vesting * account. @@ -255,28 +255,6 @@ export const MsgCreateVestingAccount = { } return message; }, - fromJSON(object: any): MsgCreateVestingAccount { - return { - fromAddress: isSet(object.fromAddress) ? String(object.fromAddress) : "", - toAddress: isSet(object.toAddress) ? String(object.toAddress) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [], - endTime: isSet(object.endTime) ? BigInt(object.endTime.toString()) : BigInt(0), - delayed: isSet(object.delayed) ? Boolean(object.delayed) : false - }; - }, - toJSON(message: MsgCreateVestingAccount): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.endTime !== undefined && (obj.endTime = (message.endTime || BigInt(0)).toString()); - message.delayed !== undefined && (obj.delayed = message.delayed); - return obj; - }, fromPartial(object: Partial): MsgCreateVestingAccount { const message = createBaseMsgCreateVestingAccount(); message.fromAddress = object.fromAddress ?? ""; @@ -360,13 +338,6 @@ export const MsgCreateVestingAccountResponse = { } return message; }, - fromJSON(_: any): MsgCreateVestingAccountResponse { - return {}; - }, - toJSON(_: MsgCreateVestingAccountResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCreateVestingAccountResponse { const message = createBaseMsgCreateVestingAccountResponse(); return message; @@ -445,24 +416,6 @@ export const MsgCreatePermanentLockedAccount = { } return message; }, - fromJSON(object: any): MsgCreatePermanentLockedAccount { - return { - fromAddress: isSet(object.fromAddress) ? String(object.fromAddress) : "", - toAddress: isSet(object.toAddress) ? String(object.toAddress) : "", - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgCreatePermanentLockedAccount): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): MsgCreatePermanentLockedAccount { const message = createBaseMsgCreatePermanentLockedAccount(); message.fromAddress = object.fromAddress ?? ""; @@ -536,13 +489,6 @@ export const MsgCreatePermanentLockedAccountResponse = { } return message; }, - fromJSON(_: any): MsgCreatePermanentLockedAccountResponse { - return {}; - }, - toJSON(_: MsgCreatePermanentLockedAccountResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCreatePermanentLockedAccountResponse { const message = createBaseMsgCreatePermanentLockedAccountResponse(); return message; @@ -628,26 +574,6 @@ export const MsgCreatePeriodicVestingAccount = { } return message; }, - fromJSON(object: any): MsgCreatePeriodicVestingAccount { - return { - fromAddress: isSet(object.fromAddress) ? String(object.fromAddress) : "", - toAddress: isSet(object.toAddress) ? String(object.toAddress) : "", - startTime: isSet(object.startTime) ? BigInt(object.startTime.toString()) : BigInt(0), - vestingPeriods: Array.isArray(object?.vestingPeriods) ? object.vestingPeriods.map((e: any) => Period.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgCreatePeriodicVestingAccount): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - message.startTime !== undefined && (obj.startTime = (message.startTime || BigInt(0)).toString()); - if (message.vestingPeriods) { - obj.vestingPeriods = message.vestingPeriods.map(e => e ? Period.toJSON(e) : undefined); - } else { - obj.vestingPeriods = []; - } - return obj; - }, fromPartial(object: Partial): MsgCreatePeriodicVestingAccount { const message = createBaseMsgCreatePeriodicVestingAccount(); message.fromAddress = object.fromAddress ?? ""; @@ -726,13 +652,6 @@ export const MsgCreatePeriodicVestingAccountResponse = { } return message; }, - fromJSON(_: any): MsgCreatePeriodicVestingAccountResponse { - return {}; - }, - toJSON(_: MsgCreatePeriodicVestingAccountResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCreatePeriodicVestingAccountResponse { const message = createBaseMsgCreatePeriodicVestingAccountResponse(); return message; diff --git a/packages/api/src/codegen/cosmos/vesting/v1beta1/vesting.ts b/packages/api/src/cosmos/vesting/v1beta1/vesting.ts similarity index 85% rename from packages/api/src/codegen/cosmos/vesting/v1beta1/vesting.ts rename to packages/api/src/cosmos/vesting/v1beta1/vesting.ts index f70704d3..438ac8fd 100644 --- a/packages/api/src/codegen/cosmos/vesting/v1beta1/vesting.ts +++ b/packages/api/src/cosmos/vesting/v1beta1/vesting.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { BaseAccount, BaseAccountAmino, BaseAccountSDKType } from "../../auth/v1beta1/auth"; import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * BaseVestingAccount implements the VestingAccount interface. It contains all * the necessary fields needed for any vesting account implementation. @@ -261,36 +261,6 @@ export const BaseVestingAccount = { } return message; }, - fromJSON(object: any): BaseVestingAccount { - return { - baseAccount: isSet(object.baseAccount) ? BaseAccount.fromJSON(object.baseAccount) : undefined, - originalVesting: Array.isArray(object?.originalVesting) ? object.originalVesting.map((e: any) => Coin.fromJSON(e)) : [], - delegatedFree: Array.isArray(object?.delegatedFree) ? object.delegatedFree.map((e: any) => Coin.fromJSON(e)) : [], - delegatedVesting: Array.isArray(object?.delegatedVesting) ? object.delegatedVesting.map((e: any) => Coin.fromJSON(e)) : [], - endTime: isSet(object.endTime) ? BigInt(object.endTime.toString()) : BigInt(0) - }; - }, - toJSON(message: BaseVestingAccount): unknown { - const obj: any = {}; - message.baseAccount !== undefined && (obj.baseAccount = message.baseAccount ? BaseAccount.toJSON(message.baseAccount) : undefined); - if (message.originalVesting) { - obj.originalVesting = message.originalVesting.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.originalVesting = []; - } - if (message.delegatedFree) { - obj.delegatedFree = message.delegatedFree.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.delegatedFree = []; - } - if (message.delegatedVesting) { - obj.delegatedVesting = message.delegatedVesting.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.delegatedVesting = []; - } - message.endTime !== undefined && (obj.endTime = (message.endTime || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): BaseVestingAccount { const message = createBaseBaseVestingAccount(); message.baseAccount = object.baseAccount !== undefined && object.baseAccount !== null ? BaseAccount.fromPartial(object.baseAccount) : undefined; @@ -393,18 +363,6 @@ export const ContinuousVestingAccount = { } return message; }, - fromJSON(object: any): ContinuousVestingAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, - startTime: isSet(object.startTime) ? BigInt(object.startTime.toString()) : BigInt(0) - }; - }, - toJSON(message: ContinuousVestingAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - message.startTime !== undefined && (obj.startTime = (message.startTime || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ContinuousVestingAccount { const message = createBaseContinuousVestingAccount(); message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; @@ -479,16 +437,6 @@ export const DelayedVestingAccount = { } return message; }, - fromJSON(object: any): DelayedVestingAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined - }; - }, - toJSON(message: DelayedVestingAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - return obj; - }, fromPartial(object: Partial): DelayedVestingAccount { const message = createBaseDelayedVestingAccount(); message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; @@ -565,22 +513,6 @@ export const Period = { } return message; }, - fromJSON(object: any): Period { - return { - length: isSet(object.length) ? BigInt(object.length.toString()) : BigInt(0), - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Period): unknown { - const obj: any = {}; - message.length !== undefined && (obj.length = (message.length || BigInt(0)).toString()); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, fromPartial(object: Partial): Period { const message = createBasePeriod(); message.length = object.length !== undefined && object.length !== null ? BigInt(object.length.toString()) : BigInt(0); @@ -671,24 +603,6 @@ export const PeriodicVestingAccount = { } return message; }, - fromJSON(object: any): PeriodicVestingAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined, - startTime: isSet(object.startTime) ? BigInt(object.startTime.toString()) : BigInt(0), - vestingPeriods: Array.isArray(object?.vestingPeriods) ? object.vestingPeriods.map((e: any) => Period.fromJSON(e)) : [] - }; - }, - toJSON(message: PeriodicVestingAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - message.startTime !== undefined && (obj.startTime = (message.startTime || BigInt(0)).toString()); - if (message.vestingPeriods) { - obj.vestingPeriods = message.vestingPeriods.map(e => e ? Period.toJSON(e) : undefined); - } else { - obj.vestingPeriods = []; - } - return obj; - }, fromPartial(object: Partial): PeriodicVestingAccount { const message = createBasePeriodicVestingAccount(); message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; @@ -770,16 +684,6 @@ export const PermanentLockedAccount = { } return message; }, - fromJSON(object: any): PermanentLockedAccount { - return { - baseVestingAccount: isSet(object.baseVestingAccount) ? BaseVestingAccount.fromJSON(object.baseVestingAccount) : undefined - }; - }, - toJSON(message: PermanentLockedAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - return obj; - }, fromPartial(object: Partial): PermanentLockedAccount { const message = createBasePermanentLockedAccount(); message.baseVestingAccount = object.baseVestingAccount !== undefined && object.baseVestingAccount !== null ? BaseVestingAccount.fromPartial(object.baseVestingAccount) : undefined; diff --git a/packages/api/src/codegen/cosmos_proto/bundle.ts b/packages/api/src/cosmos_proto/bundle.ts similarity index 83% rename from packages/api/src/codegen/cosmos_proto/bundle.ts rename to packages/api/src/cosmos_proto/bundle.ts index fd490026..a5604a41 100644 --- a/packages/api/src/codegen/cosmos_proto/bundle.ts +++ b/packages/api/src/cosmos_proto/bundle.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import * as _1 from "./cosmos"; export const cosmos_proto = { ..._1 diff --git a/packages/api/src/codegen/cosmos_proto/cosmos.ts b/packages/api/src/cosmos_proto/cosmos.ts similarity index 91% rename from packages/api/src/codegen/cosmos_proto/cosmos.ts rename to packages/api/src/cosmos_proto/cosmos.ts index 2dcf956b..54b13482 100644 --- a/packages/api/src/codegen/cosmos_proto/cosmos.ts +++ b/packages/api/src/cosmos_proto/cosmos.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../binary"; -import { isSet } from "../helpers"; export enum ScalarType { SCALAR_TYPE_UNSPECIFIED = 0, SCALAR_TYPE_STRING = 1, @@ -211,18 +211,6 @@ export const InterfaceDescriptor = { } return message; }, - fromJSON(object: any): InterfaceDescriptor { - return { - name: isSet(object.name) ? String(object.name) : "", - description: isSet(object.description) ? String(object.description) : "" - }; - }, - toJSON(message: InterfaceDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - return obj; - }, fromPartial(object: Partial): InterfaceDescriptor { const message = createBaseInterfaceDescriptor(); message.name = object.name ?? ""; @@ -314,24 +302,6 @@ export const ScalarDescriptor = { } return message; }, - fromJSON(object: any): ScalarDescriptor { - return { - name: isSet(object.name) ? String(object.name) : "", - description: isSet(object.description) ? String(object.description) : "", - fieldType: Array.isArray(object?.fieldType) ? object.fieldType.map((e: any) => scalarTypeFromJSON(e)) : [] - }; - }, - toJSON(message: ScalarDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - if (message.fieldType) { - obj.fieldType = message.fieldType.map(e => scalarTypeToJSON(e)); - } else { - obj.fieldType = []; - } - return obj; - }, fromPartial(object: Partial): ScalarDescriptor { const message = createBaseScalarDescriptor(); message.name = object.name ?? ""; diff --git a/packages/api/src/gogoproto/bundle.ts b/packages/api/src/gogoproto/bundle.ts new file mode 100644 index 00000000..2ad5c4f1 --- /dev/null +++ b/packages/api/src/gogoproto/bundle.ts @@ -0,0 +1,5 @@ +//@ts-nocheck +import * as _67 from "./gogo"; +export const gogoproto = { + ..._67 +}; \ No newline at end of file diff --git a/packages/api/src/codegen/gogoproto/gogo.ts b/packages/api/src/gogoproto/gogo.ts similarity index 100% rename from packages/api/src/codegen/gogoproto/gogo.ts rename to packages/api/src/gogoproto/gogo.ts diff --git a/packages/api/src/codegen/google/api/annotations.ts b/packages/api/src/google/api/annotations.ts similarity index 100% rename from packages/api/src/codegen/google/api/annotations.ts rename to packages/api/src/google/api/annotations.ts diff --git a/packages/api/src/codegen/google/api/http.ts b/packages/api/src/google/api/http.ts similarity index 94% rename from packages/api/src/codegen/google/api/http.ts rename to packages/api/src/google/api/http.ts index bde50615..3b14b209 100644 --- a/packages/api/src/codegen/google/api/http.ts +++ b/packages/api/src/google/api/http.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet } from "../../helpers"; /** * Defines the HTTP configuration for an API service. It contains a list of * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method @@ -1073,22 +1073,6 @@ export const Http = { } return message; }, - fromJSON(object: any): Http { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => HttpRule.fromJSON(e)) : [], - fullyDecodeReservedExpansion: isSet(object.fullyDecodeReservedExpansion) ? Boolean(object.fullyDecodeReservedExpansion) : false - }; - }, - toJSON(message: Http): unknown { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? HttpRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - message.fullyDecodeReservedExpansion !== undefined && (obj.fullyDecodeReservedExpansion = message.fullyDecodeReservedExpansion); - return obj; - }, fromPartial(object: Partial): Http { const message = createBaseHttp(); message.rules = object.rules?.map(e => HttpRule.fromPartial(e)) || []; @@ -1222,38 +1206,6 @@ export const HttpRule = { } return message; }, - fromJSON(object: any): HttpRule { - return { - selector: isSet(object.selector) ? String(object.selector) : "", - get: isSet(object.get) ? String(object.get) : undefined, - put: isSet(object.put) ? String(object.put) : undefined, - post: isSet(object.post) ? String(object.post) : undefined, - delete: isSet(object.delete) ? String(object.delete) : undefined, - patch: isSet(object.patch) ? String(object.patch) : undefined, - custom: isSet(object.custom) ? CustomHttpPattern.fromJSON(object.custom) : undefined, - body: isSet(object.body) ? String(object.body) : "", - responseBody: isSet(object.responseBody) ? String(object.responseBody) : "", - additionalBindings: Array.isArray(object?.additionalBindings) ? object.additionalBindings.map((e: any) => HttpRule.fromJSON(e)) : [] - }; - }, - toJSON(message: HttpRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - message.get !== undefined && (obj.get = message.get); - message.put !== undefined && (obj.put = message.put); - message.post !== undefined && (obj.post = message.post); - message.delete !== undefined && (obj.delete = message.delete); - message.patch !== undefined && (obj.patch = message.patch); - message.custom !== undefined && (obj.custom = message.custom ? CustomHttpPattern.toJSON(message.custom) : undefined); - message.body !== undefined && (obj.body = message.body); - message.responseBody !== undefined && (obj.responseBody = message.responseBody); - if (message.additionalBindings) { - obj.additionalBindings = message.additionalBindings.map(e => e ? HttpRule.toJSON(e) : undefined); - } else { - obj.additionalBindings = []; - } - return obj; - }, fromPartial(object: Partial): HttpRule { const message = createBaseHttpRule(); message.selector = object.selector ?? ""; @@ -1371,18 +1323,6 @@ export const CustomHttpPattern = { } return message; }, - fromJSON(object: any): CustomHttpPattern { - return { - kind: isSet(object.kind) ? String(object.kind) : "", - path: isSet(object.path) ? String(object.path) : "" - }; - }, - toJSON(message: CustomHttpPattern): unknown { - const obj: any = {}; - message.kind !== undefined && (obj.kind = message.kind); - message.path !== undefined && (obj.path = message.path); - return obj; - }, fromPartial(object: Partial): CustomHttpPattern { const message = createBaseCustomHttpPattern(); message.kind = object.kind ?? ""; diff --git a/packages/api/src/google/bundle.ts b/packages/api/src/google/bundle.ts new file mode 100644 index 00000000..4e1497bd --- /dev/null +++ b/packages/api/src/google/bundle.ts @@ -0,0 +1,13 @@ +//@ts-nocheck +import * as _115 from "./protobuf/descriptor"; +import * as _116 from "./protobuf/any"; +import * as _117 from "./protobuf/timestamp"; +import * as _118 from "./protobuf/duration"; +export namespace google { + export const protobuf = { + ..._115, + ..._116, + ..._117, + ..._118 + }; +} \ No newline at end of file diff --git a/packages/api/src/codegen/google/protobuf/any.ts b/packages/api/src/google/protobuf/any.ts similarity index 95% rename from packages/api/src/codegen/google/protobuf/any.ts rename to packages/api/src/google/protobuf/any.ts index cd43a3e7..0998bb2e 100644 --- a/packages/api/src/codegen/google/protobuf/any.ts +++ b/packages/api/src/google/protobuf/any.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../helpers"; /** * `Any` contains an arbitrary serialized protocol buffer message along with a * URL that describes the type of the serialized message. @@ -363,18 +363,6 @@ export const Any = { } return message; }, - fromJSON(object: any): Any { - return { - typeUrl: isSet(object.typeUrl) ? String(object.typeUrl) : "", - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - toJSON(message: Any): unknown { - const obj: any = {}; - message.typeUrl !== undefined && (obj.typeUrl = message.typeUrl); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): Any { const message = createBaseAny(); message.typeUrl = object.typeUrl ?? ""; diff --git a/packages/api/src/codegen/google/protobuf/descriptor.ts b/packages/api/src/google/protobuf/descriptor.ts similarity index 86% rename from packages/api/src/codegen/google/protobuf/descriptor.ts rename to packages/api/src/google/protobuf/descriptor.ts index febc7b37..d469873f 100644 --- a/packages/api/src/codegen/google/protobuf/descriptor.ts +++ b/packages/api/src/google/protobuf/descriptor.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../helpers"; export enum FieldDescriptorProto_Type { /** * TYPE_DOUBLE - 0 is reserved for errors. @@ -2226,20 +2227,6 @@ export const FileDescriptorSet = { } return message; }, - fromJSON(object: any): FileDescriptorSet { - return { - file: Array.isArray(object?.file) ? object.file.map((e: any) => FileDescriptorProto.fromJSON(e)) : [] - }; - }, - toJSON(message: FileDescriptorSet): unknown { - const obj: any = {}; - if (message.file) { - obj.file = message.file.map(e => e ? FileDescriptorProto.toJSON(e) : undefined); - } else { - obj.file = []; - } - return obj; - }, fromPartial(object: Partial): FileDescriptorSet { const message = createBaseFileDescriptorSet(); message.file = object.file?.map(e => FileDescriptorProto.fromPartial(e)) || []; @@ -2400,66 +2387,6 @@ export const FileDescriptorProto = { } return message; }, - fromJSON(object: any): FileDescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - package: isSet(object.package) ? String(object.package) : "", - dependency: Array.isArray(object?.dependency) ? object.dependency.map((e: any) => String(e)) : [], - publicDependency: Array.isArray(object?.publicDependency) ? object.publicDependency.map((e: any) => Number(e)) : [], - weakDependency: Array.isArray(object?.weakDependency) ? object.weakDependency.map((e: any) => Number(e)) : [], - messageType: Array.isArray(object?.messageType) ? object.messageType.map((e: any) => DescriptorProto.fromJSON(e)) : [], - enumType: Array.isArray(object?.enumType) ? object.enumType.map((e: any) => EnumDescriptorProto.fromJSON(e)) : [], - service: Array.isArray(object?.service) ? object.service.map((e: any) => ServiceDescriptorProto.fromJSON(e)) : [], - extension: Array.isArray(object?.extension) ? object.extension.map((e: any) => FieldDescriptorProto.fromJSON(e)) : [], - options: isSet(object.options) ? FileOptions.fromJSON(object.options) : undefined, - sourceCodeInfo: isSet(object.sourceCodeInfo) ? SourceCodeInfo.fromJSON(object.sourceCodeInfo) : undefined, - syntax: isSet(object.syntax) ? String(object.syntax) : "" - }; - }, - toJSON(message: FileDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.package !== undefined && (obj.package = message.package); - if (message.dependency) { - obj.dependency = message.dependency.map(e => e); - } else { - obj.dependency = []; - } - if (message.publicDependency) { - obj.publicDependency = message.publicDependency.map(e => Math.round(e)); - } else { - obj.publicDependency = []; - } - if (message.weakDependency) { - obj.weakDependency = message.weakDependency.map(e => Math.round(e)); - } else { - obj.weakDependency = []; - } - if (message.messageType) { - obj.messageType = message.messageType.map(e => e ? DescriptorProto.toJSON(e) : undefined); - } else { - obj.messageType = []; - } - if (message.enumType) { - obj.enumType = message.enumType.map(e => e ? EnumDescriptorProto.toJSON(e) : undefined); - } else { - obj.enumType = []; - } - if (message.service) { - obj.service = message.service.map(e => e ? ServiceDescriptorProto.toJSON(e) : undefined); - } else { - obj.service = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toJSON(e) : undefined); - } else { - obj.extension = []; - } - message.options !== undefined && (obj.options = message.options ? FileOptions.toJSON(message.options) : undefined); - message.sourceCodeInfo !== undefined && (obj.sourceCodeInfo = message.sourceCodeInfo ? SourceCodeInfo.toJSON(message.sourceCodeInfo) : undefined); - message.syntax !== undefined && (obj.syntax = message.syntax); - return obj; - }, fromPartial(object: Partial): FileDescriptorProto { const message = createBaseFileDescriptorProto(); message.name = object.name ?? ""; @@ -2655,66 +2582,6 @@ export const DescriptorProto = { } return message; }, - fromJSON(object: any): DescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - field: Array.isArray(object?.field) ? object.field.map((e: any) => FieldDescriptorProto.fromJSON(e)) : [], - extension: Array.isArray(object?.extension) ? object.extension.map((e: any) => FieldDescriptorProto.fromJSON(e)) : [], - nestedType: Array.isArray(object?.nestedType) ? object.nestedType.map((e: any) => DescriptorProto.fromJSON(e)) : [], - enumType: Array.isArray(object?.enumType) ? object.enumType.map((e: any) => EnumDescriptorProto.fromJSON(e)) : [], - extensionRange: Array.isArray(object?.extensionRange) ? object.extensionRange.map((e: any) => DescriptorProto_ExtensionRange.fromJSON(e)) : [], - oneofDecl: Array.isArray(object?.oneofDecl) ? object.oneofDecl.map((e: any) => OneofDescriptorProto.fromJSON(e)) : [], - options: isSet(object.options) ? MessageOptions.fromJSON(object.options) : undefined, - reservedRange: Array.isArray(object?.reservedRange) ? object.reservedRange.map((e: any) => DescriptorProto_ReservedRange.fromJSON(e)) : [], - reservedName: Array.isArray(object?.reservedName) ? object.reservedName.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: DescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.field) { - obj.field = message.field.map(e => e ? FieldDescriptorProto.toJSON(e) : undefined); - } else { - obj.field = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toJSON(e) : undefined); - } else { - obj.extension = []; - } - if (message.nestedType) { - obj.nestedType = message.nestedType.map(e => e ? DescriptorProto.toJSON(e) : undefined); - } else { - obj.nestedType = []; - } - if (message.enumType) { - obj.enumType = message.enumType.map(e => e ? EnumDescriptorProto.toJSON(e) : undefined); - } else { - obj.enumType = []; - } - if (message.extensionRange) { - obj.extensionRange = message.extensionRange.map(e => e ? DescriptorProto_ExtensionRange.toJSON(e) : undefined); - } else { - obj.extensionRange = []; - } - if (message.oneofDecl) { - obj.oneofDecl = message.oneofDecl.map(e => e ? OneofDescriptorProto.toJSON(e) : undefined); - } else { - obj.oneofDecl = []; - } - message.options !== undefined && (obj.options = message.options ? MessageOptions.toJSON(message.options) : undefined); - if (message.reservedRange) { - obj.reservedRange = message.reservedRange.map(e => e ? DescriptorProto_ReservedRange.toJSON(e) : undefined); - } else { - obj.reservedRange = []; - } - if (message.reservedName) { - obj.reservedName = message.reservedName.map(e => e); - } else { - obj.reservedName = []; - } - return obj; - }, fromPartial(object: Partial): DescriptorProto { const message = createBaseDescriptorProto(); message.name = object.name ?? ""; @@ -2853,20 +2720,6 @@ export const DescriptorProto_ExtensionRange = { } return message; }, - fromJSON(object: any): DescriptorProto_ExtensionRange { - return { - start: isSet(object.start) ? Number(object.start) : 0, - end: isSet(object.end) ? Number(object.end) : 0, - options: isSet(object.options) ? ExtensionRangeOptions.fromJSON(object.options) : undefined - }; - }, - toJSON(message: DescriptorProto_ExtensionRange): unknown { - const obj: any = {}; - message.start !== undefined && (obj.start = Math.round(message.start)); - message.end !== undefined && (obj.end = Math.round(message.end)); - message.options !== undefined && (obj.options = message.options ? ExtensionRangeOptions.toJSON(message.options) : undefined); - return obj; - }, fromPartial(object: Partial): DescriptorProto_ExtensionRange { const message = createBaseDescriptorProto_ExtensionRange(); message.start = object.start ?? 0; @@ -2947,18 +2800,6 @@ export const DescriptorProto_ReservedRange = { } return message; }, - fromJSON(object: any): DescriptorProto_ReservedRange { - return { - start: isSet(object.start) ? Number(object.start) : 0, - end: isSet(object.end) ? Number(object.end) : 0 - }; - }, - toJSON(message: DescriptorProto_ReservedRange): unknown { - const obj: any = {}; - message.start !== undefined && (obj.start = Math.round(message.start)); - message.end !== undefined && (obj.end = Math.round(message.end)); - return obj; - }, fromPartial(object: Partial): DescriptorProto_ReservedRange { const message = createBaseDescriptorProto_ReservedRange(); message.start = object.start ?? 0; @@ -3027,20 +2868,6 @@ export const ExtensionRangeOptions = { } return message; }, - fromJSON(object: any): ExtensionRangeOptions { - return { - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: ExtensionRangeOptions): unknown { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): ExtensionRangeOptions { const message = createBaseExtensionRangeOptions(); message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; @@ -3169,34 +2996,6 @@ export const FieldDescriptorProto = { } return message; }, - fromJSON(object: any): FieldDescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - number: isSet(object.number) ? Number(object.number) : 0, - label: isSet(object.label) ? fieldDescriptorProto_LabelFromJSON(object.label) : -1, - type: isSet(object.type) ? fieldDescriptorProto_TypeFromJSON(object.type) : -1, - typeName: isSet(object.typeName) ? String(object.typeName) : "", - extendee: isSet(object.extendee) ? String(object.extendee) : "", - defaultValue: isSet(object.defaultValue) ? String(object.defaultValue) : "", - oneofIndex: isSet(object.oneofIndex) ? Number(object.oneofIndex) : 0, - jsonName: isSet(object.jsonName) ? String(object.jsonName) : "", - options: isSet(object.options) ? FieldOptions.fromJSON(object.options) : undefined - }; - }, - toJSON(message: FieldDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.number !== undefined && (obj.number = Math.round(message.number)); - message.label !== undefined && (obj.label = fieldDescriptorProto_LabelToJSON(message.label)); - message.type !== undefined && (obj.type = fieldDescriptorProto_TypeToJSON(message.type)); - message.typeName !== undefined && (obj.typeName = message.typeName); - message.extendee !== undefined && (obj.extendee = message.extendee); - message.defaultValue !== undefined && (obj.defaultValue = message.defaultValue); - message.oneofIndex !== undefined && (obj.oneofIndex = Math.round(message.oneofIndex)); - message.jsonName !== undefined && (obj.jsonName = message.jsonName); - message.options !== undefined && (obj.options = message.options ? FieldOptions.toJSON(message.options) : undefined); - return obj; - }, fromPartial(object: Partial): FieldDescriptorProto { const message = createBaseFieldDescriptorProto(); message.name = object.name ?? ""; @@ -3312,18 +3111,6 @@ export const OneofDescriptorProto = { } return message; }, - fromJSON(object: any): OneofDescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - options: isSet(object.options) ? OneofOptions.fromJSON(object.options) : undefined - }; - }, - toJSON(message: OneofDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.options !== undefined && (obj.options = message.options ? OneofOptions.toJSON(message.options) : undefined); - return obj; - }, fromPartial(object: Partial): OneofDescriptorProto { const message = createBaseOneofDescriptorProto(); message.name = object.name ?? ""; @@ -3420,36 +3207,6 @@ export const EnumDescriptorProto = { } return message; }, - fromJSON(object: any): EnumDescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - value: Array.isArray(object?.value) ? object.value.map((e: any) => EnumValueDescriptorProto.fromJSON(e)) : [], - options: isSet(object.options) ? EnumOptions.fromJSON(object.options) : undefined, - reservedRange: Array.isArray(object?.reservedRange) ? object.reservedRange.map((e: any) => EnumDescriptorProto_EnumReservedRange.fromJSON(e)) : [], - reservedName: Array.isArray(object?.reservedName) ? object.reservedName.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: EnumDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.value) { - obj.value = message.value.map(e => e ? EnumValueDescriptorProto.toJSON(e) : undefined); - } else { - obj.value = []; - } - message.options !== undefined && (obj.options = message.options ? EnumOptions.toJSON(message.options) : undefined); - if (message.reservedRange) { - obj.reservedRange = message.reservedRange.map(e => e ? EnumDescriptorProto_EnumReservedRange.toJSON(e) : undefined); - } else { - obj.reservedRange = []; - } - if (message.reservedName) { - obj.reservedName = message.reservedName.map(e => e); - } else { - obj.reservedName = []; - } - return obj; - }, fromPartial(object: Partial): EnumDescriptorProto { const message = createBaseEnumDescriptorProto(); message.name = object.name ?? ""; @@ -3546,18 +3303,6 @@ export const EnumDescriptorProto_EnumReservedRange = { } return message; }, - fromJSON(object: any): EnumDescriptorProto_EnumReservedRange { - return { - start: isSet(object.start) ? Number(object.start) : 0, - end: isSet(object.end) ? Number(object.end) : 0 - }; - }, - toJSON(message: EnumDescriptorProto_EnumReservedRange): unknown { - const obj: any = {}; - message.start !== undefined && (obj.start = Math.round(message.start)); - message.end !== undefined && (obj.end = Math.round(message.end)); - return obj; - }, fromPartial(object: Partial): EnumDescriptorProto_EnumReservedRange { const message = createBaseEnumDescriptorProto_EnumReservedRange(); message.start = object.start ?? 0; @@ -3640,20 +3385,6 @@ export const EnumValueDescriptorProto = { } return message; }, - fromJSON(object: any): EnumValueDescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - number: isSet(object.number) ? Number(object.number) : 0, - options: isSet(object.options) ? EnumValueOptions.fromJSON(object.options) : undefined - }; - }, - toJSON(message: EnumValueDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.number !== undefined && (obj.number = Math.round(message.number)); - message.options !== undefined && (obj.options = message.options ? EnumValueOptions.toJSON(message.options) : undefined); - return obj; - }, fromPartial(object: Partial): EnumValueDescriptorProto { const message = createBaseEnumValueDescriptorProto(); message.name = object.name ?? ""; @@ -3741,24 +3472,6 @@ export const ServiceDescriptorProto = { } return message; }, - fromJSON(object: any): ServiceDescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - method: Array.isArray(object?.method) ? object.method.map((e: any) => MethodDescriptorProto.fromJSON(e)) : [], - options: isSet(object.options) ? ServiceOptions.fromJSON(object.options) : undefined - }; - }, - toJSON(message: ServiceDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.method) { - obj.method = message.method.map(e => e ? MethodDescriptorProto.toJSON(e) : undefined); - } else { - obj.method = []; - } - message.options !== undefined && (obj.options = message.options ? ServiceOptions.toJSON(message.options) : undefined); - return obj; - }, fromPartial(object: Partial): ServiceDescriptorProto { const message = createBaseServiceDescriptorProto(); message.name = object.name ?? ""; @@ -3869,26 +3582,6 @@ export const MethodDescriptorProto = { } return message; }, - fromJSON(object: any): MethodDescriptorProto { - return { - name: isSet(object.name) ? String(object.name) : "", - inputType: isSet(object.inputType) ? String(object.inputType) : "", - outputType: isSet(object.outputType) ? String(object.outputType) : "", - options: isSet(object.options) ? MethodOptions.fromJSON(object.options) : undefined, - clientStreaming: isSet(object.clientStreaming) ? Boolean(object.clientStreaming) : false, - serverStreaming: isSet(object.serverStreaming) ? Boolean(object.serverStreaming) : false - }; - }, - toJSON(message: MethodDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.inputType !== undefined && (obj.inputType = message.inputType); - message.outputType !== undefined && (obj.outputType = message.outputType); - message.options !== undefined && (obj.options = message.options ? MethodOptions.toJSON(message.options) : undefined); - message.clientStreaming !== undefined && (obj.clientStreaming = message.clientStreaming); - message.serverStreaming !== undefined && (obj.serverStreaming = message.serverStreaming); - return obj; - }, fromPartial(object: Partial): MethodDescriptorProto { const message = createBaseMethodDescriptorProto(); message.name = object.name ?? ""; @@ -4117,60 +3810,6 @@ export const FileOptions = { } return message; }, - fromJSON(object: any): FileOptions { - return { - javaPackage: isSet(object.javaPackage) ? String(object.javaPackage) : "", - javaOuterClassname: isSet(object.javaOuterClassname) ? String(object.javaOuterClassname) : "", - javaMultipleFiles: isSet(object.javaMultipleFiles) ? Boolean(object.javaMultipleFiles) : false, - javaGenerateEqualsAndHash: isSet(object.javaGenerateEqualsAndHash) ? Boolean(object.javaGenerateEqualsAndHash) : false, - javaStringCheckUtf8: isSet(object.javaStringCheckUtf8) ? Boolean(object.javaStringCheckUtf8) : false, - optimizeFor: isSet(object.optimizeFor) ? fileOptions_OptimizeModeFromJSON(object.optimizeFor) : -1, - goPackage: isSet(object.goPackage) ? String(object.goPackage) : "", - ccGenericServices: isSet(object.ccGenericServices) ? Boolean(object.ccGenericServices) : false, - javaGenericServices: isSet(object.javaGenericServices) ? Boolean(object.javaGenericServices) : false, - pyGenericServices: isSet(object.pyGenericServices) ? Boolean(object.pyGenericServices) : false, - phpGenericServices: isSet(object.phpGenericServices) ? Boolean(object.phpGenericServices) : false, - deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, - ccEnableArenas: isSet(object.ccEnableArenas) ? Boolean(object.ccEnableArenas) : false, - objcClassPrefix: isSet(object.objcClassPrefix) ? String(object.objcClassPrefix) : "", - csharpNamespace: isSet(object.csharpNamespace) ? String(object.csharpNamespace) : "", - swiftPrefix: isSet(object.swiftPrefix) ? String(object.swiftPrefix) : "", - phpClassPrefix: isSet(object.phpClassPrefix) ? String(object.phpClassPrefix) : "", - phpNamespace: isSet(object.phpNamespace) ? String(object.phpNamespace) : "", - phpMetadataNamespace: isSet(object.phpMetadataNamespace) ? String(object.phpMetadataNamespace) : "", - rubyPackage: isSet(object.rubyPackage) ? String(object.rubyPackage) : "", - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: FileOptions): unknown { - const obj: any = {}; - message.javaPackage !== undefined && (obj.javaPackage = message.javaPackage); - message.javaOuterClassname !== undefined && (obj.javaOuterClassname = message.javaOuterClassname); - message.javaMultipleFiles !== undefined && (obj.javaMultipleFiles = message.javaMultipleFiles); - message.javaGenerateEqualsAndHash !== undefined && (obj.javaGenerateEqualsAndHash = message.javaGenerateEqualsAndHash); - message.javaStringCheckUtf8 !== undefined && (obj.javaStringCheckUtf8 = message.javaStringCheckUtf8); - message.optimizeFor !== undefined && (obj.optimizeFor = fileOptions_OptimizeModeToJSON(message.optimizeFor)); - message.goPackage !== undefined && (obj.goPackage = message.goPackage); - message.ccGenericServices !== undefined && (obj.ccGenericServices = message.ccGenericServices); - message.javaGenericServices !== undefined && (obj.javaGenericServices = message.javaGenericServices); - message.pyGenericServices !== undefined && (obj.pyGenericServices = message.pyGenericServices); - message.phpGenericServices !== undefined && (obj.phpGenericServices = message.phpGenericServices); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.ccEnableArenas !== undefined && (obj.ccEnableArenas = message.ccEnableArenas); - message.objcClassPrefix !== undefined && (obj.objcClassPrefix = message.objcClassPrefix); - message.csharpNamespace !== undefined && (obj.csharpNamespace = message.csharpNamespace); - message.swiftPrefix !== undefined && (obj.swiftPrefix = message.swiftPrefix); - message.phpClassPrefix !== undefined && (obj.phpClassPrefix = message.phpClassPrefix); - message.phpNamespace !== undefined && (obj.phpNamespace = message.phpNamespace); - message.phpMetadataNamespace !== undefined && (obj.phpMetadataNamespace = message.phpMetadataNamespace); - message.rubyPackage !== undefined && (obj.rubyPackage = message.rubyPackage); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): FileOptions { const message = createBaseFileOptions(); message.javaPackage = object.javaPackage ?? ""; @@ -4364,28 +4003,6 @@ export const MessageOptions = { } return message; }, - fromJSON(object: any): MessageOptions { - return { - messageSetWireFormat: isSet(object.messageSetWireFormat) ? Boolean(object.messageSetWireFormat) : false, - noStandardDescriptorAccessor: isSet(object.noStandardDescriptorAccessor) ? Boolean(object.noStandardDescriptorAccessor) : false, - deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, - mapEntry: isSet(object.mapEntry) ? Boolean(object.mapEntry) : false, - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: MessageOptions): unknown { - const obj: any = {}; - message.messageSetWireFormat !== undefined && (obj.messageSetWireFormat = message.messageSetWireFormat); - message.noStandardDescriptorAccessor !== undefined && (obj.noStandardDescriptorAccessor = message.noStandardDescriptorAccessor); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.mapEntry !== undefined && (obj.mapEntry = message.mapEntry); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): MessageOptions { const message = createBaseMessageOptions(); message.messageSetWireFormat = object.messageSetWireFormat ?? false; @@ -4513,32 +4130,6 @@ export const FieldOptions = { } return message; }, - fromJSON(object: any): FieldOptions { - return { - ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : -1, - packed: isSet(object.packed) ? Boolean(object.packed) : false, - jstype: isSet(object.jstype) ? fieldOptions_JSTypeFromJSON(object.jstype) : -1, - lazy: isSet(object.lazy) ? Boolean(object.lazy) : false, - deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, - weak: isSet(object.weak) ? Boolean(object.weak) : false, - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: FieldOptions): unknown { - const obj: any = {}; - message.ctype !== undefined && (obj.ctype = fieldOptions_CTypeToJSON(message.ctype)); - message.packed !== undefined && (obj.packed = message.packed); - message.jstype !== undefined && (obj.jstype = fieldOptions_JSTypeToJSON(message.jstype)); - message.lazy !== undefined && (obj.lazy = message.lazy); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.weak !== undefined && (obj.weak = message.weak); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): FieldOptions { const message = createBaseFieldOptions(); message.ctype = object.ctype ?? 1; @@ -4634,20 +4225,6 @@ export const OneofOptions = { } return message; }, - fromJSON(object: any): OneofOptions { - return { - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: OneofOptions): unknown { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): OneofOptions { const message = createBaseOneofOptions(); message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; @@ -4727,24 +4304,6 @@ export const EnumOptions = { } return message; }, - fromJSON(object: any): EnumOptions { - return { - allowAlias: isSet(object.allowAlias) ? Boolean(object.allowAlias) : false, - deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: EnumOptions): unknown { - const obj: any = {}; - message.allowAlias !== undefined && (obj.allowAlias = message.allowAlias); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): EnumOptions { const message = createBaseEnumOptions(); message.allowAlias = object.allowAlias ?? false; @@ -4827,22 +4386,6 @@ export const EnumValueOptions = { } return message; }, - fromJSON(object: any): EnumValueOptions { - return { - deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: EnumValueOptions): unknown { - const obj: any = {}; - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): EnumValueOptions { const message = createBaseEnumValueOptions(); message.deprecated = object.deprecated ?? false; @@ -4920,22 +4463,6 @@ export const ServiceOptions = { } return message; }, - fromJSON(object: any): ServiceOptions { - return { - deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: ServiceOptions): unknown { - const obj: any = {}; - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): ServiceOptions { const message = createBaseServiceOptions(); message.deprecated = object.deprecated ?? false; @@ -5020,24 +4547,6 @@ export const MethodOptions = { } return message; }, - fromJSON(object: any): MethodOptions { - return { - deprecated: isSet(object.deprecated) ? Boolean(object.deprecated) : false, - idempotencyLevel: isSet(object.idempotencyLevel) ? methodOptions_IdempotencyLevelFromJSON(object.idempotencyLevel) : -1, - uninterpretedOption: Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [] - }; - }, - toJSON(message: MethodOptions): unknown { - const obj: any = {}; - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.idempotencyLevel !== undefined && (obj.idempotencyLevel = methodOptions_IdempotencyLevelToJSON(message.idempotencyLevel)); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, fromPartial(object: Partial): MethodOptions { const message = createBaseMethodOptions(); message.deprecated = object.deprecated ?? false; @@ -5155,32 +4664,6 @@ export const UninterpretedOption = { } return message; }, - fromJSON(object: any): UninterpretedOption { - return { - name: Array.isArray(object?.name) ? object.name.map((e: any) => UninterpretedOption_NamePart.fromJSON(e)) : [], - identifierValue: isSet(object.identifierValue) ? String(object.identifierValue) : "", - positiveIntValue: isSet(object.positiveIntValue) ? BigInt(object.positiveIntValue.toString()) : BigInt(0), - negativeIntValue: isSet(object.negativeIntValue) ? BigInt(object.negativeIntValue.toString()) : BigInt(0), - doubleValue: isSet(object.doubleValue) ? Number(object.doubleValue) : 0, - stringValue: isSet(object.stringValue) ? bytesFromBase64(object.stringValue) : new Uint8Array(), - aggregateValue: isSet(object.aggregateValue) ? String(object.aggregateValue) : "" - }; - }, - toJSON(message: UninterpretedOption): unknown { - const obj: any = {}; - if (message.name) { - obj.name = message.name.map(e => e ? UninterpretedOption_NamePart.toJSON(e) : undefined); - } else { - obj.name = []; - } - message.identifierValue !== undefined && (obj.identifierValue = message.identifierValue); - message.positiveIntValue !== undefined && (obj.positiveIntValue = (message.positiveIntValue || BigInt(0)).toString()); - message.negativeIntValue !== undefined && (obj.negativeIntValue = (message.negativeIntValue || BigInt(0)).toString()); - message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue); - message.stringValue !== undefined && (obj.stringValue = base64FromBytes(message.stringValue !== undefined ? message.stringValue : new Uint8Array())); - message.aggregateValue !== undefined && (obj.aggregateValue = message.aggregateValue); - return obj; - }, fromPartial(object: Partial): UninterpretedOption { const message = createBaseUninterpretedOption(); message.name = object.name?.map(e => UninterpretedOption_NamePart.fromPartial(e)) || []; @@ -5283,18 +4766,6 @@ export const UninterpretedOption_NamePart = { } return message; }, - fromJSON(object: any): UninterpretedOption_NamePart { - return { - namePart: isSet(object.namePart) ? String(object.namePart) : "", - isExtension: isSet(object.isExtension) ? Boolean(object.isExtension) : false - }; - }, - toJSON(message: UninterpretedOption_NamePart): unknown { - const obj: any = {}; - message.namePart !== undefined && (obj.namePart = message.namePart); - message.isExtension !== undefined && (obj.isExtension = message.isExtension); - return obj; - }, fromPartial(object: Partial): UninterpretedOption_NamePart { const message = createBaseUninterpretedOption_NamePart(); message.namePart = object.namePart ?? ""; @@ -5363,20 +4834,6 @@ export const SourceCodeInfo = { } return message; }, - fromJSON(object: any): SourceCodeInfo { - return { - location: Array.isArray(object?.location) ? object.location.map((e: any) => SourceCodeInfo_Location.fromJSON(e)) : [] - }; - }, - toJSON(message: SourceCodeInfo): unknown { - const obj: any = {}; - if (message.location) { - obj.location = message.location.map(e => e ? SourceCodeInfo_Location.toJSON(e) : undefined); - } else { - obj.location = []; - } - return obj; - }, fromPartial(object: Partial): SourceCodeInfo { const message = createBaseSourceCodeInfo(); message.location = object.location?.map(e => SourceCodeInfo_Location.fromPartial(e)) || []; @@ -5488,36 +4945,6 @@ export const SourceCodeInfo_Location = { } return message; }, - fromJSON(object: any): SourceCodeInfo_Location { - return { - path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [], - span: Array.isArray(object?.span) ? object.span.map((e: any) => Number(e)) : [], - leadingComments: isSet(object.leadingComments) ? String(object.leadingComments) : "", - trailingComments: isSet(object.trailingComments) ? String(object.trailingComments) : "", - leadingDetachedComments: Array.isArray(object?.leadingDetachedComments) ? object.leadingDetachedComments.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: SourceCodeInfo_Location): unknown { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => Math.round(e)); - } else { - obj.path = []; - } - if (message.span) { - obj.span = message.span.map(e => Math.round(e)); - } else { - obj.span = []; - } - message.leadingComments !== undefined && (obj.leadingComments = message.leadingComments); - message.trailingComments !== undefined && (obj.trailingComments = message.trailingComments); - if (message.leadingDetachedComments) { - obj.leadingDetachedComments = message.leadingDetachedComments.map(e => e); - } else { - obj.leadingDetachedComments = []; - } - return obj; - }, fromPartial(object: Partial): SourceCodeInfo_Location { const message = createBaseSourceCodeInfo_Location(); message.path = object.path?.map(e => e) || []; @@ -5607,20 +5034,6 @@ export const GeneratedCodeInfo = { } return message; }, - fromJSON(object: any): GeneratedCodeInfo { - return { - annotation: Array.isArray(object?.annotation) ? object.annotation.map((e: any) => GeneratedCodeInfo_Annotation.fromJSON(e)) : [] - }; - }, - toJSON(message: GeneratedCodeInfo): unknown { - const obj: any = {}; - if (message.annotation) { - obj.annotation = message.annotation.map(e => e ? GeneratedCodeInfo_Annotation.toJSON(e) : undefined); - } else { - obj.annotation = []; - } - return obj; - }, fromPartial(object: Partial): GeneratedCodeInfo { const message = createBaseGeneratedCodeInfo(); message.annotation = object.annotation?.map(e => GeneratedCodeInfo_Annotation.fromPartial(e)) || []; @@ -5716,26 +5129,6 @@ export const GeneratedCodeInfo_Annotation = { } return message; }, - fromJSON(object: any): GeneratedCodeInfo_Annotation { - return { - path: Array.isArray(object?.path) ? object.path.map((e: any) => Number(e)) : [], - sourceFile: isSet(object.sourceFile) ? String(object.sourceFile) : "", - begin: isSet(object.begin) ? Number(object.begin) : 0, - end: isSet(object.end) ? Number(object.end) : 0 - }; - }, - toJSON(message: GeneratedCodeInfo_Annotation): unknown { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => Math.round(e)); - } else { - obj.path = []; - } - message.sourceFile !== undefined && (obj.sourceFile = message.sourceFile); - message.begin !== undefined && (obj.begin = Math.round(message.begin)); - message.end !== undefined && (obj.end = Math.round(message.end)); - return obj; - }, fromPartial(object: Partial): GeneratedCodeInfo_Annotation { const message = createBaseGeneratedCodeInfo_Annotation(); message.path = object.path?.map(e => e) || []; diff --git a/packages/api/src/codegen/google/protobuf/duration.ts b/packages/api/src/google/protobuf/duration.ts similarity index 95% rename from packages/api/src/codegen/google/protobuf/duration.ts rename to packages/api/src/google/protobuf/duration.ts index 3a2aff40..b1f793dd 100644 --- a/packages/api/src/codegen/google/protobuf/duration.ts +++ b/packages/api/src/google/protobuf/duration.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet } from "../../helpers"; /** * A Duration represents a signed, fixed-length span of time represented * as a count of seconds and fractions of seconds at nanosecond @@ -247,18 +247,6 @@ export const Duration = { } return message; }, - fromJSON(object: any): Duration { - return { - seconds: isSet(object.seconds) ? BigInt(object.seconds.toString()) : BigInt(0), - nanos: isSet(object.nanos) ? Number(object.nanos) : 0 - }; - }, - toJSON(message: Duration): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || BigInt(0)).toString()); - message.nanos !== undefined && (obj.nanos = Math.round(message.nanos)); - return obj; - }, fromPartial(object: Partial): Duration { const message = createBaseDuration(); message.seconds = object.seconds !== undefined && object.seconds !== null ? BigInt(object.seconds.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/google/protobuf/timestamp.ts b/packages/api/src/google/protobuf/timestamp.ts similarity index 96% rename from packages/api/src/codegen/google/protobuf/timestamp.ts rename to packages/api/src/google/protobuf/timestamp.ts index 95533b11..5dc8630a 100644 --- a/packages/api/src/codegen/google/protobuf/timestamp.ts +++ b/packages/api/src/google/protobuf/timestamp.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../helpers"; +import { fromJsonTimestamp, fromTimestamp } from "../../helpers"; /** * A Timestamp represents a point in time independent of any time zone or local * calendar, encoded as a count of seconds and fractions of seconds at @@ -317,18 +318,6 @@ export const Timestamp = { } return message; }, - fromJSON(object: any): Timestamp { - return { - seconds: isSet(object.seconds) ? BigInt(object.seconds.toString()) : BigInt(0), - nanos: isSet(object.nanos) ? Number(object.nanos) : 0 - }; - }, - toJSON(message: Timestamp): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || BigInt(0)).toString()); - message.nanos !== undefined && (obj.nanos = Math.round(message.nanos)); - return obj; - }, fromPartial(object: Partial): Timestamp { const message = createBaseTimestamp(); message.seconds = object.seconds !== undefined && object.seconds !== null ? BigInt(object.seconds.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/helpers.ts b/packages/api/src/helpers.ts similarity index 99% rename from packages/api/src/codegen/helpers.ts rename to packages/api/src/helpers.ts index 8fb6b0ed..2abb3287 100644 --- a/packages/api/src/codegen/helpers.ts +++ b/packages/api/src/helpers.ts @@ -1,3 +1,4 @@ +//@ts-nocheck /** * This file and any referenced files were automatically generated by @cosmology/telescope@1.5.2 * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/genesis.ts b/packages/api/src/ibc/applications/transfer/v1/genesis.ts similarity index 84% rename from packages/api/src/codegen/ibc/applications/transfer/v1/genesis.ts rename to packages/api/src/ibc/applications/transfer/v1/genesis.ts index b1170c5f..5b97f25a 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/genesis.ts +++ b/packages/api/src/ibc/applications/transfer/v1/genesis.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { DenomTrace, DenomTraceAmino, DenomTraceSDKType, Params, ParamsAmino, ParamsSDKType } from "./transfer"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** GenesisState defines the ibc-transfer genesis state */ export interface GenesisState { portId: string; @@ -71,24 +71,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - denomTraces: Array.isArray(object?.denomTraces) ? object.denomTraces.map((e: any) => DenomTrace.fromJSON(e)) : [], - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - if (message.denomTraces) { - obj.denomTraces = message.denomTraces.map(e => e ? DenomTrace.toJSON(e) : undefined); - } else { - obj.denomTraces = []; - } - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.portId = object.portId ?? ""; diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/query.lcd.ts b/packages/api/src/ibc/applications/transfer/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/ibc/applications/transfer/v1/query.lcd.ts rename to packages/api/src/ibc/applications/transfer/v1/query.lcd.ts index ea4047e7..bbe5f4f1 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +++ b/packages/api/src/ibc/applications/transfer/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDenomHashRequest, QueryDenomHashResponseSDKType, QueryEscrowAddressRequest, QueryEscrowAddressResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts b/packages/api/src/ibc/applications/transfer/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts rename to packages/api/src/ibc/applications/transfer/v1/query.rpc.Query.ts index d05b79df..e7569d62 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +++ b/packages/api/src/ibc/applications/transfer/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/query.ts b/packages/api/src/ibc/applications/transfer/v1/query.ts similarity index 90% rename from packages/api/src/codegen/ibc/applications/transfer/v1/query.ts rename to packages/api/src/ibc/applications/transfer/v1/query.ts index 0d8c1dd3..24ed2f9a 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/query.ts +++ b/packages/api/src/ibc/applications/transfer/v1/query.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; import { DenomTrace, DenomTraceAmino, DenomTraceSDKType, Params, ParamsAmino, ParamsSDKType } from "./transfer"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC * method @@ -308,16 +308,6 @@ export const QueryDenomTraceRequest = { } return message; }, - fromJSON(object: any): QueryDenomTraceRequest { - return { - hash: isSet(object.hash) ? String(object.hash) : "" - }; - }, - toJSON(message: QueryDenomTraceRequest): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = message.hash); - return obj; - }, fromPartial(object: Partial): QueryDenomTraceRequest { const message = createBaseQueryDenomTraceRequest(); message.hash = object.hash ?? ""; @@ -387,16 +377,6 @@ export const QueryDenomTraceResponse = { } return message; }, - fromJSON(object: any): QueryDenomTraceResponse { - return { - denomTrace: isSet(object.denomTrace) ? DenomTrace.fromJSON(object.denomTrace) : undefined - }; - }, - toJSON(message: QueryDenomTraceResponse): unknown { - const obj: any = {}; - message.denomTrace !== undefined && (obj.denomTrace = message.denomTrace ? DenomTrace.toJSON(message.denomTrace) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomTraceResponse { const message = createBaseQueryDenomTraceResponse(); message.denomTrace = object.denomTrace !== undefined && object.denomTrace !== null ? DenomTrace.fromPartial(object.denomTrace) : undefined; @@ -466,16 +446,6 @@ export const QueryDenomTracesRequest = { } return message; }, - fromJSON(object: any): QueryDenomTracesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDenomTracesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomTracesRequest { const message = createBaseQueryDenomTracesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -552,22 +522,6 @@ export const QueryDenomTracesResponse = { } return message; }, - fromJSON(object: any): QueryDenomTracesResponse { - return { - denomTraces: Array.isArray(object?.denomTraces) ? object.denomTraces.map((e: any) => DenomTrace.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryDenomTracesResponse): unknown { - const obj: any = {}; - if (message.denomTraces) { - obj.denomTraces = message.denomTraces.map(e => e ? DenomTrace.toJSON(e) : undefined); - } else { - obj.denomTraces = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryDenomTracesResponse { const message = createBaseQueryDenomTracesResponse(); message.denomTraces = object.denomTraces?.map(e => DenomTrace.fromPartial(e)) || []; @@ -636,13 +590,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -707,16 +654,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -786,16 +723,6 @@ export const QueryDenomHashRequest = { } return message; }, - fromJSON(object: any): QueryDenomHashRequest { - return { - trace: isSet(object.trace) ? String(object.trace) : "" - }; - }, - toJSON(message: QueryDenomHashRequest): unknown { - const obj: any = {}; - message.trace !== undefined && (obj.trace = message.trace); - return obj; - }, fromPartial(object: Partial): QueryDenomHashRequest { const message = createBaseQueryDenomHashRequest(); message.trace = object.trace ?? ""; @@ -865,16 +792,6 @@ export const QueryDenomHashResponse = { } return message; }, - fromJSON(object: any): QueryDenomHashResponse { - return { - hash: isSet(object.hash) ? String(object.hash) : "" - }; - }, - toJSON(message: QueryDenomHashResponse): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = message.hash); - return obj; - }, fromPartial(object: Partial): QueryDenomHashResponse { const message = createBaseQueryDenomHashResponse(); message.hash = object.hash ?? ""; @@ -951,18 +868,6 @@ export const QueryEscrowAddressRequest = { } return message; }, - fromJSON(object: any): QueryEscrowAddressRequest { - return { - portId: isSet(object.portId) ? String(object.portId) : "", - channelId: isSet(object.channelId) ? String(object.channelId) : "" - }; - }, - toJSON(message: QueryEscrowAddressRequest): unknown { - const obj: any = {}; - message.portId !== undefined && (obj.portId = message.portId); - message.channelId !== undefined && (obj.channelId = message.channelId); - return obj; - }, fromPartial(object: Partial): QueryEscrowAddressRequest { const message = createBaseQueryEscrowAddressRequest(); message.portId = object.portId ?? ""; @@ -1037,16 +942,6 @@ export const QueryEscrowAddressResponse = { } return message; }, - fromJSON(object: any): QueryEscrowAddressResponse { - return { - escrowAddress: isSet(object.escrowAddress) ? String(object.escrowAddress) : "" - }; - }, - toJSON(message: QueryEscrowAddressResponse): unknown { - const obj: any = {}; - message.escrowAddress !== undefined && (obj.escrowAddress = message.escrowAddress); - return obj; - }, fromPartial(object: Partial): QueryEscrowAddressResponse { const message = createBaseQueryEscrowAddressResponse(); message.escrowAddress = object.escrowAddress ?? ""; diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/transfer.ts b/packages/api/src/ibc/applications/transfer/v1/transfer.ts similarity index 89% rename from packages/api/src/codegen/ibc/applications/transfer/v1/transfer.ts rename to packages/api/src/ibc/applications/transfer/v1/transfer.ts index 3e7a452c..17df6cef 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/transfer.ts +++ b/packages/api/src/ibc/applications/transfer/v1/transfer.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** * DenomTrace contains the base denomination for ICS20 fungible tokens and the * source tracing information path. @@ -133,18 +133,6 @@ export const DenomTrace = { } return message; }, - fromJSON(object: any): DenomTrace { - return { - path: isSet(object.path) ? String(object.path) : "", - baseDenom: isSet(object.baseDenom) ? String(object.baseDenom) : "" - }; - }, - toJSON(message: DenomTrace): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = message.path); - message.baseDenom !== undefined && (obj.baseDenom = message.baseDenom); - return obj; - }, fromPartial(object: Partial): DenomTrace { const message = createBaseDenomTrace(); message.path = object.path ?? ""; @@ -226,18 +214,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - sendEnabled: isSet(object.sendEnabled) ? Boolean(object.sendEnabled) : false, - receiveEnabled: isSet(object.receiveEnabled) ? Boolean(object.receiveEnabled) : false - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.sendEnabled !== undefined && (obj.sendEnabled = message.sendEnabled); - message.receiveEnabled !== undefined && (obj.receiveEnabled = message.receiveEnabled); - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.sendEnabled = object.sendEnabled ?? false; diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.amino.ts b/packages/api/src/ibc/applications/transfer/v1/tx.amino.ts similarity index 94% rename from packages/api/src/codegen/ibc/applications/transfer/v1/tx.amino.ts rename to packages/api/src/ibc/applications/transfer/v1/tx.amino.ts index 65002c1e..7295985b 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +++ b/packages/api/src/ibc/applications/transfer/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgTransfer } from "./tx"; export const AminoConverter = { "/ibc.applications.transfer.v1.MsgTransfer": { diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.registry.ts b/packages/api/src/ibc/applications/transfer/v1/tx.registry.ts similarity index 72% rename from packages/api/src/codegen/ibc/applications/transfer/v1/tx.registry.ts rename to packages/api/src/ibc/applications/transfer/v1/tx.registry.ts index 64de2734..dae96a3a 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +++ b/packages/api/src/ibc/applications/transfer/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgTransfer } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.applications.transfer.v1.MsgTransfer", MsgTransfer]]; @@ -23,22 +24,6 @@ export const MessageComposer = { }; } }, - toJSON: { - transfer(value: MsgTransfer) { - return { - typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", - value: MsgTransfer.toJSON(value) - }; - } - }, - fromJSON: { - transfer(value: any) { - return { - typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", - value: MsgTransfer.fromJSON(value) - }; - } - }, fromPartial: { transfer(value: MsgTransfer) { return { diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts b/packages/api/src/ibc/applications/transfer/v1/tx.rpc.msg.ts similarity index 98% rename from packages/api/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts rename to packages/api/src/ibc/applications/transfer/v1/tx.rpc.msg.ts index c4f28579..3bc6a71d 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +++ b/packages/api/src/ibc/applications/transfer/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { MsgTransfer, MsgTransferResponse } from "./tx"; diff --git a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.ts b/packages/api/src/ibc/applications/transfer/v1/tx.ts similarity index 86% rename from packages/api/src/codegen/ibc/applications/transfer/v1/tx.ts rename to packages/api/src/ibc/applications/transfer/v1/tx.ts index 915c5f9f..194c0014 100644 --- a/packages/api/src/codegen/ibc/applications/transfer/v1/tx.ts +++ b/packages/api/src/ibc/applications/transfer/v1/tx.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; import { Height, HeightAmino, HeightSDKType } from "../../../core/client/v1/client"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between * ICS20 enabled chains. See ICS Spec here: @@ -164,28 +164,6 @@ export const MsgTransfer = { } return message; }, - fromJSON(object: any): MsgTransfer { - return { - sourcePort: isSet(object.sourcePort) ? String(object.sourcePort) : "", - sourceChannel: isSet(object.sourceChannel) ? String(object.sourceChannel) : "", - token: isSet(object.token) ? Coin.fromJSON(object.token) : undefined, - sender: isSet(object.sender) ? String(object.sender) : "", - receiver: isSet(object.receiver) ? String(object.receiver) : "", - timeoutHeight: isSet(object.timeoutHeight) ? Height.fromJSON(object.timeoutHeight) : undefined, - timeoutTimestamp: isSet(object.timeoutTimestamp) ? BigInt(object.timeoutTimestamp.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgTransfer): unknown { - const obj: any = {}; - message.sourcePort !== undefined && (obj.sourcePort = message.sourcePort); - message.sourceChannel !== undefined && (obj.sourceChannel = message.sourceChannel); - message.token !== undefined && (obj.token = message.token ? Coin.toJSON(message.token) : undefined); - message.sender !== undefined && (obj.sender = message.sender); - message.receiver !== undefined && (obj.receiver = message.receiver); - message.timeoutHeight !== undefined && (obj.timeoutHeight = message.timeoutHeight ? Height.toJSON(message.timeoutHeight) : undefined); - message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgTransfer { const message = createBaseMsgTransfer(); message.sourcePort = object.sourcePort ?? ""; @@ -277,13 +255,6 @@ export const MsgTransferResponse = { } return message; }, - fromJSON(_: any): MsgTransferResponse { - return {}; - }, - toJSON(_: MsgTransferResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgTransferResponse { const message = createBaseMsgTransferResponse(); return message; diff --git a/packages/api/src/ibc/bundle.ts b/packages/api/src/ibc/bundle.ts new file mode 100644 index 00000000..3c6b92fa --- /dev/null +++ b/packages/api/src/ibc/bundle.ts @@ -0,0 +1,59 @@ +//@ts-nocheck +import * as _68 from "./applications/transfer/v1/genesis"; +import * as _69 from "./applications/transfer/v1/query"; +import * as _70 from "./applications/transfer/v1/transfer"; +import * as _71 from "./applications/transfer/v1/tx"; +import * as _72 from "./core/client/v1/client"; +import * as _73 from "./core/client/v1/genesis"; +import * as _74 from "./core/client/v1/query"; +import * as _75 from "./core/client/v1/tx"; +import * as _177 from "./applications/transfer/v1/tx.amino"; +import * as _178 from "./core/client/v1/tx.amino"; +import * as _179 from "./applications/transfer/v1/tx.registry"; +import * as _180 from "./core/client/v1/tx.registry"; +import * as _181 from "./applications/transfer/v1/query.lcd"; +import * as _182 from "./core/client/v1/query.lcd"; +import * as _183 from "./applications/transfer/v1/query.rpc.Query"; +import * as _184 from "./core/client/v1/query.rpc.Query"; +import * as _185 from "./applications/transfer/v1/tx.rpc.msg"; +import * as _186 from "./core/client/v1/tx.rpc.msg"; +import * as _220 from "./lcd"; +import * as _221 from "./rpc.query"; +import * as _222 from "./rpc.tx"; +export namespace ibc { + export namespace applications { + export namespace transfer { + export const v1 = { + ..._68, + ..._69, + ..._70, + ..._71, + ..._177, + ..._179, + ..._181, + ..._183, + ..._185 + }; + } + } + export namespace core { + export namespace client { + export const v1 = { + ..._72, + ..._73, + ..._74, + ..._75, + ..._178, + ..._180, + ..._182, + ..._184, + ..._186 + }; + } + } + export const ClientFactory = { + ..._220, + ..._221, + ..._222 + }; +} \ No newline at end of file diff --git a/packages/api/src/codegen/ibc/client.ts b/packages/api/src/ibc/client.ts similarity index 99% rename from packages/api/src/codegen/ibc/client.ts rename to packages/api/src/ibc/client.ts index 7f972f22..e499f23c 100644 --- a/packages/api/src/codegen/ibc/client.ts +++ b/packages/api/src/ibc/client.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; diff --git a/packages/api/src/codegen/ibc/core/client/v1/client.ts b/packages/api/src/ibc/core/client/v1/client.ts similarity index 87% rename from packages/api/src/codegen/ibc/core/client/v1/client.ts rename to packages/api/src/ibc/core/client/v1/client.ts index 8137f85d..c2949ed9 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/client.ts +++ b/packages/api/src/ibc/core/client/v1/client.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { Plan, PlanAmino, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** * IdentifiedClientState defines a client state with an additional client * identifier field. @@ -345,18 +345,6 @@ export const IdentifiedClientState = { } return message; }, - fromJSON(object: any): IdentifiedClientState { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined - }; - }, - toJSON(message: IdentifiedClientState): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - return obj; - }, fromPartial(object: Partial): IdentifiedClientState { const message = createBaseIdentifiedClientState(); message.clientId = object.clientId ?? ""; @@ -438,18 +426,6 @@ export const ConsensusStateWithHeight = { } return message; }, - fromJSON(object: any): ConsensusStateWithHeight { - return { - height: isSet(object.height) ? Height.fromJSON(object.height) : undefined, - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined - }; - }, - toJSON(message: ConsensusStateWithHeight): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = message.height ? Height.toJSON(message.height) : undefined); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - return obj; - }, fromPartial(object: Partial): ConsensusStateWithHeight { const message = createBaseConsensusStateWithHeight(); message.height = object.height !== undefined && object.height !== null ? Height.fromPartial(object.height) : undefined; @@ -531,22 +507,6 @@ export const ClientConsensusStates = { } return message; }, - fromJSON(object: any): ClientConsensusStates { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - consensusStates: Array.isArray(object?.consensusStates) ? object.consensusStates.map((e: any) => ConsensusStateWithHeight.fromJSON(e)) : [] - }; - }, - toJSON(message: ClientConsensusStates): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - if (message.consensusStates) { - obj.consensusStates = message.consensusStates.map(e => e ? ConsensusStateWithHeight.toJSON(e) : undefined); - } else { - obj.consensusStates = []; - } - return obj; - }, fromPartial(object: Partial): ClientConsensusStates { const message = createBaseClientConsensusStates(); message.clientId = object.clientId ?? ""; @@ -645,22 +605,6 @@ export const ClientUpdateProposal = { } return message; }, - fromJSON(object: any): ClientUpdateProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - subjectClientId: isSet(object.subjectClientId) ? String(object.subjectClientId) : "", - substituteClientId: isSet(object.substituteClientId) ? String(object.substituteClientId) : "" - }; - }, - toJSON(message: ClientUpdateProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.subjectClientId !== undefined && (obj.subjectClientId = message.subjectClientId); - message.substituteClientId !== undefined && (obj.substituteClientId = message.substituteClientId); - return obj; - }, fromPartial(object: Partial): ClientUpdateProposal { const message = createBaseClientUpdateProposal(); message.title = object.title ?? ""; @@ -767,22 +711,6 @@ export const UpgradeProposal = { } return message; }, - fromJSON(object: any): UpgradeProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - plan: isSet(object.plan) ? Plan.fromJSON(object.plan) : undefined, - upgradedClientState: isSet(object.upgradedClientState) ? Any.fromJSON(object.upgradedClientState) : undefined - }; - }, - toJSON(message: UpgradeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.plan !== undefined && (obj.plan = message.plan ? Plan.toJSON(message.plan) : undefined); - message.upgradedClientState !== undefined && (obj.upgradedClientState = message.upgradedClientState ? Any.toJSON(message.upgradedClientState) : undefined); - return obj; - }, fromPartial(object: Partial): UpgradeProposal { const message = createBaseUpgradeProposal(); message.title = object.title ?? ""; @@ -874,18 +802,6 @@ export const Height = { } return message; }, - fromJSON(object: any): Height { - return { - revisionNumber: isSet(object.revisionNumber) ? BigInt(object.revisionNumber.toString()) : BigInt(0), - revisionHeight: isSet(object.revisionHeight) ? BigInt(object.revisionHeight.toString()) : BigInt(0) - }; - }, - toJSON(message: Height): unknown { - const obj: any = {}; - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || BigInt(0)).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): Height { const message = createBaseHeight(); message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? BigInt(object.revisionNumber.toString()) : BigInt(0); @@ -956,20 +872,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - allowedClients: Array.isArray(object?.allowedClients) ? object.allowedClients.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - if (message.allowedClients) { - obj.allowedClients = message.allowedClients.map(e => e); - } else { - obj.allowedClients = []; - } - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.allowedClients = object.allowedClients?.map(e => e) || []; diff --git a/packages/api/src/codegen/ibc/core/client/v1/genesis.ts b/packages/api/src/ibc/core/client/v1/genesis.ts similarity index 83% rename from packages/api/src/codegen/ibc/core/client/v1/genesis.ts rename to packages/api/src/ibc/core/client/v1/genesis.ts index 2367e918..11c02eed 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/genesis.ts +++ b/packages/api/src/ibc/core/client/v1/genesis.ts @@ -1,6 +1,7 @@ +//@ts-nocheck import { IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesAmino, ClientConsensusStatesSDKType, Params, ParamsAmino, ParamsSDKType } from "./client"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** GenesisState defines the ibc client submodule's genesis state. */ export interface GenesisState { /** client states with their corresponding identifiers */ @@ -179,38 +180,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - clients: Array.isArray(object?.clients) ? object.clients.map((e: any) => IdentifiedClientState.fromJSON(e)) : [], - clientsConsensus: Array.isArray(object?.clientsConsensus) ? object.clientsConsensus.map((e: any) => ClientConsensusStates.fromJSON(e)) : [], - clientsMetadata: Array.isArray(object?.clientsMetadata) ? object.clientsMetadata.map((e: any) => IdentifiedGenesisMetadata.fromJSON(e)) : [], - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - createLocalhost: isSet(object.createLocalhost) ? Boolean(object.createLocalhost) : false, - nextClientSequence: isSet(object.nextClientSequence) ? BigInt(object.nextClientSequence.toString()) : BigInt(0) - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.clients) { - obj.clients = message.clients.map(e => e ? IdentifiedClientState.toJSON(e) : undefined); - } else { - obj.clients = []; - } - if (message.clientsConsensus) { - obj.clientsConsensus = message.clientsConsensus.map(e => e ? ClientConsensusStates.toJSON(e) : undefined); - } else { - obj.clientsConsensus = []; - } - if (message.clientsMetadata) { - obj.clientsMetadata = message.clientsMetadata.map(e => e ? IdentifiedGenesisMetadata.toJSON(e) : undefined); - } else { - obj.clientsMetadata = []; - } - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - message.createLocalhost !== undefined && (obj.createLocalhost = message.createLocalhost); - message.nextClientSequence !== undefined && (obj.nextClientSequence = (message.nextClientSequence || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.clients = object.clients?.map(e => IdentifiedClientState.fromPartial(e)) || []; @@ -318,18 +287,6 @@ export const GenesisMetadata = { } return message; }, - fromJSON(object: any): GenesisMetadata { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array() - }; - }, - toJSON(message: GenesisMetadata): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): GenesisMetadata { const message = createBaseGenesisMetadata(); message.key = object.key ?? new Uint8Array(); @@ -411,22 +368,6 @@ export const IdentifiedGenesisMetadata = { } return message; }, - fromJSON(object: any): IdentifiedGenesisMetadata { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - clientMetadata: Array.isArray(object?.clientMetadata) ? object.clientMetadata.map((e: any) => GenesisMetadata.fromJSON(e)) : [] - }; - }, - toJSON(message: IdentifiedGenesisMetadata): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - if (message.clientMetadata) { - obj.clientMetadata = message.clientMetadata.map(e => e ? GenesisMetadata.toJSON(e) : undefined); - } else { - obj.clientMetadata = []; - } - return obj; - }, fromPartial(object: Partial): IdentifiedGenesisMetadata { const message = createBaseIdentifiedGenesisMetadata(); message.clientId = object.clientId ?? ""; diff --git a/packages/api/src/codegen/ibc/core/client/v1/query.lcd.ts b/packages/api/src/ibc/core/client/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/ibc/core/client/v1/query.lcd.ts rename to packages/api/src/ibc/core/client/v1/query.lcd.ts index bdd5fd85..3fc23a1c 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/query.lcd.ts +++ b/packages/api/src/ibc/core/client/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryConsensusStateHeightsRequest, QueryConsensusStateHeightsResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/ibc/core/client/v1/query.rpc.Query.ts b/packages/api/src/ibc/core/client/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/ibc/core/client/v1/query.rpc.Query.ts rename to packages/api/src/ibc/core/client/v1/query.rpc.Query.ts index b859352b..34301774 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +++ b/packages/api/src/ibc/core/client/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/ibc/core/client/v1/query.ts b/packages/api/src/ibc/core/client/v1/query.ts similarity index 89% rename from packages/api/src/codegen/ibc/core/client/v1/query.ts rename to packages/api/src/ibc/core/client/v1/query.ts index ae857498..fefb8050 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/query.ts +++ b/packages/api/src/ibc/core/client/v1/query.ts @@ -1,8 +1,9 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightAmino, ConsensusStateWithHeightSDKType, Params, ParamsAmino, ParamsSDKType } from "./client"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** * QueryClientStateRequest is the request type for the Query/ClientState RPC * method @@ -637,16 +638,6 @@ export const QueryClientStateRequest = { } return message; }, - fromJSON(object: any): QueryClientStateRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "" - }; - }, - toJSON(message: QueryClientStateRequest): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - return obj; - }, fromPartial(object: Partial): QueryClientStateRequest { const message = createBaseQueryClientStateRequest(); message.clientId = object.clientId ?? ""; @@ -730,20 +721,6 @@ export const QueryClientStateResponse = { } return message; }, - fromJSON(object: any): QueryClientStateResponse { - return { - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - toJSON(message: QueryClientStateResponse): unknown { - const obj: any = {}; - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - message.proof !== undefined && (obj.proof = base64FromBytes(message.proof !== undefined ? message.proof : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClientStateResponse { const message = createBaseQueryClientStateResponse(); message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; @@ -823,16 +800,6 @@ export const QueryClientStatesRequest = { } return message; }, - fromJSON(object: any): QueryClientStatesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClientStatesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClientStatesRequest { const message = createBaseQueryClientStatesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -909,22 +876,6 @@ export const QueryClientStatesResponse = { } return message; }, - fromJSON(object: any): QueryClientStatesResponse { - return { - clientStates: Array.isArray(object?.clientStates) ? object.clientStates.map((e: any) => IdentifiedClientState.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClientStatesResponse): unknown { - const obj: any = {}; - if (message.clientStates) { - obj.clientStates = message.clientStates.map(e => e ? IdentifiedClientState.toJSON(e) : undefined); - } else { - obj.clientStates = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClientStatesResponse { const message = createBaseQueryClientStatesResponse(); message.clientStates = object.clientStates?.map(e => IdentifiedClientState.fromPartial(e)) || []; @@ -1022,22 +973,6 @@ export const QueryConsensusStateRequest = { } return message; }, - fromJSON(object: any): QueryConsensusStateRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - revisionNumber: isSet(object.revisionNumber) ? BigInt(object.revisionNumber.toString()) : BigInt(0), - revisionHeight: isSet(object.revisionHeight) ? BigInt(object.revisionHeight.toString()) : BigInt(0), - latestHeight: isSet(object.latestHeight) ? Boolean(object.latestHeight) : false - }; - }, - toJSON(message: QueryConsensusStateRequest): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.revisionNumber !== undefined && (obj.revisionNumber = (message.revisionNumber || BigInt(0)).toString()); - message.revisionHeight !== undefined && (obj.revisionHeight = (message.revisionHeight || BigInt(0)).toString()); - message.latestHeight !== undefined && (obj.latestHeight = message.latestHeight); - return obj; - }, fromPartial(object: Partial): QueryConsensusStateRequest { const message = createBaseQueryConsensusStateRequest(); message.clientId = object.clientId ?? ""; @@ -1136,20 +1071,6 @@ export const QueryConsensusStateResponse = { } return message; }, - fromJSON(object: any): QueryConsensusStateResponse { - return { - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, - proof: isSet(object.proof) ? bytesFromBase64(object.proof) : new Uint8Array(), - proofHeight: isSet(object.proofHeight) ? Height.fromJSON(object.proofHeight) : undefined - }; - }, - toJSON(message: QueryConsensusStateResponse): unknown { - const obj: any = {}; - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - message.proof !== undefined && (obj.proof = base64FromBytes(message.proof !== undefined ? message.proof : new Uint8Array())); - message.proofHeight !== undefined && (obj.proofHeight = message.proofHeight ? Height.toJSON(message.proofHeight) : undefined); - return obj; - }, fromPartial(object: Partial): QueryConsensusStateResponse { const message = createBaseQueryConsensusStateResponse(); message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined; @@ -1236,18 +1157,6 @@ export const QueryConsensusStatesRequest = { } return message; }, - fromJSON(object: any): QueryConsensusStatesRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryConsensusStatesRequest): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryConsensusStatesRequest { const message = createBaseQueryConsensusStatesRequest(); message.clientId = object.clientId ?? ""; @@ -1329,22 +1238,6 @@ export const QueryConsensusStatesResponse = { } return message; }, - fromJSON(object: any): QueryConsensusStatesResponse { - return { - consensusStates: Array.isArray(object?.consensusStates) ? object.consensusStates.map((e: any) => ConsensusStateWithHeight.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryConsensusStatesResponse): unknown { - const obj: any = {}; - if (message.consensusStates) { - obj.consensusStates = message.consensusStates.map(e => e ? ConsensusStateWithHeight.toJSON(e) : undefined); - } else { - obj.consensusStates = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryConsensusStatesResponse { const message = createBaseQueryConsensusStatesResponse(); message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || []; @@ -1428,18 +1321,6 @@ export const QueryConsensusStateHeightsRequest = { } return message; }, - fromJSON(object: any): QueryConsensusStateHeightsRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryConsensusStateHeightsRequest): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryConsensusStateHeightsRequest { const message = createBaseQueryConsensusStateHeightsRequest(); message.clientId = object.clientId ?? ""; @@ -1521,22 +1402,6 @@ export const QueryConsensusStateHeightsResponse = { } return message; }, - fromJSON(object: any): QueryConsensusStateHeightsResponse { - return { - consensusStateHeights: Array.isArray(object?.consensusStateHeights) ? object.consensusStateHeights.map((e: any) => Height.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryConsensusStateHeightsResponse): unknown { - const obj: any = {}; - if (message.consensusStateHeights) { - obj.consensusStateHeights = message.consensusStateHeights.map(e => e ? Height.toJSON(e) : undefined); - } else { - obj.consensusStateHeights = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryConsensusStateHeightsResponse { const message = createBaseQueryConsensusStateHeightsResponse(); message.consensusStateHeights = object.consensusStateHeights?.map(e => Height.fromPartial(e)) || []; @@ -1613,16 +1478,6 @@ export const QueryClientStatusRequest = { } return message; }, - fromJSON(object: any): QueryClientStatusRequest { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "" - }; - }, - toJSON(message: QueryClientStatusRequest): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - return obj; - }, fromPartial(object: Partial): QueryClientStatusRequest { const message = createBaseQueryClientStatusRequest(); message.clientId = object.clientId ?? ""; @@ -1692,16 +1547,6 @@ export const QueryClientStatusResponse = { } return message; }, - fromJSON(object: any): QueryClientStatusResponse { - return { - status: isSet(object.status) ? String(object.status) : "" - }; - }, - toJSON(message: QueryClientStatusResponse): unknown { - const obj: any = {}; - message.status !== undefined && (obj.status = message.status); - return obj; - }, fromPartial(object: Partial): QueryClientStatusResponse { const message = createBaseQueryClientStatusResponse(); message.status = object.status ?? ""; @@ -1763,13 +1608,6 @@ export const QueryClientParamsRequest = { } return message; }, - fromJSON(_: any): QueryClientParamsRequest { - return {}; - }, - toJSON(_: QueryClientParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryClientParamsRequest { const message = createBaseQueryClientParamsRequest(); return message; @@ -1834,16 +1672,6 @@ export const QueryClientParamsResponse = { } return message; }, - fromJSON(object: any): QueryClientParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryClientParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClientParamsResponse { const message = createBaseQueryClientParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -1905,13 +1733,6 @@ export const QueryUpgradedClientStateRequest = { } return message; }, - fromJSON(_: any): QueryUpgradedClientStateRequest { - return {}; - }, - toJSON(_: QueryUpgradedClientStateRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryUpgradedClientStateRequest { const message = createBaseQueryUpgradedClientStateRequest(); return message; @@ -1976,16 +1797,6 @@ export const QueryUpgradedClientStateResponse = { } return message; }, - fromJSON(object: any): QueryUpgradedClientStateResponse { - return { - upgradedClientState: isSet(object.upgradedClientState) ? Any.fromJSON(object.upgradedClientState) : undefined - }; - }, - toJSON(message: QueryUpgradedClientStateResponse): unknown { - const obj: any = {}; - message.upgradedClientState !== undefined && (obj.upgradedClientState = message.upgradedClientState ? Any.toJSON(message.upgradedClientState) : undefined); - return obj; - }, fromPartial(object: Partial): QueryUpgradedClientStateResponse { const message = createBaseQueryUpgradedClientStateResponse(); message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined; @@ -2047,13 +1858,6 @@ export const QueryUpgradedConsensusStateRequest = { } return message; }, - fromJSON(_: any): QueryUpgradedConsensusStateRequest { - return {}; - }, - toJSON(_: QueryUpgradedConsensusStateRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryUpgradedConsensusStateRequest { const message = createBaseQueryUpgradedConsensusStateRequest(); return message; @@ -2118,16 +1922,6 @@ export const QueryUpgradedConsensusStateResponse = { } return message; }, - fromJSON(object: any): QueryUpgradedConsensusStateResponse { - return { - upgradedConsensusState: isSet(object.upgradedConsensusState) ? Any.fromJSON(object.upgradedConsensusState) : undefined - }; - }, - toJSON(message: QueryUpgradedConsensusStateResponse): unknown { - const obj: any = {}; - message.upgradedConsensusState !== undefined && (obj.upgradedConsensusState = message.upgradedConsensusState ? Any.toJSON(message.upgradedConsensusState) : undefined); - return obj; - }, fromPartial(object: Partial): QueryUpgradedConsensusStateResponse { const message = createBaseQueryUpgradedConsensusStateResponse(); message.upgradedConsensusState = object.upgradedConsensusState !== undefined && object.upgradedConsensusState !== null ? Any.fromPartial(object.upgradedConsensusState) : undefined; diff --git a/packages/api/src/codegen/ibc/core/client/v1/tx.amino.ts b/packages/api/src/ibc/core/client/v1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/ibc/core/client/v1/tx.amino.ts rename to packages/api/src/ibc/core/client/v1/tx.amino.ts index a3cd3860..1e8e1dca 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/tx.amino.ts +++ b/packages/api/src/ibc/core/client/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; export const AminoConverter = { "/ibc.core.client.v1.MsgCreateClient": { diff --git a/packages/api/src/codegen/ibc/core/client/v1/tx.registry.ts b/packages/api/src/ibc/core/client/v1/tx.registry.ts similarity index 66% rename from packages/api/src/codegen/ibc/core/client/v1/tx.registry.ts rename to packages/api/src/ibc/core/client/v1/tx.registry.ts index ade3b5b0..fe83153f 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/tx.registry.ts +++ b/packages/api/src/ibc/core/client/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/ibc.core.client.v1.MsgCreateClient", MsgCreateClient], ["/ibc.core.client.v1.MsgUpdateClient", MsgUpdateClient], ["/ibc.core.client.v1.MsgUpgradeClient", MsgUpgradeClient], ["/ibc.core.client.v1.MsgSubmitMisbehaviour", MsgSubmitMisbehaviour]]; @@ -59,58 +60,6 @@ export const MessageComposer = { }; } }, - toJSON: { - createClient(value: MsgCreateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgCreateClient", - value: MsgCreateClient.toJSON(value) - }; - }, - updateClient(value: MsgUpdateClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpdateClient", - value: MsgUpdateClient.toJSON(value) - }; - }, - upgradeClient(value: MsgUpgradeClient) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", - value: MsgUpgradeClient.toJSON(value) - }; - }, - submitMisbehaviour(value: MsgSubmitMisbehaviour) { - return { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", - value: MsgSubmitMisbehaviour.toJSON(value) - }; - } - }, - fromJSON: { - createClient(value: any) { - return { - typeUrl: "/ibc.core.client.v1.MsgCreateClient", - value: MsgCreateClient.fromJSON(value) - }; - }, - updateClient(value: any) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpdateClient", - value: MsgUpdateClient.fromJSON(value) - }; - }, - upgradeClient(value: any) { - return { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClient", - value: MsgUpgradeClient.fromJSON(value) - }; - }, - submitMisbehaviour(value: any) { - return { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour", - value: MsgSubmitMisbehaviour.fromJSON(value) - }; - } - }, fromPartial: { createClient(value: MsgCreateClient) { return { diff --git a/packages/api/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts b/packages/api/src/ibc/core/client/v1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts rename to packages/api/src/ibc/core/client/v1/tx.rpc.msg.ts index 29890ac8..894e0158 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +++ b/packages/api/src/ibc/core/client/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; diff --git a/packages/api/src/codegen/ibc/core/client/v1/tx.ts b/packages/api/src/ibc/core/client/v1/tx.ts similarity index 88% rename from packages/api/src/codegen/ibc/core/client/v1/tx.ts rename to packages/api/src/ibc/core/client/v1/tx.ts index f2f3b326..f3bea595 100644 --- a/packages/api/src/codegen/ibc/core/client/v1/tx.ts +++ b/packages/api/src/ibc/core/client/v1/tx.ts @@ -1,6 +1,7 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** MsgCreateClient defines a message to create an IBC client */ export interface MsgCreateClient { /** light client state */ @@ -304,20 +305,6 @@ export const MsgCreateClient = { } return message; }, - fromJSON(object: any): MsgCreateClient { - return { - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - toJSON(message: MsgCreateClient): unknown { - const obj: any = {}; - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, fromPartial(object: Partial): MsgCreateClient { const message = createBaseMsgCreateClient(); message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined; @@ -389,13 +376,6 @@ export const MsgCreateClientResponse = { } return message; }, - fromJSON(_: any): MsgCreateClientResponse { - return {}; - }, - toJSON(_: MsgCreateClientResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCreateClientResponse { const message = createBaseMsgCreateClientResponse(); return message; @@ -474,20 +454,6 @@ export const MsgUpdateClient = { } return message; }, - fromJSON(object: any): MsgUpdateClient { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - clientMessage: isSet(object.clientMessage) ? Any.fromJSON(object.clientMessage) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - toJSON(message: MsgUpdateClient): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.clientMessage !== undefined && (obj.clientMessage = message.clientMessage ? Any.toJSON(message.clientMessage) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, fromPartial(object: Partial): MsgUpdateClient { const message = createBaseMsgUpdateClient(); message.clientId = object.clientId ?? ""; @@ -559,13 +525,6 @@ export const MsgUpdateClientResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClientResponse { - return {}; - }, - toJSON(_: MsgUpdateClientResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClientResponse { const message = createBaseMsgUpdateClientResponse(); return message; @@ -665,26 +624,6 @@ export const MsgUpgradeClient = { } return message; }, - fromJSON(object: any): MsgUpgradeClient { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - clientState: isSet(object.clientState) ? Any.fromJSON(object.clientState) : undefined, - consensusState: isSet(object.consensusState) ? Any.fromJSON(object.consensusState) : undefined, - proofUpgradeClient: isSet(object.proofUpgradeClient) ? bytesFromBase64(object.proofUpgradeClient) : new Uint8Array(), - proofUpgradeConsensusState: isSet(object.proofUpgradeConsensusState) ? bytesFromBase64(object.proofUpgradeConsensusState) : new Uint8Array(), - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - toJSON(message: MsgUpgradeClient): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.clientState !== undefined && (obj.clientState = message.clientState ? Any.toJSON(message.clientState) : undefined); - message.consensusState !== undefined && (obj.consensusState = message.consensusState ? Any.toJSON(message.consensusState) : undefined); - message.proofUpgradeClient !== undefined && (obj.proofUpgradeClient = base64FromBytes(message.proofUpgradeClient !== undefined ? message.proofUpgradeClient : new Uint8Array())); - message.proofUpgradeConsensusState !== undefined && (obj.proofUpgradeConsensusState = base64FromBytes(message.proofUpgradeConsensusState !== undefined ? message.proofUpgradeConsensusState : new Uint8Array())); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, fromPartial(object: Partial): MsgUpgradeClient { const message = createBaseMsgUpgradeClient(); message.clientId = object.clientId ?? ""; @@ -771,13 +710,6 @@ export const MsgUpgradeClientResponse = { } return message; }, - fromJSON(_: any): MsgUpgradeClientResponse { - return {}; - }, - toJSON(_: MsgUpgradeClientResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpgradeClientResponse { const message = createBaseMsgUpgradeClientResponse(); return message; @@ -856,20 +788,6 @@ export const MsgSubmitMisbehaviour = { } return message; }, - fromJSON(object: any): MsgSubmitMisbehaviour { - return { - clientId: isSet(object.clientId) ? String(object.clientId) : "", - misbehaviour: isSet(object.misbehaviour) ? Any.fromJSON(object.misbehaviour) : undefined, - signer: isSet(object.signer) ? String(object.signer) : "" - }; - }, - toJSON(message: MsgSubmitMisbehaviour): unknown { - const obj: any = {}; - message.clientId !== undefined && (obj.clientId = message.clientId); - message.misbehaviour !== undefined && (obj.misbehaviour = message.misbehaviour ? Any.toJSON(message.misbehaviour) : undefined); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, fromPartial(object: Partial): MsgSubmitMisbehaviour { const message = createBaseMsgSubmitMisbehaviour(); message.clientId = object.clientId ?? ""; @@ -941,13 +859,6 @@ export const MsgSubmitMisbehaviourResponse = { } return message; }, - fromJSON(_: any): MsgSubmitMisbehaviourResponse { - return {}; - }, - toJSON(_: MsgSubmitMisbehaviourResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSubmitMisbehaviourResponse { const message = createBaseMsgSubmitMisbehaviourResponse(); return message; diff --git a/packages/api/src/codegen/ibc/lcd.ts b/packages/api/src/ibc/lcd.ts similarity index 81% rename from packages/api/src/codegen/ibc/lcd.ts rename to packages/api/src/ibc/lcd.ts index 3afd3f59..1696e63a 100644 --- a/packages/api/src/codegen/ibc/lcd.ts +++ b/packages/api/src/ibc/lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; export const createLCDClient = async ({ restEndpoint @@ -29,11 +30,6 @@ export const createLCDClient = async ({ v1beta1: new (await import("../cosmos/base/node/v1beta1/query.lcd")).LCDQueryClient({ requestClient }) - }, - tendermint: { - v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) } }, distribution: { @@ -41,11 +37,6 @@ export const createLCDClient = async ({ requestClient }) }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, feegrant: { v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ requestClient @@ -69,21 +60,11 @@ export const createLCDClient = async ({ requestClient }) }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, params: { v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ requestClient }) }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, staking: { v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ requestClient diff --git a/packages/api/src/codegen/ibc/rpc.query.ts b/packages/api/src/ibc/rpc.query.ts similarity index 78% rename from packages/api/src/codegen/ibc/rpc.query.ts rename to packages/api/src/ibc/rpc.query.ts index 69f66c56..daad1f9a 100644 --- a/packages/api/src/codegen/ibc/rpc.query.ts +++ b/packages/api/src/ibc/rpc.query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; import { QueryClient } from "@cosmjs/stargate"; export const createRPCQueryClient = async ({ @@ -9,9 +10,6 @@ export const createRPCQueryClient = async ({ const client = new QueryClient(tmClient); return { cosmos: { - app: { - v1alpha1: (await import("../cosmos/app/v1alpha1/query.rpc.Query")).createRpcQueryExtension(client) - }, auth: { v1beta1: (await import("../cosmos/auth/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, @@ -24,17 +22,11 @@ export const createRPCQueryClient = async ({ base: { node: { v1beta1: (await import("../cosmos/base/node/v1beta1/query.rpc.Service")).createRpcQueryExtension(client) - }, - tendermint: { - v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.Service")).createRpcQueryExtension(client) } }, distribution: { v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - evidence: { - v1beta1: (await import("../cosmos/evidence/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, feegrant: { v1beta1: (await import("../cosmos/feegrant/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, @@ -48,15 +40,9 @@ export const createRPCQueryClient = async ({ mint: { v1beta1: (await import("../cosmos/mint/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - nft: { - v1beta1: (await import("../cosmos/nft/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, params: { v1beta1: (await import("../cosmos/params/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - slashing: { - v1beta1: (await import("../cosmos/slashing/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, staking: { v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, diff --git a/packages/api/src/codegen/ibc/rpc.tx.ts b/packages/api/src/ibc/rpc.tx.ts similarity index 76% rename from packages/api/src/codegen/ibc/rpc.tx.ts rename to packages/api/src/ibc/rpc.tx.ts index c91f9711..612e383b 100644 --- a/packages/api/src/codegen/ibc/rpc.tx.ts +++ b/packages/api/src/ibc/rpc.tx.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc @@ -11,15 +12,9 @@ export const createRPCMsgClient = async ({ bank: { v1beta1: new (await import("../cosmos/bank/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, - crisis: { - v1beta1: new (await import("../cosmos/crisis/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, distribution: { v1beta1: new (await import("../cosmos/distribution/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, feegrant: { v1beta1: new (await import("../cosmos/feegrant/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, @@ -30,12 +25,6 @@ export const createRPCMsgClient = async ({ group: { v1: new (await import("../cosmos/group/v1/tx.rpc.msg")).MsgClientImpl(rpc) }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, staking: { v1beta1: new (await import("../cosmos/staking/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, diff --git a/packages/api/src/index.ts b/packages/api/src/index.ts index 646541b5..ba6c1f89 100644 --- a/packages/api/src/index.ts +++ b/packages/api/src/index.ts @@ -1 +1,21 @@ -export * from './codegen'; +//@ts-nocheck +/** + * This file and any referenced files were automatically generated by @cosmology/telescope@1.5.2 + * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain + * and run the transpile command or yarn proto command to regenerate this bundle. + */ + +export * from "./amino/bundle"; +export * from "./cosmos_proto/bundle"; +export * from "./cosmos/bundle"; +export * from "./cosmos/client"; +export * from "./gogoproto/bundle"; +export * from "./ibc/bundle"; +export * from "./ibc/client"; +export * from "./regen/bundle"; +export * from "./regen/client"; +export * from "./tendermint/bundle"; +export * from "./google/bundle"; +export * from "./varint"; +export * from "./utf8"; +export * from "./binary"; \ No newline at end of file diff --git a/packages/api/src/regen/bundle.ts b/packages/api/src/regen/bundle.ts new file mode 100644 index 00000000..a204d4d5 --- /dev/null +++ b/packages/api/src/regen/bundle.ts @@ -0,0 +1,153 @@ +//@ts-nocheck +import * as _76 from "./data/v1/events"; +import * as _77 from "./data/v1/query"; +import * as _78 from "./data/v1/state"; +import * as _79 from "./data/v1/tx"; +import * as _80 from "./data/v1/types"; +import * as _81 from "./ecocredit/basket/v1/events"; +import * as _82 from "./ecocredit/basket/v1/query"; +import * as _83 from "./ecocredit/basket/v1/state"; +import * as _84 from "./ecocredit/basket/v1/tx"; +import * as _85 from "./ecocredit/basket/v1/types"; +import * as _86 from "./ecocredit/marketplace/v1/events"; +import * as _87 from "./ecocredit/marketplace/v1/query"; +import * as _88 from "./ecocredit/marketplace/v1/state"; +import * as _89 from "./ecocredit/marketplace/v1/tx"; +import * as _90 from "./ecocredit/marketplace/v1/types"; +import * as _91 from "./ecocredit/orderbook/v1alpha1/memory"; +import * as _92 from "./ecocredit/v1/events"; +import * as _93 from "./ecocredit/v1/query"; +import * as _94 from "./ecocredit/v1/state"; +import * as _95 from "./ecocredit/v1/tx"; +import * as _96 from "./ecocredit/v1/types"; +import * as _97 from "./ecocredit/v1alpha1/events"; +import * as _98 from "./ecocredit/v1alpha1/genesis"; +import * as _99 from "./ecocredit/v1alpha1/query"; +import * as _100 from "./ecocredit/v1alpha1/tx"; +import * as _101 from "./ecocredit/v1alpha1/types"; +import * as _102 from "./intertx/v1/query"; +import * as _103 from "./intertx/v1/tx"; +import * as _187 from "./data/v1/tx.amino"; +import * as _188 from "./ecocredit/basket/v1/tx.amino"; +import * as _189 from "./ecocredit/marketplace/v1/tx.amino"; +import * as _190 from "./ecocredit/v1/tx.amino"; +import * as _191 from "./ecocredit/v1alpha1/tx.amino"; +import * as _192 from "./intertx/v1/tx.amino"; +import * as _193 from "./data/v1/tx.registry"; +import * as _194 from "./ecocredit/basket/v1/tx.registry"; +import * as _195 from "./ecocredit/marketplace/v1/tx.registry"; +import * as _196 from "./ecocredit/v1/tx.registry"; +import * as _197 from "./ecocredit/v1alpha1/tx.registry"; +import * as _198 from "./intertx/v1/tx.registry"; +import * as _199 from "./data/v1/query.lcd"; +import * as _200 from "./ecocredit/basket/v1/query.lcd"; +import * as _201 from "./ecocredit/marketplace/v1/query.lcd"; +import * as _202 from "./ecocredit/v1/query.lcd"; +import * as _203 from "./ecocredit/v1alpha1/query.lcd"; +import * as _204 from "./intertx/v1/query.lcd"; +import * as _205 from "./data/v1/query.rpc.Query"; +import * as _206 from "./ecocredit/basket/v1/query.rpc.Query"; +import * as _207 from "./ecocredit/marketplace/v1/query.rpc.Query"; +import * as _208 from "./ecocredit/v1/query.rpc.Query"; +import * as _209 from "./ecocredit/v1alpha1/query.rpc.Query"; +import * as _210 from "./intertx/v1/query.rpc.Query"; +import * as _211 from "./data/v1/tx.rpc.msg"; +import * as _212 from "./ecocredit/basket/v1/tx.rpc.msg"; +import * as _213 from "./ecocredit/marketplace/v1/tx.rpc.msg"; +import * as _214 from "./ecocredit/v1/tx.rpc.msg"; +import * as _215 from "./ecocredit/v1alpha1/tx.rpc.msg"; +import * as _216 from "./intertx/v1/tx.rpc.msg"; +import * as _223 from "./lcd"; +import * as _224 from "./rpc.query"; +import * as _225 from "./rpc.tx"; +export namespace regen { + export namespace data { + export const v1 = { + ..._76, + ..._77, + ..._78, + ..._79, + ..._80, + ..._187, + ..._193, + ..._199, + ..._205, + ..._211 + }; + } + export namespace ecocredit { + export namespace basket { + export const v1 = { + ..._81, + ..._82, + ..._83, + ..._84, + ..._85, + ..._188, + ..._194, + ..._200, + ..._206, + ..._212 + }; + } + export namespace marketplace { + export const v1 = { + ..._86, + ..._87, + ..._88, + ..._89, + ..._90, + ..._189, + ..._195, + ..._201, + ..._207, + ..._213 + }; + } + export namespace orderbook { + export const v1alpha1 = { + ..._91 + }; + } + export const v1 = { + ..._92, + ..._93, + ..._94, + ..._95, + ..._96, + ..._190, + ..._196, + ..._202, + ..._208, + ..._214 + }; + export const v1alpha1 = { + ..._97, + ..._98, + ..._99, + ..._100, + ..._101, + ..._191, + ..._197, + ..._203, + ..._209, + ..._215 + }; + } + export namespace intertx { + export const v1 = { + ..._102, + ..._103, + ..._192, + ..._198, + ..._204, + ..._210, + ..._216 + }; + } + export const ClientFactory = { + ..._223, + ..._224, + ..._225 + }; +} \ No newline at end of file diff --git a/packages/api/src/codegen/regen/client.ts b/packages/api/src/regen/client.ts similarity index 99% rename from packages/api/src/codegen/regen/client.ts rename to packages/api/src/regen/client.ts index d5b188ac..1cccb1dc 100644 --- a/packages/api/src/codegen/regen/client.ts +++ b/packages/api/src/regen/client.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; diff --git a/packages/api/src/codegen/regen/data/v1/events.ts b/packages/api/src/regen/data/v1/events.ts similarity index 89% rename from packages/api/src/codegen/regen/data/v1/events.ts rename to packages/api/src/regen/data/v1/events.ts index a3c5969d..62a25b9b 100644 --- a/packages/api/src/codegen/regen/data/v1/events.ts +++ b/packages/api/src/regen/data/v1/events.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** EventAnchor is an event emitted when data is anchored on chain. */ export interface EventAnchor { /** iri is the IRI of the data anchored on chain. */ @@ -143,16 +143,6 @@ export const EventAnchor = { } return message; }, - fromJSON(object: any): EventAnchor { - return { - iri: isSet(object.iri) ? String(object.iri) : "" - }; - }, - toJSON(message: EventAnchor): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - return obj; - }, fromPartial(object: Partial): EventAnchor { const message = createBaseEventAnchor(); message.iri = object.iri ?? ""; @@ -223,18 +213,6 @@ export const EventAttest = { } return message; }, - fromJSON(object: any): EventAttest { - return { - iri: isSet(object.iri) ? String(object.iri) : "", - attestor: isSet(object.attestor) ? String(object.attestor) : "" - }; - }, - toJSON(message: EventAttest): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - message.attestor !== undefined && (obj.attestor = message.attestor); - return obj; - }, fromPartial(object: Partial): EventAttest { const message = createBaseEventAttest(); message.iri = object.iri ?? ""; @@ -303,16 +281,6 @@ export const EventDefineResolver = { } return message; }, - fromJSON(object: any): EventDefineResolver { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0) - }; - }, - toJSON(message: EventDefineResolver): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventDefineResolver { const message = createBaseEventDefineResolver(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -383,18 +351,6 @@ export const EventRegisterResolver = { } return message; }, - fromJSON(object: any): EventRegisterResolver { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - iri: isSet(object.iri) ? String(object.iri) : "" - }; - }, - toJSON(message: EventRegisterResolver): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.iri !== undefined && (obj.iri = message.iri); - return obj; - }, fromPartial(object: Partial): EventRegisterResolver { const message = createBaseEventRegisterResolver(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/regen/data/v1/query.lcd.ts b/packages/api/src/regen/data/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/regen/data/v1/query.lcd.ts rename to packages/api/src/regen/data/v1/query.lcd.ts index 598d82ec..735b5497 100644 --- a/packages/api/src/codegen/regen/data/v1/query.lcd.ts +++ b/packages/api/src/regen/data/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryAnchorByIRIRequest, QueryAnchorByIRIResponseSDKType, QueryAttestationsByAttestorRequest, QueryAttestationsByAttestorResponseSDKType, QueryAttestationsByIRIRequest, QueryAttestationsByIRIResponseSDKType, QueryResolverRequest, QueryResolverResponseSDKType, QueryResolversByIRIRequest, QueryResolversByIRIResponseSDKType, ConvertIRIToHashRequest, ConvertIRIToHashResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/regen/data/v1/query.rpc.Query.ts b/packages/api/src/regen/data/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/regen/data/v1/query.rpc.Query.ts rename to packages/api/src/regen/data/v1/query.rpc.Query.ts index 6df7b048..3d6161be 100644 --- a/packages/api/src/codegen/regen/data/v1/query.rpc.Query.ts +++ b/packages/api/src/regen/data/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/regen/data/v1/query.ts b/packages/api/src/regen/data/v1/query.ts similarity index 87% rename from packages/api/src/codegen/regen/data/v1/query.ts rename to packages/api/src/regen/data/v1/query.ts index 3b57e7b6..023c8436 100644 --- a/packages/api/src/codegen/regen/data/v1/query.ts +++ b/packages/api/src/regen/data/v1/query.ts @@ -1,8 +1,9 @@ +//@ts-nocheck import { ContentHash, ContentHashAmino, ContentHashSDKType } from "./types"; import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** QueryAnchorByIRIRequest is the Query/AnchorByIRI request type. */ export interface QueryAnchorByIRIRequest { /** iri is the IRI of the anchored data. */ @@ -581,7 +582,7 @@ export interface AnchorInfo { /** content_hash is the ContentHash of the anchored data. */ contentHash?: ContentHash; /** timestamp is the time at which the data was anchored. */ - timestamp?: Timestamp; + timestamp?: Date; } export interface AnchorInfoProtoMsg { typeUrl: "/regen.data.v1.AnchorInfo"; @@ -604,7 +605,7 @@ export interface AnchorInfoAminoMsg { export interface AnchorInfoSDKType { iri: string; content_hash?: ContentHashSDKType; - timestamp?: TimestampSDKType; + timestamp?: Date; } /** AttestationInfo is the information for an attestation. */ export interface AttestationInfo { @@ -613,7 +614,7 @@ export interface AttestationInfo { /** attestor is the address of the account that attested to the anchored data. */ attestor: string; /** timestamp is the time at which the data was attested to. */ - timestamp?: Timestamp; + timestamp?: Date; } export interface AttestationInfoProtoMsg { typeUrl: "/regen.data.v1.AttestationInfo"; @@ -636,7 +637,7 @@ export interface AttestationInfoAminoMsg { export interface AttestationInfoSDKType { iri: string; attestor: string; - timestamp?: TimestampSDKType; + timestamp?: Date; } /** ResolverInfo is the information for a resolver. */ export interface ResolverInfo { @@ -700,16 +701,6 @@ export const QueryAnchorByIRIRequest = { } return message; }, - fromJSON(object: any): QueryAnchorByIRIRequest { - return { - iri: isSet(object.iri) ? String(object.iri) : "" - }; - }, - toJSON(message: QueryAnchorByIRIRequest): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - return obj; - }, fromPartial(object: Partial): QueryAnchorByIRIRequest { const message = createBaseQueryAnchorByIRIRequest(); message.iri = object.iri ?? ""; @@ -773,16 +764,6 @@ export const QueryAnchorByIRIResponse = { } return message; }, - fromJSON(object: any): QueryAnchorByIRIResponse { - return { - anchor: isSet(object.anchor) ? AnchorInfo.fromJSON(object.anchor) : undefined - }; - }, - toJSON(message: QueryAnchorByIRIResponse): unknown { - const obj: any = {}; - message.anchor !== undefined && (obj.anchor = message.anchor ? AnchorInfo.toJSON(message.anchor) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAnchorByIRIResponse { const message = createBaseQueryAnchorByIRIResponse(); message.anchor = object.anchor !== undefined && object.anchor !== null ? AnchorInfo.fromPartial(object.anchor) : undefined; @@ -846,16 +827,6 @@ export const QueryAnchorByHashRequest = { } return message; }, - fromJSON(object: any): QueryAnchorByHashRequest { - return { - contentHash: isSet(object.contentHash) ? ContentHash.fromJSON(object.contentHash) : undefined - }; - }, - toJSON(message: QueryAnchorByHashRequest): unknown { - const obj: any = {}; - message.contentHash !== undefined && (obj.contentHash = message.contentHash ? ContentHash.toJSON(message.contentHash) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAnchorByHashRequest { const message = createBaseQueryAnchorByHashRequest(); message.contentHash = object.contentHash !== undefined && object.contentHash !== null ? ContentHash.fromPartial(object.contentHash) : undefined; @@ -919,16 +890,6 @@ export const QueryAnchorByHashResponse = { } return message; }, - fromJSON(object: any): QueryAnchorByHashResponse { - return { - anchor: isSet(object.anchor) ? AnchorInfo.fromJSON(object.anchor) : undefined - }; - }, - toJSON(message: QueryAnchorByHashResponse): unknown { - const obj: any = {}; - message.anchor !== undefined && (obj.anchor = message.anchor ? AnchorInfo.toJSON(message.anchor) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAnchorByHashResponse { const message = createBaseQueryAnchorByHashResponse(); message.anchor = object.anchor !== undefined && object.anchor !== null ? AnchorInfo.fromPartial(object.anchor) : undefined; @@ -999,18 +960,6 @@ export const QueryAttestationsByAttestorRequest = { } return message; }, - fromJSON(object: any): QueryAttestationsByAttestorRequest { - return { - attestor: isSet(object.attestor) ? String(object.attestor) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAttestationsByAttestorRequest): unknown { - const obj: any = {}; - message.attestor !== undefined && (obj.attestor = message.attestor); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAttestationsByAttestorRequest { const message = createBaseQueryAttestationsByAttestorRequest(); message.attestor = object.attestor ?? ""; @@ -1086,22 +1035,6 @@ export const QueryAttestationsByAttestorResponse = { } return message; }, - fromJSON(object: any): QueryAttestationsByAttestorResponse { - return { - attestations: Array.isArray(object?.attestations) ? object.attestations.map((e: any) => AttestationInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAttestationsByAttestorResponse): unknown { - const obj: any = {}; - if (message.attestations) { - obj.attestations = message.attestations.map(e => e ? AttestationInfo.toJSON(e) : undefined); - } else { - obj.attestations = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAttestationsByAttestorResponse { const message = createBaseQueryAttestationsByAttestorResponse(); message.attestations = object.attestations?.map(e => AttestationInfo.fromPartial(e)) || []; @@ -1179,18 +1112,6 @@ export const QueryAttestationsByIRIRequest = { } return message; }, - fromJSON(object: any): QueryAttestationsByIRIRequest { - return { - iri: isSet(object.iri) ? String(object.iri) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAttestationsByIRIRequest): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAttestationsByIRIRequest { const message = createBaseQueryAttestationsByIRIRequest(); message.iri = object.iri ?? ""; @@ -1266,22 +1187,6 @@ export const QueryAttestationsByIRIResponse = { } return message; }, - fromJSON(object: any): QueryAttestationsByIRIResponse { - return { - attestations: Array.isArray(object?.attestations) ? object.attestations.map((e: any) => AttestationInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAttestationsByIRIResponse): unknown { - const obj: any = {}; - if (message.attestations) { - obj.attestations = message.attestations.map(e => e ? AttestationInfo.toJSON(e) : undefined); - } else { - obj.attestations = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAttestationsByIRIResponse { const message = createBaseQueryAttestationsByIRIResponse(); message.attestations = object.attestations?.map(e => AttestationInfo.fromPartial(e)) || []; @@ -1359,18 +1264,6 @@ export const QueryAttestationsByHashRequest = { } return message; }, - fromJSON(object: any): QueryAttestationsByHashRequest { - return { - contentHash: isSet(object.contentHash) ? ContentHash.fromJSON(object.contentHash) : undefined, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAttestationsByHashRequest): unknown { - const obj: any = {}; - message.contentHash !== undefined && (obj.contentHash = message.contentHash ? ContentHash.toJSON(message.contentHash) : undefined); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAttestationsByHashRequest { const message = createBaseQueryAttestationsByHashRequest(); message.contentHash = object.contentHash !== undefined && object.contentHash !== null ? ContentHash.fromPartial(object.contentHash) : undefined; @@ -1446,22 +1339,6 @@ export const QueryAttestationsByHashResponse = { } return message; }, - fromJSON(object: any): QueryAttestationsByHashResponse { - return { - attestations: Array.isArray(object?.attestations) ? object.attestations.map((e: any) => AttestationInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAttestationsByHashResponse): unknown { - const obj: any = {}; - if (message.attestations) { - obj.attestations = message.attestations.map(e => e ? AttestationInfo.toJSON(e) : undefined); - } else { - obj.attestations = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAttestationsByHashResponse { const message = createBaseQueryAttestationsByHashResponse(); message.attestations = object.attestations?.map(e => AttestationInfo.fromPartial(e)) || []; @@ -1532,16 +1409,6 @@ export const QueryResolverRequest = { } return message; }, - fromJSON(object: any): QueryResolverRequest { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0) - }; - }, - toJSON(message: QueryResolverRequest): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QueryResolverRequest { const message = createBaseQueryResolverRequest(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -1605,16 +1472,6 @@ export const QueryResolverResponse = { } return message; }, - fromJSON(object: any): QueryResolverResponse { - return { - resolver: isSet(object.resolver) ? ResolverInfo.fromJSON(object.resolver) : undefined - }; - }, - toJSON(message: QueryResolverResponse): unknown { - const obj: any = {}; - message.resolver !== undefined && (obj.resolver = message.resolver ? ResolverInfo.toJSON(message.resolver) : undefined); - return obj; - }, fromPartial(object: Partial): QueryResolverResponse { const message = createBaseQueryResolverResponse(); message.resolver = object.resolver !== undefined && object.resolver !== null ? ResolverInfo.fromPartial(object.resolver) : undefined; @@ -1685,18 +1542,6 @@ export const QueryResolversByIRIRequest = { } return message; }, - fromJSON(object: any): QueryResolversByIRIRequest { - return { - iri: isSet(object.iri) ? String(object.iri) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryResolversByIRIRequest): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryResolversByIRIRequest { const message = createBaseQueryResolversByIRIRequest(); message.iri = object.iri ?? ""; @@ -1772,22 +1617,6 @@ export const QueryResolversByIRIResponse = { } return message; }, - fromJSON(object: any): QueryResolversByIRIResponse { - return { - resolvers: Array.isArray(object?.resolvers) ? object.resolvers.map((e: any) => ResolverInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryResolversByIRIResponse): unknown { - const obj: any = {}; - if (message.resolvers) { - obj.resolvers = message.resolvers.map(e => e ? ResolverInfo.toJSON(e) : undefined); - } else { - obj.resolvers = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryResolversByIRIResponse { const message = createBaseQueryResolversByIRIResponse(); message.resolvers = object.resolvers?.map(e => ResolverInfo.fromPartial(e)) || []; @@ -1865,18 +1694,6 @@ export const QueryResolversByHashRequest = { } return message; }, - fromJSON(object: any): QueryResolversByHashRequest { - return { - contentHash: isSet(object.contentHash) ? ContentHash.fromJSON(object.contentHash) : undefined, - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryResolversByHashRequest): unknown { - const obj: any = {}; - message.contentHash !== undefined && (obj.contentHash = message.contentHash ? ContentHash.toJSON(message.contentHash) : undefined); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryResolversByHashRequest { const message = createBaseQueryResolversByHashRequest(); message.contentHash = object.contentHash !== undefined && object.contentHash !== null ? ContentHash.fromPartial(object.contentHash) : undefined; @@ -1952,22 +1769,6 @@ export const QueryResolversByHashResponse = { } return message; }, - fromJSON(object: any): QueryResolversByHashResponse { - return { - resolvers: Array.isArray(object?.resolvers) ? object.resolvers.map((e: any) => ResolverInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryResolversByHashResponse): unknown { - const obj: any = {}; - if (message.resolvers) { - obj.resolvers = message.resolvers.map(e => e ? ResolverInfo.toJSON(e) : undefined); - } else { - obj.resolvers = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryResolversByHashResponse { const message = createBaseQueryResolversByHashResponse(); message.resolvers = object.resolvers?.map(e => ResolverInfo.fromPartial(e)) || []; @@ -2045,18 +1846,6 @@ export const QueryResolversByURLRequest = { } return message; }, - fromJSON(object: any): QueryResolversByURLRequest { - return { - url: isSet(object.url) ? String(object.url) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryResolversByURLRequest): unknown { - const obj: any = {}; - message.url !== undefined && (obj.url = message.url); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryResolversByURLRequest { const message = createBaseQueryResolversByURLRequest(); message.url = object.url ?? ""; @@ -2132,22 +1921,6 @@ export const QueryResolversByURLResponse = { } return message; }, - fromJSON(object: any): QueryResolversByURLResponse { - return { - resolvers: Array.isArray(object?.resolvers) ? object.resolvers.map((e: any) => ResolverInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryResolversByURLResponse): unknown { - const obj: any = {}; - if (message.resolvers) { - obj.resolvers = message.resolvers.map(e => e ? ResolverInfo.toJSON(e) : undefined); - } else { - obj.resolvers = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryResolversByURLResponse { const message = createBaseQueryResolversByURLResponse(); message.resolvers = object.resolvers?.map(e => ResolverInfo.fromPartial(e)) || []; @@ -2218,16 +1991,6 @@ export const ConvertIRIToHashRequest = { } return message; }, - fromJSON(object: any): ConvertIRIToHashRequest { - return { - iri: isSet(object.iri) ? String(object.iri) : "" - }; - }, - toJSON(message: ConvertIRIToHashRequest): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - return obj; - }, fromPartial(object: Partial): ConvertIRIToHashRequest { const message = createBaseConvertIRIToHashRequest(); message.iri = object.iri ?? ""; @@ -2291,16 +2054,6 @@ export const ConvertIRIToHashResponse = { } return message; }, - fromJSON(object: any): ConvertIRIToHashResponse { - return { - contentHash: isSet(object.contentHash) ? ContentHash.fromJSON(object.contentHash) : undefined - }; - }, - toJSON(message: ConvertIRIToHashResponse): unknown { - const obj: any = {}; - message.contentHash !== undefined && (obj.contentHash = message.contentHash ? ContentHash.toJSON(message.contentHash) : undefined); - return obj; - }, fromPartial(object: Partial): ConvertIRIToHashResponse { const message = createBaseConvertIRIToHashResponse(); message.contentHash = object.contentHash !== undefined && object.contentHash !== null ? ContentHash.fromPartial(object.contentHash) : undefined; @@ -2364,16 +2117,6 @@ export const ConvertHashToIRIRequest = { } return message; }, - fromJSON(object: any): ConvertHashToIRIRequest { - return { - contentHash: isSet(object.contentHash) ? ContentHash.fromJSON(object.contentHash) : undefined - }; - }, - toJSON(message: ConvertHashToIRIRequest): unknown { - const obj: any = {}; - message.contentHash !== undefined && (obj.contentHash = message.contentHash ? ContentHash.toJSON(message.contentHash) : undefined); - return obj; - }, fromPartial(object: Partial): ConvertHashToIRIRequest { const message = createBaseConvertHashToIRIRequest(); message.contentHash = object.contentHash !== undefined && object.contentHash !== null ? ContentHash.fromPartial(object.contentHash) : undefined; @@ -2437,16 +2180,6 @@ export const ConvertHashToIRIResponse = { } return message; }, - fromJSON(object: any): ConvertHashToIRIResponse { - return { - iri: isSet(object.iri) ? String(object.iri) : "" - }; - }, - toJSON(message: ConvertHashToIRIResponse): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - return obj; - }, fromPartial(object: Partial): ConvertHashToIRIResponse { const message = createBaseConvertHashToIRIResponse(); message.iri = object.iri ?? ""; @@ -2497,7 +2230,7 @@ export const AnchorInfo = { ContentHash.encode(message.contentHash, writer.uint32(18).fork()).ldelim(); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(26).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -2515,7 +2248,7 @@ export const AnchorInfo = { message.contentHash = ContentHash.decode(reader, reader.uint32()); break; case 3: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -2524,25 +2257,11 @@ export const AnchorInfo = { } return message; }, - fromJSON(object: any): AnchorInfo { - return { - iri: isSet(object.iri) ? String(object.iri) : "", - contentHash: isSet(object.contentHash) ? ContentHash.fromJSON(object.contentHash) : undefined, - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: AnchorInfo): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - message.contentHash !== undefined && (obj.contentHash = message.contentHash ? ContentHash.toJSON(message.contentHash) : undefined); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): AnchorInfo { const message = createBaseAnchorInfo(); message.iri = object.iri ?? ""; message.contentHash = object.contentHash !== undefined && object.contentHash !== null ? ContentHash.fromPartial(object.contentHash) : undefined; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: AnchorInfoAmino): AnchorInfo { @@ -2554,7 +2273,7 @@ export const AnchorInfo = { message.contentHash = ContentHash.fromAmino(object.content_hash); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, @@ -2562,7 +2281,7 @@ export const AnchorInfo = { const obj: any = {}; obj.iri = message.iri === "" ? undefined : message.iri; obj.content_hash = message.contentHash ? ContentHash.toAmino(message.contentHash) : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: AnchorInfoAminoMsg): AnchorInfo { @@ -2598,7 +2317,7 @@ export const AttestationInfo = { writer.uint32(18).string(message.attestor); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(26).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -2616,7 +2335,7 @@ export const AttestationInfo = { message.attestor = reader.string(); break; case 3: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -2625,25 +2344,11 @@ export const AttestationInfo = { } return message; }, - fromJSON(object: any): AttestationInfo { - return { - iri: isSet(object.iri) ? String(object.iri) : "", - attestor: isSet(object.attestor) ? String(object.attestor) : "", - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: AttestationInfo): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - message.attestor !== undefined && (obj.attestor = message.attestor); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): AttestationInfo { const message = createBaseAttestationInfo(); message.iri = object.iri ?? ""; message.attestor = object.attestor ?? ""; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: AttestationInfoAmino): AttestationInfo { @@ -2655,7 +2360,7 @@ export const AttestationInfo = { message.attestor = object.attestor; } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, @@ -2663,7 +2368,7 @@ export const AttestationInfo = { const obj: any = {}; obj.iri = message.iri === "" ? undefined : message.iri; obj.attestor = message.attestor === "" ? undefined : message.attestor; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: AttestationInfoAminoMsg): AttestationInfo { @@ -2726,20 +2431,6 @@ export const ResolverInfo = { } return message; }, - fromJSON(object: any): ResolverInfo { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - url: isSet(object.url) ? String(object.url) : "", - manager: isSet(object.manager) ? String(object.manager) : "" - }; - }, - toJSON(message: ResolverInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.url !== undefined && (obj.url = message.url); - message.manager !== undefined && (obj.manager = message.manager); - return obj; - }, fromPartial(object: Partial): ResolverInfo { const message = createBaseResolverInfo(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/regen/data/v1/state.ts b/packages/api/src/regen/data/v1/state.ts similarity index 80% rename from packages/api/src/codegen/regen/data/v1/state.ts rename to packages/api/src/regen/data/v1/state.ts index c044e0d7..e3c43ca1 100644 --- a/packages/api/src/codegen/regen/data/v1/state.ts +++ b/packages/api/src/regen/data/v1/state.ts @@ -1,6 +1,7 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../../helpers"; /** DataID stores a compact data ID and its full IRI. */ export interface DataID { /** id is the compact automatically-generated data ID. */ @@ -36,7 +37,7 @@ export interface DataAnchor { * timestamp is the anchor timestamp for this object - the time at which * it was first known to the blockchain. */ - timestamp?: Timestamp; + timestamp?: Date; } export interface DataAnchorProtoMsg { typeUrl: "/regen.data.v1.DataAnchor"; @@ -59,7 +60,7 @@ export interface DataAnchorAminoMsg { /** DataAnchor stores the anchor timestamp for a data object. */ export interface DataAnchorSDKType { id: Uint8Array; - timestamp?: TimestampSDKType; + timestamp?: Date; } /** DataAttestor is a join table for associating data IDs and attestors. */ export interface DataAttestor { @@ -68,7 +69,7 @@ export interface DataAttestor { /** attestor is the account address of the attestor. */ attestor: Uint8Array; /** timestamp is the time at which the attestor signed this data object. */ - timestamp?: Timestamp; + timestamp?: Date; } export interface DataAttestorProtoMsg { typeUrl: "/regen.data.v1.DataAttestor"; @@ -91,7 +92,7 @@ export interface DataAttestorAminoMsg { export interface DataAttestorSDKType { id: Uint8Array; attestor: Uint8Array; - timestamp?: TimestampSDKType; + timestamp?: Date; } /** Resolver describes a data resolver. */ export interface Resolver { @@ -204,18 +205,6 @@ export const DataID = { } return message; }, - fromJSON(object: any): DataID { - return { - id: isSet(object.id) ? bytesFromBase64(object.id) : new Uint8Array(), - iri: isSet(object.iri) ? String(object.iri) : "" - }; - }, - toJSON(message: DataID): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = base64FromBytes(message.id !== undefined ? message.id : new Uint8Array())); - message.iri !== undefined && (obj.iri = message.iri); - return obj; - }, fromPartial(object: Partial): DataID { const message = createBaseDataID(); message.id = object.id ?? new Uint8Array(); @@ -267,7 +256,7 @@ export const DataAnchor = { writer.uint32(10).bytes(message.id); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -282,7 +271,7 @@ export const DataAnchor = { message.id = reader.bytes(); break; case 2: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -291,22 +280,10 @@ export const DataAnchor = { } return message; }, - fromJSON(object: any): DataAnchor { - return { - id: isSet(object.id) ? bytesFromBase64(object.id) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: DataAnchor): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = base64FromBytes(message.id !== undefined ? message.id : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): DataAnchor { const message = createBaseDataAnchor(); message.id = object.id ?? new Uint8Array(); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: DataAnchorAmino): DataAnchor { @@ -315,14 +292,14 @@ export const DataAnchor = { message.id = bytesFromBase64(object.id); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, toAmino(message: DataAnchor): DataAnchorAmino { const obj: any = {}; obj.id = message.id ? base64FromBytes(message.id) : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: DataAnchorAminoMsg): DataAnchor { @@ -358,7 +335,7 @@ export const DataAttestor = { writer.uint32(18).bytes(message.attestor); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(26).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); } return writer; }, @@ -376,7 +353,7 @@ export const DataAttestor = { message.attestor = reader.bytes(); break; case 3: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -385,25 +362,11 @@ export const DataAttestor = { } return message; }, - fromJSON(object: any): DataAttestor { - return { - id: isSet(object.id) ? bytesFromBase64(object.id) : new Uint8Array(), - attestor: isSet(object.attestor) ? bytesFromBase64(object.attestor) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: DataAttestor): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = base64FromBytes(message.id !== undefined ? message.id : new Uint8Array())); - message.attestor !== undefined && (obj.attestor = base64FromBytes(message.attestor !== undefined ? message.attestor : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): DataAttestor { const message = createBaseDataAttestor(); message.id = object.id ?? new Uint8Array(); message.attestor = object.attestor ?? new Uint8Array(); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: DataAttestorAmino): DataAttestor { @@ -415,7 +378,7 @@ export const DataAttestor = { message.attestor = bytesFromBase64(object.attestor); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, @@ -423,7 +386,7 @@ export const DataAttestor = { const obj: any = {}; obj.id = message.id ? base64FromBytes(message.id) : undefined; obj.attestor = message.attestor ? base64FromBytes(message.attestor) : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: DataAttestorAminoMsg): DataAttestor { @@ -486,20 +449,6 @@ export const Resolver = { } return message; }, - fromJSON(object: any): Resolver { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - url: isSet(object.url) ? String(object.url) : "", - manager: isSet(object.manager) ? bytesFromBase64(object.manager) : new Uint8Array() - }; - }, - toJSON(message: Resolver): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.url !== undefined && (obj.url = message.url); - message.manager !== undefined && (obj.manager = base64FromBytes(message.manager !== undefined ? message.manager : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): Resolver { const message = createBaseResolver(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -580,18 +529,6 @@ export const DataResolver = { } return message; }, - fromJSON(object: any): DataResolver { - return { - id: isSet(object.id) ? bytesFromBase64(object.id) : new Uint8Array(), - resolverId: isSet(object.resolverId) ? BigInt(object.resolverId.toString()) : BigInt(0) - }; - }, - toJSON(message: DataResolver): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = base64FromBytes(message.id !== undefined ? message.id : new Uint8Array())); - message.resolverId !== undefined && (obj.resolverId = (message.resolverId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): DataResolver { const message = createBaseDataResolver(); message.id = object.id ?? new Uint8Array(); diff --git a/packages/api/src/codegen/regen/data/v1/tx.amino.ts b/packages/api/src/regen/data/v1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/regen/data/v1/tx.amino.ts rename to packages/api/src/regen/data/v1/tx.amino.ts index cd6bd3f9..cfd91117 100644 --- a/packages/api/src/codegen/regen/data/v1/tx.amino.ts +++ b/packages/api/src/regen/data/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgAnchor, MsgAttest, MsgDefineResolver, MsgRegisterResolver } from "./tx"; export const AminoConverter = { "/regen.data.v1.MsgAnchor": { diff --git a/packages/api/src/codegen/regen/data/v1/tx.registry.ts b/packages/api/src/regen/data/v1/tx.registry.ts similarity index 66% rename from packages/api/src/codegen/regen/data/v1/tx.registry.ts rename to packages/api/src/regen/data/v1/tx.registry.ts index 31af915c..3704ff84 100644 --- a/packages/api/src/codegen/regen/data/v1/tx.registry.ts +++ b/packages/api/src/regen/data/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgAnchor, MsgAttest, MsgDefineResolver, MsgRegisterResolver } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/regen.data.v1.MsgAnchor", MsgAnchor], ["/regen.data.v1.MsgAttest", MsgAttest], ["/regen.data.v1.MsgDefineResolver", MsgDefineResolver], ["/regen.data.v1.MsgRegisterResolver", MsgRegisterResolver]]; @@ -59,58 +60,6 @@ export const MessageComposer = { }; } }, - toJSON: { - anchor(value: MsgAnchor) { - return { - typeUrl: "/regen.data.v1.MsgAnchor", - value: MsgAnchor.toJSON(value) - }; - }, - attest(value: MsgAttest) { - return { - typeUrl: "/regen.data.v1.MsgAttest", - value: MsgAttest.toJSON(value) - }; - }, - defineResolver(value: MsgDefineResolver) { - return { - typeUrl: "/regen.data.v1.MsgDefineResolver", - value: MsgDefineResolver.toJSON(value) - }; - }, - registerResolver(value: MsgRegisterResolver) { - return { - typeUrl: "/regen.data.v1.MsgRegisterResolver", - value: MsgRegisterResolver.toJSON(value) - }; - } - }, - fromJSON: { - anchor(value: any) { - return { - typeUrl: "/regen.data.v1.MsgAnchor", - value: MsgAnchor.fromJSON(value) - }; - }, - attest(value: any) { - return { - typeUrl: "/regen.data.v1.MsgAttest", - value: MsgAttest.fromJSON(value) - }; - }, - defineResolver(value: any) { - return { - typeUrl: "/regen.data.v1.MsgDefineResolver", - value: MsgDefineResolver.fromJSON(value) - }; - }, - registerResolver(value: any) { - return { - typeUrl: "/regen.data.v1.MsgRegisterResolver", - value: MsgRegisterResolver.fromJSON(value) - }; - } - }, fromPartial: { anchor(value: MsgAnchor) { return { diff --git a/packages/api/src/codegen/regen/data/v1/tx.rpc.msg.ts b/packages/api/src/regen/data/v1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/regen/data/v1/tx.rpc.msg.ts rename to packages/api/src/regen/data/v1/tx.rpc.msg.ts index 9aa16713..75a3a923 100644 --- a/packages/api/src/codegen/regen/data/v1/tx.rpc.msg.ts +++ b/packages/api/src/regen/data/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgAnchor, MsgAnchorResponse, MsgAttest, MsgAttestResponse, MsgDefineResolver, MsgDefineResolverResponse, MsgRegisterResolver, MsgRegisterResolverResponse } from "./tx"; diff --git a/packages/api/src/codegen/regen/data/v1/tx.ts b/packages/api/src/regen/data/v1/tx.ts similarity index 85% rename from packages/api/src/codegen/regen/data/v1/tx.ts rename to packages/api/src/regen/data/v1/tx.ts index 7c89be14..d2a09118 100644 --- a/packages/api/src/codegen/regen/data/v1/tx.ts +++ b/packages/api/src/regen/data/v1/tx.ts @@ -1,7 +1,8 @@ +//@ts-nocheck import { ContentHash, ContentHashAmino, ContentHashSDKType, ContentHash_Graph } from "./types"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** MsgAnchor is the Msg/Anchor request type. */ export interface MsgAnchor { /** @@ -42,7 +43,7 @@ export interface MsgAnchorResponse { /** iri is the IRI of the data that was anchored. */ iri: string; /** timestamp is the time at which the data was anchored. */ - timestamp?: Timestamp; + timestamp?: Date; } export interface MsgAnchorResponseProtoMsg { typeUrl: "/regen.data.v1.MsgAnchorResponse"; @@ -62,7 +63,7 @@ export interface MsgAnchorResponseAminoMsg { /** MsgAnchor is the Msg/Anchor response type. */ export interface MsgAnchorResponseSDKType { iri: string; - timestamp?: TimestampSDKType; + timestamp?: Date; } /** MsgAttest is the Msg/Attest request type. */ export interface MsgAttest { @@ -118,7 +119,7 @@ export interface MsgAttestResponse { */ iris: string[]; /** timestamp is the time at which any new attestations were made. */ - timestamp?: Timestamp; + timestamp?: Date; } export interface MsgAttestResponseProtoMsg { typeUrl: "/regen.data.v1.MsgAttestResponse"; @@ -142,7 +143,7 @@ export interface MsgAttestResponseAminoMsg { /** MsgAttestResponse is the Msg/Attest response type. */ export interface MsgAttestResponseSDKType { iris: string[]; - timestamp?: TimestampSDKType; + timestamp?: Date; } /** MsgDefineResolver is the Msg/DefineResolver request type. */ export interface MsgDefineResolver { @@ -316,18 +317,6 @@ export const MsgAnchor = { } return message; }, - fromJSON(object: any): MsgAnchor { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - contentHash: isSet(object.contentHash) ? ContentHash.fromJSON(object.contentHash) : undefined - }; - }, - toJSON(message: MsgAnchor): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contentHash !== undefined && (obj.contentHash = message.contentHash ? ContentHash.toJSON(message.contentHash) : undefined); - return obj; - }, fromPartial(object: Partial): MsgAnchor { const message = createBaseMsgAnchor(); message.sender = object.sender ?? ""; @@ -385,7 +374,7 @@ export const MsgAnchorResponse = { writer.uint32(10).string(message.iri); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -400,7 +389,7 @@ export const MsgAnchorResponse = { message.iri = reader.string(); break; case 2: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -409,22 +398,10 @@ export const MsgAnchorResponse = { } return message; }, - fromJSON(object: any): MsgAnchorResponse { - return { - iri: isSet(object.iri) ? String(object.iri) : "", - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: MsgAnchorResponse): unknown { - const obj: any = {}; - message.iri !== undefined && (obj.iri = message.iri); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): MsgAnchorResponse { const message = createBaseMsgAnchorResponse(); message.iri = object.iri ?? ""; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: MsgAnchorResponseAmino): MsgAnchorResponse { @@ -433,14 +410,14 @@ export const MsgAnchorResponse = { message.iri = object.iri; } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, toAmino(message: MsgAnchorResponse): MsgAnchorResponseAmino { const obj: any = {}; obj.iri = message.iri === "" ? undefined : message.iri; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: MsgAnchorResponseAminoMsg): MsgAnchorResponse { @@ -496,22 +473,6 @@ export const MsgAttest = { } return message; }, - fromJSON(object: any): MsgAttest { - return { - attestor: isSet(object.attestor) ? String(object.attestor) : "", - contentHashes: Array.isArray(object?.contentHashes) ? object.contentHashes.map((e: any) => ContentHash_Graph.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgAttest): unknown { - const obj: any = {}; - message.attestor !== undefined && (obj.attestor = message.attestor); - if (message.contentHashes) { - obj.contentHashes = message.contentHashes.map(e => e ? ContentHash_Graph.toJSON(e) : undefined); - } else { - obj.contentHashes = []; - } - return obj; - }, fromPartial(object: Partial): MsgAttest { const message = createBaseMsgAttest(); message.attestor = object.attestor ?? ""; @@ -571,7 +532,7 @@ export const MsgAttestResponse = { writer.uint32(10).string(v!); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(18).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim(); } return writer; }, @@ -586,7 +547,7 @@ export const MsgAttestResponse = { message.iris.push(reader.string()); break; case 2: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -595,33 +556,17 @@ export const MsgAttestResponse = { } return message; }, - fromJSON(object: any): MsgAttestResponse { - return { - iris: Array.isArray(object?.iris) ? object.iris.map((e: any) => String(e)) : [], - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: MsgAttestResponse): unknown { - const obj: any = {}; - if (message.iris) { - obj.iris = message.iris.map(e => e); - } else { - obj.iris = []; - } - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): MsgAttestResponse { const message = createBaseMsgAttestResponse(); message.iris = object.iris?.map(e => e) || []; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: MsgAttestResponseAmino): MsgAttestResponse { const message = createBaseMsgAttestResponse(); message.iris = object.iris?.map(e => e) || []; if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, @@ -632,7 +577,7 @@ export const MsgAttestResponse = { } else { obj.iris = message.iris; } - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: MsgAttestResponseAminoMsg): MsgAttestResponse { @@ -688,18 +633,6 @@ export const MsgDefineResolver = { } return message; }, - fromJSON(object: any): MsgDefineResolver { - return { - manager: isSet(object.manager) ? String(object.manager) : "", - resolverUrl: isSet(object.resolverUrl) ? String(object.resolverUrl) : "" - }; - }, - toJSON(message: MsgDefineResolver): unknown { - const obj: any = {}; - message.manager !== undefined && (obj.manager = message.manager); - message.resolverUrl !== undefined && (obj.resolverUrl = message.resolverUrl); - return obj; - }, fromPartial(object: Partial): MsgDefineResolver { const message = createBaseMsgDefineResolver(); message.manager = object.manager ?? ""; @@ -774,16 +707,6 @@ export const MsgDefineResolverResponse = { } return message; }, - fromJSON(object: any): MsgDefineResolverResponse { - return { - resolverId: isSet(object.resolverId) ? BigInt(object.resolverId.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgDefineResolverResponse): unknown { - const obj: any = {}; - message.resolverId !== undefined && (obj.resolverId = (message.resolverId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgDefineResolverResponse { const message = createBaseMsgDefineResolverResponse(); message.resolverId = object.resolverId !== undefined && object.resolverId !== null ? BigInt(object.resolverId.toString()) : BigInt(0); @@ -861,24 +784,6 @@ export const MsgRegisterResolver = { } return message; }, - fromJSON(object: any): MsgRegisterResolver { - return { - manager: isSet(object.manager) ? String(object.manager) : "", - resolverId: isSet(object.resolverId) ? BigInt(object.resolverId.toString()) : BigInt(0), - contentHashes: Array.isArray(object?.contentHashes) ? object.contentHashes.map((e: any) => ContentHash.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgRegisterResolver): unknown { - const obj: any = {}; - message.manager !== undefined && (obj.manager = message.manager); - message.resolverId !== undefined && (obj.resolverId = (message.resolverId || BigInt(0)).toString()); - if (message.contentHashes) { - obj.contentHashes = message.contentHashes.map(e => e ? ContentHash.toJSON(e) : undefined); - } else { - obj.contentHashes = []; - } - return obj; - }, fromPartial(object: Partial): MsgRegisterResolver { const message = createBaseMsgRegisterResolver(); message.manager = object.manager ?? ""; @@ -952,13 +857,6 @@ export const MsgRegisterResolverResponse = { } return message; }, - fromJSON(_: any): MsgRegisterResolverResponse { - return {}; - }, - toJSON(_: MsgRegisterResolverResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRegisterResolverResponse { const message = createBaseMsgRegisterResolverResponse(); return message; diff --git a/packages/api/src/codegen/regen/data/v1/types.ts b/packages/api/src/regen/data/v1/types.ts similarity index 89% rename from packages/api/src/codegen/regen/data/v1/types.ts rename to packages/api/src/regen/data/v1/types.ts index eb9a6c28..0180ace0 100644 --- a/packages/api/src/codegen/regen/data/v1/types.ts +++ b/packages/api/src/regen/data/v1/types.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../../helpers"; /** DigestAlgorithm is the hash digest algorithm */ export enum DigestAlgorithm { /** DIGEST_ALGORITHM_UNSPECIFIED - unspecified and invalid */ @@ -442,18 +443,6 @@ export const ContentHash = { } return message; }, - fromJSON(object: any): ContentHash { - return { - raw: isSet(object.raw) ? ContentHash_Raw.fromJSON(object.raw) : undefined, - graph: isSet(object.graph) ? ContentHash_Graph.fromJSON(object.graph) : undefined - }; - }, - toJSON(message: ContentHash): unknown { - const obj: any = {}; - message.raw !== undefined && (obj.raw = message.raw ? ContentHash_Raw.toJSON(message.raw) : undefined); - message.graph !== undefined && (obj.graph = message.graph ? ContentHash_Graph.toJSON(message.graph) : undefined); - return obj; - }, fromPartial(object: Partial): ContentHash { const message = createBaseContentHash(); message.raw = object.raw !== undefined && object.raw !== null ? ContentHash_Raw.fromPartial(object.raw) : undefined; @@ -536,20 +525,6 @@ export const ContentHash_Raw = { } return message; }, - fromJSON(object: any): ContentHash_Raw { - return { - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(), - digestAlgorithm: isSet(object.digestAlgorithm) ? digestAlgorithmFromJSON(object.digestAlgorithm) : -1, - mediaType: isSet(object.mediaType) ? rawMediaTypeFromJSON(object.mediaType) : -1 - }; - }, - toJSON(message: ContentHash_Raw): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.digestAlgorithm !== undefined && (obj.digestAlgorithm = digestAlgorithmToJSON(message.digestAlgorithm)); - message.mediaType !== undefined && (obj.mediaType = rawMediaTypeToJSON(message.mediaType)); - return obj; - }, fromPartial(object: Partial): ContentHash_Raw { const message = createBaseContentHash_Raw(); message.hash = object.hash ?? new Uint8Array(); @@ -644,22 +619,6 @@ export const ContentHash_Graph = { } return message; }, - fromJSON(object: any): ContentHash_Graph { - return { - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(), - digestAlgorithm: isSet(object.digestAlgorithm) ? digestAlgorithmFromJSON(object.digestAlgorithm) : -1, - canonicalizationAlgorithm: isSet(object.canonicalizationAlgorithm) ? graphCanonicalizationAlgorithmFromJSON(object.canonicalizationAlgorithm) : -1, - merkleTree: isSet(object.merkleTree) ? graphMerkleTreeFromJSON(object.merkleTree) : -1 - }; - }, - toJSON(message: ContentHash_Graph): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.digestAlgorithm !== undefined && (obj.digestAlgorithm = digestAlgorithmToJSON(message.digestAlgorithm)); - message.canonicalizationAlgorithm !== undefined && (obj.canonicalizationAlgorithm = graphCanonicalizationAlgorithmToJSON(message.canonicalizationAlgorithm)); - message.merkleTree !== undefined && (obj.merkleTree = graphMerkleTreeToJSON(message.merkleTree)); - return obj; - }, fromPartial(object: Partial): ContentHash_Graph { const message = createBaseContentHash_Graph(); message.hash = object.hash ?? new Uint8Array(); @@ -738,20 +697,6 @@ export const ContentHashes = { } return message; }, - fromJSON(object: any): ContentHashes { - return { - contentHashes: Array.isArray(object?.contentHashes) ? object.contentHashes.map((e: any) => ContentHash.fromJSON(e)) : [] - }; - }, - toJSON(message: ContentHashes): unknown { - const obj: any = {}; - if (message.contentHashes) { - obj.contentHashes = message.contentHashes.map(e => e ? ContentHash.toJSON(e) : undefined); - } else { - obj.contentHashes = []; - } - return obj; - }, fromPartial(object: Partial): ContentHashes { const message = createBaseContentHashes(); message.contentHashes = object.contentHashes?.map(e => ContentHash.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/events.ts b/packages/api/src/regen/ecocredit/basket/v1/events.ts similarity index 88% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/events.ts rename to packages/api/src/regen/ecocredit/basket/v1/events.ts index 763931fe..75131544 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/events.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/events.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { BasketCredit, BasketCreditAmino, BasketCreditSDKType } from "./types"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** EventCreate is an event emitted when a basket is created. */ export interface EventCreate { /** basket_denom is the basket bank denom. */ @@ -295,18 +295,6 @@ export const EventCreate = { } return message; }, - fromJSON(object: any): EventCreate { - return { - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - curator: isSet(object.curator) ? String(object.curator) : "" - }; - }, - toJSON(message: EventCreate): unknown { - const obj: any = {}; - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - message.curator !== undefined && (obj.curator = message.curator); - return obj; - }, fromPartial(object: Partial): EventCreate { const message = createBaseEventCreate(); message.basketDenom = object.basketDenom ?? ""; @@ -396,26 +384,6 @@ export const EventPut = { } return message; }, - fromJSON(object: any): EventPut { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => BasketCredit.fromJSON(e)) : [], - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: EventPut): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - if (message.credits) { - obj.credits = message.credits.map(e => e ? BasketCredit.toJSON(e) : undefined); - } else { - obj.credits = []; - } - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): EventPut { const message = createBaseEventPut(); message.owner = object.owner ?? ""; @@ -517,26 +485,6 @@ export const EventTake = { } return message; }, - fromJSON(object: any): EventTake { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => BasketCredit.fromJSON(e)) : [], - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: EventTake): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - if (message.credits) { - obj.credits = message.credits.map(e => e ? BasketCredit.toJSON(e) : undefined); - } else { - obj.credits = []; - } - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): EventTake { const message = createBaseEventTake(); message.owner = object.owner ?? ""; @@ -617,16 +565,6 @@ export const EventUpdateCurator = { } return message; }, - fromJSON(object: any): EventUpdateCurator { - return { - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: EventUpdateCurator): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): EventUpdateCurator { const message = createBaseEventUpdateCurator(); message.denom = object.denom ?? ""; @@ -690,16 +628,6 @@ export const EventUpdateDateCriteria = { } return message; }, - fromJSON(object: any): EventUpdateDateCriteria { - return { - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: EventUpdateDateCriteria): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): EventUpdateDateCriteria { const message = createBaseEventUpdateDateCriteria(); message.denom = object.denom ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/query.lcd.ts b/packages/api/src/regen/ecocredit/basket/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/query.lcd.ts rename to packages/api/src/regen/ecocredit/basket/v1/query.lcd.ts index 52d98baa..fd938511 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/query.lcd.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryBasketRequest, QueryBasketResponseSDKType, QueryBasketsRequest, QueryBasketsResponseSDKType, QueryBasketBalancesRequest, QueryBasketBalancesResponseSDKType, QueryBasketBalanceRequest, QueryBasketBalanceResponseSDKType, QueryBasketFeeRequest, QueryBasketFeeResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/query.rpc.Query.ts b/packages/api/src/regen/ecocredit/basket/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/query.rpc.Query.ts rename to packages/api/src/regen/ecocredit/basket/v1/query.rpc.Query.ts index 31cd7e3a..8608efea 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/query.rpc.Query.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/query.ts b/packages/api/src/regen/ecocredit/basket/v1/query.ts similarity index 87% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/query.ts rename to packages/api/src/regen/ecocredit/basket/v1/query.ts index a8f2b9ee..4eb31426 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/query.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/query.ts @@ -1,9 +1,9 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; import { Basket, BasketAmino, BasketSDKType, BasketBalance, BasketBalanceAmino, BasketBalanceSDKType } from "./state"; import { DateCriteria, DateCriteriaAmino, DateCriteriaSDKType } from "./types"; import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** QueryBasketRequest is the Query/Basket request type. */ export interface QueryBasketRequest { /** basket_denom represents the denom of the basket to query. */ @@ -490,16 +490,6 @@ export const QueryBasketRequest = { } return message; }, - fromJSON(object: any): QueryBasketRequest { - return { - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "" - }; - }, - toJSON(message: QueryBasketRequest): unknown { - const obj: any = {}; - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - return obj; - }, fromPartial(object: Partial): QueryBasketRequest { const message = createBaseQueryBasketRequest(); message.basketDenom = object.basketDenom ?? ""; @@ -577,24 +567,6 @@ export const QueryBasketResponse = { } return message; }, - fromJSON(object: any): QueryBasketResponse { - return { - basket: isSet(object.basket) ? Basket.fromJSON(object.basket) : undefined, - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => String(e)) : [], - basketInfo: isSet(object.basketInfo) ? BasketInfo.fromJSON(object.basketInfo) : undefined - }; - }, - toJSON(message: QueryBasketResponse): unknown { - const obj: any = {}; - message.basket !== undefined && (obj.basket = message.basket ? Basket.toJSON(message.basket) : undefined); - if (message.classes) { - obj.classes = message.classes.map(e => e); - } else { - obj.classes = []; - } - message.basketInfo !== undefined && (obj.basketInfo = message.basketInfo ? BasketInfo.toJSON(message.basketInfo) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBasketResponse { const message = createBaseQueryBasketResponse(); message.basket = object.basket !== undefined && object.basket !== null ? Basket.fromPartial(object.basket) : undefined; @@ -670,16 +642,6 @@ export const QueryBasketsRequest = { } return message; }, - fromJSON(object: any): QueryBasketsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBasketsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBasketsRequest { const message = createBaseQueryBasketsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -757,28 +719,6 @@ export const QueryBasketsResponse = { } return message; }, - fromJSON(object: any): QueryBasketsResponse { - return { - baskets: Array.isArray(object?.baskets) ? object.baskets.map((e: any) => Basket.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - basketsInfo: Array.isArray(object?.basketsInfo) ? object.basketsInfo.map((e: any) => BasketInfo.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryBasketsResponse): unknown { - const obj: any = {}; - if (message.baskets) { - obj.baskets = message.baskets.map(e => e ? Basket.toJSON(e) : undefined); - } else { - obj.baskets = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - if (message.basketsInfo) { - obj.basketsInfo = message.basketsInfo.map(e => e ? BasketInfo.toJSON(e) : undefined); - } else { - obj.basketsInfo = []; - } - return obj; - }, fromPartial(object: Partial): QueryBasketsResponse { const message = createBaseQueryBasketsResponse(); message.baskets = object.baskets?.map(e => Basket.fromPartial(e)) || []; @@ -863,18 +803,6 @@ export const QueryBasketBalancesRequest = { } return message; }, - fromJSON(object: any): QueryBasketBalancesRequest { - return { - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBasketBalancesRequest): unknown { - const obj: any = {}; - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBasketBalancesRequest { const message = createBaseQueryBasketBalancesRequest(); message.basketDenom = object.basketDenom ?? ""; @@ -957,28 +885,6 @@ export const QueryBasketBalancesResponse = { } return message; }, - fromJSON(object: any): QueryBasketBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => BasketBalance.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined, - balancesInfo: Array.isArray(object?.balancesInfo) ? object.balancesInfo.map((e: any) => BasketBalanceInfo.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryBasketBalancesResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? BasketBalance.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - if (message.balancesInfo) { - obj.balancesInfo = message.balancesInfo.map(e => e ? BasketBalanceInfo.toJSON(e) : undefined); - } else { - obj.balancesInfo = []; - } - return obj; - }, fromPartial(object: Partial): QueryBasketBalancesResponse { const message = createBaseQueryBasketBalancesResponse(); message.balances = object.balances?.map(e => BasketBalance.fromPartial(e)) || []; @@ -1063,18 +969,6 @@ export const QueryBasketBalanceRequest = { } return message; }, - fromJSON(object: any): QueryBasketBalanceRequest { - return { - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: QueryBasketBalanceRequest): unknown { - const obj: any = {}; - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): QueryBasketBalanceRequest { const message = createBaseQueryBasketBalanceRequest(); message.basketDenom = object.basketDenom ?? ""; @@ -1143,16 +1037,6 @@ export const QueryBasketBalanceResponse = { } return message; }, - fromJSON(object: any): QueryBasketBalanceResponse { - return { - balance: isSet(object.balance) ? String(object.balance) : "" - }; - }, - toJSON(message: QueryBasketBalanceResponse): unknown { - const obj: any = {}; - message.balance !== undefined && (obj.balance = message.balance); - return obj; - }, fromPartial(object: Partial): QueryBasketBalanceResponse { const message = createBaseQueryBasketBalanceResponse(); message.balance = object.balance ?? ""; @@ -1258,28 +1142,6 @@ export const BasketInfo = { } return message; }, - fromJSON(object: any): BasketInfo { - return { - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - name: isSet(object.name) ? String(object.name) : "", - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "", - dateCriteria: isSet(object.dateCriteria) ? DateCriteria.fromJSON(object.dateCriteria) : undefined, - exponent: isSet(object.exponent) ? Number(object.exponent) : 0, - curator: isSet(object.curator) ? String(object.curator) : "" - }; - }, - toJSON(message: BasketInfo): unknown { - const obj: any = {}; - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - message.name !== undefined && (obj.name = message.name); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - message.dateCriteria !== undefined && (obj.dateCriteria = message.dateCriteria ? DateCriteria.toJSON(message.dateCriteria) : undefined); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - message.curator !== undefined && (obj.curator = message.curator); - return obj; - }, fromPartial(object: Partial): BasketInfo { const message = createBaseBasketInfo(); message.basketDenom = object.basketDenom ?? ""; @@ -1380,18 +1242,6 @@ export const BasketBalanceInfo = { } return message; }, - fromJSON(object: any): BasketBalanceInfo { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - balance: isSet(object.balance) ? String(object.balance) : "" - }; - }, - toJSON(message: BasketBalanceInfo): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.balance !== undefined && (obj.balance = message.balance); - return obj; - }, fromPartial(object: Partial): BasketBalanceInfo { const message = createBaseBasketBalanceInfo(); message.batchDenom = object.batchDenom ?? ""; @@ -1452,13 +1302,6 @@ export const QueryBasketFeeRequest = { } return message; }, - fromJSON(_: any): QueryBasketFeeRequest { - return {}; - }, - toJSON(_: QueryBasketFeeRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryBasketFeeRequest { const message = createBaseQueryBasketFeeRequest(); return message; @@ -1517,16 +1360,6 @@ export const QueryBasketFeeResponse = { } return message; }, - fromJSON(object: any): QueryBasketFeeResponse { - return { - fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined - }; - }, - toJSON(message: QueryBasketFeeResponse): unknown { - const obj: any = {}; - message.fee !== undefined && (obj.fee = message.fee ? Coin.toJSON(message.fee) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBasketFeeResponse { const message = createBaseQueryBasketFeeResponse(); message.fee = object.fee !== undefined && object.fee !== null ? Coin.fromPartial(object.fee) : undefined; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/state.ts b/packages/api/src/regen/ecocredit/basket/v1/state.ts similarity index 84% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/state.ts rename to packages/api/src/regen/ecocredit/basket/v1/state.ts index 26c396e8..02b40d6c 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/state.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/state.ts @@ -1,8 +1,9 @@ +//@ts-nocheck import { DateCriteria, DateCriteriaAmino, DateCriteriaSDKType } from "./types"; -import { Timestamp, TimestampSDKType } from "../../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../../google/protobuf/timestamp"; import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes, fromJsonTimestamp, fromTimestamp } from "../../../../helpers"; +import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../../../helpers"; /** Basket represents a basket in state. */ export interface Basket { /** @@ -186,7 +187,7 @@ export interface BasketBalance { * batch_start_date is the start date of the batch. This field is used * to create an index which is used to remove the oldest credits first. */ - batchStartDate?: Timestamp; + batchStartDate?: Date; } export interface BasketBalanceProtoMsg { typeUrl: "/regen.ecocredit.basket.v1.BasketBalance"; @@ -215,7 +216,7 @@ export interface BasketBalanceSDKType { basket_id: bigint; batch_denom: string; balance: string; - batch_start_date?: TimestampSDKType; + batch_start_date?: Date; } /** * BasketFee is the basket creation fee. If not set, a basket creation fee is @@ -339,30 +340,6 @@ export const Basket = { } return message; }, - fromJSON(object: any): Basket { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - name: isSet(object.name) ? String(object.name) : "", - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "", - dateCriteria: isSet(object.dateCriteria) ? DateCriteria.fromJSON(object.dateCriteria) : undefined, - exponent: isSet(object.exponent) ? Number(object.exponent) : 0, - curator: isSet(object.curator) ? bytesFromBase64(object.curator) : new Uint8Array() - }; - }, - toJSON(message: Basket): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - message.name !== undefined && (obj.name = message.name); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - message.dateCriteria !== undefined && (obj.dateCriteria = message.dateCriteria ? DateCriteria.toJSON(message.dateCriteria) : undefined); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - message.curator !== undefined && (obj.curator = base64FromBytes(message.curator !== undefined ? message.curator : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): Basket { const message = createBaseBasket(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -468,18 +445,6 @@ export const BasketClass = { } return message; }, - fromJSON(object: any): BasketClass { - return { - basketId: isSet(object.basketId) ? BigInt(object.basketId.toString()) : BigInt(0), - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: BasketClass): unknown { - const obj: any = {}; - message.basketId !== undefined && (obj.basketId = (message.basketId || BigInt(0)).toString()); - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): BasketClass { const message = createBaseBasketClass(); message.basketId = object.basketId !== undefined && object.basketId !== null ? BigInt(object.basketId.toString()) : BigInt(0); @@ -539,7 +504,7 @@ export const BasketBalance = { writer.uint32(26).string(message.balance); } if (message.batchStartDate !== undefined) { - Timestamp.encode(message.batchStartDate, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.batchStartDate), writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -560,7 +525,7 @@ export const BasketBalance = { message.balance = reader.string(); break; case 4: - message.batchStartDate = Timestamp.decode(reader, reader.uint32()); + message.batchStartDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -569,28 +534,12 @@ export const BasketBalance = { } return message; }, - fromJSON(object: any): BasketBalance { - return { - basketId: isSet(object.basketId) ? BigInt(object.basketId.toString()) : BigInt(0), - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - balance: isSet(object.balance) ? String(object.balance) : "", - batchStartDate: isSet(object.batchStartDate) ? fromJsonTimestamp(object.batchStartDate) : undefined - }; - }, - toJSON(message: BasketBalance): unknown { - const obj: any = {}; - message.basketId !== undefined && (obj.basketId = (message.basketId || BigInt(0)).toString()); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.balance !== undefined && (obj.balance = message.balance); - message.batchStartDate !== undefined && (obj.batchStartDate = fromTimestamp(message.batchStartDate).toISOString()); - return obj; - }, fromPartial(object: Partial): BasketBalance { const message = createBaseBasketBalance(); message.basketId = object.basketId !== undefined && object.basketId !== null ? BigInt(object.basketId.toString()) : BigInt(0); message.batchDenom = object.batchDenom ?? ""; message.balance = object.balance ?? ""; - message.batchStartDate = object.batchStartDate !== undefined && object.batchStartDate !== null ? Timestamp.fromPartial(object.batchStartDate) : undefined; + message.batchStartDate = object.batchStartDate ?? undefined; return message; }, fromAmino(object: BasketBalanceAmino): BasketBalance { @@ -605,7 +554,7 @@ export const BasketBalance = { message.balance = object.balance; } if (object.batch_start_date !== undefined && object.batch_start_date !== null) { - message.batchStartDate = Timestamp.fromAmino(object.batch_start_date); + message.batchStartDate = fromTimestamp(Timestamp.fromAmino(object.batch_start_date)); } return message; }, @@ -614,7 +563,7 @@ export const BasketBalance = { obj.basket_id = message.basketId !== BigInt(0) ? message.basketId.toString() : undefined; obj.batch_denom = message.batchDenom === "" ? undefined : message.batchDenom; obj.balance = message.balance === "" ? undefined : message.balance; - obj.batch_start_date = message.batchStartDate ? Timestamp.toAmino(message.batchStartDate) : undefined; + obj.batch_start_date = message.batchStartDate ? Timestamp.toAmino(toTimestamp(message.batchStartDate)) : undefined; return obj; }, fromAminoMsg(object: BasketBalanceAminoMsg): BasketBalance { @@ -663,16 +612,6 @@ export const BasketFee = { } return message; }, - fromJSON(object: any): BasketFee { - return { - fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined - }; - }, - toJSON(message: BasketFee): unknown { - const obj: any = {}; - message.fee !== undefined && (obj.fee = message.fee ? Coin.toJSON(message.fee) : undefined); - return obj; - }, fromPartial(object: Partial): BasketFee { const message = createBaseBasketFee(); message.fee = object.fee !== undefined && object.fee !== null ? Coin.fromPartial(object.fee) : undefined; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.amino.ts b/packages/api/src/regen/ecocredit/basket/v1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/tx.amino.ts rename to packages/api/src/regen/ecocredit/basket/v1/tx.amino.ts index 4555caf9..04554ce7 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.amino.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgCreate, MsgPut, MsgTake, MsgUpdateBasketFee, MsgUpdateCurator, MsgUpdateDateCriteria } from "./tx"; export const AminoConverter = { "/regen.ecocredit.basket.v1.MsgCreate": { diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.registry.ts b/packages/api/src/regen/ecocredit/basket/v1/tx.registry.ts similarity index 65% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/tx.registry.ts rename to packages/api/src/regen/ecocredit/basket/v1/tx.registry.ts index 64eff96f..de1a77d6 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.registry.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreate, MsgPut, MsgTake, MsgUpdateBasketFee, MsgUpdateCurator, MsgUpdateDateCriteria } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/regen.ecocredit.basket.v1.MsgCreate", MsgCreate], ["/regen.ecocredit.basket.v1.MsgPut", MsgPut], ["/regen.ecocredit.basket.v1.MsgTake", MsgTake], ["/regen.ecocredit.basket.v1.MsgUpdateBasketFee", MsgUpdateBasketFee], ["/regen.ecocredit.basket.v1.MsgUpdateCurator", MsgUpdateCurator], ["/regen.ecocredit.basket.v1.MsgUpdateDateCriteria", MsgUpdateDateCriteria]]; @@ -83,82 +84,6 @@ export const MessageComposer = { }; } }, - toJSON: { - create(value: MsgCreate) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgCreate", - value: MsgCreate.toJSON(value) - }; - }, - put(value: MsgPut) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgPut", - value: MsgPut.toJSON(value) - }; - }, - take(value: MsgTake) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgTake", - value: MsgTake.toJSON(value) - }; - }, - updateBasketFee(value: MsgUpdateBasketFee) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateBasketFee", - value: MsgUpdateBasketFee.toJSON(value) - }; - }, - updateCurator(value: MsgUpdateCurator) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateCurator", - value: MsgUpdateCurator.toJSON(value) - }; - }, - updateDateCriteria(value: MsgUpdateDateCriteria) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateDateCriteria", - value: MsgUpdateDateCriteria.toJSON(value) - }; - } - }, - fromJSON: { - create(value: any) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgCreate", - value: MsgCreate.fromJSON(value) - }; - }, - put(value: any) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgPut", - value: MsgPut.fromJSON(value) - }; - }, - take(value: any) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgTake", - value: MsgTake.fromJSON(value) - }; - }, - updateBasketFee(value: any) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateBasketFee", - value: MsgUpdateBasketFee.fromJSON(value) - }; - }, - updateCurator(value: any) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateCurator", - value: MsgUpdateCurator.fromJSON(value) - }; - }, - updateDateCriteria(value: any) { - return { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateDateCriteria", - value: MsgUpdateDateCriteria.fromJSON(value) - }; - } - }, fromPartial: { create(value: MsgCreate) { return { diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.rpc.msg.ts b/packages/api/src/regen/ecocredit/basket/v1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/tx.rpc.msg.ts rename to packages/api/src/regen/ecocredit/basket/v1/tx.rpc.msg.ts index 01d553ea..52bc3cf7 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.rpc.msg.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { MsgCreate, MsgCreateResponse, MsgPut, MsgPutResponse, MsgTake, MsgTakeResponse, MsgUpdateBasketFee, MsgUpdateBasketFeeResponse, MsgUpdateCurator, MsgUpdateCuratorResponse, MsgUpdateDateCriteria, MsgUpdateDateCriteriaResponse } from "./tx"; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.ts b/packages/api/src/regen/ecocredit/basket/v1/tx.ts similarity index 88% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/tx.ts rename to packages/api/src/regen/ecocredit/basket/v1/tx.ts index ffa3017e..d23c751d 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/tx.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/tx.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { DateCriteria, DateCriteriaAmino, DateCriteriaSDKType, BasketCredit, BasketCreditAmino, BasketCreditSDKType } from "./types"; import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** MsgCreateBasket is the Msg/CreateBasket request type. */ export interface MsgCreate { /** @@ -667,40 +667,6 @@ export const MsgCreate = { } return message; }, - fromJSON(object: any): MsgCreate { - return { - curator: isSet(object.curator) ? String(object.curator) : "", - name: isSet(object.name) ? String(object.name) : "", - description: isSet(object.description) ? String(object.description) : "", - exponent: isSet(object.exponent) ? Number(object.exponent) : 0, - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "", - allowedClasses: Array.isArray(object?.allowedClasses) ? object.allowedClasses.map((e: any) => String(e)) : [], - dateCriteria: isSet(object.dateCriteria) ? DateCriteria.fromJSON(object.dateCriteria) : undefined, - fee: Array.isArray(object?.fee) ? object.fee.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgCreate): unknown { - const obj: any = {}; - message.curator !== undefined && (obj.curator = message.curator); - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - if (message.allowedClasses) { - obj.allowedClasses = message.allowedClasses.map(e => e); - } else { - obj.allowedClasses = []; - } - message.dateCriteria !== undefined && (obj.dateCriteria = message.dateCriteria ? DateCriteria.toJSON(message.dateCriteria) : undefined); - if (message.fee) { - obj.fee = message.fee.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.fee = []; - } - return obj; - }, fromPartial(object: Partial): MsgCreate { const message = createBaseMsgCreate(); message.curator = object.curator ?? ""; @@ -814,16 +780,6 @@ export const MsgCreateResponse = { } return message; }, - fromJSON(object: any): MsgCreateResponse { - return { - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "" - }; - }, - toJSON(message: MsgCreateResponse): unknown { - const obj: any = {}; - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - return obj; - }, fromPartial(object: Partial): MsgCreateResponse { const message = createBaseMsgCreateResponse(); message.basketDenom = object.basketDenom ?? ""; @@ -901,24 +857,6 @@ export const MsgPut = { } return message; }, - fromJSON(object: any): MsgPut { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => BasketCredit.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgPut): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - if (message.credits) { - obj.credits = message.credits.map(e => e ? BasketCredit.toJSON(e) : undefined); - } else { - obj.credits = []; - } - return obj; - }, fromPartial(object: Partial): MsgPut { const message = createBaseMsgPut(); message.owner = object.owner ?? ""; @@ -1000,16 +938,6 @@ export const MsgPutResponse = { } return message; }, - fromJSON(object: any): MsgPutResponse { - return { - amountReceived: isSet(object.amountReceived) ? String(object.amountReceived) : "" - }; - }, - toJSON(message: MsgPutResponse): unknown { - const obj: any = {}; - message.amountReceived !== undefined && (obj.amountReceived = message.amountReceived); - return obj; - }, fromPartial(object: Partial): MsgPutResponse { const message = createBaseMsgPutResponse(); message.amountReceived = object.amountReceived ?? ""; @@ -1115,28 +1043,6 @@ export const MsgTake = { } return message; }, - fromJSON(object: any): MsgTake { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - retirementLocation: isSet(object.retirementLocation) ? String(object.retirementLocation) : "", - retireOnTake: isSet(object.retireOnTake) ? Boolean(object.retireOnTake) : false, - retirementJurisdiction: isSet(object.retirementJurisdiction) ? String(object.retirementJurisdiction) : "", - retirementReason: isSet(object.retirementReason) ? String(object.retirementReason) : "" - }; - }, - toJSON(message: MsgTake): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - message.amount !== undefined && (obj.amount = message.amount); - message.retirementLocation !== undefined && (obj.retirementLocation = message.retirementLocation); - message.retireOnTake !== undefined && (obj.retireOnTake = message.retireOnTake); - message.retirementJurisdiction !== undefined && (obj.retirementJurisdiction = message.retirementJurisdiction); - message.retirementReason !== undefined && (obj.retirementReason = message.retirementReason); - return obj; - }, fromPartial(object: Partial): MsgTake { const message = createBaseMsgTake(); message.owner = object.owner ?? ""; @@ -1236,20 +1142,6 @@ export const MsgTakeResponse = { } return message; }, - fromJSON(object: any): MsgTakeResponse { - return { - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => BasketCredit.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgTakeResponse): unknown { - const obj: any = {}; - if (message.credits) { - obj.credits = message.credits.map(e => e ? BasketCredit.toJSON(e) : undefined); - } else { - obj.credits = []; - } - return obj; - }, fromPartial(object: Partial): MsgTakeResponse { const message = createBaseMsgTakeResponse(); message.credits = object.credits?.map(e => BasketCredit.fromPartial(e)) || []; @@ -1322,18 +1214,6 @@ export const MsgUpdateBasketFee = { } return message; }, - fromJSON(object: any): MsgUpdateBasketFee { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined - }; - }, - toJSON(message: MsgUpdateBasketFee): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.fee !== undefined && (obj.fee = message.fee ? Coin.toJSON(message.fee) : undefined); - return obj; - }, fromPartial(object: Partial): MsgUpdateBasketFee { const message = createBaseMsgUpdateBasketFee(); message.authority = object.authority ?? ""; @@ -1400,13 +1280,6 @@ export const MsgUpdateBasketFeeResponse = { } return message; }, - fromJSON(_: any): MsgUpdateBasketFeeResponse { - return {}; - }, - toJSON(_: MsgUpdateBasketFeeResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateBasketFeeResponse { const message = createBaseMsgUpdateBasketFeeResponse(); return message; @@ -1479,20 +1352,6 @@ export const MsgUpdateCurator = { } return message; }, - fromJSON(object: any): MsgUpdateCurator { - return { - curator: isSet(object.curator) ? String(object.curator) : "", - denom: isSet(object.denom) ? String(object.denom) : "", - newCurator: isSet(object.newCurator) ? String(object.newCurator) : "" - }; - }, - toJSON(message: MsgUpdateCurator): unknown { - const obj: any = {}; - message.curator !== undefined && (obj.curator = message.curator); - message.denom !== undefined && (obj.denom = message.denom); - message.newCurator !== undefined && (obj.newCurator = message.newCurator); - return obj; - }, fromPartial(object: Partial): MsgUpdateCurator { const message = createBaseMsgUpdateCurator(); message.curator = object.curator ?? ""; @@ -1564,13 +1423,6 @@ export const MsgUpdateCuratorResponse = { } return message; }, - fromJSON(_: any): MsgUpdateCuratorResponse { - return {}; - }, - toJSON(_: MsgUpdateCuratorResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateCuratorResponse { const message = createBaseMsgUpdateCuratorResponse(); return message; @@ -1643,20 +1495,6 @@ export const MsgUpdateDateCriteria = { } return message; }, - fromJSON(object: any): MsgUpdateDateCriteria { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - denom: isSet(object.denom) ? String(object.denom) : "", - newDateCriteria: isSet(object.newDateCriteria) ? DateCriteria.fromJSON(object.newDateCriteria) : undefined - }; - }, - toJSON(message: MsgUpdateDateCriteria): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.denom !== undefined && (obj.denom = message.denom); - message.newDateCriteria !== undefined && (obj.newDateCriteria = message.newDateCriteria ? DateCriteria.toJSON(message.newDateCriteria) : undefined); - return obj; - }, fromPartial(object: Partial): MsgUpdateDateCriteria { const message = createBaseMsgUpdateDateCriteria(); message.authority = object.authority ?? ""; @@ -1728,13 +1566,6 @@ export const MsgUpdateDateCriteriaResponse = { } return message; }, - fromJSON(_: any): MsgUpdateDateCriteriaResponse { - return {}; - }, - toJSON(_: MsgUpdateDateCriteriaResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateDateCriteriaResponse { const message = createBaseMsgUpdateDateCriteriaResponse(); return message; diff --git a/packages/api/src/codegen/regen/ecocredit/basket/v1/types.ts b/packages/api/src/regen/ecocredit/basket/v1/types.ts similarity index 84% rename from packages/api/src/codegen/regen/ecocredit/basket/v1/types.ts rename to packages/api/src/regen/ecocredit/basket/v1/types.ts index 6a825326..19404f95 100644 --- a/packages/api/src/codegen/regen/ecocredit/basket/v1/types.ts +++ b/packages/api/src/regen/ecocredit/basket/v1/types.ts @@ -1,7 +1,8 @@ -import { Timestamp, TimestampSDKType } from "../../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../../google/protobuf/timestamp"; import { Duration, DurationAmino, DurationSDKType } from "../../../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../../helpers"; /** BasketCredit represents the information for a credit batch inside a basket. */ export interface BasketCredit { /** batch_denom is the unique ID of the credit batch. */ @@ -47,7 +48,7 @@ export interface DateCriteria { * allowed into the basket. At most only one of `start_date_window`, * `min_start_date`, and `years_in_the_past` can be set for a basket. */ - minStartDate?: Timestamp; + minStartDate?: Date; /** * start_date_window (optional) is a duration of time measured into the past * which sets a cutoff for batch start dates when adding new credits to the @@ -114,7 +115,7 @@ export interface DateCriteriaAminoMsg { * At most, only one of the values should be set. */ export interface DateCriteriaSDKType { - min_start_date?: TimestampSDKType; + min_start_date?: Date; start_date_window?: DurationSDKType; years_in_the_past: number; } @@ -155,18 +156,6 @@ export const BasketCredit = { } return message; }, - fromJSON(object: any): BasketCredit { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: BasketCredit): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): BasketCredit { const message = createBaseBasketCredit(); message.batchDenom = object.batchDenom ?? ""; @@ -216,7 +205,7 @@ export const DateCriteria = { typeUrl: "/regen.ecocredit.basket.v1.DateCriteria", encode(message: DateCriteria, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { if (message.minStartDate !== undefined) { - Timestamp.encode(message.minStartDate, writer.uint32(10).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.minStartDate), writer.uint32(10).fork()).ldelim(); } if (message.startDateWindow !== undefined) { Duration.encode(message.startDateWindow, writer.uint32(18).fork()).ldelim(); @@ -234,7 +223,7 @@ export const DateCriteria = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.minStartDate = Timestamp.decode(reader, reader.uint32()); + message.minStartDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 2: message.startDateWindow = Duration.decode(reader, reader.uint32()); @@ -249,23 +238,9 @@ export const DateCriteria = { } return message; }, - fromJSON(object: any): DateCriteria { - return { - minStartDate: isSet(object.minStartDate) ? fromJsonTimestamp(object.minStartDate) : undefined, - startDateWindow: isSet(object.startDateWindow) ? Duration.fromJSON(object.startDateWindow) : undefined, - yearsInThePast: isSet(object.yearsInThePast) ? Number(object.yearsInThePast) : 0 - }; - }, - toJSON(message: DateCriteria): unknown { - const obj: any = {}; - message.minStartDate !== undefined && (obj.minStartDate = fromTimestamp(message.minStartDate).toISOString()); - message.startDateWindow !== undefined && (obj.startDateWindow = message.startDateWindow ? Duration.toJSON(message.startDateWindow) : undefined); - message.yearsInThePast !== undefined && (obj.yearsInThePast = Math.round(message.yearsInThePast)); - return obj; - }, fromPartial(object: Partial): DateCriteria { const message = createBaseDateCriteria(); - message.minStartDate = object.minStartDate !== undefined && object.minStartDate !== null ? Timestamp.fromPartial(object.minStartDate) : undefined; + message.minStartDate = object.minStartDate ?? undefined; message.startDateWindow = object.startDateWindow !== undefined && object.startDateWindow !== null ? Duration.fromPartial(object.startDateWindow) : undefined; message.yearsInThePast = object.yearsInThePast ?? 0; return message; @@ -273,7 +248,7 @@ export const DateCriteria = { fromAmino(object: DateCriteriaAmino): DateCriteria { const message = createBaseDateCriteria(); if (object.min_start_date !== undefined && object.min_start_date !== null) { - message.minStartDate = Timestamp.fromAmino(object.min_start_date); + message.minStartDate = fromTimestamp(Timestamp.fromAmino(object.min_start_date)); } if (object.start_date_window !== undefined && object.start_date_window !== null) { message.startDateWindow = Duration.fromAmino(object.start_date_window); @@ -285,7 +260,7 @@ export const DateCriteria = { }, toAmino(message: DateCriteria): DateCriteriaAmino { const obj: any = {}; - obj.min_start_date = message.minStartDate ? Timestamp.toAmino(message.minStartDate) : undefined; + obj.min_start_date = message.minStartDate ? Timestamp.toAmino(toTimestamp(message.minStartDate)) : undefined; obj.start_date_window = message.startDateWindow ? Duration.toAmino(message.startDateWindow) : undefined; obj.years_in_the_past = message.yearsInThePast === 0 ? undefined : message.yearsInThePast; return obj; diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/events.ts b/packages/api/src/regen/ecocredit/marketplace/v1/events.ts similarity index 90% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/events.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/events.ts index 6e423b15..59a0eac2 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/events.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/events.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** EventSell is an event emitted when a sell order is created. */ export interface EventSell { /** sell_order_id is the unique identifier of the sell order that was created. */ @@ -210,16 +210,6 @@ export const EventSell = { } return message; }, - fromJSON(object: any): EventSell { - return { - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventSell): unknown { - const obj: any = {}; - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventSell { const message = createBaseEventSell(); message.sellOrderId = object.sellOrderId !== undefined && object.sellOrderId !== null ? BigInt(object.sellOrderId.toString()) : BigInt(0); @@ -283,16 +273,6 @@ export const EventBuyDirect = { } return message; }, - fromJSON(object: any): EventBuyDirect { - return { - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventBuyDirect): unknown { - const obj: any = {}; - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventBuyDirect { const message = createBaseEventBuyDirect(); message.sellOrderId = object.sellOrderId !== undefined && object.sellOrderId !== null ? BigInt(object.sellOrderId.toString()) : BigInt(0); @@ -356,16 +336,6 @@ export const EventUpdateSellOrder = { } return message; }, - fromJSON(object: any): EventUpdateSellOrder { - return { - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventUpdateSellOrder): unknown { - const obj: any = {}; - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventUpdateSellOrder { const message = createBaseEventUpdateSellOrder(); message.sellOrderId = object.sellOrderId !== undefined && object.sellOrderId !== null ? BigInt(object.sellOrderId.toString()) : BigInt(0); @@ -429,16 +399,6 @@ export const EventCancelSellOrder = { } return message; }, - fromJSON(object: any): EventCancelSellOrder { - return { - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0) - }; - }, - toJSON(message: EventCancelSellOrder): unknown { - const obj: any = {}; - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EventCancelSellOrder { const message = createBaseEventCancelSellOrder(); message.sellOrderId = object.sellOrderId !== undefined && object.sellOrderId !== null ? BigInt(object.sellOrderId.toString()) : BigInt(0); @@ -502,16 +462,6 @@ export const EventAllowDenom = { } return message; }, - fromJSON(object: any): EventAllowDenom { - return { - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: EventAllowDenom): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): EventAllowDenom { const message = createBaseEventAllowDenom(); message.denom = object.denom ?? ""; @@ -575,16 +525,6 @@ export const EventRemoveAllowedDenom = { } return message; }, - fromJSON(object: any): EventRemoveAllowedDenom { - return { - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: EventRemoveAllowedDenom): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): EventRemoveAllowedDenom { const message = createBaseEventRemoveAllowedDenom(); message.denom = object.denom ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.lcd.ts b/packages/api/src/regen/ecocredit/marketplace/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.lcd.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/query.lcd.ts index 2eb26fe6..614e2999 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.lcd.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QuerySellOrderRequest, QuerySellOrderResponseSDKType, QuerySellOrdersRequest, QuerySellOrdersResponseSDKType, QuerySellOrdersByBatchRequest, QuerySellOrdersByBatchResponseSDKType, QuerySellOrdersBySellerRequest, QuerySellOrdersBySellerResponseSDKType, QueryAllowedDenomsRequest, QueryAllowedDenomsResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.rpc.Query.ts b/packages/api/src/regen/ecocredit/marketplace/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.rpc.Query.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/query.rpc.Query.ts index 7e029969..7daedd54 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.rpc.Query.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.ts b/packages/api/src/regen/ecocredit/marketplace/v1/query.ts similarity index 86% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/query.ts index 4b90f451..4e9427d7 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/query.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/query.ts @@ -1,8 +1,9 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; import { AllowedDenom, AllowedDenomAmino, AllowedDenomSDKType } from "./state"; -import { Timestamp, TimestampSDKType } from "../../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../../helpers"; /** QuerySellOrderRequest is the Query/SellOrder request type. */ export interface QuerySellOrderRequest { /** sell_order_id is the id of the requested sell order. */ @@ -323,7 +324,7 @@ export interface SellOrderInfo { * expiration is an optional timestamp when the sell order expires. When the * expiration time is reached, the sell order is removed from state. */ - expiration?: Timestamp; + expiration?: Date; } export interface SellOrderInfoProtoMsg { typeUrl: "/regen.ecocredit.marketplace.v1.SellOrderInfo"; @@ -372,7 +373,7 @@ export interface SellOrderInfoSDKType { ask_denom: string; ask_amount: string; disable_auto_retire: boolean; - expiration?: TimestampSDKType; + expiration?: Date; } function createBaseQuerySellOrderRequest(): QuerySellOrderRequest { return { @@ -404,16 +405,6 @@ export const QuerySellOrderRequest = { } return message; }, - fromJSON(object: any): QuerySellOrderRequest { - return { - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0) - }; - }, - toJSON(message: QuerySellOrderRequest): unknown { - const obj: any = {}; - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): QuerySellOrderRequest { const message = createBaseQuerySellOrderRequest(); message.sellOrderId = object.sellOrderId !== undefined && object.sellOrderId !== null ? BigInt(object.sellOrderId.toString()) : BigInt(0); @@ -477,16 +468,6 @@ export const QuerySellOrderResponse = { } return message; }, - fromJSON(object: any): QuerySellOrderResponse { - return { - sellOrder: isSet(object.sellOrder) ? SellOrderInfo.fromJSON(object.sellOrder) : undefined - }; - }, - toJSON(message: QuerySellOrderResponse): unknown { - const obj: any = {}; - message.sellOrder !== undefined && (obj.sellOrder = message.sellOrder ? SellOrderInfo.toJSON(message.sellOrder) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySellOrderResponse { const message = createBaseQuerySellOrderResponse(); message.sellOrder = object.sellOrder !== undefined && object.sellOrder !== null ? SellOrderInfo.fromPartial(object.sellOrder) : undefined; @@ -550,16 +531,6 @@ export const QuerySellOrdersRequest = { } return message; }, - fromJSON(object: any): QuerySellOrdersRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySellOrdersRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySellOrdersRequest { const message = createBaseQuerySellOrdersRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -630,22 +601,6 @@ export const QuerySellOrdersResponse = { } return message; }, - fromJSON(object: any): QuerySellOrdersResponse { - return { - sellOrders: Array.isArray(object?.sellOrders) ? object.sellOrders.map((e: any) => SellOrderInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySellOrdersResponse): unknown { - const obj: any = {}; - if (message.sellOrders) { - obj.sellOrders = message.sellOrders.map(e => e ? SellOrderInfo.toJSON(e) : undefined); - } else { - obj.sellOrders = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySellOrdersResponse { const message = createBaseQuerySellOrdersResponse(); message.sellOrders = object.sellOrders?.map(e => SellOrderInfo.fromPartial(e)) || []; @@ -723,18 +678,6 @@ export const QuerySellOrdersByBatchRequest = { } return message; }, - fromJSON(object: any): QuerySellOrdersByBatchRequest { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySellOrdersByBatchRequest): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySellOrdersByBatchRequest { const message = createBaseQuerySellOrdersByBatchRequest(); message.batchDenom = object.batchDenom ?? ""; @@ -810,22 +753,6 @@ export const QuerySellOrdersByBatchResponse = { } return message; }, - fromJSON(object: any): QuerySellOrdersByBatchResponse { - return { - sellOrders: Array.isArray(object?.sellOrders) ? object.sellOrders.map((e: any) => SellOrderInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySellOrdersByBatchResponse): unknown { - const obj: any = {}; - if (message.sellOrders) { - obj.sellOrders = message.sellOrders.map(e => e ? SellOrderInfo.toJSON(e) : undefined); - } else { - obj.sellOrders = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySellOrdersByBatchResponse { const message = createBaseQuerySellOrdersByBatchResponse(); message.sellOrders = object.sellOrders?.map(e => SellOrderInfo.fromPartial(e)) || []; @@ -903,18 +830,6 @@ export const QuerySellOrdersBySellerRequest = { } return message; }, - fromJSON(object: any): QuerySellOrdersBySellerRequest { - return { - seller: isSet(object.seller) ? String(object.seller) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySellOrdersBySellerRequest): unknown { - const obj: any = {}; - message.seller !== undefined && (obj.seller = message.seller); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySellOrdersBySellerRequest { const message = createBaseQuerySellOrdersBySellerRequest(); message.seller = object.seller ?? ""; @@ -990,22 +905,6 @@ export const QuerySellOrdersBySellerResponse = { } return message; }, - fromJSON(object: any): QuerySellOrdersBySellerResponse { - return { - sellOrders: Array.isArray(object?.sellOrders) ? object.sellOrders.map((e: any) => SellOrderInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QuerySellOrdersBySellerResponse): unknown { - const obj: any = {}; - if (message.sellOrders) { - obj.sellOrders = message.sellOrders.map(e => e ? SellOrderInfo.toJSON(e) : undefined); - } else { - obj.sellOrders = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QuerySellOrdersBySellerResponse { const message = createBaseQuerySellOrdersBySellerResponse(); message.sellOrders = object.sellOrders?.map(e => SellOrderInfo.fromPartial(e)) || []; @@ -1076,16 +975,6 @@ export const QueryAllowedDenomsRequest = { } return message; }, - fromJSON(object: any): QueryAllowedDenomsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowedDenomsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowedDenomsRequest { const message = createBaseQueryAllowedDenomsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1156,22 +1045,6 @@ export const QueryAllowedDenomsResponse = { } return message; }, - fromJSON(object: any): QueryAllowedDenomsResponse { - return { - allowedDenoms: Array.isArray(object?.allowedDenoms) ? object.allowedDenoms.map((e: any) => AllowedDenom.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowedDenomsResponse): unknown { - const obj: any = {}; - if (message.allowedDenoms) { - obj.allowedDenoms = message.allowedDenoms.map(e => e ? AllowedDenom.toJSON(e) : undefined); - } else { - obj.allowedDenoms = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowedDenomsResponse { const message = createBaseQueryAllowedDenomsResponse(); message.allowedDenoms = object.allowedDenoms?.map(e => AllowedDenom.fromPartial(e)) || []; @@ -1249,7 +1122,7 @@ export const SellOrderInfo = { writer.uint32(56).bool(message.disableAutoRetire); } if (message.expiration !== undefined) { - Timestamp.encode(message.expiration, writer.uint32(74).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(74).fork()).ldelim(); } return writer; }, @@ -1282,7 +1155,7 @@ export const SellOrderInfo = { message.disableAutoRetire = reader.bool(); break; case 9: - message.expiration = Timestamp.decode(reader, reader.uint32()); + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1291,30 +1164,6 @@ export const SellOrderInfo = { } return message; }, - fromJSON(object: any): SellOrderInfo { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - seller: isSet(object.seller) ? String(object.seller) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - quantity: isSet(object.quantity) ? String(object.quantity) : "", - askDenom: isSet(object.askDenom) ? String(object.askDenom) : "", - askAmount: isSet(object.askAmount) ? String(object.askAmount) : "", - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined - }; - }, - toJSON(message: SellOrderInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.seller !== undefined && (obj.seller = message.seller); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.quantity !== undefined && (obj.quantity = message.quantity); - message.askDenom !== undefined && (obj.askDenom = message.askDenom); - message.askAmount !== undefined && (obj.askAmount = message.askAmount); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString()); - return obj; - }, fromPartial(object: Partial): SellOrderInfo { const message = createBaseSellOrderInfo(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -1324,7 +1173,7 @@ export const SellOrderInfo = { message.askDenom = object.askDenom ?? ""; message.askAmount = object.askAmount ?? ""; message.disableAutoRetire = object.disableAutoRetire ?? false; - message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined; + message.expiration = object.expiration ?? undefined; return message; }, fromAmino(object: SellOrderInfoAmino): SellOrderInfo { @@ -1351,7 +1200,7 @@ export const SellOrderInfo = { message.disableAutoRetire = object.disable_auto_retire; } if (object.expiration !== undefined && object.expiration !== null) { - message.expiration = Timestamp.fromAmino(object.expiration); + message.expiration = fromTimestamp(Timestamp.fromAmino(object.expiration)); } return message; }, @@ -1364,7 +1213,7 @@ export const SellOrderInfo = { obj.ask_denom = message.askDenom === "" ? undefined : message.askDenom; obj.ask_amount = message.askAmount === "" ? undefined : message.askAmount; obj.disable_auto_retire = message.disableAutoRetire === false ? undefined : message.disableAutoRetire; - obj.expiration = message.expiration ? Timestamp.toAmino(message.expiration) : undefined; + obj.expiration = message.expiration ? Timestamp.toAmino(toTimestamp(message.expiration)) : undefined; return obj; }, fromAminoMsg(object: SellOrderInfoAminoMsg): SellOrderInfo { diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/state.ts b/packages/api/src/regen/ecocredit/marketplace/v1/state.ts similarity index 85% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/state.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/state.ts index fec20740..c29975e8 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/state.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/state.ts @@ -1,6 +1,7 @@ -import { Timestamp, TimestampSDKType } from "../../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, bytesFromBase64, fromJsonTimestamp, base64FromBytes, fromTimestamp } from "../../../../helpers"; +import { toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../../helpers"; /** SellOrder represents the information for a sell order. */ export interface SellOrder { /** id is the unique ID of sell order. */ @@ -36,7 +37,7 @@ export interface SellOrder { * expiration is an optional timestamp when the sell order expires. When the * expiration time is reached, the sell order is removed from state. */ - expiration?: Timestamp; + expiration?: Date; /** * maker indicates that this is a maker order, meaning that when it hit * the order book, there were no matching buy orders. @@ -102,7 +103,7 @@ export interface SellOrderSDKType { market_id: bigint; ask_amount: string; disable_auto_retire: boolean; - expiration?: TimestampSDKType; + expiration?: Date; maker: boolean; } /** AllowedDenom represents the information for an allowed ask/bid denom. */ @@ -308,7 +309,7 @@ export const SellOrder = { writer.uint32(56).bool(message.disableAutoRetire); } if (message.expiration !== undefined) { - Timestamp.encode(message.expiration, writer.uint32(74).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(74).fork()).ldelim(); } if (message.maker === true) { writer.uint32(80).bool(message.maker); @@ -344,7 +345,7 @@ export const SellOrder = { message.disableAutoRetire = reader.bool(); break; case 9: - message.expiration = Timestamp.decode(reader, reader.uint32()); + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 10: message.maker = reader.bool(); @@ -356,32 +357,6 @@ export const SellOrder = { } return message; }, - fromJSON(object: any): SellOrder { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - seller: isSet(object.seller) ? bytesFromBase64(object.seller) : new Uint8Array(), - batchKey: isSet(object.batchKey) ? BigInt(object.batchKey.toString()) : BigInt(0), - quantity: isSet(object.quantity) ? String(object.quantity) : "", - marketId: isSet(object.marketId) ? BigInt(object.marketId.toString()) : BigInt(0), - askAmount: isSet(object.askAmount) ? String(object.askAmount) : "", - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined, - maker: isSet(object.maker) ? Boolean(object.maker) : false - }; - }, - toJSON(message: SellOrder): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.seller !== undefined && (obj.seller = base64FromBytes(message.seller !== undefined ? message.seller : new Uint8Array())); - message.batchKey !== undefined && (obj.batchKey = (message.batchKey || BigInt(0)).toString()); - message.quantity !== undefined && (obj.quantity = message.quantity); - message.marketId !== undefined && (obj.marketId = (message.marketId || BigInt(0)).toString()); - message.askAmount !== undefined && (obj.askAmount = message.askAmount); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString()); - message.maker !== undefined && (obj.maker = message.maker); - return obj; - }, fromPartial(object: Partial): SellOrder { const message = createBaseSellOrder(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); @@ -391,7 +366,7 @@ export const SellOrder = { message.marketId = object.marketId !== undefined && object.marketId !== null ? BigInt(object.marketId.toString()) : BigInt(0); message.askAmount = object.askAmount ?? ""; message.disableAutoRetire = object.disableAutoRetire ?? false; - message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined; + message.expiration = object.expiration ?? undefined; message.maker = object.maker ?? false; return message; }, @@ -419,7 +394,7 @@ export const SellOrder = { message.disableAutoRetire = object.disable_auto_retire; } if (object.expiration !== undefined && object.expiration !== null) { - message.expiration = Timestamp.fromAmino(object.expiration); + message.expiration = fromTimestamp(Timestamp.fromAmino(object.expiration)); } if (object.maker !== undefined && object.maker !== null) { message.maker = object.maker; @@ -435,7 +410,7 @@ export const SellOrder = { obj.market_id = message.marketId !== BigInt(0) ? message.marketId.toString() : undefined; obj.ask_amount = message.askAmount === "" ? undefined : message.askAmount; obj.disable_auto_retire = message.disableAutoRetire === false ? undefined : message.disableAutoRetire; - obj.expiration = message.expiration ? Timestamp.toAmino(message.expiration) : undefined; + obj.expiration = message.expiration ? Timestamp.toAmino(toTimestamp(message.expiration)) : undefined; obj.maker = message.maker === false ? undefined : message.maker; return obj; }, @@ -499,20 +474,6 @@ export const AllowedDenom = { } return message; }, - fromJSON(object: any): AllowedDenom { - return { - bankDenom: isSet(object.bankDenom) ? String(object.bankDenom) : "", - displayDenom: isSet(object.displayDenom) ? String(object.displayDenom) : "", - exponent: isSet(object.exponent) ? Number(object.exponent) : 0 - }; - }, - toJSON(message: AllowedDenom): unknown { - const obj: any = {}; - message.bankDenom !== undefined && (obj.bankDenom = message.bankDenom); - message.displayDenom !== undefined && (obj.displayDenom = message.displayDenom); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - return obj; - }, fromPartial(object: Partial): AllowedDenom { const message = createBaseAllowedDenom(); message.bankDenom = object.bankDenom ?? ""; @@ -607,22 +568,6 @@ export const Market = { } return message; }, - fromJSON(object: any): Market { - return { - id: isSet(object.id) ? BigInt(object.id.toString()) : BigInt(0), - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "", - bankDenom: isSet(object.bankDenom) ? String(object.bankDenom) : "", - precisionModifier: isSet(object.precisionModifier) ? Number(object.precisionModifier) : 0 - }; - }, - toJSON(message: Market): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || BigInt(0)).toString()); - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - message.bankDenom !== undefined && (obj.bankDenom = message.bankDenom); - message.precisionModifier !== undefined && (obj.precisionModifier = Math.round(message.precisionModifier)); - return obj; - }, fromPartial(object: Partial): Market { const message = createBaseMarket(); message.id = object.id !== undefined && object.id !== null ? BigInt(object.id.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.amino.ts b/packages/api/src/regen/ecocredit/marketplace/v1/tx.amino.ts similarity index 98% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.amino.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/tx.amino.ts index 32fc496b..1bfbb8c3 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.amino.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgSell, MsgUpdateSellOrders, MsgCancelSellOrder, MsgBuyDirect, MsgAddAllowedDenom, MsgRemoveAllowedDenom } from "./tx"; export const AminoConverter = { "/regen.ecocredit.marketplace.v1.MsgSell": { diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.registry.ts b/packages/api/src/regen/ecocredit/marketplace/v1/tx.registry.ts similarity index 65% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.registry.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/tx.registry.ts index 4d05c618..fdecb9fd 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.registry.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgSell, MsgUpdateSellOrders, MsgCancelSellOrder, MsgBuyDirect, MsgAddAllowedDenom, MsgRemoveAllowedDenom } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/regen.ecocredit.marketplace.v1.MsgSell", MsgSell], ["/regen.ecocredit.marketplace.v1.MsgUpdateSellOrders", MsgUpdateSellOrders], ["/regen.ecocredit.marketplace.v1.MsgCancelSellOrder", MsgCancelSellOrder], ["/regen.ecocredit.marketplace.v1.MsgBuyDirect", MsgBuyDirect], ["/regen.ecocredit.marketplace.v1.MsgAddAllowedDenom", MsgAddAllowedDenom], ["/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom", MsgRemoveAllowedDenom]]; @@ -83,82 +84,6 @@ export const MessageComposer = { }; } }, - toJSON: { - sell(value: MsgSell) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgSell", - value: MsgSell.toJSON(value) - }; - }, - updateSellOrders(value: MsgUpdateSellOrders) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrders", - value: MsgUpdateSellOrders.toJSON(value) - }; - }, - cancelSellOrder(value: MsgCancelSellOrder) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgCancelSellOrder", - value: MsgCancelSellOrder.toJSON(value) - }; - }, - buyDirect(value: MsgBuyDirect) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgBuyDirect", - value: MsgBuyDirect.toJSON(value) - }; - }, - addAllowedDenom(value: MsgAddAllowedDenom) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenom", - value: MsgAddAllowedDenom.toJSON(value) - }; - }, - removeAllowedDenom(value: MsgRemoveAllowedDenom) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom", - value: MsgRemoveAllowedDenom.toJSON(value) - }; - } - }, - fromJSON: { - sell(value: any) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgSell", - value: MsgSell.fromJSON(value) - }; - }, - updateSellOrders(value: any) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrders", - value: MsgUpdateSellOrders.fromJSON(value) - }; - }, - cancelSellOrder(value: any) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgCancelSellOrder", - value: MsgCancelSellOrder.fromJSON(value) - }; - }, - buyDirect(value: any) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgBuyDirect", - value: MsgBuyDirect.fromJSON(value) - }; - }, - addAllowedDenom(value: any) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenom", - value: MsgAddAllowedDenom.fromJSON(value) - }; - }, - removeAllowedDenom(value: any) { - return { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom", - value: MsgRemoveAllowedDenom.fromJSON(value) - }; - } - }, fromPartial: { sell(value: MsgSell) { return { diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.rpc.msg.ts b/packages/api/src/regen/ecocredit/marketplace/v1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.rpc.msg.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/tx.rpc.msg.ts index a85d5b81..c0b34d39 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.rpc.msg.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../../helpers"; import { BinaryReader } from "../../../../binary"; import { MsgSell, MsgSellResponse, MsgUpdateSellOrders, MsgUpdateSellOrdersResponse, MsgCancelSellOrder, MsgCancelSellOrderResponse, MsgBuyDirect, MsgBuyDirectResponse, MsgAddAllowedDenom, MsgAddAllowedDenomResponse, MsgRemoveAllowedDenom, MsgRemoveAllowedDenomResponse } from "./tx"; diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.ts b/packages/api/src/regen/ecocredit/marketplace/v1/tx.ts similarity index 87% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/tx.ts index f38b6e25..0b937275 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/tx.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/tx.ts @@ -1,7 +1,8 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Timestamp, TimestampSDKType } from "../../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../../helpers"; /** MsgSell is the Msg/Sell request type. */ export interface MsgSell { /** seller is the address of the account that is selling credits. */ @@ -57,7 +58,7 @@ export interface MsgSell_Order { * expiration is an optional timestamp when the sell order expires. When the * expiration time is reached, the sell order is removed from state. */ - expiration?: Timestamp; + expiration?: Date; } export interface MsgSell_OrderProtoMsg { typeUrl: "/regen.ecocredit.marketplace.v1.Order"; @@ -103,7 +104,7 @@ export interface MsgSell_OrderSDKType { quantity: string; ask_price?: CoinSDKType; disable_auto_retire: boolean; - expiration?: TimestampSDKType; + expiration?: Date; } /** MsgSellResponse is the Msg/Sell response type. */ export interface MsgSellResponse { @@ -171,7 +172,7 @@ export interface MsgUpdateSellOrders_Update { * new_expiration is an optional timestamp when the sell order expires. When * the expiration time is reached, the sell order is removed from state. */ - newExpiration?: Timestamp; + newExpiration?: Date; } export interface MsgUpdateSellOrders_UpdateProtoMsg { typeUrl: "/regen.ecocredit.marketplace.v1.Update"; @@ -206,7 +207,7 @@ export interface MsgUpdateSellOrders_UpdateSDKType { new_quantity: string; new_ask_price?: CoinSDKType; disable_auto_retire: boolean; - new_expiration?: TimestampSDKType; + new_expiration?: Date; } /** MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type. */ export interface MsgUpdateSellOrdersResponse {} @@ -584,22 +585,6 @@ export const MsgSell = { } return message; }, - fromJSON(object: any): MsgSell { - return { - seller: isSet(object.seller) ? String(object.seller) : "", - orders: Array.isArray(object?.orders) ? object.orders.map((e: any) => MsgSell_Order.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgSell): unknown { - const obj: any = {}; - message.seller !== undefined && (obj.seller = message.seller); - if (message.orders) { - obj.orders = message.orders.map(e => e ? MsgSell_Order.toJSON(e) : undefined); - } else { - obj.orders = []; - } - return obj; - }, fromPartial(object: Partial): MsgSell { const message = createBaseMsgSell(); message.seller = object.seller ?? ""; @@ -671,7 +656,7 @@ export const MsgSell_Order = { writer.uint32(32).bool(message.disableAutoRetire); } if (message.expiration !== undefined) { - Timestamp.encode(message.expiration, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.expiration), writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -695,7 +680,7 @@ export const MsgSell_Order = { message.disableAutoRetire = reader.bool(); break; case 5: - message.expiration = Timestamp.decode(reader, reader.uint32()); + message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -704,31 +689,13 @@ export const MsgSell_Order = { } return message; }, - fromJSON(object: any): MsgSell_Order { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - quantity: isSet(object.quantity) ? String(object.quantity) : "", - askPrice: isSet(object.askPrice) ? Coin.fromJSON(object.askPrice) : undefined, - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - expiration: isSet(object.expiration) ? fromJsonTimestamp(object.expiration) : undefined - }; - }, - toJSON(message: MsgSell_Order): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.quantity !== undefined && (obj.quantity = message.quantity); - message.askPrice !== undefined && (obj.askPrice = message.askPrice ? Coin.toJSON(message.askPrice) : undefined); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.expiration !== undefined && (obj.expiration = fromTimestamp(message.expiration).toISOString()); - return obj; - }, fromPartial(object: Partial): MsgSell_Order { const message = createBaseMsgSell_Order(); message.batchDenom = object.batchDenom ?? ""; message.quantity = object.quantity ?? ""; message.askPrice = object.askPrice !== undefined && object.askPrice !== null ? Coin.fromPartial(object.askPrice) : undefined; message.disableAutoRetire = object.disableAutoRetire ?? false; - message.expiration = object.expiration !== undefined && object.expiration !== null ? Timestamp.fromPartial(object.expiration) : undefined; + message.expiration = object.expiration ?? undefined; return message; }, fromAmino(object: MsgSell_OrderAmino): MsgSell_Order { @@ -746,7 +713,7 @@ export const MsgSell_Order = { message.disableAutoRetire = object.disable_auto_retire; } if (object.expiration !== undefined && object.expiration !== null) { - message.expiration = Timestamp.fromAmino(object.expiration); + message.expiration = fromTimestamp(Timestamp.fromAmino(object.expiration)); } return message; }, @@ -756,7 +723,7 @@ export const MsgSell_Order = { obj.quantity = message.quantity === "" ? undefined : message.quantity; obj.ask_price = message.askPrice ? Coin.toAmino(message.askPrice) : undefined; obj.disable_auto_retire = message.disableAutoRetire === false ? undefined : message.disableAutoRetire; - obj.expiration = message.expiration ? Timestamp.toAmino(message.expiration) : undefined; + obj.expiration = message.expiration ? Timestamp.toAmino(toTimestamp(message.expiration)) : undefined; return obj; }, fromAminoMsg(object: MsgSell_OrderAminoMsg): MsgSell_Order { @@ -814,20 +781,6 @@ export const MsgSellResponse = { } return message; }, - fromJSON(object: any): MsgSellResponse { - return { - sellOrderIds: Array.isArray(object?.sellOrderIds) ? object.sellOrderIds.map((e: any) => BigInt(e.toString())) : [] - }; - }, - toJSON(message: MsgSellResponse): unknown { - const obj: any = {}; - if (message.sellOrderIds) { - obj.sellOrderIds = message.sellOrderIds.map(e => (e || BigInt(0)).toString()); - } else { - obj.sellOrderIds = []; - } - return obj; - }, fromPartial(object: Partial): MsgSellResponse { const message = createBaseMsgSellResponse(); message.sellOrderIds = object.sellOrderIds?.map(e => BigInt(e.toString())) || []; @@ -900,22 +853,6 @@ export const MsgUpdateSellOrders = { } return message; }, - fromJSON(object: any): MsgUpdateSellOrders { - return { - seller: isSet(object.seller) ? String(object.seller) : "", - updates: Array.isArray(object?.updates) ? object.updates.map((e: any) => MsgUpdateSellOrders_Update.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgUpdateSellOrders): unknown { - const obj: any = {}; - message.seller !== undefined && (obj.seller = message.seller); - if (message.updates) { - obj.updates = message.updates.map(e => e ? MsgUpdateSellOrders_Update.toJSON(e) : undefined); - } else { - obj.updates = []; - } - return obj; - }, fromPartial(object: Partial): MsgUpdateSellOrders { const message = createBaseMsgUpdateSellOrders(); message.seller = object.seller ?? ""; @@ -987,7 +924,7 @@ export const MsgUpdateSellOrders_Update = { writer.uint32(32).bool(message.disableAutoRetire); } if (message.newExpiration !== undefined) { - Timestamp.encode(message.newExpiration, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.newExpiration), writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -1011,7 +948,7 @@ export const MsgUpdateSellOrders_Update = { message.disableAutoRetire = reader.bool(); break; case 5: - message.newExpiration = Timestamp.decode(reader, reader.uint32()); + message.newExpiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -1020,31 +957,13 @@ export const MsgUpdateSellOrders_Update = { } return message; }, - fromJSON(object: any): MsgUpdateSellOrders_Update { - return { - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0), - newQuantity: isSet(object.newQuantity) ? String(object.newQuantity) : "", - newAskPrice: isSet(object.newAskPrice) ? Coin.fromJSON(object.newAskPrice) : undefined, - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - newExpiration: isSet(object.newExpiration) ? fromJsonTimestamp(object.newExpiration) : undefined - }; - }, - toJSON(message: MsgUpdateSellOrders_Update): unknown { - const obj: any = {}; - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - message.newQuantity !== undefined && (obj.newQuantity = message.newQuantity); - message.newAskPrice !== undefined && (obj.newAskPrice = message.newAskPrice ? Coin.toJSON(message.newAskPrice) : undefined); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.newExpiration !== undefined && (obj.newExpiration = fromTimestamp(message.newExpiration).toISOString()); - return obj; - }, fromPartial(object: Partial): MsgUpdateSellOrders_Update { const message = createBaseMsgUpdateSellOrders_Update(); message.sellOrderId = object.sellOrderId !== undefined && object.sellOrderId !== null ? BigInt(object.sellOrderId.toString()) : BigInt(0); message.newQuantity = object.newQuantity ?? ""; message.newAskPrice = object.newAskPrice !== undefined && object.newAskPrice !== null ? Coin.fromPartial(object.newAskPrice) : undefined; message.disableAutoRetire = object.disableAutoRetire ?? false; - message.newExpiration = object.newExpiration !== undefined && object.newExpiration !== null ? Timestamp.fromPartial(object.newExpiration) : undefined; + message.newExpiration = object.newExpiration ?? undefined; return message; }, fromAmino(object: MsgUpdateSellOrders_UpdateAmino): MsgUpdateSellOrders_Update { @@ -1062,7 +981,7 @@ export const MsgUpdateSellOrders_Update = { message.disableAutoRetire = object.disable_auto_retire; } if (object.new_expiration !== undefined && object.new_expiration !== null) { - message.newExpiration = Timestamp.fromAmino(object.new_expiration); + message.newExpiration = fromTimestamp(Timestamp.fromAmino(object.new_expiration)); } return message; }, @@ -1072,7 +991,7 @@ export const MsgUpdateSellOrders_Update = { obj.new_quantity = message.newQuantity === "" ? undefined : message.newQuantity; obj.new_ask_price = message.newAskPrice ? Coin.toAmino(message.newAskPrice) : undefined; obj.disable_auto_retire = message.disableAutoRetire === false ? undefined : message.disableAutoRetire; - obj.new_expiration = message.newExpiration ? Timestamp.toAmino(message.newExpiration) : undefined; + obj.new_expiration = message.newExpiration ? Timestamp.toAmino(toTimestamp(message.newExpiration)) : undefined; return obj; }, fromAminoMsg(object: MsgUpdateSellOrders_UpdateAminoMsg): MsgUpdateSellOrders_Update { @@ -1113,13 +1032,6 @@ export const MsgUpdateSellOrdersResponse = { } return message; }, - fromJSON(_: any): MsgUpdateSellOrdersResponse { - return {}; - }, - toJSON(_: MsgUpdateSellOrdersResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateSellOrdersResponse { const message = createBaseMsgUpdateSellOrdersResponse(); return message; @@ -1185,18 +1097,6 @@ export const MsgCancelSellOrder = { } return message; }, - fromJSON(object: any): MsgCancelSellOrder { - return { - seller: isSet(object.seller) ? String(object.seller) : "", - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0) - }; - }, - toJSON(message: MsgCancelSellOrder): unknown { - const obj: any = {}; - message.seller !== undefined && (obj.seller = message.seller); - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): MsgCancelSellOrder { const message = createBaseMsgCancelSellOrder(); message.seller = object.seller ?? ""; @@ -1263,13 +1163,6 @@ export const MsgCancelSellOrderResponse = { } return message; }, - fromJSON(_: any): MsgCancelSellOrderResponse { - return {}; - }, - toJSON(_: MsgCancelSellOrderResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCancelSellOrderResponse { const message = createBaseMsgCancelSellOrderResponse(); return message; @@ -1335,22 +1228,6 @@ export const MsgBuyDirect = { } return message; }, - fromJSON(object: any): MsgBuyDirect { - return { - buyer: isSet(object.buyer) ? String(object.buyer) : "", - orders: Array.isArray(object?.orders) ? object.orders.map((e: any) => MsgBuyDirect_Order.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgBuyDirect): unknown { - const obj: any = {}; - message.buyer !== undefined && (obj.buyer = message.buyer); - if (message.orders) { - obj.orders = message.orders.map(e => e ? MsgBuyDirect_Order.toJSON(e) : undefined); - } else { - obj.orders = []; - } - return obj; - }, fromPartial(object: Partial): MsgBuyDirect { const message = createBaseMsgBuyDirect(); message.buyer = object.buyer ?? ""; @@ -1462,26 +1339,6 @@ export const MsgBuyDirect_Order = { } return message; }, - fromJSON(object: any): MsgBuyDirect_Order { - return { - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0), - quantity: isSet(object.quantity) ? String(object.quantity) : "", - bidPrice: isSet(object.bidPrice) ? Coin.fromJSON(object.bidPrice) : undefined, - disableAutoRetire: isSet(object.disableAutoRetire) ? Boolean(object.disableAutoRetire) : false, - retirementJurisdiction: isSet(object.retirementJurisdiction) ? String(object.retirementJurisdiction) : "", - retirementReason: isSet(object.retirementReason) ? String(object.retirementReason) : "" - }; - }, - toJSON(message: MsgBuyDirect_Order): unknown { - const obj: any = {}; - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - message.quantity !== undefined && (obj.quantity = message.quantity); - message.bidPrice !== undefined && (obj.bidPrice = message.bidPrice ? Coin.toJSON(message.bidPrice) : undefined); - message.disableAutoRetire !== undefined && (obj.disableAutoRetire = message.disableAutoRetire); - message.retirementJurisdiction !== undefined && (obj.retirementJurisdiction = message.retirementJurisdiction); - message.retirementReason !== undefined && (obj.retirementReason = message.retirementReason); - return obj; - }, fromPartial(object: Partial): MsgBuyDirect_Order { const message = createBaseMsgBuyDirect_Order(); message.sellOrderId = object.sellOrderId !== undefined && object.sellOrderId !== null ? BigInt(object.sellOrderId.toString()) : BigInt(0); @@ -1562,13 +1419,6 @@ export const MsgBuyDirectResponse = { } return message; }, - fromJSON(_: any): MsgBuyDirectResponse { - return {}; - }, - toJSON(_: MsgBuyDirectResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgBuyDirectResponse { const message = createBaseMsgBuyDirectResponse(); return message; @@ -1648,22 +1498,6 @@ export const MsgAddAllowedDenom = { } return message; }, - fromJSON(object: any): MsgAddAllowedDenom { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - bankDenom: isSet(object.bankDenom) ? String(object.bankDenom) : "", - displayDenom: isSet(object.displayDenom) ? String(object.displayDenom) : "", - exponent: isSet(object.exponent) ? Number(object.exponent) : 0 - }; - }, - toJSON(message: MsgAddAllowedDenom): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.bankDenom !== undefined && (obj.bankDenom = message.bankDenom); - message.displayDenom !== undefined && (obj.displayDenom = message.displayDenom); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - return obj; - }, fromPartial(object: Partial): MsgAddAllowedDenom { const message = createBaseMsgAddAllowedDenom(); message.authority = object.authority ?? ""; @@ -1740,13 +1574,6 @@ export const MsgAddAllowedDenomResponse = { } return message; }, - fromJSON(_: any): MsgAddAllowedDenomResponse { - return {}; - }, - toJSON(_: MsgAddAllowedDenomResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgAddAllowedDenomResponse { const message = createBaseMsgAddAllowedDenomResponse(); return message; @@ -1812,18 +1639,6 @@ export const MsgRemoveAllowedDenom = { } return message; }, - fromJSON(object: any): MsgRemoveAllowedDenom { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - denom: isSet(object.denom) ? String(object.denom) : "" - }; - }, - toJSON(message: MsgRemoveAllowedDenom): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, fromPartial(object: Partial): MsgRemoveAllowedDenom { const message = createBaseMsgRemoveAllowedDenom(); message.authority = object.authority ?? ""; @@ -1890,13 +1705,6 @@ export const MsgRemoveAllowedDenomResponse = { } return message; }, - fromJSON(_: any): MsgRemoveAllowedDenomResponse { - return {}; - }, - toJSON(_: MsgRemoveAllowedDenomResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRemoveAllowedDenomResponse { const message = createBaseMsgRemoveAllowedDenomResponse(); return message; diff --git a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/types.ts b/packages/api/src/regen/ecocredit/marketplace/v1/types.ts similarity index 88% rename from packages/api/src/codegen/regen/ecocredit/marketplace/v1/types.ts rename to packages/api/src/regen/ecocredit/marketplace/v1/types.ts index 75ecde5e..ff17d728 100644 --- a/packages/api/src/codegen/regen/ecocredit/marketplace/v1/types.ts +++ b/packages/api/src/regen/ecocredit/marketplace/v1/types.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { AllowedDenom, AllowedDenomAmino, AllowedDenomSDKType } from "./state"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet } from "../../../../helpers"; /** * AllowDenomProposal is a gov Content type for approving a denom for use in the * marketplace. @@ -101,20 +101,6 @@ export const AllowDenomProposal = { } return message; }, - fromJSON(object: any): AllowDenomProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - denom: isSet(object.denom) ? AllowedDenom.fromJSON(object.denom) : undefined - }; - }, - toJSON(message: AllowDenomProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.denom !== undefined && (obj.denom = message.denom ? AllowedDenom.toJSON(message.denom) : undefined); - return obj; - }, fromPartial(object: Partial): AllowDenomProposal { const message = createBaseAllowDenomProposal(); message.title = object.title ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/orderbook/v1alpha1/memory.ts b/packages/api/src/regen/ecocredit/orderbook/v1alpha1/memory.ts similarity index 78% rename from packages/api/src/codegen/regen/ecocredit/orderbook/v1alpha1/memory.ts rename to packages/api/src/regen/ecocredit/orderbook/v1alpha1/memory.ts index 207e4810..92e42347 100644 --- a/packages/api/src/codegen/regen/ecocredit/orderbook/v1alpha1/memory.ts +++ b/packages/api/src/regen/ecocredit/orderbook/v1alpha1/memory.ts @@ -1,6 +1,7 @@ -import { Timestamp, TimestampSDKType } from "../../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../../helpers"; /** * BuyOrderSellOrderMatch defines the data the FIFO/price-time-priority matching * algorithm used to actually match buy and sell orders. @@ -77,9 +78,9 @@ export interface BuyOrderClassSelector { /** project_location is the project location in the selector's criteria. */ projectLocation: string; /** min_start_date is the minimum start date in the selector's criteria. */ - minStartDate?: Timestamp; + minStartDate?: Date; /** max_end_date is the maximum end date in the selector's criteria. */ - maxEndDate?: Timestamp; + maxEndDate?: Date; } export interface BuyOrderClassSelectorProtoMsg { typeUrl: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderClassSelector"; @@ -107,8 +108,8 @@ export interface BuyOrderClassSelectorSDKType { buy_order_id: bigint; class_id: bigint; project_location: string; - min_start_date?: TimestampSDKType; - max_end_date?: TimestampSDKType; + min_start_date?: Date; + max_end_date?: Date; } /** BuyOrderProjectSelector indexes a buy order with project selector. */ export interface BuyOrderProjectSelector { @@ -117,9 +118,9 @@ export interface BuyOrderProjectSelector { /** project_id is the project ID. */ projectId: bigint; /** min_start_date is the minimum start date in the selector's criteria. */ - minStartDate?: Timestamp; + minStartDate?: Date; /** max_end_date is the maximum end date in the selector's criteria. */ - maxEndDate?: Timestamp; + maxEndDate?: Date; } export interface BuyOrderProjectSelectorProtoMsg { typeUrl: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderProjectSelector"; @@ -144,8 +145,8 @@ export interface BuyOrderProjectSelectorAminoMsg { export interface BuyOrderProjectSelectorSDKType { buy_order_id: bigint; project_id: bigint; - min_start_date?: TimestampSDKType; - max_end_date?: TimestampSDKType; + min_start_date?: Date; + max_end_date?: Date; } /** BuyOrderBatchSelector indexes a buy order with batch selector. */ export interface BuyOrderBatchSelector { @@ -232,24 +233,6 @@ export const BuyOrderSellOrderMatch = { } return message; }, - fromJSON(object: any): BuyOrderSellOrderMatch { - return { - marketId: isSet(object.marketId) ? BigInt(object.marketId.toString()) : BigInt(0), - buyOrderId: isSet(object.buyOrderId) ? BigInt(object.buyOrderId.toString()) : BigInt(0), - sellOrderId: isSet(object.sellOrderId) ? BigInt(object.sellOrderId.toString()) : BigInt(0), - bidPriceComplement: isSet(object.bidPriceComplement) ? Number(object.bidPriceComplement) : 0, - askPrice: isSet(object.askPrice) ? Number(object.askPrice) : 0 - }; - }, - toJSON(message: BuyOrderSellOrderMatch): unknown { - const obj: any = {}; - message.marketId !== undefined && (obj.marketId = (message.marketId || BigInt(0)).toString()); - message.buyOrderId !== undefined && (obj.buyOrderId = (message.buyOrderId || BigInt(0)).toString()); - message.sellOrderId !== undefined && (obj.sellOrderId = (message.sellOrderId || BigInt(0)).toString()); - message.bidPriceComplement !== undefined && (obj.bidPriceComplement = Math.round(message.bidPriceComplement)); - message.askPrice !== undefined && (obj.askPrice = Math.round(message.askPrice)); - return obj; - }, fromPartial(object: Partial): BuyOrderSellOrderMatch { const message = createBaseBuyOrderSellOrderMatch(); message.marketId = object.marketId !== undefined && object.marketId !== null ? BigInt(object.marketId.toString()) : BigInt(0); @@ -325,10 +308,10 @@ export const BuyOrderClassSelector = { writer.uint32(26).string(message.projectLocation); } if (message.minStartDate !== undefined) { - Timestamp.encode(message.minStartDate, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.minStartDate), writer.uint32(34).fork()).ldelim(); } if (message.maxEndDate !== undefined) { - Timestamp.encode(message.maxEndDate, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.maxEndDate), writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -349,10 +332,10 @@ export const BuyOrderClassSelector = { message.projectLocation = reader.string(); break; case 4: - message.minStartDate = Timestamp.decode(reader, reader.uint32()); + message.minStartDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 5: - message.maxEndDate = Timestamp.decode(reader, reader.uint32()); + message.maxEndDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -361,31 +344,13 @@ export const BuyOrderClassSelector = { } return message; }, - fromJSON(object: any): BuyOrderClassSelector { - return { - buyOrderId: isSet(object.buyOrderId) ? BigInt(object.buyOrderId.toString()) : BigInt(0), - classId: isSet(object.classId) ? BigInt(object.classId.toString()) : BigInt(0), - projectLocation: isSet(object.projectLocation) ? String(object.projectLocation) : "", - minStartDate: isSet(object.minStartDate) ? fromJsonTimestamp(object.minStartDate) : undefined, - maxEndDate: isSet(object.maxEndDate) ? fromJsonTimestamp(object.maxEndDate) : undefined - }; - }, - toJSON(message: BuyOrderClassSelector): unknown { - const obj: any = {}; - message.buyOrderId !== undefined && (obj.buyOrderId = (message.buyOrderId || BigInt(0)).toString()); - message.classId !== undefined && (obj.classId = (message.classId || BigInt(0)).toString()); - message.projectLocation !== undefined && (obj.projectLocation = message.projectLocation); - message.minStartDate !== undefined && (obj.minStartDate = fromTimestamp(message.minStartDate).toISOString()); - message.maxEndDate !== undefined && (obj.maxEndDate = fromTimestamp(message.maxEndDate).toISOString()); - return obj; - }, fromPartial(object: Partial): BuyOrderClassSelector { const message = createBaseBuyOrderClassSelector(); message.buyOrderId = object.buyOrderId !== undefined && object.buyOrderId !== null ? BigInt(object.buyOrderId.toString()) : BigInt(0); message.classId = object.classId !== undefined && object.classId !== null ? BigInt(object.classId.toString()) : BigInt(0); message.projectLocation = object.projectLocation ?? ""; - message.minStartDate = object.minStartDate !== undefined && object.minStartDate !== null ? Timestamp.fromPartial(object.minStartDate) : undefined; - message.maxEndDate = object.maxEndDate !== undefined && object.maxEndDate !== null ? Timestamp.fromPartial(object.maxEndDate) : undefined; + message.minStartDate = object.minStartDate ?? undefined; + message.maxEndDate = object.maxEndDate ?? undefined; return message; }, fromAmino(object: BuyOrderClassSelectorAmino): BuyOrderClassSelector { @@ -400,10 +365,10 @@ export const BuyOrderClassSelector = { message.projectLocation = object.project_location; } if (object.min_start_date !== undefined && object.min_start_date !== null) { - message.minStartDate = Timestamp.fromAmino(object.min_start_date); + message.minStartDate = fromTimestamp(Timestamp.fromAmino(object.min_start_date)); } if (object.max_end_date !== undefined && object.max_end_date !== null) { - message.maxEndDate = Timestamp.fromAmino(object.max_end_date); + message.maxEndDate = fromTimestamp(Timestamp.fromAmino(object.max_end_date)); } return message; }, @@ -412,8 +377,8 @@ export const BuyOrderClassSelector = { obj.buy_order_id = message.buyOrderId !== BigInt(0) ? message.buyOrderId.toString() : undefined; obj.class_id = message.classId !== BigInt(0) ? message.classId.toString() : undefined; obj.project_location = message.projectLocation === "" ? undefined : message.projectLocation; - obj.min_start_date = message.minStartDate ? Timestamp.toAmino(message.minStartDate) : undefined; - obj.max_end_date = message.maxEndDate ? Timestamp.toAmino(message.maxEndDate) : undefined; + obj.min_start_date = message.minStartDate ? Timestamp.toAmino(toTimestamp(message.minStartDate)) : undefined; + obj.max_end_date = message.maxEndDate ? Timestamp.toAmino(toTimestamp(message.maxEndDate)) : undefined; return obj; }, fromAminoMsg(object: BuyOrderClassSelectorAminoMsg): BuyOrderClassSelector { @@ -450,10 +415,10 @@ export const BuyOrderProjectSelector = { writer.uint32(16).uint64(message.projectId); } if (message.minStartDate !== undefined) { - Timestamp.encode(message.minStartDate, writer.uint32(26).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.minStartDate), writer.uint32(26).fork()).ldelim(); } if (message.maxEndDate !== undefined) { - Timestamp.encode(message.maxEndDate, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.maxEndDate), writer.uint32(34).fork()).ldelim(); } return writer; }, @@ -471,10 +436,10 @@ export const BuyOrderProjectSelector = { message.projectId = reader.uint64(); break; case 3: - message.minStartDate = Timestamp.decode(reader, reader.uint32()); + message.minStartDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 4: - message.maxEndDate = Timestamp.decode(reader, reader.uint32()); + message.maxEndDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -483,28 +448,12 @@ export const BuyOrderProjectSelector = { } return message; }, - fromJSON(object: any): BuyOrderProjectSelector { - return { - buyOrderId: isSet(object.buyOrderId) ? BigInt(object.buyOrderId.toString()) : BigInt(0), - projectId: isSet(object.projectId) ? BigInt(object.projectId.toString()) : BigInt(0), - minStartDate: isSet(object.minStartDate) ? fromJsonTimestamp(object.minStartDate) : undefined, - maxEndDate: isSet(object.maxEndDate) ? fromJsonTimestamp(object.maxEndDate) : undefined - }; - }, - toJSON(message: BuyOrderProjectSelector): unknown { - const obj: any = {}; - message.buyOrderId !== undefined && (obj.buyOrderId = (message.buyOrderId || BigInt(0)).toString()); - message.projectId !== undefined && (obj.projectId = (message.projectId || BigInt(0)).toString()); - message.minStartDate !== undefined && (obj.minStartDate = fromTimestamp(message.minStartDate).toISOString()); - message.maxEndDate !== undefined && (obj.maxEndDate = fromTimestamp(message.maxEndDate).toISOString()); - return obj; - }, fromPartial(object: Partial): BuyOrderProjectSelector { const message = createBaseBuyOrderProjectSelector(); message.buyOrderId = object.buyOrderId !== undefined && object.buyOrderId !== null ? BigInt(object.buyOrderId.toString()) : BigInt(0); message.projectId = object.projectId !== undefined && object.projectId !== null ? BigInt(object.projectId.toString()) : BigInt(0); - message.minStartDate = object.minStartDate !== undefined && object.minStartDate !== null ? Timestamp.fromPartial(object.minStartDate) : undefined; - message.maxEndDate = object.maxEndDate !== undefined && object.maxEndDate !== null ? Timestamp.fromPartial(object.maxEndDate) : undefined; + message.minStartDate = object.minStartDate ?? undefined; + message.maxEndDate = object.maxEndDate ?? undefined; return message; }, fromAmino(object: BuyOrderProjectSelectorAmino): BuyOrderProjectSelector { @@ -516,10 +465,10 @@ export const BuyOrderProjectSelector = { message.projectId = BigInt(object.project_id); } if (object.min_start_date !== undefined && object.min_start_date !== null) { - message.minStartDate = Timestamp.fromAmino(object.min_start_date); + message.minStartDate = fromTimestamp(Timestamp.fromAmino(object.min_start_date)); } if (object.max_end_date !== undefined && object.max_end_date !== null) { - message.maxEndDate = Timestamp.fromAmino(object.max_end_date); + message.maxEndDate = fromTimestamp(Timestamp.fromAmino(object.max_end_date)); } return message; }, @@ -527,8 +476,8 @@ export const BuyOrderProjectSelector = { const obj: any = {}; obj.buy_order_id = message.buyOrderId !== BigInt(0) ? message.buyOrderId.toString() : undefined; obj.project_id = message.projectId !== BigInt(0) ? message.projectId.toString() : undefined; - obj.min_start_date = message.minStartDate ? Timestamp.toAmino(message.minStartDate) : undefined; - obj.max_end_date = message.maxEndDate ? Timestamp.toAmino(message.maxEndDate) : undefined; + obj.min_start_date = message.minStartDate ? Timestamp.toAmino(toTimestamp(message.minStartDate)) : undefined; + obj.max_end_date = message.maxEndDate ? Timestamp.toAmino(toTimestamp(message.maxEndDate)) : undefined; return obj; }, fromAminoMsg(object: BuyOrderProjectSelectorAminoMsg): BuyOrderProjectSelector { @@ -584,18 +533,6 @@ export const BuyOrderBatchSelector = { } return message; }, - fromJSON(object: any): BuyOrderBatchSelector { - return { - buyOrderId: isSet(object.buyOrderId) ? BigInt(object.buyOrderId.toString()) : BigInt(0), - batchId: isSet(object.batchId) ? BigInt(object.batchId.toString()) : BigInt(0) - }; - }, - toJSON(message: BuyOrderBatchSelector): unknown { - const obj: any = {}; - message.buyOrderId !== undefined && (obj.buyOrderId = (message.buyOrderId || BigInt(0)).toString()); - message.batchId !== undefined && (obj.batchId = (message.batchId || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): BuyOrderBatchSelector { const message = createBaseBuyOrderBatchSelector(); message.buyOrderId = object.buyOrderId !== undefined && object.buyOrderId !== null ? BigInt(object.buyOrderId.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/regen/ecocredit/v1/events.ts b/packages/api/src/regen/ecocredit/v1/events.ts similarity index 89% rename from packages/api/src/codegen/regen/ecocredit/v1/events.ts rename to packages/api/src/regen/ecocredit/v1/events.ts index 9e874abe..5cc890c0 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/events.ts +++ b/packages/api/src/regen/ecocredit/v1/events.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { OriginTx, OriginTxAmino, OriginTxSDKType } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** EventCreateClass is an event emitted when a credit class is created. */ export interface EventCreateClass { /** class_id is the unique identifier of the credit class. */ @@ -771,16 +771,6 @@ export const EventCreateClass = { } return message; }, - fromJSON(object: any): EventCreateClass { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: EventCreateClass): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): EventCreateClass { const message = createBaseEventCreateClass(); message.classId = object.classId ?? ""; @@ -844,16 +834,6 @@ export const EventCreateProject = { } return message; }, - fromJSON(object: any): EventCreateProject { - return { - projectId: isSet(object.projectId) ? String(object.projectId) : "" - }; - }, - toJSON(message: EventCreateProject): unknown { - const obj: any = {}; - message.projectId !== undefined && (obj.projectId = message.projectId); - return obj; - }, fromPartial(object: Partial): EventCreateProject { const message = createBaseEventCreateProject(); message.projectId = object.projectId ?? ""; @@ -924,18 +904,6 @@ export const EventCreateBatch = { } return message; }, - fromJSON(object: any): EventCreateBatch { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - originTx: isSet(object.originTx) ? OriginTx.fromJSON(object.originTx) : undefined - }; - }, - toJSON(message: EventCreateBatch): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.originTx !== undefined && (obj.originTx = message.originTx ? OriginTx.toJSON(message.originTx) : undefined); - return obj; - }, fromPartial(object: Partial): EventCreateBatch { const message = createBaseEventCreateBatch(); message.batchDenom = object.batchDenom ?? ""; @@ -1018,20 +986,6 @@ export const EventMint = { } return message; }, - fromJSON(object: any): EventMint { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "" - }; - }, - toJSON(message: EventMint): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - return obj; - }, fromPartial(object: Partial): EventMint { const message = createBaseEventMint(); message.batchDenom = object.batchDenom ?? ""; @@ -1112,18 +1066,6 @@ export const EventMintBatchCredits = { } return message; }, - fromJSON(object: any): EventMintBatchCredits { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - originTx: isSet(object.originTx) ? OriginTx.fromJSON(object.originTx) : undefined - }; - }, - toJSON(message: EventMintBatchCredits): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.originTx !== undefined && (obj.originTx = message.originTx ? OriginTx.toJSON(message.originTx) : undefined); - return obj; - }, fromPartial(object: Partial): EventMintBatchCredits { const message = createBaseEventMintBatchCredits(); message.batchDenom = object.batchDenom ?? ""; @@ -1220,24 +1162,6 @@ export const EventTransfer = { } return message; }, - fromJSON(object: any): EventTransfer { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "" - }; - }, - toJSON(message: EventTransfer): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.recipient !== undefined && (obj.recipient = message.recipient); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - return obj; - }, fromPartial(object: Partial): EventTransfer { const message = createBaseEventTransfer(); message.sender = object.sender ?? ""; @@ -1349,24 +1273,6 @@ export const EventRetire = { } return message; }, - fromJSON(object: any): EventRetire { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - jurisdiction: isSet(object.jurisdiction) ? String(object.jurisdiction) : "", - reason: isSet(object.reason) ? String(object.reason) : "" - }; - }, - toJSON(message: EventRetire): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - message.jurisdiction !== undefined && (obj.jurisdiction = message.jurisdiction); - message.reason !== undefined && (obj.reason = message.reason); - return obj; - }, fromPartial(object: Partial): EventRetire { const message = createBaseEventRetire(); message.owner = object.owner ?? ""; @@ -1471,22 +1377,6 @@ export const EventCancel = { } return message; }, - fromJSON(object: any): EventCancel { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - reason: isSet(object.reason) ? String(object.reason) : "" - }; - }, - toJSON(message: EventCancel): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - message.reason !== undefined && (obj.reason = message.reason); - return obj; - }, fromPartial(object: Partial): EventCancel { const message = createBaseEventCancel(); message.owner = object.owner ?? ""; @@ -1565,16 +1455,6 @@ export const EventUpdateClassAdmin = { } return message; }, - fromJSON(object: any): EventUpdateClassAdmin { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: EventUpdateClassAdmin): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): EventUpdateClassAdmin { const message = createBaseEventUpdateClassAdmin(); message.classId = object.classId ?? ""; @@ -1638,16 +1518,6 @@ export const EventUpdateClassIssuers = { } return message; }, - fromJSON(object: any): EventUpdateClassIssuers { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: EventUpdateClassIssuers): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): EventUpdateClassIssuers { const message = createBaseEventUpdateClassIssuers(); message.classId = object.classId ?? ""; @@ -1711,16 +1581,6 @@ export const EventUpdateClassMetadata = { } return message; }, - fromJSON(object: any): EventUpdateClassMetadata { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: EventUpdateClassMetadata): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): EventUpdateClassMetadata { const message = createBaseEventUpdateClassMetadata(); message.classId = object.classId ?? ""; @@ -1784,16 +1644,6 @@ export const EventUpdateProjectAdmin = { } return message; }, - fromJSON(object: any): EventUpdateProjectAdmin { - return { - projectId: isSet(object.projectId) ? String(object.projectId) : "" - }; - }, - toJSON(message: EventUpdateProjectAdmin): unknown { - const obj: any = {}; - message.projectId !== undefined && (obj.projectId = message.projectId); - return obj; - }, fromPartial(object: Partial): EventUpdateProjectAdmin { const message = createBaseEventUpdateProjectAdmin(); message.projectId = object.projectId ?? ""; @@ -1857,16 +1707,6 @@ export const EventUpdateProjectMetadata = { } return message; }, - fromJSON(object: any): EventUpdateProjectMetadata { - return { - projectId: isSet(object.projectId) ? String(object.projectId) : "" - }; - }, - toJSON(message: EventUpdateProjectMetadata): unknown { - const obj: any = {}; - message.projectId !== undefined && (obj.projectId = message.projectId); - return obj; - }, fromPartial(object: Partial): EventUpdateProjectMetadata { const message = createBaseEventUpdateProjectMetadata(); message.projectId = object.projectId ?? ""; @@ -1930,16 +1770,6 @@ export const EventUpdateBatchMetadata = { } return message; }, - fromJSON(object: any): EventUpdateBatchMetadata { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: EventUpdateBatchMetadata): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): EventUpdateBatchMetadata { const message = createBaseEventUpdateBatchMetadata(); message.batchDenom = object.batchDenom ?? ""; @@ -2003,16 +1833,6 @@ export const EventSealBatch = { } return message; }, - fromJSON(object: any): EventSealBatch { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: EventSealBatch): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): EventSealBatch { const message = createBaseEventSealBatch(); message.batchDenom = object.batchDenom ?? ""; @@ -2076,16 +1896,6 @@ export const EventAddCreditType = { } return message; }, - fromJSON(object: any): EventAddCreditType { - return { - abbreviation: isSet(object.abbreviation) ? String(object.abbreviation) : "" - }; - }, - toJSON(message: EventAddCreditType): unknown { - const obj: any = {}; - message.abbreviation !== undefined && (obj.abbreviation = message.abbreviation); - return obj; - }, fromPartial(object: Partial): EventAddCreditType { const message = createBaseEventAddCreditType(); message.abbreviation = object.abbreviation ?? ""; @@ -2184,26 +1994,6 @@ export const EventBridge = { } return message; }, - fromJSON(object: any): EventBridge { - return { - target: isSet(object.target) ? String(object.target) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - owner: isSet(object.owner) ? String(object.owner) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: EventBridge): unknown { - const obj: any = {}; - message.target !== undefined && (obj.target = message.target); - message.recipient !== undefined && (obj.recipient = message.recipient); - message.contract !== undefined && (obj.contract = message.contract); - message.amount !== undefined && (obj.amount = message.amount); - message.owner !== undefined && (obj.owner = message.owner); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): EventBridge { const message = createBaseEventBridge(); message.target = object.target ?? ""; @@ -2313,22 +2103,6 @@ export const EventBridgeReceive = { } return message; }, - fromJSON(object: any): EventBridgeReceive { - return { - projectId: isSet(object.projectId) ? String(object.projectId) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - originTx: isSet(object.originTx) ? OriginTx.fromJSON(object.originTx) : undefined - }; - }, - toJSON(message: EventBridgeReceive): unknown { - const obj: any = {}; - message.projectId !== undefined && (obj.projectId = message.projectId); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - message.originTx !== undefined && (obj.originTx = message.originTx ? OriginTx.toJSON(message.originTx) : undefined); - return obj; - }, fromPartial(object: Partial): EventBridgeReceive { const message = createBaseEventBridgeReceive(); message.projectId = object.projectId ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/v1/query.lcd.ts b/packages/api/src/regen/ecocredit/v1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1/query.lcd.ts rename to packages/api/src/regen/ecocredit/v1/query.lcd.ts index 64fa9b0d..a5c45c8d 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/query.lcd.ts +++ b/packages/api/src/regen/ecocredit/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryClassesRequest, QueryClassesResponseSDKType, QueryClassesByAdminRequest, QueryClassesByAdminResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassIssuersRequest, QueryClassIssuersResponseSDKType, QueryProjectsRequest, QueryProjectsResponseSDKType, QueryProjectsByClassRequest, QueryProjectsByClassResponseSDKType, QueryProjectsByReferenceIdRequest, QueryProjectsByReferenceIdResponseSDKType, QueryProjectsByAdminRequest, QueryProjectsByAdminResponseSDKType, QueryProjectRequest, QueryProjectResponseSDKType, QueryBatchesRequest, QueryBatchesResponseSDKType, QueryBatchesByIssuerRequest, QueryBatchesByIssuerResponseSDKType, QueryBatchesByClassRequest, QueryBatchesByClassResponseSDKType, QueryBatchesByProjectRequest, QueryBatchesByProjectResponseSDKType, QueryBatchRequest, QueryBatchResponseSDKType, QueryBalanceRequest, QueryBalanceResponseSDKType, QueryBalancesRequest, QueryBalancesResponseSDKType, QueryBalancesByBatchRequest, QueryBalancesByBatchResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryCreditTypesRequest, QueryCreditTypesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryCreditTypeRequest, QueryCreditTypeResponseSDKType, QueryClassCreatorAllowlistRequest, QueryClassCreatorAllowlistResponseSDKType, QueryAllowedClassCreatorsRequest, QueryAllowedClassCreatorsResponseSDKType, QueryClassFeeRequest, QueryClassFeeResponseSDKType, QueryAllowedBridgeChainsRequest, QueryAllowedBridgeChainsResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/regen/ecocredit/v1/query.rpc.Query.ts b/packages/api/src/regen/ecocredit/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1/query.rpc.Query.ts rename to packages/api/src/regen/ecocredit/v1/query.rpc.Query.ts index 366c0cc7..823b751d 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/query.rpc.Query.ts +++ b/packages/api/src/regen/ecocredit/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/regen/ecocredit/v1/query.ts b/packages/api/src/regen/ecocredit/v1/query.ts similarity index 87% rename from packages/api/src/codegen/regen/ecocredit/v1/query.ts rename to packages/api/src/regen/ecocredit/v1/query.ts index e99c5058..50495322 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/query.ts +++ b/packages/api/src/regen/ecocredit/v1/query.ts @@ -1,10 +1,11 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; import { CreditType, CreditTypeAmino, CreditTypeSDKType } from "./state"; import { Params, ParamsAmino, ParamsSDKType } from "./types"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** QueryClassesRequest is the Query/Classes request type. */ export interface QueryClassesRequest { /** pagination defines an optional pagination for the request. */ @@ -1319,14 +1320,14 @@ export interface BatchInfo { * start_date is the beginning of the period during which this credit batch * was quantified and verified. */ - startDate?: Timestamp; + startDate?: Date; /** * end_date is the end of the period during which this credit batch was * quantified and verified. */ - endDate?: Timestamp; + endDate?: Date; /** issuance_date is the timestamp when the credit batch was issued. */ - issuanceDate?: Timestamp; + issuanceDate?: Date; /** * open determines whether or not the credit batch is open, i.e. whether or * not new credits can be minted to the credit batch. @@ -1384,9 +1385,9 @@ export interface BatchInfoSDKType { project_id: string; denom: string; metadata: string; - start_date?: TimestampSDKType; - end_date?: TimestampSDKType; - issuance_date?: TimestampSDKType; + start_date?: Date; + end_date?: Date; + issuance_date?: Date; open: boolean; } /** BatchBalanceInfo is the human-readable batch balance information. */ @@ -1760,16 +1761,6 @@ export const QueryClassesRequest = { } return message; }, - fromJSON(object: any): QueryClassesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassesRequest { const message = createBaseQueryClassesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -1840,22 +1831,6 @@ export const QueryClassesResponse = { } return message; }, - fromJSON(object: any): QueryClassesResponse { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => ClassInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesResponse): unknown { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? ClassInfo.toJSON(e) : undefined); - } else { - obj.classes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassesResponse { const message = createBaseQueryClassesResponse(); message.classes = object.classes?.map(e => ClassInfo.fromPartial(e)) || []; @@ -1933,18 +1908,6 @@ export const QueryClassesByAdminRequest = { } return message; }, - fromJSON(object: any): QueryClassesByAdminRequest { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesByAdminRequest): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassesByAdminRequest { const message = createBaseQueryClassesByAdminRequest(); message.admin = object.admin ?? ""; @@ -2020,22 +1983,6 @@ export const QueryClassesByAdminResponse = { } return message; }, - fromJSON(object: any): QueryClassesByAdminResponse { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => ClassInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesByAdminResponse): unknown { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? ClassInfo.toJSON(e) : undefined); - } else { - obj.classes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassesByAdminResponse { const message = createBaseQueryClassesByAdminResponse(); message.classes = object.classes?.map(e => ClassInfo.fromPartial(e)) || []; @@ -2106,16 +2053,6 @@ export const QueryClassRequest = { } return message; }, - fromJSON(object: any): QueryClassRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: QueryClassRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): QueryClassRequest { const message = createBaseQueryClassRequest(); message.classId = object.classId ?? ""; @@ -2179,16 +2116,6 @@ export const QueryClassResponse = { } return message; }, - fromJSON(object: any): QueryClassResponse { - return { - class: isSet(object.class) ? ClassInfo.fromJSON(object.class) : undefined - }; - }, - toJSON(message: QueryClassResponse): unknown { - const obj: any = {}; - message.class !== undefined && (obj.class = message.class ? ClassInfo.toJSON(message.class) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassResponse { const message = createBaseQueryClassResponse(); message.class = object.class !== undefined && object.class !== null ? ClassInfo.fromPartial(object.class) : undefined; @@ -2259,18 +2186,6 @@ export const QueryClassIssuersRequest = { } return message; }, - fromJSON(object: any): QueryClassIssuersRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassIssuersRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassIssuersRequest { const message = createBaseQueryClassIssuersRequest(); message.classId = object.classId ?? ""; @@ -2346,22 +2261,6 @@ export const QueryClassIssuersResponse = { } return message; }, - fromJSON(object: any): QueryClassIssuersResponse { - return { - issuers: Array.isArray(object?.issuers) ? object.issuers.map((e: any) => String(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassIssuersResponse): unknown { - const obj: any = {}; - if (message.issuers) { - obj.issuers = message.issuers.map(e => e); - } else { - obj.issuers = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassIssuersResponse { const message = createBaseQueryClassIssuersResponse(); message.issuers = object.issuers?.map(e => e) || []; @@ -2432,16 +2331,6 @@ export const QueryProjectsRequest = { } return message; }, - fromJSON(object: any): QueryProjectsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsRequest { const message = createBaseQueryProjectsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -2512,22 +2401,6 @@ export const QueryProjectsResponse = { } return message; }, - fromJSON(object: any): QueryProjectsResponse { - return { - projects: Array.isArray(object?.projects) ? object.projects.map((e: any) => ProjectInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsResponse): unknown { - const obj: any = {}; - if (message.projects) { - obj.projects = message.projects.map(e => e ? ProjectInfo.toJSON(e) : undefined); - } else { - obj.projects = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsResponse { const message = createBaseQueryProjectsResponse(); message.projects = object.projects?.map(e => ProjectInfo.fromPartial(e)) || []; @@ -2605,18 +2478,6 @@ export const QueryProjectsByClassRequest = { } return message; }, - fromJSON(object: any): QueryProjectsByClassRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsByClassRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsByClassRequest { const message = createBaseQueryProjectsByClassRequest(); message.classId = object.classId ?? ""; @@ -2692,22 +2553,6 @@ export const QueryProjectsByClassResponse = { } return message; }, - fromJSON(object: any): QueryProjectsByClassResponse { - return { - projects: Array.isArray(object?.projects) ? object.projects.map((e: any) => ProjectInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsByClassResponse): unknown { - const obj: any = {}; - if (message.projects) { - obj.projects = message.projects.map(e => e ? ProjectInfo.toJSON(e) : undefined); - } else { - obj.projects = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsByClassResponse { const message = createBaseQueryProjectsByClassResponse(); message.projects = object.projects?.map(e => ProjectInfo.fromPartial(e)) || []; @@ -2785,18 +2630,6 @@ export const QueryProjectsByReferenceIdRequest = { } return message; }, - fromJSON(object: any): QueryProjectsByReferenceIdRequest { - return { - referenceId: isSet(object.referenceId) ? String(object.referenceId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsByReferenceIdRequest): unknown { - const obj: any = {}; - message.referenceId !== undefined && (obj.referenceId = message.referenceId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsByReferenceIdRequest { const message = createBaseQueryProjectsByReferenceIdRequest(); message.referenceId = object.referenceId ?? ""; @@ -2872,22 +2705,6 @@ export const QueryProjectsByReferenceIdResponse = { } return message; }, - fromJSON(object: any): QueryProjectsByReferenceIdResponse { - return { - projects: Array.isArray(object?.projects) ? object.projects.map((e: any) => ProjectInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsByReferenceIdResponse): unknown { - const obj: any = {}; - if (message.projects) { - obj.projects = message.projects.map(e => e ? ProjectInfo.toJSON(e) : undefined); - } else { - obj.projects = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsByReferenceIdResponse { const message = createBaseQueryProjectsByReferenceIdResponse(); message.projects = object.projects?.map(e => ProjectInfo.fromPartial(e)) || []; @@ -2965,18 +2782,6 @@ export const QueryProjectsByAdminRequest = { } return message; }, - fromJSON(object: any): QueryProjectsByAdminRequest { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsByAdminRequest): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsByAdminRequest { const message = createBaseQueryProjectsByAdminRequest(); message.admin = object.admin ?? ""; @@ -3052,22 +2857,6 @@ export const QueryProjectsByAdminResponse = { } return message; }, - fromJSON(object: any): QueryProjectsByAdminResponse { - return { - projects: Array.isArray(object?.projects) ? object.projects.map((e: any) => ProjectInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryProjectsByAdminResponse): unknown { - const obj: any = {}; - if (message.projects) { - obj.projects = message.projects.map(e => e ? ProjectInfo.toJSON(e) : undefined); - } else { - obj.projects = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectsByAdminResponse { const message = createBaseQueryProjectsByAdminResponse(); message.projects = object.projects?.map(e => ProjectInfo.fromPartial(e)) || []; @@ -3138,16 +2927,6 @@ export const QueryProjectRequest = { } return message; }, - fromJSON(object: any): QueryProjectRequest { - return { - projectId: isSet(object.projectId) ? String(object.projectId) : "" - }; - }, - toJSON(message: QueryProjectRequest): unknown { - const obj: any = {}; - message.projectId !== undefined && (obj.projectId = message.projectId); - return obj; - }, fromPartial(object: Partial): QueryProjectRequest { const message = createBaseQueryProjectRequest(); message.projectId = object.projectId ?? ""; @@ -3211,16 +2990,6 @@ export const QueryProjectResponse = { } return message; }, - fromJSON(object: any): QueryProjectResponse { - return { - project: isSet(object.project) ? ProjectInfo.fromJSON(object.project) : undefined - }; - }, - toJSON(message: QueryProjectResponse): unknown { - const obj: any = {}; - message.project !== undefined && (obj.project = message.project ? ProjectInfo.toJSON(message.project) : undefined); - return obj; - }, fromPartial(object: Partial): QueryProjectResponse { const message = createBaseQueryProjectResponse(); message.project = object.project !== undefined && object.project !== null ? ProjectInfo.fromPartial(object.project) : undefined; @@ -3284,16 +3053,6 @@ export const QueryBatchesRequest = { } return message; }, - fromJSON(object: any): QueryBatchesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesRequest { const message = createBaseQueryBatchesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -3364,22 +3123,6 @@ export const QueryBatchesResponse = { } return message; }, - fromJSON(object: any): QueryBatchesResponse { - return { - batches: Array.isArray(object?.batches) ? object.batches.map((e: any) => BatchInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesResponse): unknown { - const obj: any = {}; - if (message.batches) { - obj.batches = message.batches.map(e => e ? BatchInfo.toJSON(e) : undefined); - } else { - obj.batches = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesResponse { const message = createBaseQueryBatchesResponse(); message.batches = object.batches?.map(e => BatchInfo.fromPartial(e)) || []; @@ -3457,18 +3200,6 @@ export const QueryBatchesByIssuerRequest = { } return message; }, - fromJSON(object: any): QueryBatchesByIssuerRequest { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesByIssuerRequest): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesByIssuerRequest { const message = createBaseQueryBatchesByIssuerRequest(); message.issuer = object.issuer ?? ""; @@ -3544,22 +3275,6 @@ export const QueryBatchesByIssuerResponse = { } return message; }, - fromJSON(object: any): QueryBatchesByIssuerResponse { - return { - batches: Array.isArray(object?.batches) ? object.batches.map((e: any) => BatchInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesByIssuerResponse): unknown { - const obj: any = {}; - if (message.batches) { - obj.batches = message.batches.map(e => e ? BatchInfo.toJSON(e) : undefined); - } else { - obj.batches = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesByIssuerResponse { const message = createBaseQueryBatchesByIssuerResponse(); message.batches = object.batches?.map(e => BatchInfo.fromPartial(e)) || []; @@ -3637,18 +3352,6 @@ export const QueryBatchesByClassRequest = { } return message; }, - fromJSON(object: any): QueryBatchesByClassRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesByClassRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesByClassRequest { const message = createBaseQueryBatchesByClassRequest(); message.classId = object.classId ?? ""; @@ -3724,18 +3427,6 @@ export const QueryBatchesByProjectRequest = { } return message; }, - fromJSON(object: any): QueryBatchesByProjectRequest { - return { - projectId: isSet(object.projectId) ? String(object.projectId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesByProjectRequest): unknown { - const obj: any = {}; - message.projectId !== undefined && (obj.projectId = message.projectId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesByProjectRequest { const message = createBaseQueryBatchesByProjectRequest(); message.projectId = object.projectId ?? ""; @@ -3811,22 +3502,6 @@ export const QueryBatchesByProjectResponse = { } return message; }, - fromJSON(object: any): QueryBatchesByProjectResponse { - return { - batches: Array.isArray(object?.batches) ? object.batches.map((e: any) => BatchInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesByProjectResponse): unknown { - const obj: any = {}; - if (message.batches) { - obj.batches = message.batches.map(e => e ? BatchInfo.toJSON(e) : undefined); - } else { - obj.batches = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesByProjectResponse { const message = createBaseQueryBatchesByProjectResponse(); message.batches = object.batches?.map(e => BatchInfo.fromPartial(e)) || []; @@ -3904,22 +3579,6 @@ export const QueryBatchesByClassResponse = { } return message; }, - fromJSON(object: any): QueryBatchesByClassResponse { - return { - batches: Array.isArray(object?.batches) ? object.batches.map((e: any) => BatchInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesByClassResponse): unknown { - const obj: any = {}; - if (message.batches) { - obj.batches = message.batches.map(e => e ? BatchInfo.toJSON(e) : undefined); - } else { - obj.batches = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesByClassResponse { const message = createBaseQueryBatchesByClassResponse(); message.batches = object.batches?.map(e => BatchInfo.fromPartial(e)) || []; @@ -3990,16 +3649,6 @@ export const QueryBatchRequest = { } return message; }, - fromJSON(object: any): QueryBatchRequest { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: QueryBatchRequest): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): QueryBatchRequest { const message = createBaseQueryBatchRequest(); message.batchDenom = object.batchDenom ?? ""; @@ -4063,16 +3712,6 @@ export const QueryBatchResponse = { } return message; }, - fromJSON(object: any): QueryBatchResponse { - return { - batch: isSet(object.batch) ? BatchInfo.fromJSON(object.batch) : undefined - }; - }, - toJSON(message: QueryBatchResponse): unknown { - const obj: any = {}; - message.batch !== undefined && (obj.batch = message.batch ? BatchInfo.toJSON(message.batch) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchResponse { const message = createBaseQueryBatchResponse(); message.batch = object.batch !== undefined && object.batch !== null ? BatchInfo.fromPartial(object.batch) : undefined; @@ -4143,18 +3782,6 @@ export const QueryBalanceRequest = { } return message; }, - fromJSON(object: any): QueryBalanceRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: QueryBalanceRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): QueryBalanceRequest { const message = createBaseQueryBalanceRequest(); message.address = object.address ?? ""; @@ -4223,16 +3850,6 @@ export const QueryBalanceResponse = { } return message; }, - fromJSON(object: any): QueryBalanceResponse { - return { - balance: isSet(object.balance) ? BatchBalanceInfo.fromJSON(object.balance) : undefined - }; - }, - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.balance !== undefined && (obj.balance = message.balance ? BatchBalanceInfo.toJSON(message.balance) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBalanceResponse { const message = createBaseQueryBalanceResponse(); message.balance = object.balance !== undefined && object.balance !== null ? BatchBalanceInfo.fromPartial(object.balance) : undefined; @@ -4303,18 +3920,6 @@ export const QueryBalancesRequest = { } return message; }, - fromJSON(object: any): QueryBalancesRequest { - return { - address: isSet(object.address) ? String(object.address) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBalancesRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBalancesRequest { const message = createBaseQueryBalancesRequest(); message.address = object.address ?? ""; @@ -4390,22 +3995,6 @@ export const QueryBalancesResponse = { } return message; }, - fromJSON(object: any): QueryBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => BatchBalanceInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBalancesResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? BatchBalanceInfo.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBalancesResponse { const message = createBaseQueryBalancesResponse(); message.balances = object.balances?.map(e => BatchBalanceInfo.fromPartial(e)) || []; @@ -4483,18 +4072,6 @@ export const QueryBalancesByBatchRequest = { } return message; }, - fromJSON(object: any): QueryBalancesByBatchRequest { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBalancesByBatchRequest): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBalancesByBatchRequest { const message = createBaseQueryBalancesByBatchRequest(); message.batchDenom = object.batchDenom ?? ""; @@ -4570,22 +4147,6 @@ export const QueryBalancesByBatchResponse = { } return message; }, - fromJSON(object: any): QueryBalancesByBatchResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => BatchBalanceInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBalancesByBatchResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? BatchBalanceInfo.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBalancesByBatchResponse { const message = createBaseQueryBalancesByBatchResponse(); message.balances = object.balances?.map(e => BatchBalanceInfo.fromPartial(e)) || []; @@ -4656,16 +4217,6 @@ export const QueryAllBalancesRequest = { } return message; }, - fromJSON(object: any): QueryAllBalancesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllBalancesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllBalancesRequest { const message = createBaseQueryAllBalancesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -4736,22 +4287,6 @@ export const QueryAllBalancesResponse = { } return message; }, - fromJSON(object: any): QueryAllBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => BatchBalanceInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllBalancesResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? BatchBalanceInfo.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllBalancesResponse { const message = createBaseQueryAllBalancesResponse(); message.balances = object.balances?.map(e => BatchBalanceInfo.fromPartial(e)) || []; @@ -4822,16 +4357,6 @@ export const QuerySupplyRequest = { } return message; }, - fromJSON(object: any): QuerySupplyRequest { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: QuerySupplyRequest): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): QuerySupplyRequest { const message = createBaseQuerySupplyRequest(); message.batchDenom = object.batchDenom ?? ""; @@ -4909,20 +4434,6 @@ export const QuerySupplyResponse = { } return message; }, - fromJSON(object: any): QuerySupplyResponse { - return { - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - cancelledAmount: isSet(object.cancelledAmount) ? String(object.cancelledAmount) : "" - }; - }, - toJSON(message: QuerySupplyResponse): unknown { - const obj: any = {}; - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.cancelledAmount !== undefined && (obj.cancelledAmount = message.cancelledAmount); - return obj; - }, fromPartial(object: Partial): QuerySupplyResponse { const message = createBaseQuerySupplyResponse(); message.tradableAmount = object.tradableAmount ?? ""; @@ -4988,13 +4499,6 @@ export const QueryCreditTypesRequest = { } return message; }, - fromJSON(_: any): QueryCreditTypesRequest { - return {}; - }, - toJSON(_: QueryCreditTypesRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryCreditTypesRequest { const message = createBaseQueryCreditTypesRequest(); return message; @@ -5053,20 +4557,6 @@ export const QueryCreditTypesResponse = { } return message; }, - fromJSON(object: any): QueryCreditTypesResponse { - return { - creditTypes: Array.isArray(object?.creditTypes) ? object.creditTypes.map((e: any) => CreditType.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryCreditTypesResponse): unknown { - const obj: any = {}; - if (message.creditTypes) { - obj.creditTypes = message.creditTypes.map(e => e ? CreditType.toJSON(e) : undefined); - } else { - obj.creditTypes = []; - } - return obj; - }, fromPartial(object: Partial): QueryCreditTypesResponse { const message = createBaseQueryCreditTypesResponse(); message.creditTypes = object.creditTypes?.map(e => CreditType.fromPartial(e)) || []; @@ -5124,13 +4614,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -5189,16 +4672,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -5262,16 +4735,6 @@ export const QueryCreditTypeRequest = { } return message; }, - fromJSON(object: any): QueryCreditTypeRequest { - return { - abbreviation: isSet(object.abbreviation) ? String(object.abbreviation) : "" - }; - }, - toJSON(message: QueryCreditTypeRequest): unknown { - const obj: any = {}; - message.abbreviation !== undefined && (obj.abbreviation = message.abbreviation); - return obj; - }, fromPartial(object: Partial): QueryCreditTypeRequest { const message = createBaseQueryCreditTypeRequest(); message.abbreviation = object.abbreviation ?? ""; @@ -5335,16 +4798,6 @@ export const QueryCreditTypeResponse = { } return message; }, - fromJSON(object: any): QueryCreditTypeResponse { - return { - creditType: isSet(object.creditType) ? CreditType.fromJSON(object.creditType) : undefined - }; - }, - toJSON(message: QueryCreditTypeResponse): unknown { - const obj: any = {}; - message.creditType !== undefined && (obj.creditType = message.creditType ? CreditType.toJSON(message.creditType) : undefined); - return obj; - }, fromPartial(object: Partial): QueryCreditTypeResponse { const message = createBaseQueryCreditTypeResponse(); message.creditType = object.creditType !== undefined && object.creditType !== null ? CreditType.fromPartial(object.creditType) : undefined; @@ -5429,22 +4882,6 @@ export const ClassInfo = { } return message; }, - fromJSON(object: any): ClassInfo { - return { - id: isSet(object.id) ? String(object.id) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "" - }; - }, - toJSON(message: ClassInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - return obj; - }, fromPartial(object: Partial): ClassInfo { const message = createBaseClassInfo(); message.id = object.id ?? ""; @@ -5558,26 +4995,6 @@ export const ProjectInfo = { } return message; }, - fromJSON(object: any): ProjectInfo { - return { - id: isSet(object.id) ? String(object.id) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - jurisdiction: isSet(object.jurisdiction) ? String(object.jurisdiction) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - referenceId: isSet(object.referenceId) ? String(object.referenceId) : "" - }; - }, - toJSON(message: ProjectInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - message.jurisdiction !== undefined && (obj.jurisdiction = message.jurisdiction); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.referenceId !== undefined && (obj.referenceId = message.referenceId); - return obj; - }, fromPartial(object: Partial): ProjectInfo { const message = createBaseProjectInfo(); message.id = object.id ?? ""; @@ -5664,13 +5081,13 @@ export const BatchInfo = { writer.uint32(34).string(message.metadata); } if (message.startDate !== undefined) { - Timestamp.encode(message.startDate, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.startDate), writer.uint32(42).fork()).ldelim(); } if (message.endDate !== undefined) { - Timestamp.encode(message.endDate, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.endDate), writer.uint32(50).fork()).ldelim(); } if (message.issuanceDate !== undefined) { - Timestamp.encode(message.issuanceDate, writer.uint32(58).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.issuanceDate), writer.uint32(58).fork()).ldelim(); } if (message.open === true) { writer.uint32(64).bool(message.open); @@ -5697,13 +5114,13 @@ export const BatchInfo = { message.metadata = reader.string(); break; case 5: - message.startDate = Timestamp.decode(reader, reader.uint32()); + message.startDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 6: - message.endDate = Timestamp.decode(reader, reader.uint32()); + message.endDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: - message.issuanceDate = Timestamp.decode(reader, reader.uint32()); + message.issuanceDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 8: message.open = reader.bool(); @@ -5715,39 +5132,15 @@ export const BatchInfo = { } return message; }, - fromJSON(object: any): BatchInfo { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - projectId: isSet(object.projectId) ? String(object.projectId) : "", - denom: isSet(object.denom) ? String(object.denom) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - startDate: isSet(object.startDate) ? fromJsonTimestamp(object.startDate) : undefined, - endDate: isSet(object.endDate) ? fromJsonTimestamp(object.endDate) : undefined, - issuanceDate: isSet(object.issuanceDate) ? fromJsonTimestamp(object.issuanceDate) : undefined, - open: isSet(object.open) ? Boolean(object.open) : false - }; - }, - toJSON(message: BatchInfo): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.projectId !== undefined && (obj.projectId = message.projectId); - message.denom !== undefined && (obj.denom = message.denom); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.startDate !== undefined && (obj.startDate = fromTimestamp(message.startDate).toISOString()); - message.endDate !== undefined && (obj.endDate = fromTimestamp(message.endDate).toISOString()); - message.issuanceDate !== undefined && (obj.issuanceDate = fromTimestamp(message.issuanceDate).toISOString()); - message.open !== undefined && (obj.open = message.open); - return obj; - }, fromPartial(object: Partial): BatchInfo { const message = createBaseBatchInfo(); message.issuer = object.issuer ?? ""; message.projectId = object.projectId ?? ""; message.denom = object.denom ?? ""; message.metadata = object.metadata ?? ""; - message.startDate = object.startDate !== undefined && object.startDate !== null ? Timestamp.fromPartial(object.startDate) : undefined; - message.endDate = object.endDate !== undefined && object.endDate !== null ? Timestamp.fromPartial(object.endDate) : undefined; - message.issuanceDate = object.issuanceDate !== undefined && object.issuanceDate !== null ? Timestamp.fromPartial(object.issuanceDate) : undefined; + message.startDate = object.startDate ?? undefined; + message.endDate = object.endDate ?? undefined; + message.issuanceDate = object.issuanceDate ?? undefined; message.open = object.open ?? false; return message; }, @@ -5766,13 +5159,13 @@ export const BatchInfo = { message.metadata = object.metadata; } if (object.start_date !== undefined && object.start_date !== null) { - message.startDate = Timestamp.fromAmino(object.start_date); + message.startDate = fromTimestamp(Timestamp.fromAmino(object.start_date)); } if (object.end_date !== undefined && object.end_date !== null) { - message.endDate = Timestamp.fromAmino(object.end_date); + message.endDate = fromTimestamp(Timestamp.fromAmino(object.end_date)); } if (object.issuance_date !== undefined && object.issuance_date !== null) { - message.issuanceDate = Timestamp.fromAmino(object.issuance_date); + message.issuanceDate = fromTimestamp(Timestamp.fromAmino(object.issuance_date)); } if (object.open !== undefined && object.open !== null) { message.open = object.open; @@ -5785,9 +5178,9 @@ export const BatchInfo = { obj.project_id = message.projectId === "" ? undefined : message.projectId; obj.denom = message.denom === "" ? undefined : message.denom; obj.metadata = message.metadata === "" ? undefined : message.metadata; - obj.start_date = message.startDate ? Timestamp.toAmino(message.startDate) : undefined; - obj.end_date = message.endDate ? Timestamp.toAmino(message.endDate) : undefined; - obj.issuance_date = message.issuanceDate ? Timestamp.toAmino(message.issuanceDate) : undefined; + obj.start_date = message.startDate ? Timestamp.toAmino(toTimestamp(message.startDate)) : undefined; + obj.end_date = message.endDate ? Timestamp.toAmino(toTimestamp(message.endDate)) : undefined; + obj.issuance_date = message.issuanceDate ? Timestamp.toAmino(toTimestamp(message.issuanceDate)) : undefined; obj.open = message.open === false ? undefined : message.open; return obj; }, @@ -5865,24 +5258,6 @@ export const BatchBalanceInfo = { } return message; }, - fromJSON(object: any): BatchBalanceInfo { - return { - address: isSet(object.address) ? String(object.address) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - escrowedAmount: isSet(object.escrowedAmount) ? String(object.escrowedAmount) : "" - }; - }, - toJSON(message: BatchBalanceInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.escrowedAmount !== undefined && (obj.escrowedAmount = message.escrowedAmount); - return obj; - }, fromPartial(object: Partial): BatchBalanceInfo { const message = createBaseBatchBalanceInfo(); message.address = object.address ?? ""; @@ -5958,13 +5333,6 @@ export const QueryClassCreatorAllowlistRequest = { } return message; }, - fromJSON(_: any): QueryClassCreatorAllowlistRequest { - return {}; - }, - toJSON(_: QueryClassCreatorAllowlistRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryClassCreatorAllowlistRequest { const message = createBaseQueryClassCreatorAllowlistRequest(); return message; @@ -6023,16 +5391,6 @@ export const QueryClassCreatorAllowlistResponse = { } return message; }, - fromJSON(object: any): QueryClassCreatorAllowlistResponse { - return { - enabled: isSet(object.enabled) ? Boolean(object.enabled) : false - }; - }, - toJSON(message: QueryClassCreatorAllowlistResponse): unknown { - const obj: any = {}; - message.enabled !== undefined && (obj.enabled = message.enabled); - return obj; - }, fromPartial(object: Partial): QueryClassCreatorAllowlistResponse { const message = createBaseQueryClassCreatorAllowlistResponse(); message.enabled = object.enabled ?? false; @@ -6096,16 +5454,6 @@ export const QueryAllowedClassCreatorsRequest = { } return message; }, - fromJSON(object: any): QueryAllowedClassCreatorsRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowedClassCreatorsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowedClassCreatorsRequest { const message = createBaseQueryAllowedClassCreatorsRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -6176,22 +5524,6 @@ export const QueryAllowedClassCreatorsResponse = { } return message; }, - fromJSON(object: any): QueryAllowedClassCreatorsResponse { - return { - classCreators: Array.isArray(object?.classCreators) ? object.classCreators.map((e: any) => String(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryAllowedClassCreatorsResponse): unknown { - const obj: any = {}; - if (message.classCreators) { - obj.classCreators = message.classCreators.map(e => e); - } else { - obj.classCreators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryAllowedClassCreatorsResponse { const message = createBaseQueryAllowedClassCreatorsResponse(); message.classCreators = object.classCreators?.map(e => e) || []; @@ -6254,13 +5586,6 @@ export const QueryClassFeeRequest = { } return message; }, - fromJSON(_: any): QueryClassFeeRequest { - return {}; - }, - toJSON(_: QueryClassFeeRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryClassFeeRequest { const message = createBaseQueryClassFeeRequest(); return message; @@ -6319,16 +5644,6 @@ export const QueryClassFeeResponse = { } return message; }, - fromJSON(object: any): QueryClassFeeResponse { - return { - fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined - }; - }, - toJSON(message: QueryClassFeeResponse): unknown { - const obj: any = {}; - message.fee !== undefined && (obj.fee = message.fee ? Coin.toJSON(message.fee) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassFeeResponse { const message = createBaseQueryClassFeeResponse(); message.fee = object.fee !== undefined && object.fee !== null ? Coin.fromPartial(object.fee) : undefined; @@ -6384,13 +5699,6 @@ export const QueryAllowedBridgeChainsRequest = { } return message; }, - fromJSON(_: any): QueryAllowedBridgeChainsRequest { - return {}; - }, - toJSON(_: QueryAllowedBridgeChainsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryAllowedBridgeChainsRequest { const message = createBaseQueryAllowedBridgeChainsRequest(); return message; @@ -6449,20 +5757,6 @@ export const QueryAllowedBridgeChainsResponse = { } return message; }, - fromJSON(object: any): QueryAllowedBridgeChainsResponse { - return { - allowedBridgeChains: Array.isArray(object?.allowedBridgeChains) ? object.allowedBridgeChains.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: QueryAllowedBridgeChainsResponse): unknown { - const obj: any = {}; - if (message.allowedBridgeChains) { - obj.allowedBridgeChains = message.allowedBridgeChains.map(e => e); - } else { - obj.allowedBridgeChains = []; - } - return obj; - }, fromPartial(object: Partial): QueryAllowedBridgeChainsResponse { const message = createBaseQueryAllowedBridgeChainsResponse(); message.allowedBridgeChains = object.allowedBridgeChains?.map(e => e) || []; diff --git a/packages/api/src/codegen/regen/ecocredit/v1/state.ts b/packages/api/src/regen/ecocredit/v1/state.ts similarity index 86% rename from packages/api/src/codegen/regen/ecocredit/v1/state.ts rename to packages/api/src/regen/ecocredit/v1/state.ts index 3a76113f..59a33914 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/state.ts +++ b/packages/api/src/regen/ecocredit/v1/state.ts @@ -1,7 +1,8 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../../helpers"; /** * CreditType defines the measurement unit/precision of a certain credit type * (e.g. carbon, biodiversity...) @@ -255,14 +256,14 @@ export interface Batch { * start_date is the beginning of the period during which this credit batch * was quantified and verified. */ - startDate?: Timestamp; + startDate?: Date; /** * end_date is the end of the period during which this credit batch was * quantified and verified. */ - endDate?: Timestamp; + endDate?: Date; /** issuance_date is the timestamp when the credit batch was issued. */ - issuanceDate?: Timestamp; + issuanceDate?: Date; /** * open tells if it's possible to mint new credits in the future. * Once `open` is set to false, it can't be toggled any more. @@ -327,9 +328,9 @@ export interface BatchSDKType { project_key: bigint; denom: string; metadata: string; - start_date?: TimestampSDKType; - end_date?: TimestampSDKType; - issuance_date?: TimestampSDKType; + start_date?: Date; + end_date?: Date; + issuance_date?: Date; open: boolean; } /** @@ -969,22 +970,6 @@ export const CreditType = { } return message; }, - fromJSON(object: any): CreditType { - return { - abbreviation: isSet(object.abbreviation) ? String(object.abbreviation) : "", - name: isSet(object.name) ? String(object.name) : "", - unit: isSet(object.unit) ? String(object.unit) : "", - precision: isSet(object.precision) ? Number(object.precision) : 0 - }; - }, - toJSON(message: CreditType): unknown { - const obj: any = {}; - message.abbreviation !== undefined && (obj.abbreviation = message.abbreviation); - message.name !== undefined && (obj.name = message.name); - message.unit !== undefined && (obj.unit = message.unit); - message.precision !== undefined && (obj.precision = Math.round(message.precision)); - return obj; - }, fromPartial(object: Partial): CreditType { const message = createBaseCreditType(); message.abbreviation = object.abbreviation ?? ""; @@ -1091,24 +1076,6 @@ export const Class = { } return message; }, - fromJSON(object: any): Class { - return { - key: isSet(object.key) ? BigInt(object.key.toString()) : BigInt(0), - id: isSet(object.id) ? String(object.id) : "", - admin: isSet(object.admin) ? bytesFromBase64(object.admin) : new Uint8Array(), - metadata: isSet(object.metadata) ? String(object.metadata) : "", - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "" - }; - }, - toJSON(message: Class): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = (message.key || BigInt(0)).toString()); - message.id !== undefined && (obj.id = message.id); - message.admin !== undefined && (obj.admin = base64FromBytes(message.admin !== undefined ? message.admin : new Uint8Array())); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - return obj; - }, fromPartial(object: Partial): Class { const message = createBaseClass(); message.key = object.key !== undefined && object.key !== null ? BigInt(object.key.toString()) : BigInt(0); @@ -1199,18 +1166,6 @@ export const ClassIssuer = { } return message; }, - fromJSON(object: any): ClassIssuer { - return { - classKey: isSet(object.classKey) ? BigInt(object.classKey.toString()) : BigInt(0), - issuer: isSet(object.issuer) ? bytesFromBase64(object.issuer) : new Uint8Array() - }; - }, - toJSON(message: ClassIssuer): unknown { - const obj: any = {}; - message.classKey !== undefined && (obj.classKey = (message.classKey || BigInt(0)).toString()); - message.issuer !== undefined && (obj.issuer = base64FromBytes(message.issuer !== undefined ? message.issuer : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): ClassIssuer { const message = createBaseClassIssuer(); message.classKey = object.classKey !== undefined && object.classKey !== null ? BigInt(object.classKey.toString()) : BigInt(0); @@ -1321,28 +1276,6 @@ export const Project = { } return message; }, - fromJSON(object: any): Project { - return { - key: isSet(object.key) ? BigInt(object.key.toString()) : BigInt(0), - id: isSet(object.id) ? String(object.id) : "", - admin: isSet(object.admin) ? bytesFromBase64(object.admin) : new Uint8Array(), - classKey: isSet(object.classKey) ? BigInt(object.classKey.toString()) : BigInt(0), - jurisdiction: isSet(object.jurisdiction) ? String(object.jurisdiction) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - referenceId: isSet(object.referenceId) ? String(object.referenceId) : "" - }; - }, - toJSON(message: Project): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = (message.key || BigInt(0)).toString()); - message.id !== undefined && (obj.id = message.id); - message.admin !== undefined && (obj.admin = base64FromBytes(message.admin !== undefined ? message.admin : new Uint8Array())); - message.classKey !== undefined && (obj.classKey = (message.classKey || BigInt(0)).toString()); - message.jurisdiction !== undefined && (obj.jurisdiction = message.jurisdiction); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.referenceId !== undefined && (obj.referenceId = message.referenceId); - return obj; - }, fromPartial(object: Partial): Project { const message = createBaseProject(); message.key = object.key !== undefined && object.key !== null ? BigInt(object.key.toString()) : BigInt(0); @@ -1438,13 +1371,13 @@ export const Batch = { writer.uint32(42).string(message.metadata); } if (message.startDate !== undefined) { - Timestamp.encode(message.startDate, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.startDate), writer.uint32(50).fork()).ldelim(); } if (message.endDate !== undefined) { - Timestamp.encode(message.endDate, writer.uint32(58).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.endDate), writer.uint32(58).fork()).ldelim(); } if (message.issuanceDate !== undefined) { - Timestamp.encode(message.issuanceDate, writer.uint32(66).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.issuanceDate), writer.uint32(66).fork()).ldelim(); } if (message.open === true) { writer.uint32(72).bool(message.open); @@ -1474,13 +1407,13 @@ export const Batch = { message.metadata = reader.string(); break; case 6: - message.startDate = Timestamp.decode(reader, reader.uint32()); + message.startDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: - message.endDate = Timestamp.decode(reader, reader.uint32()); + message.endDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 8: - message.issuanceDate = Timestamp.decode(reader, reader.uint32()); + message.issuanceDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 9: message.open = reader.bool(); @@ -1492,32 +1425,6 @@ export const Batch = { } return message; }, - fromJSON(object: any): Batch { - return { - key: isSet(object.key) ? BigInt(object.key.toString()) : BigInt(0), - issuer: isSet(object.issuer) ? bytesFromBase64(object.issuer) : new Uint8Array(), - projectKey: isSet(object.projectKey) ? BigInt(object.projectKey.toString()) : BigInt(0), - denom: isSet(object.denom) ? String(object.denom) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - startDate: isSet(object.startDate) ? fromJsonTimestamp(object.startDate) : undefined, - endDate: isSet(object.endDate) ? fromJsonTimestamp(object.endDate) : undefined, - issuanceDate: isSet(object.issuanceDate) ? fromJsonTimestamp(object.issuanceDate) : undefined, - open: isSet(object.open) ? Boolean(object.open) : false - }; - }, - toJSON(message: Batch): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = (message.key || BigInt(0)).toString()); - message.issuer !== undefined && (obj.issuer = base64FromBytes(message.issuer !== undefined ? message.issuer : new Uint8Array())); - message.projectKey !== undefined && (obj.projectKey = (message.projectKey || BigInt(0)).toString()); - message.denom !== undefined && (obj.denom = message.denom); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.startDate !== undefined && (obj.startDate = fromTimestamp(message.startDate).toISOString()); - message.endDate !== undefined && (obj.endDate = fromTimestamp(message.endDate).toISOString()); - message.issuanceDate !== undefined && (obj.issuanceDate = fromTimestamp(message.issuanceDate).toISOString()); - message.open !== undefined && (obj.open = message.open); - return obj; - }, fromPartial(object: Partial): Batch { const message = createBaseBatch(); message.key = object.key !== undefined && object.key !== null ? BigInt(object.key.toString()) : BigInt(0); @@ -1525,9 +1432,9 @@ export const Batch = { message.projectKey = object.projectKey !== undefined && object.projectKey !== null ? BigInt(object.projectKey.toString()) : BigInt(0); message.denom = object.denom ?? ""; message.metadata = object.metadata ?? ""; - message.startDate = object.startDate !== undefined && object.startDate !== null ? Timestamp.fromPartial(object.startDate) : undefined; - message.endDate = object.endDate !== undefined && object.endDate !== null ? Timestamp.fromPartial(object.endDate) : undefined; - message.issuanceDate = object.issuanceDate !== undefined && object.issuanceDate !== null ? Timestamp.fromPartial(object.issuanceDate) : undefined; + message.startDate = object.startDate ?? undefined; + message.endDate = object.endDate ?? undefined; + message.issuanceDate = object.issuanceDate ?? undefined; message.open = object.open ?? false; return message; }, @@ -1549,13 +1456,13 @@ export const Batch = { message.metadata = object.metadata; } if (object.start_date !== undefined && object.start_date !== null) { - message.startDate = Timestamp.fromAmino(object.start_date); + message.startDate = fromTimestamp(Timestamp.fromAmino(object.start_date)); } if (object.end_date !== undefined && object.end_date !== null) { - message.endDate = Timestamp.fromAmino(object.end_date); + message.endDate = fromTimestamp(Timestamp.fromAmino(object.end_date)); } if (object.issuance_date !== undefined && object.issuance_date !== null) { - message.issuanceDate = Timestamp.fromAmino(object.issuance_date); + message.issuanceDate = fromTimestamp(Timestamp.fromAmino(object.issuance_date)); } if (object.open !== undefined && object.open !== null) { message.open = object.open; @@ -1569,9 +1476,9 @@ export const Batch = { obj.project_key = message.projectKey !== BigInt(0) ? message.projectKey.toString() : undefined; obj.denom = message.denom === "" ? undefined : message.denom; obj.metadata = message.metadata === "" ? undefined : message.metadata; - obj.start_date = message.startDate ? Timestamp.toAmino(message.startDate) : undefined; - obj.end_date = message.endDate ? Timestamp.toAmino(message.endDate) : undefined; - obj.issuance_date = message.issuanceDate ? Timestamp.toAmino(message.issuanceDate) : undefined; + obj.start_date = message.startDate ? Timestamp.toAmino(toTimestamp(message.startDate)) : undefined; + obj.end_date = message.endDate ? Timestamp.toAmino(toTimestamp(message.endDate)) : undefined; + obj.issuance_date = message.issuanceDate ? Timestamp.toAmino(toTimestamp(message.issuanceDate)) : undefined; obj.open = message.open === false ? undefined : message.open; return obj; }, @@ -1628,18 +1535,6 @@ export const ClassSequence = { } return message; }, - fromJSON(object: any): ClassSequence { - return { - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "", - nextSequence: isSet(object.nextSequence) ? BigInt(object.nextSequence.toString()) : BigInt(0) - }; - }, - toJSON(message: ClassSequence): unknown { - const obj: any = {}; - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - message.nextSequence !== undefined && (obj.nextSequence = (message.nextSequence || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ClassSequence { const message = createBaseClassSequence(); message.creditTypeAbbrev = object.creditTypeAbbrev ?? ""; @@ -1715,18 +1610,6 @@ export const ProjectSequence = { } return message; }, - fromJSON(object: any): ProjectSequence { - return { - classKey: isSet(object.classKey) ? BigInt(object.classKey.toString()) : BigInt(0), - nextSequence: isSet(object.nextSequence) ? BigInt(object.nextSequence.toString()) : BigInt(0) - }; - }, - toJSON(message: ProjectSequence): unknown { - const obj: any = {}; - message.classKey !== undefined && (obj.classKey = (message.classKey || BigInt(0)).toString()); - message.nextSequence !== undefined && (obj.nextSequence = (message.nextSequence || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ProjectSequence { const message = createBaseProjectSequence(); message.classKey = object.classKey !== undefined && object.classKey !== null ? BigInt(object.classKey.toString()) : BigInt(0); @@ -1802,18 +1685,6 @@ export const BatchSequence = { } return message; }, - fromJSON(object: any): BatchSequence { - return { - projectKey: isSet(object.projectKey) ? BigInt(object.projectKey.toString()) : BigInt(0), - nextSequence: isSet(object.nextSequence) ? BigInt(object.nextSequence.toString()) : BigInt(0) - }; - }, - toJSON(message: BatchSequence): unknown { - const obj: any = {}; - message.projectKey !== undefined && (obj.projectKey = (message.projectKey || BigInt(0)).toString()); - message.nextSequence !== undefined && (obj.nextSequence = (message.nextSequence || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): BatchSequence { const message = createBaseBatchSequence(); message.projectKey = object.projectKey !== undefined && object.projectKey !== null ? BigInt(object.projectKey.toString()) : BigInt(0); @@ -1910,24 +1781,6 @@ export const BatchBalance = { } return message; }, - fromJSON(object: any): BatchBalance { - return { - batchKey: isSet(object.batchKey) ? BigInt(object.batchKey.toString()) : BigInt(0), - address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(), - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - escrowedAmount: isSet(object.escrowedAmount) ? String(object.escrowedAmount) : "" - }; - }, - toJSON(message: BatchBalance): unknown { - const obj: any = {}; - message.batchKey !== undefined && (obj.batchKey = (message.batchKey || BigInt(0)).toString()); - message.address !== undefined && (obj.address = base64FromBytes(message.address !== undefined ? message.address : new Uint8Array())); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.escrowedAmount !== undefined && (obj.escrowedAmount = message.escrowedAmount); - return obj; - }, fromPartial(object: Partial): BatchBalance { const message = createBaseBatchBalance(); message.batchKey = object.batchKey !== undefined && object.batchKey !== null ? BigInt(object.batchKey.toString()) : BigInt(0); @@ -2032,22 +1885,6 @@ export const BatchSupply = { } return message; }, - fromJSON(object: any): BatchSupply { - return { - batchKey: isSet(object.batchKey) ? BigInt(object.batchKey.toString()) : BigInt(0), - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - cancelledAmount: isSet(object.cancelledAmount) ? String(object.cancelledAmount) : "" - }; - }, - toJSON(message: BatchSupply): unknown { - const obj: any = {}; - message.batchKey !== undefined && (obj.batchKey = (message.batchKey || BigInt(0)).toString()); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.cancelledAmount !== undefined && (obj.cancelledAmount = message.cancelledAmount); - return obj; - }, fromPartial(object: Partial): BatchSupply { const message = createBaseBatchSupply(); message.batchKey = object.batchKey !== undefined && object.batchKey !== null ? BigInt(object.batchKey.toString()) : BigInt(0); @@ -2140,20 +1977,6 @@ export const OriginTxIndex = { } return message; }, - fromJSON(object: any): OriginTxIndex { - return { - classKey: isSet(object.classKey) ? BigInt(object.classKey.toString()) : BigInt(0), - id: isSet(object.id) ? String(object.id) : "", - source: isSet(object.source) ? String(object.source) : "" - }; - }, - toJSON(message: OriginTxIndex): unknown { - const obj: any = {}; - message.classKey !== undefined && (obj.classKey = (message.classKey || BigInt(0)).toString()); - message.id !== undefined && (obj.id = message.id); - message.source !== undefined && (obj.source = message.source); - return obj; - }, fromPartial(object: Partial): OriginTxIndex { const message = createBaseOriginTxIndex(); message.classKey = object.classKey !== undefined && object.classKey !== null ? BigInt(object.classKey.toString()) : BigInt(0); @@ -2241,20 +2064,6 @@ export const BatchContract = { } return message; }, - fromJSON(object: any): BatchContract { - return { - batchKey: isSet(object.batchKey) ? BigInt(object.batchKey.toString()) : BigInt(0), - classKey: isSet(object.classKey) ? BigInt(object.classKey.toString()) : BigInt(0), - contract: isSet(object.contract) ? String(object.contract) : "" - }; - }, - toJSON(message: BatchContract): unknown { - const obj: any = {}; - message.batchKey !== undefined && (obj.batchKey = (message.batchKey || BigInt(0)).toString()); - message.classKey !== undefined && (obj.classKey = (message.classKey || BigInt(0)).toString()); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, fromPartial(object: Partial): BatchContract { const message = createBaseBatchContract(); message.batchKey = object.batchKey !== undefined && object.batchKey !== null ? BigInt(object.batchKey.toString()) : BigInt(0); @@ -2328,16 +2137,6 @@ export const ClassCreatorAllowlist = { } return message; }, - fromJSON(object: any): ClassCreatorAllowlist { - return { - enabled: isSet(object.enabled) ? Boolean(object.enabled) : false - }; - }, - toJSON(message: ClassCreatorAllowlist): unknown { - const obj: any = {}; - message.enabled !== undefined && (obj.enabled = message.enabled); - return obj; - }, fromPartial(object: Partial): ClassCreatorAllowlist { const message = createBaseClassCreatorAllowlist(); message.enabled = object.enabled ?? false; @@ -2401,16 +2200,6 @@ export const AllowedClassCreator = { } return message; }, - fromJSON(object: any): AllowedClassCreator { - return { - address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array() - }; - }, - toJSON(message: AllowedClassCreator): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = base64FromBytes(message.address !== undefined ? message.address : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): AllowedClassCreator { const message = createBaseAllowedClassCreator(); message.address = object.address ?? new Uint8Array(); @@ -2474,16 +2263,6 @@ export const ClassFee = { } return message; }, - fromJSON(object: any): ClassFee { - return { - fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined - }; - }, - toJSON(message: ClassFee): unknown { - const obj: any = {}; - message.fee !== undefined && (obj.fee = message.fee ? Coin.toJSON(message.fee) : undefined); - return obj; - }, fromPartial(object: Partial): ClassFee { const message = createBaseClassFee(); message.fee = object.fee !== undefined && object.fee !== null ? Coin.fromPartial(object.fee) : undefined; @@ -2547,16 +2326,6 @@ export const AllowedBridgeChain = { } return message; }, - fromJSON(object: any): AllowedBridgeChain { - return { - chainName: isSet(object.chainName) ? String(object.chainName) : "" - }; - }, - toJSON(message: AllowedBridgeChain): unknown { - const obj: any = {}; - message.chainName !== undefined && (obj.chainName = message.chainName); - return obj; - }, fromPartial(object: Partial): AllowedBridgeChain { const message = createBaseAllowedBridgeChain(); message.chainName = object.chainName ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/v1/tx.amino.ts b/packages/api/src/regen/ecocredit/v1/tx.amino.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1/tx.amino.ts rename to packages/api/src/regen/ecocredit/v1/tx.amino.ts index fab780c2..ff839152 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/tx.amino.ts +++ b/packages/api/src/regen/ecocredit/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgCreateClass, MsgCreateProject, MsgCreateBatch, MsgMintBatchCredits, MsgSealBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata, MsgUpdateProjectAdmin, MsgUpdateProjectMetadata, MsgUpdateBatchMetadata, MsgBridge, MsgBridgeReceive, MsgAddCreditType, MsgSetClassCreatorAllowlist, MsgAddClassCreator, MsgRemoveClassCreator, MsgUpdateClassFee, MsgAddAllowedBridgeChain, MsgRemoveAllowedBridgeChain } from "./tx"; export const AminoConverter = { "/regen.ecocredit.v1.MsgCreateClass": { diff --git a/packages/api/src/codegen/regen/ecocredit/v1/tx.registry.ts b/packages/api/src/regen/ecocredit/v1/tx.registry.ts similarity index 63% rename from packages/api/src/codegen/regen/ecocredit/v1/tx.registry.ts rename to packages/api/src/regen/ecocredit/v1/tx.registry.ts index 661ffd4e..9bf346b1 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/tx.registry.ts +++ b/packages/api/src/regen/ecocredit/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreateClass, MsgCreateProject, MsgCreateBatch, MsgMintBatchCredits, MsgSealBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata, MsgUpdateProjectAdmin, MsgUpdateProjectMetadata, MsgUpdateBatchMetadata, MsgBridge, MsgBridgeReceive, MsgAddCreditType, MsgSetClassCreatorAllowlist, MsgAddClassCreator, MsgRemoveClassCreator, MsgUpdateClassFee, MsgAddAllowedBridgeChain, MsgRemoveAllowedBridgeChain } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/regen.ecocredit.v1.MsgCreateClass", MsgCreateClass], ["/regen.ecocredit.v1.MsgCreateProject", MsgCreateProject], ["/regen.ecocredit.v1.MsgCreateBatch", MsgCreateBatch], ["/regen.ecocredit.v1.MsgMintBatchCredits", MsgMintBatchCredits], ["/regen.ecocredit.v1.MsgSealBatch", MsgSealBatch], ["/regen.ecocredit.v1.MsgSend", MsgSend], ["/regen.ecocredit.v1.MsgRetire", MsgRetire], ["/regen.ecocredit.v1.MsgCancel", MsgCancel], ["/regen.ecocredit.v1.MsgUpdateClassAdmin", MsgUpdateClassAdmin], ["/regen.ecocredit.v1.MsgUpdateClassIssuers", MsgUpdateClassIssuers], ["/regen.ecocredit.v1.MsgUpdateClassMetadata", MsgUpdateClassMetadata], ["/regen.ecocredit.v1.MsgUpdateProjectAdmin", MsgUpdateProjectAdmin], ["/regen.ecocredit.v1.MsgUpdateProjectMetadata", MsgUpdateProjectMetadata], ["/regen.ecocredit.v1.MsgUpdateBatchMetadata", MsgUpdateBatchMetadata], ["/regen.ecocredit.v1.MsgBridge", MsgBridge], ["/regen.ecocredit.v1.MsgBridgeReceive", MsgBridgeReceive], ["/regen.ecocredit.v1.MsgAddCreditType", MsgAddCreditType], ["/regen.ecocredit.v1.MsgSetClassCreatorAllowlist", MsgSetClassCreatorAllowlist], ["/regen.ecocredit.v1.MsgAddClassCreator", MsgAddClassCreator], ["/regen.ecocredit.v1.MsgRemoveClassCreator", MsgRemoveClassCreator], ["/regen.ecocredit.v1.MsgUpdateClassFee", MsgUpdateClassFee], ["/regen.ecocredit.v1.MsgAddAllowedBridgeChain", MsgAddAllowedBridgeChain], ["/regen.ecocredit.v1.MsgRemoveAllowedBridgeChain", MsgRemoveAllowedBridgeChain]]; @@ -287,286 +288,6 @@ export const MessageComposer = { }; } }, - toJSON: { - createClass(value: MsgCreateClass) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCreateClass", - value: MsgCreateClass.toJSON(value) - }; - }, - createProject(value: MsgCreateProject) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCreateProject", - value: MsgCreateProject.toJSON(value) - }; - }, - createBatch(value: MsgCreateBatch) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCreateBatch", - value: MsgCreateBatch.toJSON(value) - }; - }, - mintBatchCredits(value: MsgMintBatchCredits) { - return { - typeUrl: "/regen.ecocredit.v1.MsgMintBatchCredits", - value: MsgMintBatchCredits.toJSON(value) - }; - }, - sealBatch(value: MsgSealBatch) { - return { - typeUrl: "/regen.ecocredit.v1.MsgSealBatch", - value: MsgSealBatch.toJSON(value) - }; - }, - send(value: MsgSend) { - return { - typeUrl: "/regen.ecocredit.v1.MsgSend", - value: MsgSend.toJSON(value) - }; - }, - retire(value: MsgRetire) { - return { - typeUrl: "/regen.ecocredit.v1.MsgRetire", - value: MsgRetire.toJSON(value) - }; - }, - cancel(value: MsgCancel) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCancel", - value: MsgCancel.toJSON(value) - }; - }, - updateClassAdmin(value: MsgUpdateClassAdmin) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassAdmin", - value: MsgUpdateClassAdmin.toJSON(value) - }; - }, - updateClassIssuers(value: MsgUpdateClassIssuers) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassIssuers", - value: MsgUpdateClassIssuers.toJSON(value) - }; - }, - updateClassMetadata(value: MsgUpdateClassMetadata) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassMetadata", - value: MsgUpdateClassMetadata.toJSON(value) - }; - }, - updateProjectAdmin(value: MsgUpdateProjectAdmin) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectAdmin", - value: MsgUpdateProjectAdmin.toJSON(value) - }; - }, - updateProjectMetadata(value: MsgUpdateProjectMetadata) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectMetadata", - value: MsgUpdateProjectMetadata.toJSON(value) - }; - }, - updateBatchMetadata(value: MsgUpdateBatchMetadata) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateBatchMetadata", - value: MsgUpdateBatchMetadata.toJSON(value) - }; - }, - bridge(value: MsgBridge) { - return { - typeUrl: "/regen.ecocredit.v1.MsgBridge", - value: MsgBridge.toJSON(value) - }; - }, - bridgeReceive(value: MsgBridgeReceive) { - return { - typeUrl: "/regen.ecocredit.v1.MsgBridgeReceive", - value: MsgBridgeReceive.toJSON(value) - }; - }, - addCreditType(value: MsgAddCreditType) { - return { - typeUrl: "/regen.ecocredit.v1.MsgAddCreditType", - value: MsgAddCreditType.toJSON(value) - }; - }, - setClassCreatorAllowlist(value: MsgSetClassCreatorAllowlist) { - return { - typeUrl: "/regen.ecocredit.v1.MsgSetClassCreatorAllowlist", - value: MsgSetClassCreatorAllowlist.toJSON(value) - }; - }, - addClassCreator(value: MsgAddClassCreator) { - return { - typeUrl: "/regen.ecocredit.v1.MsgAddClassCreator", - value: MsgAddClassCreator.toJSON(value) - }; - }, - removeClassCreator(value: MsgRemoveClassCreator) { - return { - typeUrl: "/regen.ecocredit.v1.MsgRemoveClassCreator", - value: MsgRemoveClassCreator.toJSON(value) - }; - }, - updateClassFee(value: MsgUpdateClassFee) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassFee", - value: MsgUpdateClassFee.toJSON(value) - }; - }, - addAllowedBridgeChain(value: MsgAddAllowedBridgeChain) { - return { - typeUrl: "/regen.ecocredit.v1.MsgAddAllowedBridgeChain", - value: MsgAddAllowedBridgeChain.toJSON(value) - }; - }, - removeAllowedBridgeChain(value: MsgRemoveAllowedBridgeChain) { - return { - typeUrl: "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChain", - value: MsgRemoveAllowedBridgeChain.toJSON(value) - }; - } - }, - fromJSON: { - createClass(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCreateClass", - value: MsgCreateClass.fromJSON(value) - }; - }, - createProject(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCreateProject", - value: MsgCreateProject.fromJSON(value) - }; - }, - createBatch(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCreateBatch", - value: MsgCreateBatch.fromJSON(value) - }; - }, - mintBatchCredits(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgMintBatchCredits", - value: MsgMintBatchCredits.fromJSON(value) - }; - }, - sealBatch(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgSealBatch", - value: MsgSealBatch.fromJSON(value) - }; - }, - send(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgSend", - value: MsgSend.fromJSON(value) - }; - }, - retire(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgRetire", - value: MsgRetire.fromJSON(value) - }; - }, - cancel(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgCancel", - value: MsgCancel.fromJSON(value) - }; - }, - updateClassAdmin(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassAdmin", - value: MsgUpdateClassAdmin.fromJSON(value) - }; - }, - updateClassIssuers(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassIssuers", - value: MsgUpdateClassIssuers.fromJSON(value) - }; - }, - updateClassMetadata(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassMetadata", - value: MsgUpdateClassMetadata.fromJSON(value) - }; - }, - updateProjectAdmin(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectAdmin", - value: MsgUpdateProjectAdmin.fromJSON(value) - }; - }, - updateProjectMetadata(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectMetadata", - value: MsgUpdateProjectMetadata.fromJSON(value) - }; - }, - updateBatchMetadata(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateBatchMetadata", - value: MsgUpdateBatchMetadata.fromJSON(value) - }; - }, - bridge(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgBridge", - value: MsgBridge.fromJSON(value) - }; - }, - bridgeReceive(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgBridgeReceive", - value: MsgBridgeReceive.fromJSON(value) - }; - }, - addCreditType(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgAddCreditType", - value: MsgAddCreditType.fromJSON(value) - }; - }, - setClassCreatorAllowlist(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgSetClassCreatorAllowlist", - value: MsgSetClassCreatorAllowlist.fromJSON(value) - }; - }, - addClassCreator(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgAddClassCreator", - value: MsgAddClassCreator.fromJSON(value) - }; - }, - removeClassCreator(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgRemoveClassCreator", - value: MsgRemoveClassCreator.fromJSON(value) - }; - }, - updateClassFee(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassFee", - value: MsgUpdateClassFee.fromJSON(value) - }; - }, - addAllowedBridgeChain(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgAddAllowedBridgeChain", - value: MsgAddAllowedBridgeChain.fromJSON(value) - }; - }, - removeAllowedBridgeChain(value: any) { - return { - typeUrl: "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChain", - value: MsgRemoveAllowedBridgeChain.fromJSON(value) - }; - } - }, fromPartial: { createClass(value: MsgCreateClass) { return { diff --git a/packages/api/src/codegen/regen/ecocredit/v1/tx.rpc.msg.ts b/packages/api/src/regen/ecocredit/v1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1/tx.rpc.msg.ts rename to packages/api/src/regen/ecocredit/v1/tx.rpc.msg.ts index e97311dd..d78fbe2c 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/tx.rpc.msg.ts +++ b/packages/api/src/regen/ecocredit/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgCreateClass, MsgCreateClassResponse, MsgCreateProject, MsgCreateProjectResponse, MsgCreateBatch, MsgCreateBatchResponse, MsgMintBatchCredits, MsgMintBatchCreditsResponse, MsgSealBatch, MsgSealBatchResponse, MsgSend, MsgSendResponse, MsgRetire, MsgRetireResponse, MsgCancel, MsgCancelResponse, MsgUpdateClassAdmin, MsgUpdateClassAdminResponse, MsgUpdateClassIssuers, MsgUpdateClassIssuersResponse, MsgUpdateClassMetadata, MsgUpdateClassMetadataResponse, MsgUpdateProjectAdmin, MsgUpdateProjectAdminResponse, MsgUpdateProjectMetadata, MsgUpdateProjectMetadataResponse, MsgUpdateBatchMetadata, MsgUpdateBatchMetadataResponse, MsgBridge, MsgBridgeResponse, MsgBridgeReceive, MsgBridgeReceiveResponse, MsgAddCreditType, MsgAddCreditTypeResponse, MsgSetClassCreatorAllowlist, MsgSetClassCreatorAllowlistResponse, MsgAddClassCreator, MsgAddClassCreatorResponse, MsgRemoveClassCreator, MsgRemoveClassCreatorResponse, MsgUpdateClassFee, MsgUpdateClassFeeResponse, MsgAddAllowedBridgeChain, MsgAddAllowedBridgeChainResponse, MsgRemoveAllowedBridgeChain, MsgRemoveAllowedBridgeChainResponse } from "./tx"; diff --git a/packages/api/src/codegen/regen/ecocredit/v1/tx.ts b/packages/api/src/regen/ecocredit/v1/tx.ts similarity index 88% rename from packages/api/src/codegen/regen/ecocredit/v1/tx.ts rename to packages/api/src/regen/ecocredit/v1/tx.ts index 5721b2bc..d12e629d 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/tx.ts +++ b/packages/api/src/regen/ecocredit/v1/tx.ts @@ -1,9 +1,10 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { BatchIssuance, BatchIssuanceAmino, BatchIssuanceSDKType, OriginTx, OriginTxAmino, OriginTxSDKType, Credits, CreditsAmino, CreditsSDKType } from "./types"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +import { Timestamp } from "../../../google/protobuf/timestamp"; import { CreditType, CreditTypeAmino, CreditTypeSDKType } from "./state"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { toTimestamp, fromTimestamp } from "../../../helpers"; /** * MsgAddCreditType is the Msg/AddCreditType request type. * @@ -308,12 +309,12 @@ export interface MsgCreateBatch { * start_date is the beginning of the period during which this credit batch * was quantified and verified. */ - startDate?: Timestamp; + startDate?: Date; /** * end_date is the end of the period during which this credit batch was * quantified and verified. */ - endDate?: Timestamp; + endDate?: Date; /** * open determines whether or not the credits can be dynamically minted to the * credit batch following the creation of the credit batch. This field should @@ -391,8 +392,8 @@ export interface MsgCreateBatchSDKType { project_id: string; issuance: BatchIssuanceSDKType[]; metadata: string; - start_date?: TimestampSDKType; - end_date?: TimestampSDKType; + start_date?: Date; + end_date?: Date; open: boolean; origin_tx?: OriginTxSDKType; } @@ -1305,12 +1306,12 @@ export interface MsgBridgeReceive_Batch { * start_date is the beginning of the period during which this credit batch * was quantified and verified. */ - startDate?: Timestamp; + startDate?: Date; /** * end_date is the end of the period during which this credit batch was * quantified and verified. */ - endDate?: Timestamp; + endDate?: Date; /** metadata is the metadata for the credit batch. */ metadata: string; } @@ -1353,8 +1354,8 @@ export interface MsgBridgeReceive_BatchAminoMsg { export interface MsgBridgeReceive_BatchSDKType { recipient: string; amount: string; - start_date?: TimestampSDKType; - end_date?: TimestampSDKType; + start_date?: Date; + end_date?: Date; metadata: string; } /** @@ -1897,18 +1898,6 @@ export const MsgAddCreditType = { } return message; }, - fromJSON(object: any): MsgAddCreditType { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - creditType: isSet(object.creditType) ? CreditType.fromJSON(object.creditType) : undefined - }; - }, - toJSON(message: MsgAddCreditType): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.creditType !== undefined && (obj.creditType = message.creditType ? CreditType.toJSON(message.creditType) : undefined); - return obj; - }, fromPartial(object: Partial): MsgAddCreditType { const message = createBaseMsgAddCreditType(); message.authority = object.authority ?? ""; @@ -1975,13 +1964,6 @@ export const MsgAddCreditTypeResponse = { } return message; }, - fromJSON(_: any): MsgAddCreditTypeResponse { - return {}; - }, - toJSON(_: MsgAddCreditTypeResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgAddCreditTypeResponse { const message = createBaseMsgAddCreditTypeResponse(); return message; @@ -2068,28 +2050,6 @@ export const MsgCreateClass = { } return message; }, - fromJSON(object: any): MsgCreateClass { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - issuers: Array.isArray(object?.issuers) ? object.issuers.map((e: any) => String(e)) : [], - metadata: isSet(object.metadata) ? String(object.metadata) : "", - creditTypeAbbrev: isSet(object.creditTypeAbbrev) ? String(object.creditTypeAbbrev) : "", - fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined - }; - }, - toJSON(message: MsgCreateClass): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - if (message.issuers) { - obj.issuers = message.issuers.map(e => e); - } else { - obj.issuers = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - message.creditTypeAbbrev !== undefined && (obj.creditTypeAbbrev = message.creditTypeAbbrev); - message.fee !== undefined && (obj.fee = message.fee ? Coin.toJSON(message.fee) : undefined); - return obj; - }, fromPartial(object: Partial): MsgCreateClass { const message = createBaseMsgCreateClass(); message.admin = object.admin ?? ""; @@ -2181,16 +2141,6 @@ export const MsgCreateClassResponse = { } return message; }, - fromJSON(object: any): MsgCreateClassResponse { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: MsgCreateClassResponse): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): MsgCreateClassResponse { const message = createBaseMsgCreateClassResponse(); message.classId = object.classId ?? ""; @@ -2282,24 +2232,6 @@ export const MsgCreateProject = { } return message; }, - fromJSON(object: any): MsgCreateProject { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "", - jurisdiction: isSet(object.jurisdiction) ? String(object.jurisdiction) : "", - referenceId: isSet(object.referenceId) ? String(object.referenceId) : "" - }; - }, - toJSON(message: MsgCreateProject): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.jurisdiction !== undefined && (obj.jurisdiction = message.jurisdiction); - message.referenceId !== undefined && (obj.referenceId = message.referenceId); - return obj; - }, fromPartial(object: Partial): MsgCreateProject { const message = createBaseMsgCreateProject(); message.admin = object.admin ?? ""; @@ -2389,16 +2321,6 @@ export const MsgCreateProjectResponse = { } return message; }, - fromJSON(object: any): MsgCreateProjectResponse { - return { - projectId: isSet(object.projectId) ? String(object.projectId) : "" - }; - }, - toJSON(message: MsgCreateProjectResponse): unknown { - const obj: any = {}; - message.projectId !== undefined && (obj.projectId = message.projectId); - return obj; - }, fromPartial(object: Partial): MsgCreateProjectResponse { const message = createBaseMsgCreateProjectResponse(); message.projectId = object.projectId ?? ""; @@ -2460,10 +2382,10 @@ export const MsgCreateBatch = { writer.uint32(34).string(message.metadata); } if (message.startDate !== undefined) { - Timestamp.encode(message.startDate, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.startDate), writer.uint32(42).fork()).ldelim(); } if (message.endDate !== undefined) { - Timestamp.encode(message.endDate, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.endDate), writer.uint32(50).fork()).ldelim(); } if (message.open === true) { writer.uint32(56).bool(message.open); @@ -2493,10 +2415,10 @@ export const MsgCreateBatch = { message.metadata = reader.string(); break; case 5: - message.startDate = Timestamp.decode(reader, reader.uint32()); + message.startDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 6: - message.endDate = Timestamp.decode(reader, reader.uint32()); + message.endDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: message.open = reader.bool(); @@ -2511,42 +2433,14 @@ export const MsgCreateBatch = { } return message; }, - fromJSON(object: any): MsgCreateBatch { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - projectId: isSet(object.projectId) ? String(object.projectId) : "", - issuance: Array.isArray(object?.issuance) ? object.issuance.map((e: any) => BatchIssuance.fromJSON(e)) : [], - metadata: isSet(object.metadata) ? String(object.metadata) : "", - startDate: isSet(object.startDate) ? fromJsonTimestamp(object.startDate) : undefined, - endDate: isSet(object.endDate) ? fromJsonTimestamp(object.endDate) : undefined, - open: isSet(object.open) ? Boolean(object.open) : false, - originTx: isSet(object.originTx) ? OriginTx.fromJSON(object.originTx) : undefined - }; - }, - toJSON(message: MsgCreateBatch): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.projectId !== undefined && (obj.projectId = message.projectId); - if (message.issuance) { - obj.issuance = message.issuance.map(e => e ? BatchIssuance.toJSON(e) : undefined); - } else { - obj.issuance = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - message.startDate !== undefined && (obj.startDate = fromTimestamp(message.startDate).toISOString()); - message.endDate !== undefined && (obj.endDate = fromTimestamp(message.endDate).toISOString()); - message.open !== undefined && (obj.open = message.open); - message.originTx !== undefined && (obj.originTx = message.originTx ? OriginTx.toJSON(message.originTx) : undefined); - return obj; - }, fromPartial(object: Partial): MsgCreateBatch { const message = createBaseMsgCreateBatch(); message.issuer = object.issuer ?? ""; message.projectId = object.projectId ?? ""; message.issuance = object.issuance?.map(e => BatchIssuance.fromPartial(e)) || []; message.metadata = object.metadata ?? ""; - message.startDate = object.startDate !== undefined && object.startDate !== null ? Timestamp.fromPartial(object.startDate) : undefined; - message.endDate = object.endDate !== undefined && object.endDate !== null ? Timestamp.fromPartial(object.endDate) : undefined; + message.startDate = object.startDate ?? undefined; + message.endDate = object.endDate ?? undefined; message.open = object.open ?? false; message.originTx = object.originTx !== undefined && object.originTx !== null ? OriginTx.fromPartial(object.originTx) : undefined; return message; @@ -2564,10 +2458,10 @@ export const MsgCreateBatch = { message.metadata = object.metadata; } if (object.start_date !== undefined && object.start_date !== null) { - message.startDate = Timestamp.fromAmino(object.start_date); + message.startDate = fromTimestamp(Timestamp.fromAmino(object.start_date)); } if (object.end_date !== undefined && object.end_date !== null) { - message.endDate = Timestamp.fromAmino(object.end_date); + message.endDate = fromTimestamp(Timestamp.fromAmino(object.end_date)); } if (object.open !== undefined && object.open !== null) { message.open = object.open; @@ -2587,8 +2481,8 @@ export const MsgCreateBatch = { obj.issuance = message.issuance; } obj.metadata = message.metadata === "" ? undefined : message.metadata; - obj.start_date = message.startDate ? Timestamp.toAmino(message.startDate) : undefined; - obj.end_date = message.endDate ? Timestamp.toAmino(message.endDate) : undefined; + obj.start_date = message.startDate ? Timestamp.toAmino(toTimestamp(message.startDate)) : undefined; + obj.end_date = message.endDate ? Timestamp.toAmino(toTimestamp(message.endDate)) : undefined; obj.open = message.open === false ? undefined : message.open; obj.origin_tx = message.originTx ? OriginTx.toAmino(message.originTx) : undefined; return obj; @@ -2645,16 +2539,6 @@ export const MsgCreateBatchResponse = { } return message; }, - fromJSON(object: any): MsgCreateBatchResponse { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: MsgCreateBatchResponse): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): MsgCreateBatchResponse { const message = createBaseMsgCreateBatchResponse(); message.batchDenom = object.batchDenom ?? ""; @@ -2739,26 +2623,6 @@ export const MsgMintBatchCredits = { } return message; }, - fromJSON(object: any): MsgMintBatchCredits { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - issuance: Array.isArray(object?.issuance) ? object.issuance.map((e: any) => BatchIssuance.fromJSON(e)) : [], - originTx: isSet(object.originTx) ? OriginTx.fromJSON(object.originTx) : undefined - }; - }, - toJSON(message: MsgMintBatchCredits): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - if (message.issuance) { - obj.issuance = message.issuance.map(e => e ? BatchIssuance.toJSON(e) : undefined); - } else { - obj.issuance = []; - } - message.originTx !== undefined && (obj.originTx = message.originTx ? OriginTx.toJSON(message.originTx) : undefined); - return obj; - }, fromPartial(object: Partial): MsgMintBatchCredits { const message = createBaseMsgMintBatchCredits(); message.issuer = object.issuer ?? ""; @@ -2837,13 +2701,6 @@ export const MsgMintBatchCreditsResponse = { } return message; }, - fromJSON(_: any): MsgMintBatchCreditsResponse { - return {}; - }, - toJSON(_: MsgMintBatchCreditsResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgMintBatchCreditsResponse { const message = createBaseMsgMintBatchCreditsResponse(); return message; @@ -2909,18 +2766,6 @@ export const MsgSealBatch = { } return message; }, - fromJSON(object: any): MsgSealBatch { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: MsgSealBatch): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): MsgSealBatch { const message = createBaseMsgSealBatch(); message.issuer = object.issuer ?? ""; @@ -2987,13 +2832,6 @@ export const MsgSealBatchResponse = { } return message; }, - fromJSON(_: any): MsgSealBatchResponse { - return {}; - }, - toJSON(_: MsgSealBatchResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSealBatchResponse { const message = createBaseMsgSealBatchResponse(); return message; @@ -3066,24 +2904,6 @@ export const MsgSend = { } return message; }, - fromJSON(object: any): MsgSend { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => MsgSend_SendCredits.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgSend): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.recipient !== undefined && (obj.recipient = message.recipient); - if (message.credits) { - obj.credits = message.credits.map(e => e ? MsgSend_SendCredits.toJSON(e) : undefined); - } else { - obj.credits = []; - } - return obj; - }, fromPartial(object: Partial): MsgSend { const message = createBaseMsgSend(); message.sender = object.sender ?? ""; @@ -3193,24 +3013,6 @@ export const MsgSend_SendCredits = { } return message; }, - fromJSON(object: any): MsgSend_SendCredits { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - retirementJurisdiction: isSet(object.retirementJurisdiction) ? String(object.retirementJurisdiction) : "", - retirementReason: isSet(object.retirementReason) ? String(object.retirementReason) : "" - }; - }, - toJSON(message: MsgSend_SendCredits): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.retirementJurisdiction !== undefined && (obj.retirementJurisdiction = message.retirementJurisdiction); - message.retirementReason !== undefined && (obj.retirementReason = message.retirementReason); - return obj; - }, fromPartial(object: Partial): MsgSend_SendCredits { const message = createBaseMsgSend_SendCredits(); message.batchDenom = object.batchDenom ?? ""; @@ -3286,13 +3088,6 @@ export const MsgSendResponse = { } return message; }, - fromJSON(_: any): MsgSendResponse { - return {}; - }, - toJSON(_: MsgSendResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSendResponse { const message = createBaseMsgSendResponse(); return message; @@ -3372,26 +3167,6 @@ export const MsgRetire = { } return message; }, - fromJSON(object: any): MsgRetire { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => Credits.fromJSON(e)) : [], - jurisdiction: isSet(object.jurisdiction) ? String(object.jurisdiction) : "", - reason: isSet(object.reason) ? String(object.reason) : "" - }; - }, - toJSON(message: MsgRetire): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - if (message.credits) { - obj.credits = message.credits.map(e => e ? Credits.toJSON(e) : undefined); - } else { - obj.credits = []; - } - message.jurisdiction !== undefined && (obj.jurisdiction = message.jurisdiction); - message.reason !== undefined && (obj.reason = message.reason); - return obj; - }, fromPartial(object: Partial): MsgRetire { const message = createBaseMsgRetire(); message.owner = object.owner ?? ""; @@ -3470,13 +3245,6 @@ export const MsgRetireResponse = { } return message; }, - fromJSON(_: any): MsgRetireResponse { - return {}; - }, - toJSON(_: MsgRetireResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRetireResponse { const message = createBaseMsgRetireResponse(); return message; @@ -3549,24 +3317,6 @@ export const MsgCancel = { } return message; }, - fromJSON(object: any): MsgCancel { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => Credits.fromJSON(e)) : [], - reason: isSet(object.reason) ? String(object.reason) : "" - }; - }, - toJSON(message: MsgCancel): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - if (message.credits) { - obj.credits = message.credits.map(e => e ? Credits.toJSON(e) : undefined); - } else { - obj.credits = []; - } - message.reason !== undefined && (obj.reason = message.reason); - return obj; - }, fromPartial(object: Partial): MsgCancel { const message = createBaseMsgCancel(); message.owner = object.owner ?? ""; @@ -3640,13 +3390,6 @@ export const MsgCancelResponse = { } return message; }, - fromJSON(_: any): MsgCancelResponse { - return {}; - }, - toJSON(_: MsgCancelResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCancelResponse { const message = createBaseMsgCancelResponse(); return message; @@ -3719,20 +3462,6 @@ export const MsgUpdateClassAdmin = { } return message; }, - fromJSON(object: any): MsgUpdateClassAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" - }; - }, - toJSON(message: MsgUpdateClassAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, fromPartial(object: Partial): MsgUpdateClassAdmin { const message = createBaseMsgUpdateClassAdmin(); message.admin = object.admin ?? ""; @@ -3804,13 +3533,6 @@ export const MsgUpdateClassAdminResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClassAdminResponse { - return {}; - }, - toJSON(_: MsgUpdateClassAdminResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClassAdminResponse { const message = createBaseMsgUpdateClassAdminResponse(); return message; @@ -3890,30 +3612,6 @@ export const MsgUpdateClassIssuers = { } return message; }, - fromJSON(object: any): MsgUpdateClassIssuers { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - addIssuers: Array.isArray(object?.addIssuers) ? object.addIssuers.map((e: any) => String(e)) : [], - removeIssuers: Array.isArray(object?.removeIssuers) ? object.removeIssuers.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: MsgUpdateClassIssuers): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - if (message.addIssuers) { - obj.addIssuers = message.addIssuers.map(e => e); - } else { - obj.addIssuers = []; - } - if (message.removeIssuers) { - obj.removeIssuers = message.removeIssuers.map(e => e); - } else { - obj.removeIssuers = []; - } - return obj; - }, fromPartial(object: Partial): MsgUpdateClassIssuers { const message = createBaseMsgUpdateClassIssuers(); message.admin = object.admin ?? ""; @@ -3994,13 +3692,6 @@ export const MsgUpdateClassIssuersResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClassIssuersResponse { - return {}; - }, - toJSON(_: MsgUpdateClassIssuersResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClassIssuersResponse { const message = createBaseMsgUpdateClassIssuersResponse(); return message; @@ -4073,20 +3764,6 @@ export const MsgUpdateClassMetadata = { } return message; }, - fromJSON(object: any): MsgUpdateClassMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - newMetadata: isSet(object.newMetadata) ? String(object.newMetadata) : "" - }; - }, - toJSON(message: MsgUpdateClassMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - message.newMetadata !== undefined && (obj.newMetadata = message.newMetadata); - return obj; - }, fromPartial(object: Partial): MsgUpdateClassMetadata { const message = createBaseMsgUpdateClassMetadata(); message.admin = object.admin ?? ""; @@ -4158,13 +3835,6 @@ export const MsgUpdateClassMetadataResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClassMetadataResponse { - return {}; - }, - toJSON(_: MsgUpdateClassMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClassMetadataResponse { const message = createBaseMsgUpdateClassMetadataResponse(); return message; @@ -4237,20 +3907,6 @@ export const MsgUpdateProjectAdmin = { } return message; }, - fromJSON(object: any): MsgUpdateProjectAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - projectId: isSet(object.projectId) ? String(object.projectId) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" - }; - }, - toJSON(message: MsgUpdateProjectAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.projectId !== undefined && (obj.projectId = message.projectId); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, fromPartial(object: Partial): MsgUpdateProjectAdmin { const message = createBaseMsgUpdateProjectAdmin(); message.admin = object.admin ?? ""; @@ -4322,13 +3978,6 @@ export const MsgUpdateProjectAdminResponse = { } return message; }, - fromJSON(_: any): MsgUpdateProjectAdminResponse { - return {}; - }, - toJSON(_: MsgUpdateProjectAdminResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateProjectAdminResponse { const message = createBaseMsgUpdateProjectAdminResponse(); return message; @@ -4401,20 +4050,6 @@ export const MsgUpdateProjectMetadata = { } return message; }, - fromJSON(object: any): MsgUpdateProjectMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - projectId: isSet(object.projectId) ? String(object.projectId) : "", - newMetadata: isSet(object.newMetadata) ? String(object.newMetadata) : "" - }; - }, - toJSON(message: MsgUpdateProjectMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.projectId !== undefined && (obj.projectId = message.projectId); - message.newMetadata !== undefined && (obj.newMetadata = message.newMetadata); - return obj; - }, fromPartial(object: Partial): MsgUpdateProjectMetadata { const message = createBaseMsgUpdateProjectMetadata(); message.admin = object.admin ?? ""; @@ -4486,13 +4121,6 @@ export const MsgUpdateProjectMetadataResponse = { } return message; }, - fromJSON(_: any): MsgUpdateProjectMetadataResponse { - return {}; - }, - toJSON(_: MsgUpdateProjectMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateProjectMetadataResponse { const message = createBaseMsgUpdateProjectMetadataResponse(); return message; @@ -4572,26 +4200,6 @@ export const MsgBridge = { } return message; }, - fromJSON(object: any): MsgBridge { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - target: isSet(object.target) ? String(object.target) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => Credits.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgBridge): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.target !== undefined && (obj.target = message.target); - message.recipient !== undefined && (obj.recipient = message.recipient); - if (message.credits) { - obj.credits = message.credits.map(e => e ? Credits.toJSON(e) : undefined); - } else { - obj.credits = []; - } - return obj; - }, fromPartial(object: Partial): MsgBridge { const message = createBaseMsgBridge(); message.owner = object.owner ?? ""; @@ -4692,20 +4300,6 @@ export const MsgUpdateBatchMetadata = { } return message; }, - fromJSON(object: any): MsgUpdateBatchMetadata { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - newMetadata: isSet(object.newMetadata) ? String(object.newMetadata) : "" - }; - }, - toJSON(message: MsgUpdateBatchMetadata): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.newMetadata !== undefined && (obj.newMetadata = message.newMetadata); - return obj; - }, fromPartial(object: Partial): MsgUpdateBatchMetadata { const message = createBaseMsgUpdateBatchMetadata(); message.issuer = object.issuer ?? ""; @@ -4777,13 +4371,6 @@ export const MsgUpdateBatchMetadataResponse = { } return message; }, - fromJSON(_: any): MsgUpdateBatchMetadataResponse { - return {}; - }, - toJSON(_: MsgUpdateBatchMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateBatchMetadataResponse { const message = createBaseMsgUpdateBatchMetadataResponse(); return message; @@ -4834,13 +4421,6 @@ export const MsgBridgeResponse = { } return message; }, - fromJSON(_: any): MsgBridgeResponse { - return {}; - }, - toJSON(_: MsgBridgeResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgBridgeResponse { const message = createBaseMsgBridgeResponse(); return message; @@ -4927,24 +4507,6 @@ export const MsgBridgeReceive = { } return message; }, - fromJSON(object: any): MsgBridgeReceive { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - project: isSet(object.project) ? MsgBridgeReceive_Project.fromJSON(object.project) : undefined, - batch: isSet(object.batch) ? MsgBridgeReceive_Batch.fromJSON(object.batch) : undefined, - originTx: isSet(object.originTx) ? OriginTx.fromJSON(object.originTx) : undefined - }; - }, - toJSON(message: MsgBridgeReceive): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.classId !== undefined && (obj.classId = message.classId); - message.project !== undefined && (obj.project = message.project ? MsgBridgeReceive_Project.toJSON(message.project) : undefined); - message.batch !== undefined && (obj.batch = message.batch ? MsgBridgeReceive_Batch.toJSON(message.batch) : undefined); - message.originTx !== undefined && (obj.originTx = message.originTx ? OriginTx.toJSON(message.originTx) : undefined); - return obj; - }, fromPartial(object: Partial): MsgBridgeReceive { const message = createBaseMsgBridgeReceive(); message.issuer = object.issuer ?? ""; @@ -5023,10 +4585,10 @@ export const MsgBridgeReceive_Batch = { writer.uint32(18).string(message.amount); } if (message.startDate !== undefined) { - Timestamp.encode(message.startDate, writer.uint32(26).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.startDate), writer.uint32(26).fork()).ldelim(); } if (message.endDate !== undefined) { - Timestamp.encode(message.endDate, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.endDate), writer.uint32(34).fork()).ldelim(); } if (message.metadata !== "") { writer.uint32(42).string(message.metadata); @@ -5047,10 +4609,10 @@ export const MsgBridgeReceive_Batch = { message.amount = reader.string(); break; case 3: - message.startDate = Timestamp.decode(reader, reader.uint32()); + message.startDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 4: - message.endDate = Timestamp.decode(reader, reader.uint32()); + message.endDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 5: message.metadata = reader.string(); @@ -5062,30 +4624,12 @@ export const MsgBridgeReceive_Batch = { } return message; }, - fromJSON(object: any): MsgBridgeReceive_Batch { - return { - recipient: isSet(object.recipient) ? String(object.recipient) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - startDate: isSet(object.startDate) ? fromJsonTimestamp(object.startDate) : undefined, - endDate: isSet(object.endDate) ? fromJsonTimestamp(object.endDate) : undefined, - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgBridgeReceive_Batch): unknown { - const obj: any = {}; - message.recipient !== undefined && (obj.recipient = message.recipient); - message.amount !== undefined && (obj.amount = message.amount); - message.startDate !== undefined && (obj.startDate = fromTimestamp(message.startDate).toISOString()); - message.endDate !== undefined && (obj.endDate = fromTimestamp(message.endDate).toISOString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgBridgeReceive_Batch { const message = createBaseMsgBridgeReceive_Batch(); message.recipient = object.recipient ?? ""; message.amount = object.amount ?? ""; - message.startDate = object.startDate !== undefined && object.startDate !== null ? Timestamp.fromPartial(object.startDate) : undefined; - message.endDate = object.endDate !== undefined && object.endDate !== null ? Timestamp.fromPartial(object.endDate) : undefined; + message.startDate = object.startDate ?? undefined; + message.endDate = object.endDate ?? undefined; message.metadata = object.metadata ?? ""; return message; }, @@ -5098,10 +4642,10 @@ export const MsgBridgeReceive_Batch = { message.amount = object.amount; } if (object.start_date !== undefined && object.start_date !== null) { - message.startDate = Timestamp.fromAmino(object.start_date); + message.startDate = fromTimestamp(Timestamp.fromAmino(object.start_date)); } if (object.end_date !== undefined && object.end_date !== null) { - message.endDate = Timestamp.fromAmino(object.end_date); + message.endDate = fromTimestamp(Timestamp.fromAmino(object.end_date)); } if (object.metadata !== undefined && object.metadata !== null) { message.metadata = object.metadata; @@ -5112,8 +4656,8 @@ export const MsgBridgeReceive_Batch = { const obj: any = {}; obj.recipient = message.recipient === "" ? undefined : message.recipient; obj.amount = message.amount === "" ? undefined : message.amount; - obj.start_date = message.startDate ? Timestamp.toAmino(message.startDate) : undefined; - obj.end_date = message.endDate ? Timestamp.toAmino(message.endDate) : undefined; + obj.start_date = message.startDate ? Timestamp.toAmino(toTimestamp(message.startDate)) : undefined; + obj.end_date = message.endDate ? Timestamp.toAmino(toTimestamp(message.endDate)) : undefined; obj.metadata = message.metadata === "" ? undefined : message.metadata; return obj; }, @@ -5177,20 +4721,6 @@ export const MsgBridgeReceive_Project = { } return message; }, - fromJSON(object: any): MsgBridgeReceive_Project { - return { - referenceId: isSet(object.referenceId) ? String(object.referenceId) : "", - jurisdiction: isSet(object.jurisdiction) ? String(object.jurisdiction) : "", - metadata: isSet(object.metadata) ? String(object.metadata) : "" - }; - }, - toJSON(message: MsgBridgeReceive_Project): unknown { - const obj: any = {}; - message.referenceId !== undefined && (obj.referenceId = message.referenceId); - message.jurisdiction !== undefined && (obj.jurisdiction = message.jurisdiction); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, fromPartial(object: Partial): MsgBridgeReceive_Project { const message = createBaseMsgBridgeReceive_Project(); message.referenceId = object.referenceId ?? ""; @@ -5271,18 +4801,6 @@ export const MsgBridgeReceiveResponse = { } return message; }, - fromJSON(object: any): MsgBridgeReceiveResponse { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - projectId: isSet(object.projectId) ? String(object.projectId) : "" - }; - }, - toJSON(message: MsgBridgeReceiveResponse): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.projectId !== undefined && (obj.projectId = message.projectId); - return obj; - }, fromPartial(object: Partial): MsgBridgeReceiveResponse { const message = createBaseMsgBridgeReceiveResponse(); message.batchDenom = object.batchDenom ?? ""; @@ -5358,18 +4876,6 @@ export const MsgAddClassCreator = { } return message; }, - fromJSON(object: any): MsgAddClassCreator { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - creator: isSet(object.creator) ? String(object.creator) : "" - }; - }, - toJSON(message: MsgAddClassCreator): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.creator !== undefined && (obj.creator = message.creator); - return obj; - }, fromPartial(object: Partial): MsgAddClassCreator { const message = createBaseMsgAddClassCreator(); message.authority = object.authority ?? ""; @@ -5436,13 +4942,6 @@ export const MsgAddClassCreatorResponse = { } return message; }, - fromJSON(_: any): MsgAddClassCreatorResponse { - return {}; - }, - toJSON(_: MsgAddClassCreatorResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgAddClassCreatorResponse { const message = createBaseMsgAddClassCreatorResponse(); return message; @@ -5508,18 +5007,6 @@ export const MsgSetClassCreatorAllowlist = { } return message; }, - fromJSON(object: any): MsgSetClassCreatorAllowlist { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - enabled: isSet(object.enabled) ? Boolean(object.enabled) : false - }; - }, - toJSON(message: MsgSetClassCreatorAllowlist): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.enabled !== undefined && (obj.enabled = message.enabled); - return obj; - }, fromPartial(object: Partial): MsgSetClassCreatorAllowlist { const message = createBaseMsgSetClassCreatorAllowlist(); message.authority = object.authority ?? ""; @@ -5586,13 +5073,6 @@ export const MsgSetClassCreatorAllowlistResponse = { } return message; }, - fromJSON(_: any): MsgSetClassCreatorAllowlistResponse { - return {}; - }, - toJSON(_: MsgSetClassCreatorAllowlistResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSetClassCreatorAllowlistResponse { const message = createBaseMsgSetClassCreatorAllowlistResponse(); return message; @@ -5658,18 +5138,6 @@ export const MsgRemoveClassCreator = { } return message; }, - fromJSON(object: any): MsgRemoveClassCreator { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - creator: isSet(object.creator) ? String(object.creator) : "" - }; - }, - toJSON(message: MsgRemoveClassCreator): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.creator !== undefined && (obj.creator = message.creator); - return obj; - }, fromPartial(object: Partial): MsgRemoveClassCreator { const message = createBaseMsgRemoveClassCreator(); message.authority = object.authority ?? ""; @@ -5736,13 +5204,6 @@ export const MsgRemoveClassCreatorResponse = { } return message; }, - fromJSON(_: any): MsgRemoveClassCreatorResponse { - return {}; - }, - toJSON(_: MsgRemoveClassCreatorResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRemoveClassCreatorResponse { const message = createBaseMsgRemoveClassCreatorResponse(); return message; @@ -5808,18 +5269,6 @@ export const MsgUpdateClassFee = { } return message; }, - fromJSON(object: any): MsgUpdateClassFee { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - fee: isSet(object.fee) ? Coin.fromJSON(object.fee) : undefined - }; - }, - toJSON(message: MsgUpdateClassFee): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.fee !== undefined && (obj.fee = message.fee ? Coin.toJSON(message.fee) : undefined); - return obj; - }, fromPartial(object: Partial): MsgUpdateClassFee { const message = createBaseMsgUpdateClassFee(); message.authority = object.authority ?? ""; @@ -5886,13 +5335,6 @@ export const MsgUpdateClassFeeResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClassFeeResponse { - return {}; - }, - toJSON(_: MsgUpdateClassFeeResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClassFeeResponse { const message = createBaseMsgUpdateClassFeeResponse(); return message; @@ -5958,18 +5400,6 @@ export const MsgAddAllowedBridgeChain = { } return message; }, - fromJSON(object: any): MsgAddAllowedBridgeChain { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - chainName: isSet(object.chainName) ? String(object.chainName) : "" - }; - }, - toJSON(message: MsgAddAllowedBridgeChain): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.chainName !== undefined && (obj.chainName = message.chainName); - return obj; - }, fromPartial(object: Partial): MsgAddAllowedBridgeChain { const message = createBaseMsgAddAllowedBridgeChain(); message.authority = object.authority ?? ""; @@ -6036,13 +5466,6 @@ export const MsgAddAllowedBridgeChainResponse = { } return message; }, - fromJSON(_: any): MsgAddAllowedBridgeChainResponse { - return {}; - }, - toJSON(_: MsgAddAllowedBridgeChainResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgAddAllowedBridgeChainResponse { const message = createBaseMsgAddAllowedBridgeChainResponse(); return message; @@ -6108,18 +5531,6 @@ export const MsgRemoveAllowedBridgeChain = { } return message; }, - fromJSON(object: any): MsgRemoveAllowedBridgeChain { - return { - authority: isSet(object.authority) ? String(object.authority) : "", - chainName: isSet(object.chainName) ? String(object.chainName) : "" - }; - }, - toJSON(message: MsgRemoveAllowedBridgeChain): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.chainName !== undefined && (obj.chainName = message.chainName); - return obj; - }, fromPartial(object: Partial): MsgRemoveAllowedBridgeChain { const message = createBaseMsgRemoveAllowedBridgeChain(); message.authority = object.authority ?? ""; @@ -6186,13 +5597,6 @@ export const MsgRemoveAllowedBridgeChainResponse = { } return message; }, - fromJSON(_: any): MsgRemoveAllowedBridgeChainResponse { - return {}; - }, - toJSON(_: MsgRemoveAllowedBridgeChainResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRemoveAllowedBridgeChainResponse { const message = createBaseMsgRemoveAllowedBridgeChainResponse(); return message; diff --git a/packages/api/src/codegen/regen/ecocredit/v1/types.ts b/packages/api/src/regen/ecocredit/v1/types.ts similarity index 86% rename from packages/api/src/codegen/regen/ecocredit/v1/types.ts rename to packages/api/src/regen/ecocredit/v1/types.ts index ce793d09..dec2dcc7 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1/types.ts +++ b/packages/api/src/regen/ecocredit/v1/types.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { CreditType, CreditTypeAmino, CreditTypeSDKType } from "./state"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * Params defines the updatable global parameters of the ecocredit module for * use with the x/params module. @@ -485,46 +485,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - creditClassFee: Array.isArray(object?.creditClassFee) ? object.creditClassFee.map((e: any) => Coin.fromJSON(e)) : [], - basketFee: Array.isArray(object?.basketFee) ? object.basketFee.map((e: any) => Coin.fromJSON(e)) : [], - allowedClassCreators: Array.isArray(object?.allowedClassCreators) ? object.allowedClassCreators.map((e: any) => String(e)) : [], - allowlistEnabled: isSet(object.allowlistEnabled) ? Boolean(object.allowlistEnabled) : false, - allowedDenoms: Array.isArray(object?.allowedDenoms) ? object.allowedDenoms.map((e: any) => AllowedDenom.fromJSON(e)) : [], - allowedBridgeChains: Array.isArray(object?.allowedBridgeChains) ? object.allowedBridgeChains.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - if (message.creditClassFee) { - obj.creditClassFee = message.creditClassFee.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.creditClassFee = []; - } - if (message.basketFee) { - obj.basketFee = message.basketFee.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.basketFee = []; - } - if (message.allowedClassCreators) { - obj.allowedClassCreators = message.allowedClassCreators.map(e => e); - } else { - obj.allowedClassCreators = []; - } - message.allowlistEnabled !== undefined && (obj.allowlistEnabled = message.allowlistEnabled); - if (message.allowedDenoms) { - obj.allowedDenoms = message.allowedDenoms.map(e => e ? AllowedDenom.toJSON(e) : undefined); - } else { - obj.allowedDenoms = []; - } - if (message.allowedBridgeChains) { - obj.allowedBridgeChains = message.allowedBridgeChains.map(e => e); - } else { - obj.allowedBridgeChains = []; - } - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.creditClassFee = object.creditClassFee?.map(e => Coin.fromPartial(e)) || []; @@ -630,18 +590,6 @@ export const Credits = { } return message; }, - fromJSON(object: any): Credits { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: Credits): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): Credits { const message = createBaseCredits(); message.batchDenom = object.batchDenom ?? ""; @@ -738,24 +686,6 @@ export const BatchIssuance = { } return message; }, - fromJSON(object: any): BatchIssuance { - return { - recipient: isSet(object.recipient) ? String(object.recipient) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - retirementJurisdiction: isSet(object.retirementJurisdiction) ? String(object.retirementJurisdiction) : "", - retirementReason: isSet(object.retirementReason) ? String(object.retirementReason) : "" - }; - }, - toJSON(message: BatchIssuance): unknown { - const obj: any = {}; - message.recipient !== undefined && (obj.recipient = message.recipient); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.retirementJurisdiction !== undefined && (obj.retirementJurisdiction = message.retirementJurisdiction); - message.retirementReason !== undefined && (obj.retirementReason = message.retirementReason); - return obj; - }, fromPartial(object: Partial): BatchIssuance { const message = createBaseBatchIssuance(); message.recipient = object.recipient ?? ""; @@ -860,22 +790,6 @@ export const OriginTx = { } return message; }, - fromJSON(object: any): OriginTx { - return { - id: isSet(object.id) ? String(object.id) : "", - source: isSet(object.source) ? String(object.source) : "", - contract: isSet(object.contract) ? String(object.contract) : "", - note: isSet(object.note) ? String(object.note) : "" - }; - }, - toJSON(message: OriginTx): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.source !== undefined && (obj.source = message.source); - message.contract !== undefined && (obj.contract = message.contract); - message.note !== undefined && (obj.note = message.note); - return obj; - }, fromPartial(object: Partial): OriginTx { const message = createBaseOriginTx(); message.id = object.id ?? ""; @@ -968,20 +882,6 @@ export const CreditTypeProposal = { } return message; }, - fromJSON(object: any): CreditTypeProposal { - return { - title: isSet(object.title) ? String(object.title) : "", - description: isSet(object.description) ? String(object.description) : "", - creditType: isSet(object.creditType) ? CreditType.fromJSON(object.creditType) : undefined - }; - }, - toJSON(message: CreditTypeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.creditType !== undefined && (obj.creditType = message.creditType ? CreditType.toJSON(message.creditType) : undefined); - return obj; - }, fromPartial(object: Partial): CreditTypeProposal { const message = createBaseCreditTypeProposal(); message.title = object.title ?? ""; @@ -1069,20 +969,6 @@ export const AllowedDenom = { } return message; }, - fromJSON(object: any): AllowedDenom { - return { - bankDenom: isSet(object.bankDenom) ? String(object.bankDenom) : "", - displayDenom: isSet(object.displayDenom) ? String(object.displayDenom) : "", - exponent: isSet(object.exponent) ? Number(object.exponent) : 0 - }; - }, - toJSON(message: AllowedDenom): unknown { - const obj: any = {}; - message.bankDenom !== undefined && (obj.bankDenom = message.bankDenom); - message.displayDenom !== undefined && (obj.displayDenom = message.displayDenom); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - return obj; - }, fromPartial(object: Partial): AllowedDenom { const message = createBaseAllowedDenom(); message.bankDenom = object.bankDenom ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/events.ts b/packages/api/src/regen/ecocredit/v1alpha1/events.ts similarity index 87% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/events.ts rename to packages/api/src/regen/ecocredit/v1alpha1/events.ts index 8b3be7ca..382c0296 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/events.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/events.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** EventCreateClass is an event emitted when a credit class is created. */ export interface EventCreateClass { /** class_id is the unique ID of credit class. */ @@ -333,18 +333,6 @@ export const EventCreateClass = { } return message; }, - fromJSON(object: any): EventCreateClass { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - admin: isSet(object.admin) ? String(object.admin) : "" - }; - }, - toJSON(message: EventCreateClass): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.admin !== undefined && (obj.admin = message.admin); - return obj; - }, fromPartial(object: Partial): EventCreateClass { const message = createBaseEventCreateClass(); message.classId = object.classId ?? ""; @@ -455,28 +443,6 @@ export const EventCreateBatch = { } return message; }, - fromJSON(object: any): EventCreateBatch { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - issuer: isSet(object.issuer) ? String(object.issuer) : "", - totalAmount: isSet(object.totalAmount) ? String(object.totalAmount) : "", - startDate: isSet(object.startDate) ? String(object.startDate) : "", - endDate: isSet(object.endDate) ? String(object.endDate) : "", - projectLocation: isSet(object.projectLocation) ? String(object.projectLocation) : "" - }; - }, - toJSON(message: EventCreateBatch): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.issuer !== undefined && (obj.issuer = message.issuer); - message.totalAmount !== undefined && (obj.totalAmount = message.totalAmount); - message.startDate !== undefined && (obj.startDate = message.startDate); - message.endDate !== undefined && (obj.endDate = message.endDate); - message.projectLocation !== undefined && (obj.projectLocation = message.projectLocation); - return obj; - }, fromPartial(object: Partial): EventCreateBatch { const message = createBaseEventCreateBatch(); message.classId = object.classId ?? ""; @@ -605,26 +571,6 @@ export const EventReceive = { } return message; }, - fromJSON(object: any): EventReceive { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - basketDenom: isSet(object.basketDenom) ? String(object.basketDenom) : "" - }; - }, - toJSON(message: EventReceive): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.recipient !== undefined && (obj.recipient = message.recipient); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.basketDenom !== undefined && (obj.basketDenom = message.basketDenom); - return obj; - }, fromPartial(object: Partial): EventReceive { const message = createBaseEventReceive(); message.sender = object.sender ?? ""; @@ -734,22 +680,6 @@ export const EventRetire = { } return message; }, - fromJSON(object: any): EventRetire { - return { - retirer: isSet(object.retirer) ? String(object.retirer) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "", - location: isSet(object.location) ? String(object.location) : "" - }; - }, - toJSON(message: EventRetire): unknown { - const obj: any = {}; - message.retirer !== undefined && (obj.retirer = message.retirer); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - message.location !== undefined && (obj.location = message.location); - return obj; - }, fromPartial(object: Partial): EventRetire { const message = createBaseEventRetire(); message.retirer = object.retirer ?? ""; @@ -842,20 +772,6 @@ export const EventCancel = { } return message; }, - fromJSON(object: any): EventCancel { - return { - canceller: isSet(object.canceller) ? String(object.canceller) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: EventCancel): unknown { - const obj: any = {}; - message.canceller !== undefined && (obj.canceller = message.canceller); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): EventCancel { const message = createBaseEventCancel(); message.canceller = object.canceller ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/genesis.ts b/packages/api/src/regen/ecocredit/v1alpha1/genesis.ts similarity index 83% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/genesis.ts rename to packages/api/src/regen/ecocredit/v1alpha1/genesis.ts index e971f0be..91abe262 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/genesis.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/genesis.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Params, ParamsAmino, ParamsSDKType, ClassInfo, ClassInfoAmino, ClassInfoSDKType, BatchInfo, BatchInfoAmino, BatchInfoSDKType, CreditTypeSeq, CreditTypeSeqAmino, CreditTypeSeqSDKType } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** GenesisState defines ecocredit module's genesis state. */ export interface GenesisState { /** @@ -197,46 +197,6 @@ export const GenesisState = { } return message; }, - fromJSON(object: any): GenesisState { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined, - classInfo: Array.isArray(object?.classInfo) ? object.classInfo.map((e: any) => ClassInfo.fromJSON(e)) : [], - batchInfo: Array.isArray(object?.batchInfo) ? object.batchInfo.map((e: any) => BatchInfo.fromJSON(e)) : [], - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => CreditTypeSeq.fromJSON(e)) : [], - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Balance.fromJSON(e)) : [], - supplies: Array.isArray(object?.supplies) ? object.supplies.map((e: any) => Supply.fromJSON(e)) : [] - }; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.classInfo) { - obj.classInfo = message.classInfo.map(e => e ? ClassInfo.toJSON(e) : undefined); - } else { - obj.classInfo = []; - } - if (message.batchInfo) { - obj.batchInfo = message.batchInfo.map(e => e ? BatchInfo.toJSON(e) : undefined); - } else { - obj.batchInfo = []; - } - if (message.sequences) { - obj.sequences = message.sequences.map(e => e ? CreditTypeSeq.toJSON(e) : undefined); - } else { - obj.sequences = []; - } - if (message.balances) { - obj.balances = message.balances.map(e => e ? Balance.toJSON(e) : undefined); - } else { - obj.balances = []; - } - if (message.supplies) { - obj.supplies = message.supplies.map(e => e ? Supply.toJSON(e) : undefined); - } else { - obj.supplies = []; - } - return obj; - }, fromPartial(object: Partial): GenesisState { const message = createBaseGenesisState(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -356,22 +316,6 @@ export const Balance = { } return message; }, - fromJSON(object: any): Balance { - return { - address: isSet(object.address) ? String(object.address) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableBalance: isSet(object.tradableBalance) ? String(object.tradableBalance) : "", - retiredBalance: isSet(object.retiredBalance) ? String(object.retiredBalance) : "" - }; - }, - toJSON(message: Balance): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableBalance !== undefined && (obj.tradableBalance = message.tradableBalance); - message.retiredBalance !== undefined && (obj.retiredBalance = message.retiredBalance); - return obj; - }, fromPartial(object: Partial): Balance { const message = createBaseBalance(); message.address = object.address ?? ""; @@ -464,20 +408,6 @@ export const Supply = { } return message; }, - fromJSON(object: any): Supply { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableSupply: isSet(object.tradableSupply) ? String(object.tradableSupply) : "", - retiredSupply: isSet(object.retiredSupply) ? String(object.retiredSupply) : "" - }; - }, - toJSON(message: Supply): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableSupply !== undefined && (obj.tradableSupply = message.tradableSupply); - message.retiredSupply !== undefined && (obj.retiredSupply = message.retiredSupply); - return obj; - }, fromPartial(object: Partial): Supply { const message = createBaseSupply(); message.batchDenom = object.batchDenom ?? ""; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/query.lcd.ts b/packages/api/src/regen/ecocredit/v1alpha1/query.lcd.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/query.lcd.ts rename to packages/api/src/regen/ecocredit/v1alpha1/query.lcd.ts index bd0cec64..12ef41f4 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/query.lcd.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { setPaginationParams } from "../../../helpers"; import { LCDClient } from "@cosmology/lcd"; import { QueryClassesRequest, QueryClassesResponseSDKType, QueryClassInfoRequest, QueryClassInfoResponseSDKType, QueryBatchesRequest, QueryBatchesResponseSDKType, QueryBatchInfoRequest, QueryBatchInfoResponseSDKType, QueryBalanceRequest, QueryBalanceResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryCreditTypesRequest, QueryCreditTypesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/query.rpc.Query.ts b/packages/api/src/regen/ecocredit/v1alpha1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/query.rpc.Query.ts rename to packages/api/src/regen/ecocredit/v1alpha1/query.rpc.Query.ts index 242518c5..e95e24d8 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/query.rpc.Query.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/query.ts b/packages/api/src/regen/ecocredit/v1alpha1/query.ts similarity index 89% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/query.ts rename to packages/api/src/regen/ecocredit/v1alpha1/query.ts index 10aaa4bf..89596a3c 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/query.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/query.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; import { Params, ParamsAmino, ParamsSDKType, ClassInfo, ClassInfoAmino, ClassInfoSDKType, BatchInfo, BatchInfoAmino, BatchInfoSDKType, CreditType, CreditTypeAmino, CreditTypeSDKType } from "./types"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** QueryParamsRequest is the Query/Params request type. */ export interface QueryParamsRequest {} export interface QueryParamsRequestProtoMsg { @@ -402,13 +402,6 @@ export const QueryParamsRequest = { } return message; }, - fromJSON(_: any): QueryParamsRequest { - return {}; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryParamsRequest { const message = createBaseQueryParamsRequest(); return message; @@ -467,16 +460,6 @@ export const QueryParamsResponse = { } return message; }, - fromJSON(object: any): QueryParamsResponse { - return { - params: isSet(object.params) ? Params.fromJSON(object.params) : undefined - }; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, fromPartial(object: Partial): QueryParamsResponse { const message = createBaseQueryParamsResponse(); message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; @@ -540,16 +523,6 @@ export const QueryClassesRequest = { } return message; }, - fromJSON(object: any): QueryClassesRequest { - return { - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassesRequest { const message = createBaseQueryClassesRequest(); message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; @@ -620,22 +593,6 @@ export const QueryClassesResponse = { } return message; }, - fromJSON(object: any): QueryClassesResponse { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => ClassInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryClassesResponse): unknown { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? ClassInfo.toJSON(e) : undefined); - } else { - obj.classes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassesResponse { const message = createBaseQueryClassesResponse(); message.classes = object.classes?.map(e => ClassInfo.fromPartial(e)) || []; @@ -706,16 +663,6 @@ export const QueryClassInfoRequest = { } return message; }, - fromJSON(object: any): QueryClassInfoRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: QueryClassInfoRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): QueryClassInfoRequest { const message = createBaseQueryClassInfoRequest(); message.classId = object.classId ?? ""; @@ -779,16 +726,6 @@ export const QueryClassInfoResponse = { } return message; }, - fromJSON(object: any): QueryClassInfoResponse { - return { - info: isSet(object.info) ? ClassInfo.fromJSON(object.info) : undefined - }; - }, - toJSON(message: QueryClassInfoResponse): unknown { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? ClassInfo.toJSON(message.info) : undefined); - return obj; - }, fromPartial(object: Partial): QueryClassInfoResponse { const message = createBaseQueryClassInfoResponse(); message.info = object.info !== undefined && object.info !== null ? ClassInfo.fromPartial(object.info) : undefined; @@ -859,18 +796,6 @@ export const QueryBatchesRequest = { } return message; }, - fromJSON(object: any): QueryBatchesRequest { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - pagination: isSet(object.pagination) ? PageRequest.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesRequest { const message = createBaseQueryBatchesRequest(); message.classId = object.classId ?? ""; @@ -946,22 +871,6 @@ export const QueryBatchesResponse = { } return message; }, - fromJSON(object: any): QueryBatchesResponse { - return { - batches: Array.isArray(object?.batches) ? object.batches.map((e: any) => BatchInfo.fromJSON(e)) : [], - pagination: isSet(object.pagination) ? PageResponse.fromJSON(object.pagination) : undefined - }; - }, - toJSON(message: QueryBatchesResponse): unknown { - const obj: any = {}; - if (message.batches) { - obj.batches = message.batches.map(e => e ? BatchInfo.toJSON(e) : undefined); - } else { - obj.batches = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchesResponse { const message = createBaseQueryBatchesResponse(); message.batches = object.batches?.map(e => BatchInfo.fromPartial(e)) || []; @@ -1032,16 +941,6 @@ export const QueryBatchInfoRequest = { } return message; }, - fromJSON(object: any): QueryBatchInfoRequest { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: QueryBatchInfoRequest): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): QueryBatchInfoRequest { const message = createBaseQueryBatchInfoRequest(); message.batchDenom = object.batchDenom ?? ""; @@ -1105,16 +1004,6 @@ export const QueryBatchInfoResponse = { } return message; }, - fromJSON(object: any): QueryBatchInfoResponse { - return { - info: isSet(object.info) ? BatchInfo.fromJSON(object.info) : undefined - }; - }, - toJSON(message: QueryBatchInfoResponse): unknown { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? BatchInfo.toJSON(message.info) : undefined); - return obj; - }, fromPartial(object: Partial): QueryBatchInfoResponse { const message = createBaseQueryBatchInfoResponse(); message.info = object.info !== undefined && object.info !== null ? BatchInfo.fromPartial(object.info) : undefined; @@ -1185,18 +1074,6 @@ export const QueryBalanceRequest = { } return message; }, - fromJSON(object: any): QueryBalanceRequest { - return { - account: isSet(object.account) ? String(object.account) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: QueryBalanceRequest): unknown { - const obj: any = {}; - message.account !== undefined && (obj.account = message.account); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): QueryBalanceRequest { const message = createBaseQueryBalanceRequest(); message.account = object.account ?? ""; @@ -1272,18 +1149,6 @@ export const QueryBalanceResponse = { } return message; }, - fromJSON(object: any): QueryBalanceResponse { - return { - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "" - }; - }, - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - return obj; - }, fromPartial(object: Partial): QueryBalanceResponse { const message = createBaseQueryBalanceResponse(); message.tradableAmount = object.tradableAmount ?? ""; @@ -1352,16 +1217,6 @@ export const QuerySupplyRequest = { } return message; }, - fromJSON(object: any): QuerySupplyRequest { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: QuerySupplyRequest): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): QuerySupplyRequest { const message = createBaseQuerySupplyRequest(); message.batchDenom = object.batchDenom ?? ""; @@ -1432,18 +1287,6 @@ export const QuerySupplyResponse = { } return message; }, - fromJSON(object: any): QuerySupplyResponse { - return { - tradableSupply: isSet(object.tradableSupply) ? String(object.tradableSupply) : "", - retiredSupply: isSet(object.retiredSupply) ? String(object.retiredSupply) : "" - }; - }, - toJSON(message: QuerySupplyResponse): unknown { - const obj: any = {}; - message.tradableSupply !== undefined && (obj.tradableSupply = message.tradableSupply); - message.retiredSupply !== undefined && (obj.retiredSupply = message.retiredSupply); - return obj; - }, fromPartial(object: Partial): QuerySupplyResponse { const message = createBaseQuerySupplyResponse(); message.tradableSupply = object.tradableSupply ?? ""; @@ -1504,13 +1347,6 @@ export const QueryCreditTypesRequest = { } return message; }, - fromJSON(_: any): QueryCreditTypesRequest { - return {}; - }, - toJSON(_: QueryCreditTypesRequest): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): QueryCreditTypesRequest { const message = createBaseQueryCreditTypesRequest(); return message; @@ -1569,20 +1405,6 @@ export const QueryCreditTypesResponse = { } return message; }, - fromJSON(object: any): QueryCreditTypesResponse { - return { - creditTypes: Array.isArray(object?.creditTypes) ? object.creditTypes.map((e: any) => CreditType.fromJSON(e)) : [] - }; - }, - toJSON(message: QueryCreditTypesResponse): unknown { - const obj: any = {}; - if (message.creditTypes) { - obj.creditTypes = message.creditTypes.map(e => e ? CreditType.toJSON(e) : undefined); - } else { - obj.creditTypes = []; - } - return obj; - }, fromPartial(object: Partial): QueryCreditTypesResponse { const message = createBaseQueryCreditTypesResponse(); message.creditTypes = object.creditTypes?.map(e => CreditType.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.amino.ts b/packages/api/src/regen/ecocredit/v1alpha1/tx.amino.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.amino.ts rename to packages/api/src/regen/ecocredit/v1alpha1/tx.amino.ts index 749c8871..21513bdc 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.amino.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgCreateClass, MsgCreateBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata } from "./tx"; export const AminoConverter = { "/regen.ecocredit.v1alpha1.MsgCreateClass": { diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.registry.ts b/packages/api/src/regen/ecocredit/v1alpha1/tx.registry.ts similarity index 64% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.registry.ts rename to packages/api/src/regen/ecocredit/v1alpha1/tx.registry.ts index 23ce97aa..76d97b34 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.registry.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgCreateClass, MsgCreateBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/regen.ecocredit.v1alpha1.MsgCreateClass", MsgCreateClass], ["/regen.ecocredit.v1alpha1.MsgCreateBatch", MsgCreateBatch], ["/regen.ecocredit.v1alpha1.MsgSend", MsgSend], ["/regen.ecocredit.v1alpha1.MsgRetire", MsgRetire], ["/regen.ecocredit.v1alpha1.MsgCancel", MsgCancel], ["/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin", MsgUpdateClassAdmin], ["/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers", MsgUpdateClassIssuers], ["/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata", MsgUpdateClassMetadata]]; @@ -107,106 +108,6 @@ export const MessageComposer = { }; } }, - toJSON: { - createClass(value: MsgCreateClass) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateClass", - value: MsgCreateClass.toJSON(value) - }; - }, - createBatch(value: MsgCreateBatch) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateBatch", - value: MsgCreateBatch.toJSON(value) - }; - }, - send(value: MsgSend) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgSend", - value: MsgSend.toJSON(value) - }; - }, - retire(value: MsgRetire) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgRetire", - value: MsgRetire.toJSON(value) - }; - }, - cancel(value: MsgCancel) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCancel", - value: MsgCancel.toJSON(value) - }; - }, - updateClassAdmin(value: MsgUpdateClassAdmin) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin", - value: MsgUpdateClassAdmin.toJSON(value) - }; - }, - updateClassIssuers(value: MsgUpdateClassIssuers) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers", - value: MsgUpdateClassIssuers.toJSON(value) - }; - }, - updateClassMetadata(value: MsgUpdateClassMetadata) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata", - value: MsgUpdateClassMetadata.toJSON(value) - }; - } - }, - fromJSON: { - createClass(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateClass", - value: MsgCreateClass.fromJSON(value) - }; - }, - createBatch(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateBatch", - value: MsgCreateBatch.fromJSON(value) - }; - }, - send(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgSend", - value: MsgSend.fromJSON(value) - }; - }, - retire(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgRetire", - value: MsgRetire.fromJSON(value) - }; - }, - cancel(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCancel", - value: MsgCancel.fromJSON(value) - }; - }, - updateClassAdmin(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin", - value: MsgUpdateClassAdmin.fromJSON(value) - }; - }, - updateClassIssuers(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers", - value: MsgUpdateClassIssuers.fromJSON(value) - }; - }, - updateClassMetadata(value: any) { - return { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata", - value: MsgUpdateClassMetadata.fromJSON(value) - }; - } - }, fromPartial: { createClass(value: MsgCreateClass) { return { diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.rpc.msg.ts b/packages/api/src/regen/ecocredit/v1alpha1/tx.rpc.msg.ts similarity index 99% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.rpc.msg.ts rename to packages/api/src/regen/ecocredit/v1alpha1/tx.rpc.msg.ts index a92a34bb..550c167b 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.rpc.msg.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgCreateClass, MsgCreateClassResponse, MsgCreateBatch, MsgCreateBatchResponse, MsgSend, MsgSendResponse, MsgRetire, MsgRetireResponse, MsgCancel, MsgCancelResponse, MsgUpdateClassAdmin, MsgUpdateClassAdminResponse, MsgUpdateClassIssuers, MsgUpdateClassIssuersResponse, MsgUpdateClassMetadata, MsgUpdateClassMetadataResponse } from "./tx"; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.ts b/packages/api/src/regen/ecocredit/v1alpha1/tx.ts similarity index 87% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.ts rename to packages/api/src/regen/ecocredit/v1alpha1/tx.ts index 61db3a7a..313207f3 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/tx.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/tx.ts @@ -1,6 +1,7 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../google/protobuf/timestamp"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../../helpers"; /** MsgCreateClass is the Msg/CreateClass request type. */ export interface MsgCreateClass { /** admin is the address of the account that created the credit class. */ @@ -80,12 +81,12 @@ export interface MsgCreateBatch { * start_date is the beginning of the period during which this credit batch * was quantified and verified. */ - startDate?: Timestamp; + startDate?: Date; /** * end_date is the end of the period during which this credit batch was * quantified and verified. */ - endDate?: Timestamp; + endDate?: Date; /** * project_location is the location of the project backing the credits in this * batch. It is a string of the form @@ -140,8 +141,8 @@ export interface MsgCreateBatchSDKType { class_id: string; issuance: MsgCreateBatch_BatchIssuanceSDKType[]; metadata: Uint8Array; - start_date?: TimestampSDKType; - end_date?: TimestampSDKType; + start_date?: Date; + end_date?: Date; project_location: string; } /** @@ -729,26 +730,6 @@ export const MsgCreateClass = { } return message; }, - fromJSON(object: any): MsgCreateClass { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - issuers: Array.isArray(object?.issuers) ? object.issuers.map((e: any) => String(e)) : [], - metadata: isSet(object.metadata) ? bytesFromBase64(object.metadata) : new Uint8Array(), - creditTypeName: isSet(object.creditTypeName) ? String(object.creditTypeName) : "" - }; - }, - toJSON(message: MsgCreateClass): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - if (message.issuers) { - obj.issuers = message.issuers.map(e => e); - } else { - obj.issuers = []; - } - message.metadata !== undefined && (obj.metadata = base64FromBytes(message.metadata !== undefined ? message.metadata : new Uint8Array())); - message.creditTypeName !== undefined && (obj.creditTypeName = message.creditTypeName); - return obj; - }, fromPartial(object: Partial): MsgCreateClass { const message = createBaseMsgCreateClass(); message.admin = object.admin ?? ""; @@ -829,16 +810,6 @@ export const MsgCreateClassResponse = { } return message; }, - fromJSON(object: any): MsgCreateClassResponse { - return { - classId: isSet(object.classId) ? String(object.classId) : "" - }; - }, - toJSON(message: MsgCreateClassResponse): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, fromPartial(object: Partial): MsgCreateClassResponse { const message = createBaseMsgCreateClassResponse(); message.classId = object.classId ?? ""; @@ -899,10 +870,10 @@ export const MsgCreateBatch = { writer.uint32(34).bytes(message.metadata); } if (message.startDate !== undefined) { - Timestamp.encode(message.startDate, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.startDate), writer.uint32(42).fork()).ldelim(); } if (message.endDate !== undefined) { - Timestamp.encode(message.endDate, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.endDate), writer.uint32(50).fork()).ldelim(); } if (message.projectLocation !== "") { writer.uint32(58).string(message.projectLocation); @@ -929,10 +900,10 @@ export const MsgCreateBatch = { message.metadata = reader.bytes(); break; case 5: - message.startDate = Timestamp.decode(reader, reader.uint32()); + message.startDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 6: - message.endDate = Timestamp.decode(reader, reader.uint32()); + message.endDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: message.projectLocation = reader.string(); @@ -944,40 +915,14 @@ export const MsgCreateBatch = { } return message; }, - fromJSON(object: any): MsgCreateBatch { - return { - issuer: isSet(object.issuer) ? String(object.issuer) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - issuance: Array.isArray(object?.issuance) ? object.issuance.map((e: any) => MsgCreateBatch_BatchIssuance.fromJSON(e)) : [], - metadata: isSet(object.metadata) ? bytesFromBase64(object.metadata) : new Uint8Array(), - startDate: isSet(object.startDate) ? fromJsonTimestamp(object.startDate) : undefined, - endDate: isSet(object.endDate) ? fromJsonTimestamp(object.endDate) : undefined, - projectLocation: isSet(object.projectLocation) ? String(object.projectLocation) : "" - }; - }, - toJSON(message: MsgCreateBatch): unknown { - const obj: any = {}; - message.issuer !== undefined && (obj.issuer = message.issuer); - message.classId !== undefined && (obj.classId = message.classId); - if (message.issuance) { - obj.issuance = message.issuance.map(e => e ? MsgCreateBatch_BatchIssuance.toJSON(e) : undefined); - } else { - obj.issuance = []; - } - message.metadata !== undefined && (obj.metadata = base64FromBytes(message.metadata !== undefined ? message.metadata : new Uint8Array())); - message.startDate !== undefined && (obj.startDate = fromTimestamp(message.startDate).toISOString()); - message.endDate !== undefined && (obj.endDate = fromTimestamp(message.endDate).toISOString()); - message.projectLocation !== undefined && (obj.projectLocation = message.projectLocation); - return obj; - }, fromPartial(object: Partial): MsgCreateBatch { const message = createBaseMsgCreateBatch(); message.issuer = object.issuer ?? ""; message.classId = object.classId ?? ""; message.issuance = object.issuance?.map(e => MsgCreateBatch_BatchIssuance.fromPartial(e)) || []; message.metadata = object.metadata ?? new Uint8Array(); - message.startDate = object.startDate !== undefined && object.startDate !== null ? Timestamp.fromPartial(object.startDate) : undefined; - message.endDate = object.endDate !== undefined && object.endDate !== null ? Timestamp.fromPartial(object.endDate) : undefined; + message.startDate = object.startDate ?? undefined; + message.endDate = object.endDate ?? undefined; message.projectLocation = object.projectLocation ?? ""; return message; }, @@ -994,10 +939,10 @@ export const MsgCreateBatch = { message.metadata = bytesFromBase64(object.metadata); } if (object.start_date !== undefined && object.start_date !== null) { - message.startDate = Timestamp.fromAmino(object.start_date); + message.startDate = fromTimestamp(Timestamp.fromAmino(object.start_date)); } if (object.end_date !== undefined && object.end_date !== null) { - message.endDate = Timestamp.fromAmino(object.end_date); + message.endDate = fromTimestamp(Timestamp.fromAmino(object.end_date)); } if (object.project_location !== undefined && object.project_location !== null) { message.projectLocation = object.project_location; @@ -1014,8 +959,8 @@ export const MsgCreateBatch = { obj.issuance = message.issuance; } obj.metadata = message.metadata ? base64FromBytes(message.metadata) : undefined; - obj.start_date = message.startDate ? Timestamp.toAmino(message.startDate) : undefined; - obj.end_date = message.endDate ? Timestamp.toAmino(message.endDate) : undefined; + obj.start_date = message.startDate ? Timestamp.toAmino(toTimestamp(message.startDate)) : undefined; + obj.end_date = message.endDate ? Timestamp.toAmino(toTimestamp(message.endDate)) : undefined; obj.project_location = message.projectLocation === "" ? undefined : message.projectLocation; return obj; }, @@ -1086,22 +1031,6 @@ export const MsgCreateBatch_BatchIssuance = { } return message; }, - fromJSON(object: any): MsgCreateBatch_BatchIssuance { - return { - recipient: isSet(object.recipient) ? String(object.recipient) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - retirementLocation: isSet(object.retirementLocation) ? String(object.retirementLocation) : "" - }; - }, - toJSON(message: MsgCreateBatch_BatchIssuance): unknown { - const obj: any = {}; - message.recipient !== undefined && (obj.recipient = message.recipient); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.retirementLocation !== undefined && (obj.retirementLocation = message.retirementLocation); - return obj; - }, fromPartial(object: Partial): MsgCreateBatch_BatchIssuance { const message = createBaseMsgCreateBatch_BatchIssuance(); message.recipient = object.recipient ?? ""; @@ -1180,16 +1109,6 @@ export const MsgCreateBatchResponse = { } return message; }, - fromJSON(object: any): MsgCreateBatchResponse { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "" - }; - }, - toJSON(message: MsgCreateBatchResponse): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - return obj; - }, fromPartial(object: Partial): MsgCreateBatchResponse { const message = createBaseMsgCreateBatchResponse(); message.batchDenom = object.batchDenom ?? ""; @@ -1267,24 +1186,6 @@ export const MsgSend = { } return message; }, - fromJSON(object: any): MsgSend { - return { - sender: isSet(object.sender) ? String(object.sender) : "", - recipient: isSet(object.recipient) ? String(object.recipient) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => MsgSend_SendCredits.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgSend): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.recipient !== undefined && (obj.recipient = message.recipient); - if (message.credits) { - obj.credits = message.credits.map(e => e ? MsgSend_SendCredits.toJSON(e) : undefined); - } else { - obj.credits = []; - } - return obj; - }, fromPartial(object: Partial): MsgSend { const message = createBaseMsgSend(); message.sender = object.sender ?? ""; @@ -1381,22 +1282,6 @@ export const MsgSend_SendCredits = { } return message; }, - fromJSON(object: any): MsgSend_SendCredits { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - tradableAmount: isSet(object.tradableAmount) ? String(object.tradableAmount) : "", - retiredAmount: isSet(object.retiredAmount) ? String(object.retiredAmount) : "", - retirementLocation: isSet(object.retirementLocation) ? String(object.retirementLocation) : "" - }; - }, - toJSON(message: MsgSend_SendCredits): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.tradableAmount !== undefined && (obj.tradableAmount = message.tradableAmount); - message.retiredAmount !== undefined && (obj.retiredAmount = message.retiredAmount); - message.retirementLocation !== undefined && (obj.retirementLocation = message.retirementLocation); - return obj; - }, fromPartial(object: Partial): MsgSend_SendCredits { const message = createBaseMsgSend_SendCredits(); message.batchDenom = object.batchDenom ?? ""; @@ -1467,13 +1352,6 @@ export const MsgSendResponse = { } return message; }, - fromJSON(_: any): MsgSendResponse { - return {}; - }, - toJSON(_: MsgSendResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSendResponse { const message = createBaseMsgSendResponse(); return message; @@ -1546,24 +1424,6 @@ export const MsgRetire = { } return message; }, - fromJSON(object: any): MsgRetire { - return { - holder: isSet(object.holder) ? String(object.holder) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => MsgRetire_RetireCredits.fromJSON(e)) : [], - location: isSet(object.location) ? String(object.location) : "" - }; - }, - toJSON(message: MsgRetire): unknown { - const obj: any = {}; - message.holder !== undefined && (obj.holder = message.holder); - if (message.credits) { - obj.credits = message.credits.map(e => e ? MsgRetire_RetireCredits.toJSON(e) : undefined); - } else { - obj.credits = []; - } - message.location !== undefined && (obj.location = message.location); - return obj; - }, fromPartial(object: Partial): MsgRetire { const message = createBaseMsgRetire(); message.holder = object.holder ?? ""; @@ -1646,18 +1506,6 @@ export const MsgRetire_RetireCredits = { } return message; }, - fromJSON(object: any): MsgRetire_RetireCredits { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: MsgRetire_RetireCredits): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): MsgRetire_RetireCredits { const message = createBaseMsgRetire_RetireCredits(); message.batchDenom = object.batchDenom ?? ""; @@ -1718,13 +1566,6 @@ export const MsgRetireResponse = { } return message; }, - fromJSON(_: any): MsgRetireResponse { - return {}; - }, - toJSON(_: MsgRetireResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRetireResponse { const message = createBaseMsgRetireResponse(); return message; @@ -1790,22 +1631,6 @@ export const MsgCancel = { } return message; }, - fromJSON(object: any): MsgCancel { - return { - holder: isSet(object.holder) ? String(object.holder) : "", - credits: Array.isArray(object?.credits) ? object.credits.map((e: any) => MsgCancel_CancelCredits.fromJSON(e)) : [] - }; - }, - toJSON(message: MsgCancel): unknown { - const obj: any = {}; - message.holder !== undefined && (obj.holder = message.holder); - if (message.credits) { - obj.credits = message.credits.map(e => e ? MsgCancel_CancelCredits.toJSON(e) : undefined); - } else { - obj.credits = []; - } - return obj; - }, fromPartial(object: Partial): MsgCancel { const message = createBaseMsgCancel(); message.holder = object.holder ?? ""; @@ -1883,18 +1708,6 @@ export const MsgCancel_CancelCredits = { } return message; }, - fromJSON(object: any): MsgCancel_CancelCredits { - return { - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - amount: isSet(object.amount) ? String(object.amount) : "" - }; - }, - toJSON(message: MsgCancel_CancelCredits): unknown { - const obj: any = {}; - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, fromPartial(object: Partial): MsgCancel_CancelCredits { const message = createBaseMsgCancel_CancelCredits(); message.batchDenom = object.batchDenom ?? ""; @@ -1955,13 +1768,6 @@ export const MsgCancelResponse = { } return message; }, - fromJSON(_: any): MsgCancelResponse { - return {}; - }, - toJSON(_: MsgCancelResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgCancelResponse { const message = createBaseMsgCancelResponse(); return message; @@ -2034,20 +1840,6 @@ export const MsgUpdateClassAdmin = { } return message; }, - fromJSON(object: any): MsgUpdateClassAdmin { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - newAdmin: isSet(object.newAdmin) ? String(object.newAdmin) : "" - }; - }, - toJSON(message: MsgUpdateClassAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, fromPartial(object: Partial): MsgUpdateClassAdmin { const message = createBaseMsgUpdateClassAdmin(); message.admin = object.admin ?? ""; @@ -2113,13 +1905,6 @@ export const MsgUpdateClassAdminResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClassAdminResponse { - return {}; - }, - toJSON(_: MsgUpdateClassAdminResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClassAdminResponse { const message = createBaseMsgUpdateClassAdminResponse(); return message; @@ -2192,24 +1977,6 @@ export const MsgUpdateClassIssuers = { } return message; }, - fromJSON(object: any): MsgUpdateClassIssuers { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - issuers: Array.isArray(object?.issuers) ? object.issuers.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: MsgUpdateClassIssuers): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - if (message.issuers) { - obj.issuers = message.issuers.map(e => e); - } else { - obj.issuers = []; - } - return obj; - }, fromPartial(object: Partial): MsgUpdateClassIssuers { const message = createBaseMsgUpdateClassIssuers(); message.admin = object.admin ?? ""; @@ -2277,13 +2044,6 @@ export const MsgUpdateClassIssuersResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClassIssuersResponse { - return {}; - }, - toJSON(_: MsgUpdateClassIssuersResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClassIssuersResponse { const message = createBaseMsgUpdateClassIssuersResponse(); return message; @@ -2356,20 +2116,6 @@ export const MsgUpdateClassMetadata = { } return message; }, - fromJSON(object: any): MsgUpdateClassMetadata { - return { - admin: isSet(object.admin) ? String(object.admin) : "", - classId: isSet(object.classId) ? String(object.classId) : "", - metadata: isSet(object.metadata) ? bytesFromBase64(object.metadata) : new Uint8Array() - }; - }, - toJSON(message: MsgUpdateClassMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.classId !== undefined && (obj.classId = message.classId); - message.metadata !== undefined && (obj.metadata = base64FromBytes(message.metadata !== undefined ? message.metadata : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): MsgUpdateClassMetadata { const message = createBaseMsgUpdateClassMetadata(); message.admin = object.admin ?? ""; @@ -2435,13 +2181,6 @@ export const MsgUpdateClassMetadataResponse = { } return message; }, - fromJSON(_: any): MsgUpdateClassMetadataResponse { - return {}; - }, - toJSON(_: MsgUpdateClassMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgUpdateClassMetadataResponse { const message = createBaseMsgUpdateClassMetadataResponse(); return message; diff --git a/packages/api/src/codegen/regen/ecocredit/v1alpha1/types.ts b/packages/api/src/regen/ecocredit/v1alpha1/types.ts similarity index 81% rename from packages/api/src/codegen/regen/ecocredit/v1alpha1/types.ts rename to packages/api/src/regen/ecocredit/v1alpha1/types.ts index 18c761e5..ba8b90ec 100644 --- a/packages/api/src/codegen/regen/ecocredit/v1alpha1/types.ts +++ b/packages/api/src/regen/ecocredit/v1alpha1/types.ts @@ -1,7 +1,8 @@ -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../../google/protobuf/timestamp"; import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet, bytesFromBase64, base64FromBytes, fromJsonTimestamp, fromTimestamp } from "../../../helpers"; +import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../../helpers"; /** ClassInfo represents the high-level on-chain information for a credit class. */ export interface ClassInfo { /** class_id is the unique ID of credit class. */ @@ -84,12 +85,12 @@ export interface BatchInfo { * start_date is the beginning of the period during which this credit batch * was quantified and verified. */ - startDate?: Timestamp; + startDate?: Date; /** * end_date is the end of the period during which this credit batch was * quantified and verified. */ - endDate?: Timestamp; + endDate?: Date; /** * project_location is the location of the project backing the credits in this * batch. Full documentation can be found in MsgCreateBatch.project_location. @@ -153,8 +154,8 @@ export interface BatchInfoSDKType { total_amount: string; metadata: Uint8Array; amount_cancelled: string; - start_date?: TimestampSDKType; - end_date?: TimestampSDKType; + start_date?: Date; + end_date?: Date; project_location: string; } /** @@ -373,30 +374,6 @@ export const ClassInfo = { } return message; }, - fromJSON(object: any): ClassInfo { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - admin: isSet(object.admin) ? String(object.admin) : "", - issuers: Array.isArray(object?.issuers) ? object.issuers.map((e: any) => String(e)) : [], - metadata: isSet(object.metadata) ? bytesFromBase64(object.metadata) : new Uint8Array(), - creditType: isSet(object.creditType) ? CreditType.fromJSON(object.creditType) : undefined, - numBatches: isSet(object.numBatches) ? BigInt(object.numBatches.toString()) : BigInt(0) - }; - }, - toJSON(message: ClassInfo): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.admin !== undefined && (obj.admin = message.admin); - if (message.issuers) { - obj.issuers = message.issuers.map(e => e); - } else { - obj.issuers = []; - } - message.metadata !== undefined && (obj.metadata = base64FromBytes(message.metadata !== undefined ? message.metadata : new Uint8Array())); - message.creditType !== undefined && (obj.creditType = message.creditType ? CreditType.toJSON(message.creditType) : undefined); - message.numBatches !== undefined && (obj.numBatches = (message.numBatches || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ClassInfo { const message = createBaseClassInfo(); message.classId = object.classId ?? ""; @@ -492,10 +469,10 @@ export const BatchInfo = { writer.uint32(50).string(message.amountCancelled); } if (message.startDate !== undefined) { - Timestamp.encode(message.startDate, writer.uint32(58).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.startDate), writer.uint32(58).fork()).ldelim(); } if (message.endDate !== undefined) { - Timestamp.encode(message.endDate, writer.uint32(66).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.endDate), writer.uint32(66).fork()).ldelim(); } if (message.projectLocation !== "") { writer.uint32(74).string(message.projectLocation); @@ -528,10 +505,10 @@ export const BatchInfo = { message.amountCancelled = reader.string(); break; case 7: - message.startDate = Timestamp.decode(reader, reader.uint32()); + message.startDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 8: - message.endDate = Timestamp.decode(reader, reader.uint32()); + message.endDate = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 9: message.projectLocation = reader.string(); @@ -543,32 +520,6 @@ export const BatchInfo = { } return message; }, - fromJSON(object: any): BatchInfo { - return { - classId: isSet(object.classId) ? String(object.classId) : "", - batchDenom: isSet(object.batchDenom) ? String(object.batchDenom) : "", - issuer: isSet(object.issuer) ? String(object.issuer) : "", - totalAmount: isSet(object.totalAmount) ? String(object.totalAmount) : "", - metadata: isSet(object.metadata) ? bytesFromBase64(object.metadata) : new Uint8Array(), - amountCancelled: isSet(object.amountCancelled) ? String(object.amountCancelled) : "", - startDate: isSet(object.startDate) ? fromJsonTimestamp(object.startDate) : undefined, - endDate: isSet(object.endDate) ? fromJsonTimestamp(object.endDate) : undefined, - projectLocation: isSet(object.projectLocation) ? String(object.projectLocation) : "" - }; - }, - toJSON(message: BatchInfo): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.batchDenom !== undefined && (obj.batchDenom = message.batchDenom); - message.issuer !== undefined && (obj.issuer = message.issuer); - message.totalAmount !== undefined && (obj.totalAmount = message.totalAmount); - message.metadata !== undefined && (obj.metadata = base64FromBytes(message.metadata !== undefined ? message.metadata : new Uint8Array())); - message.amountCancelled !== undefined && (obj.amountCancelled = message.amountCancelled); - message.startDate !== undefined && (obj.startDate = fromTimestamp(message.startDate).toISOString()); - message.endDate !== undefined && (obj.endDate = fromTimestamp(message.endDate).toISOString()); - message.projectLocation !== undefined && (obj.projectLocation = message.projectLocation); - return obj; - }, fromPartial(object: Partial): BatchInfo { const message = createBaseBatchInfo(); message.classId = object.classId ?? ""; @@ -577,8 +528,8 @@ export const BatchInfo = { message.totalAmount = object.totalAmount ?? ""; message.metadata = object.metadata ?? new Uint8Array(); message.amountCancelled = object.amountCancelled ?? ""; - message.startDate = object.startDate !== undefined && object.startDate !== null ? Timestamp.fromPartial(object.startDate) : undefined; - message.endDate = object.endDate !== undefined && object.endDate !== null ? Timestamp.fromPartial(object.endDate) : undefined; + message.startDate = object.startDate ?? undefined; + message.endDate = object.endDate ?? undefined; message.projectLocation = object.projectLocation ?? ""; return message; }, @@ -603,10 +554,10 @@ export const BatchInfo = { message.amountCancelled = object.amount_cancelled; } if (object.start_date !== undefined && object.start_date !== null) { - message.startDate = Timestamp.fromAmino(object.start_date); + message.startDate = fromTimestamp(Timestamp.fromAmino(object.start_date)); } if (object.end_date !== undefined && object.end_date !== null) { - message.endDate = Timestamp.fromAmino(object.end_date); + message.endDate = fromTimestamp(Timestamp.fromAmino(object.end_date)); } if (object.project_location !== undefined && object.project_location !== null) { message.projectLocation = object.project_location; @@ -621,8 +572,8 @@ export const BatchInfo = { obj.total_amount = message.totalAmount === "" ? undefined : message.totalAmount; obj.metadata = message.metadata ? base64FromBytes(message.metadata) : undefined; obj.amount_cancelled = message.amountCancelled === "" ? undefined : message.amountCancelled; - obj.start_date = message.startDate ? Timestamp.toAmino(message.startDate) : undefined; - obj.end_date = message.endDate ? Timestamp.toAmino(message.endDate) : undefined; + obj.start_date = message.startDate ? Timestamp.toAmino(toTimestamp(message.startDate)) : undefined; + obj.end_date = message.endDate ? Timestamp.toAmino(toTimestamp(message.endDate)) : undefined; obj.project_location = message.projectLocation === "" ? undefined : message.projectLocation; return obj; }, @@ -700,40 +651,6 @@ export const Params = { } return message; }, - fromJSON(object: any): Params { - return { - creditClassFee: Array.isArray(object?.creditClassFee) ? object.creditClassFee.map((e: any) => Coin.fromJSON(e)) : [], - allowedClassCreators: Array.isArray(object?.allowedClassCreators) ? object.allowedClassCreators.map((e: any) => String(e)) : [], - allowlistEnabled: isSet(object.allowlistEnabled) ? Boolean(object.allowlistEnabled) : false, - creditTypes: Array.isArray(object?.creditTypes) ? object.creditTypes.map((e: any) => CreditType.fromJSON(e)) : [], - basketCreationFee: Array.isArray(object?.basketCreationFee) ? object.basketCreationFee.map((e: any) => Coin.fromJSON(e)) : [] - }; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - if (message.creditClassFee) { - obj.creditClassFee = message.creditClassFee.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.creditClassFee = []; - } - if (message.allowedClassCreators) { - obj.allowedClassCreators = message.allowedClassCreators.map(e => e); - } else { - obj.allowedClassCreators = []; - } - message.allowlistEnabled !== undefined && (obj.allowlistEnabled = message.allowlistEnabled); - if (message.creditTypes) { - obj.creditTypes = message.creditTypes.map(e => e ? CreditType.toJSON(e) : undefined); - } else { - obj.creditTypes = []; - } - if (message.basketCreationFee) { - obj.basketCreationFee = message.basketCreationFee.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.basketCreationFee = []; - } - return obj; - }, fromPartial(object: Partial): Params { const message = createBaseParams(); message.creditClassFee = object.creditClassFee?.map(e => Coin.fromPartial(e)) || []; @@ -846,22 +763,6 @@ export const CreditType = { } return message; }, - fromJSON(object: any): CreditType { - return { - name: isSet(object.name) ? String(object.name) : "", - abbreviation: isSet(object.abbreviation) ? String(object.abbreviation) : "", - unit: isSet(object.unit) ? String(object.unit) : "", - precision: isSet(object.precision) ? Number(object.precision) : 0 - }; - }, - toJSON(message: CreditType): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.abbreviation !== undefined && (obj.abbreviation = message.abbreviation); - message.unit !== undefined && (obj.unit = message.unit); - message.precision !== undefined && (obj.precision = Math.round(message.precision)); - return obj; - }, fromPartial(object: Partial): CreditType { const message = createBaseCreditType(); message.name = object.name ?? ""; @@ -947,18 +848,6 @@ export const CreditTypeSeq = { } return message; }, - fromJSON(object: any): CreditTypeSeq { - return { - abbreviation: isSet(object.abbreviation) ? String(object.abbreviation) : "", - seqNumber: isSet(object.seqNumber) ? BigInt(object.seqNumber.toString()) : BigInt(0) - }; - }, - toJSON(message: CreditTypeSeq): unknown { - const obj: any = {}; - message.abbreviation !== undefined && (obj.abbreviation = message.abbreviation); - message.seqNumber !== undefined && (obj.seqNumber = (message.seqNumber || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): CreditTypeSeq { const message = createBaseCreditTypeSeq(); message.abbreviation = object.abbreviation ?? ""; diff --git a/packages/api/src/codegen/regen/intertx/v1/query.lcd.ts b/packages/api/src/regen/intertx/v1/query.lcd.ts similarity index 98% rename from packages/api/src/codegen/regen/intertx/v1/query.lcd.ts rename to packages/api/src/regen/intertx/v1/query.lcd.ts index 069ad52d..a559e305 100644 --- a/packages/api/src/codegen/regen/intertx/v1/query.lcd.ts +++ b/packages/api/src/regen/intertx/v1/query.lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; import { QueryInterchainAccountRequest, QueryInterchainAccountResponseSDKType } from "./query"; export class LCDQueryClient { diff --git a/packages/api/src/codegen/regen/intertx/v1/query.rpc.Query.ts b/packages/api/src/regen/intertx/v1/query.rpc.Query.ts similarity index 99% rename from packages/api/src/codegen/regen/intertx/v1/query.rpc.Query.ts rename to packages/api/src/regen/intertx/v1/query.rpc.Query.ts index d0b2289b..064bdd22 100644 --- a/packages/api/src/codegen/regen/intertx/v1/query.rpc.Query.ts +++ b/packages/api/src/regen/intertx/v1/query.rpc.Query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate"; diff --git a/packages/api/src/codegen/regen/intertx/v1/query.ts b/packages/api/src/regen/intertx/v1/query.ts similarity index 89% rename from packages/api/src/codegen/regen/intertx/v1/query.ts rename to packages/api/src/regen/intertx/v1/query.ts index 659416ef..9e57096b 100644 --- a/packages/api/src/codegen/regen/intertx/v1/query.ts +++ b/packages/api/src/regen/intertx/v1/query.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** * QueryInterchainAccountRequest is the request type for the * Query/InterchainAccountAddress RPC @@ -104,18 +104,6 @@ export const QueryInterchainAccountRequest = { } return message; }, - fromJSON(object: any): QueryInterchainAccountRequest { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "" - }; - }, - toJSON(message: QueryInterchainAccountRequest): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - return obj; - }, fromPartial(object: Partial): QueryInterchainAccountRequest { const message = createBaseQueryInterchainAccountRequest(); message.owner = object.owner ?? ""; @@ -184,16 +172,6 @@ export const QueryInterchainAccountResponse = { } return message; }, - fromJSON(object: any): QueryInterchainAccountResponse { - return { - interchainAccountAddress: isSet(object.interchainAccountAddress) ? String(object.interchainAccountAddress) : "" - }; - }, - toJSON(message: QueryInterchainAccountResponse): unknown { - const obj: any = {}; - message.interchainAccountAddress !== undefined && (obj.interchainAccountAddress = message.interchainAccountAddress); - return obj; - }, fromPartial(object: Partial): QueryInterchainAccountResponse { const message = createBaseQueryInterchainAccountResponse(); message.interchainAccountAddress = object.interchainAccountAddress ?? ""; diff --git a/packages/api/src/codegen/regen/intertx/v1/tx.amino.ts b/packages/api/src/regen/intertx/v1/tx.amino.ts similarity index 96% rename from packages/api/src/codegen/regen/intertx/v1/tx.amino.ts rename to packages/api/src/regen/intertx/v1/tx.amino.ts index 81979e62..2cf4a590 100644 --- a/packages/api/src/codegen/regen/intertx/v1/tx.amino.ts +++ b/packages/api/src/regen/intertx/v1/tx.amino.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { MsgRegisterAccount, MsgSubmitTx } from "./tx"; export const AminoConverter = { "/regen.intertx.v1.MsgRegisterAccount": { diff --git a/packages/api/src/codegen/regen/intertx/v1/tx.registry.ts b/packages/api/src/regen/intertx/v1/tx.registry.ts similarity index 68% rename from packages/api/src/codegen/regen/intertx/v1/tx.registry.ts rename to packages/api/src/regen/intertx/v1/tx.registry.ts index 56509509..54d191e3 100644 --- a/packages/api/src/codegen/regen/intertx/v1/tx.registry.ts +++ b/packages/api/src/regen/intertx/v1/tx.registry.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { GeneratedType, Registry } from "@cosmjs/proto-signing"; import { MsgRegisterAccount, MsgSubmitTx } from "./tx"; export const registry: ReadonlyArray<[string, GeneratedType]> = [["/regen.intertx.v1.MsgRegisterAccount", MsgRegisterAccount], ["/regen.intertx.v1.MsgSubmitTx", MsgSubmitTx]]; @@ -35,34 +36,6 @@ export const MessageComposer = { }; } }, - toJSON: { - registerAccount(value: MsgRegisterAccount) { - return { - typeUrl: "/regen.intertx.v1.MsgRegisterAccount", - value: MsgRegisterAccount.toJSON(value) - }; - }, - submitTx(value: MsgSubmitTx) { - return { - typeUrl: "/regen.intertx.v1.MsgSubmitTx", - value: MsgSubmitTx.toJSON(value) - }; - } - }, - fromJSON: { - registerAccount(value: any) { - return { - typeUrl: "/regen.intertx.v1.MsgRegisterAccount", - value: MsgRegisterAccount.fromJSON(value) - }; - }, - submitTx(value: any) { - return { - typeUrl: "/regen.intertx.v1.MsgSubmitTx", - value: MsgSubmitTx.fromJSON(value) - }; - } - }, fromPartial: { registerAccount(value: MsgRegisterAccount) { return { diff --git a/packages/api/src/codegen/regen/intertx/v1/tx.rpc.msg.ts b/packages/api/src/regen/intertx/v1/tx.rpc.msg.ts similarity index 98% rename from packages/api/src/codegen/regen/intertx/v1/tx.rpc.msg.ts rename to packages/api/src/regen/intertx/v1/tx.rpc.msg.ts index 23e7216c..91263098 100644 --- a/packages/api/src/codegen/regen/intertx/v1/tx.rpc.msg.ts +++ b/packages/api/src/regen/intertx/v1/tx.rpc.msg.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../../../helpers"; import { BinaryReader } from "../../../binary"; import { MsgRegisterAccount, MsgRegisterAccountResponse, MsgSubmitTx, MsgSubmitTxResponse } from "./tx"; diff --git a/packages/api/src/codegen/regen/intertx/v1/tx.ts b/packages/api/src/regen/intertx/v1/tx.ts similarity index 89% rename from packages/api/src/codegen/regen/intertx/v1/tx.ts rename to packages/api/src/regen/intertx/v1/tx.ts index ecf73724..0e7e1fdd 100644 --- a/packages/api/src/codegen/regen/intertx/v1/tx.ts +++ b/packages/api/src/regen/intertx/v1/tx.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; /** MsgRegisterAccount defines the payload for Msg/RegisterAccount */ export interface MsgRegisterAccount { /** owner is the address of the interchain account owner. */ @@ -145,20 +145,6 @@ export const MsgRegisterAccount = { } return message; }, - fromJSON(object: any): MsgRegisterAccount { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - version: isSet(object.version) ? String(object.version) : "" - }; - }, - toJSON(message: MsgRegisterAccount): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.version !== undefined && (obj.version = message.version); - return obj; - }, fromPartial(object: Partial): MsgRegisterAccount { const message = createBaseMsgRegisterAccount(); message.owner = object.owner ?? ""; @@ -224,13 +210,6 @@ export const MsgRegisterAccountResponse = { } return message; }, - fromJSON(_: any): MsgRegisterAccountResponse { - return {}; - }, - toJSON(_: MsgRegisterAccountResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgRegisterAccountResponse { const message = createBaseMsgRegisterAccountResponse(); return message; @@ -303,20 +282,6 @@ export const MsgSubmitTx = { } return message; }, - fromJSON(object: any): MsgSubmitTx { - return { - owner: isSet(object.owner) ? String(object.owner) : "", - connectionId: isSet(object.connectionId) ? String(object.connectionId) : "", - msg: isSet(object.msg) ? Any.fromJSON(object.msg) : undefined - }; - }, - toJSON(message: MsgSubmitTx): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - message.connectionId !== undefined && (obj.connectionId = message.connectionId); - message.msg !== undefined && (obj.msg = message.msg ? Any.toJSON(message.msg) : undefined); - return obj; - }, fromPartial(object: Partial): MsgSubmitTx { const message = createBaseMsgSubmitTx(); message.owner = object.owner ?? ""; @@ -382,13 +347,6 @@ export const MsgSubmitTxResponse = { } return message; }, - fromJSON(_: any): MsgSubmitTxResponse { - return {}; - }, - toJSON(_: MsgSubmitTxResponse): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): MsgSubmitTxResponse { const message = createBaseMsgSubmitTxResponse(); return message; diff --git a/packages/api/src/codegen/regen/lcd.ts b/packages/api/src/regen/lcd.ts similarity index 83% rename from packages/api/src/codegen/regen/lcd.ts rename to packages/api/src/regen/lcd.ts index 006d3f41..08077669 100644 --- a/packages/api/src/codegen/regen/lcd.ts +++ b/packages/api/src/regen/lcd.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { LCDClient } from "@cosmology/lcd"; export const createLCDClient = async ({ restEndpoint @@ -29,11 +30,6 @@ export const createLCDClient = async ({ v1beta1: new (await import("../cosmos/base/node/v1beta1/query.lcd")).LCDQueryClient({ requestClient }) - }, - tendermint: { - v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) } }, distribution: { @@ -41,11 +37,6 @@ export const createLCDClient = async ({ requestClient }) }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, feegrant: { v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ requestClient @@ -69,21 +60,11 @@ export const createLCDClient = async ({ requestClient }) }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, params: { v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ requestClient }) }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, staking: { v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ requestClient diff --git a/packages/api/src/codegen/regen/rpc.query.ts b/packages/api/src/regen/rpc.query.ts similarity index 81% rename from packages/api/src/codegen/regen/rpc.query.ts rename to packages/api/src/regen/rpc.query.ts index 1d82acfc..4c6a8bae 100644 --- a/packages/api/src/codegen/regen/rpc.query.ts +++ b/packages/api/src/regen/rpc.query.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Tendermint34Client, HttpEndpoint } from "@cosmjs/tendermint-rpc"; import { QueryClient } from "@cosmjs/stargate"; export const createRPCQueryClient = async ({ @@ -9,9 +10,6 @@ export const createRPCQueryClient = async ({ const client = new QueryClient(tmClient); return { cosmos: { - app: { - v1alpha1: (await import("../cosmos/app/v1alpha1/query.rpc.Query")).createRpcQueryExtension(client) - }, auth: { v1beta1: (await import("../cosmos/auth/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, @@ -24,17 +22,11 @@ export const createRPCQueryClient = async ({ base: { node: { v1beta1: (await import("../cosmos/base/node/v1beta1/query.rpc.Service")).createRpcQueryExtension(client) - }, - tendermint: { - v1beta1: (await import("../cosmos/base/tendermint/v1beta1/query.rpc.Service")).createRpcQueryExtension(client) } }, distribution: { v1beta1: (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - evidence: { - v1beta1: (await import("../cosmos/evidence/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, feegrant: { v1beta1: (await import("../cosmos/feegrant/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, @@ -48,15 +40,9 @@ export const createRPCQueryClient = async ({ mint: { v1beta1: (await import("../cosmos/mint/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - nft: { - v1beta1: (await import("../cosmos/nft/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, params: { v1beta1: (await import("../cosmos/params/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, - slashing: { - v1beta1: (await import("../cosmos/slashing/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) - }, staking: { v1beta1: (await import("../cosmos/staking/v1beta1/query.rpc.Query")).createRpcQueryExtension(client) }, diff --git a/packages/api/src/codegen/regen/rpc.tx.ts b/packages/api/src/regen/rpc.tx.ts similarity index 80% rename from packages/api/src/codegen/regen/rpc.tx.ts rename to packages/api/src/regen/rpc.tx.ts index 0d3e736c..5154869a 100644 --- a/packages/api/src/codegen/regen/rpc.tx.ts +++ b/packages/api/src/regen/rpc.tx.ts @@ -1,3 +1,4 @@ +//@ts-nocheck import { Rpc } from "../helpers"; export const createRPCMsgClient = async ({ rpc @@ -11,15 +12,9 @@ export const createRPCMsgClient = async ({ bank: { v1beta1: new (await import("../cosmos/bank/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, - crisis: { - v1beta1: new (await import("../cosmos/crisis/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, distribution: { v1beta1: new (await import("../cosmos/distribution/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, feegrant: { v1beta1: new (await import("../cosmos/feegrant/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, @@ -30,12 +25,6 @@ export const createRPCMsgClient = async ({ group: { v1: new (await import("../cosmos/group/v1/tx.rpc.msg")).MsgClientImpl(rpc) }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) - }, staking: { v1beta1: new (await import("../cosmos/staking/v1beta1/tx.rpc.msg")).MsgClientImpl(rpc) }, diff --git a/packages/api/src/codegen/tendermint/abci/types.ts b/packages/api/src/tendermint/abci/types.ts similarity index 82% rename from packages/api/src/codegen/tendermint/abci/types.ts rename to packages/api/src/tendermint/abci/types.ts index 8a083802..c424e6c9 100644 --- a/packages/api/src/codegen/tendermint/abci/types.ts +++ b/packages/api/src/tendermint/abci/types.ts @@ -1,10 +1,11 @@ -import { Timestamp, TimestampSDKType } from "../../google/protobuf/timestamp"; +//@ts-nocheck +import { Timestamp } from "../../google/protobuf/timestamp"; import { ConsensusParams, ConsensusParamsAmino, ConsensusParamsSDKType } from "../types/params"; import { Header, HeaderAmino, HeaderSDKType } from "../types/types"; import { ProofOps, ProofOpsAmino, ProofOpsSDKType } from "../crypto/proof"; import { PublicKey, PublicKeyAmino, PublicKeySDKType } from "../crypto/keys"; import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, fromJsonTimestamp, bytesFromBase64, fromTimestamp, base64FromBytes } from "../../helpers"; +import { toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../helpers"; export enum CheckTxType { NEW = 0, RECHECK = 1, @@ -354,7 +355,7 @@ export interface RequestInfoSDKType { abci_version: string; } export interface RequestInitChain { - time: Timestamp; + time: Date; chainId: string; consensusParams?: ConsensusParams; validators: ValidatorUpdate[]; @@ -378,7 +379,7 @@ export interface RequestInitChainAminoMsg { value: RequestInitChainAmino; } export interface RequestInitChainSDKType { - time: TimestampSDKType; + time: Date; chain_id: string; consensus_params?: ConsensusParamsSDKType; validators: ValidatorUpdateSDKType[]; @@ -606,7 +607,7 @@ export interface RequestPrepareProposal { localLastCommit: ExtendedCommitInfo; misbehavior: Misbehavior[]; height: bigint; - time: Timestamp; + time: Date; nextValidatorsHash: Uint8Array; /** address of the public key of the validator proposing the block. */ proposerAddress: Uint8Array; @@ -641,7 +642,7 @@ export interface RequestPrepareProposalSDKType { local_last_commit: ExtendedCommitInfoSDKType; misbehavior: MisbehaviorSDKType[]; height: bigint; - time: TimestampSDKType; + time: Date; next_validators_hash: Uint8Array; proposer_address: Uint8Array; } @@ -652,7 +653,7 @@ export interface RequestProcessProposal { /** hash is the merkle root hash of the fields of the proposed block. */ hash: Uint8Array; height: bigint; - time: Timestamp; + time: Date; nextValidatorsHash: Uint8Array; /** address of the public key of the original proposer of the block. */ proposerAddress: Uint8Array; @@ -683,7 +684,7 @@ export interface RequestProcessProposalSDKType { misbehavior: MisbehaviorSDKType[]; hash: Uint8Array; height: bigint; - time: TimestampSDKType; + time: Date; next_validators_hash: Uint8Array; proposer_address: Uint8Array; } @@ -1437,7 +1438,7 @@ export interface Misbehavior { /** The height when the offense occurred */ height: bigint; /** The corresponding time where the offense occurred */ - time: Timestamp; + time: Date; /** * Total voting power of the validator set in case the ABCI application does * not store historical validators. @@ -1472,7 +1473,7 @@ export interface MisbehaviorSDKType { type: MisbehaviorType; validator: ValidatorSDKType; height: bigint; - time: TimestampSDKType; + time: Date; total_voting_power: bigint; } export interface Snapshot { @@ -1649,46 +1650,6 @@ export const Request = { } return message; }, - fromJSON(object: any): Request { - return { - echo: isSet(object.echo) ? RequestEcho.fromJSON(object.echo) : undefined, - flush: isSet(object.flush) ? RequestFlush.fromJSON(object.flush) : undefined, - info: isSet(object.info) ? RequestInfo.fromJSON(object.info) : undefined, - initChain: isSet(object.initChain) ? RequestInitChain.fromJSON(object.initChain) : undefined, - query: isSet(object.query) ? RequestQuery.fromJSON(object.query) : undefined, - beginBlock: isSet(object.beginBlock) ? RequestBeginBlock.fromJSON(object.beginBlock) : undefined, - checkTx: isSet(object.checkTx) ? RequestCheckTx.fromJSON(object.checkTx) : undefined, - deliverTx: isSet(object.deliverTx) ? RequestDeliverTx.fromJSON(object.deliverTx) : undefined, - endBlock: isSet(object.endBlock) ? RequestEndBlock.fromJSON(object.endBlock) : undefined, - commit: isSet(object.commit) ? RequestCommit.fromJSON(object.commit) : undefined, - listSnapshots: isSet(object.listSnapshots) ? RequestListSnapshots.fromJSON(object.listSnapshots) : undefined, - offerSnapshot: isSet(object.offerSnapshot) ? RequestOfferSnapshot.fromJSON(object.offerSnapshot) : undefined, - loadSnapshotChunk: isSet(object.loadSnapshotChunk) ? RequestLoadSnapshotChunk.fromJSON(object.loadSnapshotChunk) : undefined, - applySnapshotChunk: isSet(object.applySnapshotChunk) ? RequestApplySnapshotChunk.fromJSON(object.applySnapshotChunk) : undefined, - prepareProposal: isSet(object.prepareProposal) ? RequestPrepareProposal.fromJSON(object.prepareProposal) : undefined, - processProposal: isSet(object.processProposal) ? RequestProcessProposal.fromJSON(object.processProposal) : undefined - }; - }, - toJSON(message: Request): unknown { - const obj: any = {}; - message.echo !== undefined && (obj.echo = message.echo ? RequestEcho.toJSON(message.echo) : undefined); - message.flush !== undefined && (obj.flush = message.flush ? RequestFlush.toJSON(message.flush) : undefined); - message.info !== undefined && (obj.info = message.info ? RequestInfo.toJSON(message.info) : undefined); - message.initChain !== undefined && (obj.initChain = message.initChain ? RequestInitChain.toJSON(message.initChain) : undefined); - message.query !== undefined && (obj.query = message.query ? RequestQuery.toJSON(message.query) : undefined); - message.beginBlock !== undefined && (obj.beginBlock = message.beginBlock ? RequestBeginBlock.toJSON(message.beginBlock) : undefined); - message.checkTx !== undefined && (obj.checkTx = message.checkTx ? RequestCheckTx.toJSON(message.checkTx) : undefined); - message.deliverTx !== undefined && (obj.deliverTx = message.deliverTx ? RequestDeliverTx.toJSON(message.deliverTx) : undefined); - message.endBlock !== undefined && (obj.endBlock = message.endBlock ? RequestEndBlock.toJSON(message.endBlock) : undefined); - message.commit !== undefined && (obj.commit = message.commit ? RequestCommit.toJSON(message.commit) : undefined); - message.listSnapshots !== undefined && (obj.listSnapshots = message.listSnapshots ? RequestListSnapshots.toJSON(message.listSnapshots) : undefined); - message.offerSnapshot !== undefined && (obj.offerSnapshot = message.offerSnapshot ? RequestOfferSnapshot.toJSON(message.offerSnapshot) : undefined); - message.loadSnapshotChunk !== undefined && (obj.loadSnapshotChunk = message.loadSnapshotChunk ? RequestLoadSnapshotChunk.toJSON(message.loadSnapshotChunk) : undefined); - message.applySnapshotChunk !== undefined && (obj.applySnapshotChunk = message.applySnapshotChunk ? RequestApplySnapshotChunk.toJSON(message.applySnapshotChunk) : undefined); - message.prepareProposal !== undefined && (obj.prepareProposal = message.prepareProposal ? RequestPrepareProposal.toJSON(message.prepareProposal) : undefined); - message.processProposal !== undefined && (obj.processProposal = message.processProposal ? RequestProcessProposal.toJSON(message.processProposal) : undefined); - return obj; - }, fromPartial(object: Partial): Request { const message = createBaseRequest(); message.echo = object.echo !== undefined && object.echo !== null ? RequestEcho.fromPartial(object.echo) : undefined; @@ -1827,16 +1788,6 @@ export const RequestEcho = { } return message; }, - fromJSON(object: any): RequestEcho { - return { - message: isSet(object.message) ? String(object.message) : "" - }; - }, - toJSON(message: RequestEcho): unknown { - const obj: any = {}; - message.message !== undefined && (obj.message = message.message); - return obj; - }, fromPartial(object: Partial): RequestEcho { const message = createBaseRequestEcho(); message.message = object.message ?? ""; @@ -1892,13 +1843,6 @@ export const RequestFlush = { } return message; }, - fromJSON(_: any): RequestFlush { - return {}; - }, - toJSON(_: RequestFlush): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): RequestFlush { const message = createBaseRequestFlush(); return message; @@ -1978,22 +1922,6 @@ export const RequestInfo = { } return message; }, - fromJSON(object: any): RequestInfo { - return { - version: isSet(object.version) ? String(object.version) : "", - blockVersion: isSet(object.blockVersion) ? BigInt(object.blockVersion.toString()) : BigInt(0), - p2pVersion: isSet(object.p2pVersion) ? BigInt(object.p2pVersion.toString()) : BigInt(0), - abciVersion: isSet(object.abciVersion) ? String(object.abciVersion) : "" - }; - }, - toJSON(message: RequestInfo): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = message.version); - message.blockVersion !== undefined && (obj.blockVersion = (message.blockVersion || BigInt(0)).toString()); - message.p2pVersion !== undefined && (obj.p2pVersion = (message.p2pVersion || BigInt(0)).toString()); - message.abciVersion !== undefined && (obj.abciVersion = message.abciVersion); - return obj; - }, fromPartial(object: Partial): RequestInfo { const message = createBaseRequestInfo(); message.version = object.version ?? ""; @@ -2044,7 +1972,7 @@ export const RequestInfo = { }; function createBaseRequestInitChain(): RequestInitChain { return { - time: Timestamp.fromPartial({}), + time: new Date(), chainId: "", consensusParams: undefined, validators: [], @@ -2056,7 +1984,7 @@ export const RequestInitChain = { typeUrl: "/tendermint.abci.RequestInitChain", encode(message: RequestInitChain, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(10).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.time), writer.uint32(10).fork()).ldelim(); } if (message.chainId !== "") { writer.uint32(18).string(message.chainId); @@ -2083,7 +2011,7 @@ export const RequestInitChain = { const tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.time = Timestamp.decode(reader, reader.uint32()); + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 2: message.chainId = reader.string(); @@ -2107,33 +2035,9 @@ export const RequestInitChain = { } return message; }, - fromJSON(object: any): RequestInitChain { - return { - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - chainId: isSet(object.chainId) ? String(object.chainId) : "", - consensusParams: isSet(object.consensusParams) ? ConsensusParams.fromJSON(object.consensusParams) : undefined, - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => ValidatorUpdate.fromJSON(e)) : [], - appStateBytes: isSet(object.appStateBytes) ? bytesFromBase64(object.appStateBytes) : new Uint8Array(), - initialHeight: isSet(object.initialHeight) ? BigInt(object.initialHeight.toString()) : BigInt(0) - }; - }, - toJSON(message: RequestInitChain): unknown { - const obj: any = {}; - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.chainId !== undefined && (obj.chainId = message.chainId); - message.consensusParams !== undefined && (obj.consensusParams = message.consensusParams ? ConsensusParams.toJSON(message.consensusParams) : undefined); - if (message.validators) { - obj.validators = message.validators.map(e => e ? ValidatorUpdate.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.appStateBytes !== undefined && (obj.appStateBytes = base64FromBytes(message.appStateBytes !== undefined ? message.appStateBytes : new Uint8Array())); - message.initialHeight !== undefined && (obj.initialHeight = (message.initialHeight || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): RequestInitChain { const message = createBaseRequestInitChain(); - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; + message.time = object.time ?? undefined; message.chainId = object.chainId ?? ""; message.consensusParams = object.consensusParams !== undefined && object.consensusParams !== null ? ConsensusParams.fromPartial(object.consensusParams) : undefined; message.validators = object.validators?.map(e => ValidatorUpdate.fromPartial(e)) || []; @@ -2144,7 +2048,7 @@ export const RequestInitChain = { fromAmino(object: RequestInitChainAmino): RequestInitChain { const message = createBaseRequestInitChain(); if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); + message.time = fromTimestamp(Timestamp.fromAmino(object.time)); } if (object.chain_id !== undefined && object.chain_id !== null) { message.chainId = object.chain_id; @@ -2163,7 +2067,7 @@ export const RequestInitChain = { }, toAmino(message: RequestInitChain): RequestInitChainAmino { const obj: any = {}; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; + obj.time = message.time ? Timestamp.toAmino(toTimestamp(message.time)) : undefined; obj.chain_id = message.chainId === "" ? undefined : message.chainId; obj.consensus_params = message.consensusParams ? ConsensusParams.toAmino(message.consensusParams) : undefined; if (message.validators) { @@ -2242,22 +2146,6 @@ export const RequestQuery = { } return message; }, - fromJSON(object: any): RequestQuery { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - path: isSet(object.path) ? String(object.path) : "", - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - prove: isSet(object.prove) ? Boolean(object.prove) : false - }; - }, - toJSON(message: RequestQuery): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.path !== undefined && (obj.path = message.path); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.prove !== undefined && (obj.prove = message.prove); - return obj; - }, fromPartial(object: Partial): RequestQuery { const message = createBaseRequestQuery(); message.data = object.data ?? new Uint8Array(); @@ -2357,26 +2245,6 @@ export const RequestBeginBlock = { } return message; }, - fromJSON(object: any): RequestBeginBlock { - return { - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(), - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - lastCommitInfo: isSet(object.lastCommitInfo) ? CommitInfo.fromJSON(object.lastCommitInfo) : undefined, - byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Misbehavior.fromJSON(e)) : [] - }; - }, - toJSON(message: RequestBeginBlock): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - message.lastCommitInfo !== undefined && (obj.lastCommitInfo = message.lastCommitInfo ? CommitInfo.toJSON(message.lastCommitInfo) : undefined); - if (message.byzantineValidators) { - obj.byzantineValidators = message.byzantineValidators.map(e => e ? Misbehavior.toJSON(e) : undefined); - } else { - obj.byzantineValidators = []; - } - return obj; - }, fromPartial(object: Partial): RequestBeginBlock { const message = createBaseRequestBeginBlock(); message.hash = object.hash ?? new Uint8Array(); @@ -2464,18 +2332,6 @@ export const RequestCheckTx = { } return message; }, - fromJSON(object: any): RequestCheckTx { - return { - tx: isSet(object.tx) ? bytesFromBase64(object.tx) : new Uint8Array(), - type: isSet(object.type) ? checkTxTypeFromJSON(object.type) : -1 - }; - }, - toJSON(message: RequestCheckTx): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = base64FromBytes(message.tx !== undefined ? message.tx : new Uint8Array())); - message.type !== undefined && (obj.type = checkTxTypeToJSON(message.type)); - return obj; - }, fromPartial(object: Partial): RequestCheckTx { const message = createBaseRequestCheckTx(); message.tx = object.tx ?? new Uint8Array(); @@ -2544,16 +2400,6 @@ export const RequestDeliverTx = { } return message; }, - fromJSON(object: any): RequestDeliverTx { - return { - tx: isSet(object.tx) ? bytesFromBase64(object.tx) : new Uint8Array() - }; - }, - toJSON(message: RequestDeliverTx): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = base64FromBytes(message.tx !== undefined ? message.tx : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): RequestDeliverTx { const message = createBaseRequestDeliverTx(); message.tx = object.tx ?? new Uint8Array(); @@ -2617,16 +2463,6 @@ export const RequestEndBlock = { } return message; }, - fromJSON(object: any): RequestEndBlock { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0) - }; - }, - toJSON(message: RequestEndBlock): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): RequestEndBlock { const message = createBaseRequestEndBlock(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -2682,13 +2518,6 @@ export const RequestCommit = { } return message; }, - fromJSON(_: any): RequestCommit { - return {}; - }, - toJSON(_: RequestCommit): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): RequestCommit { const message = createBaseRequestCommit(); return message; @@ -2739,13 +2568,6 @@ export const RequestListSnapshots = { } return message; }, - fromJSON(_: any): RequestListSnapshots { - return {}; - }, - toJSON(_: RequestListSnapshots): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): RequestListSnapshots { const message = createBaseRequestListSnapshots(); return message; @@ -2811,18 +2633,6 @@ export const RequestOfferSnapshot = { } return message; }, - fromJSON(object: any): RequestOfferSnapshot { - return { - snapshot: isSet(object.snapshot) ? Snapshot.fromJSON(object.snapshot) : undefined, - appHash: isSet(object.appHash) ? bytesFromBase64(object.appHash) : new Uint8Array() - }; - }, - toJSON(message: RequestOfferSnapshot): unknown { - const obj: any = {}; - message.snapshot !== undefined && (obj.snapshot = message.snapshot ? Snapshot.toJSON(message.snapshot) : undefined); - message.appHash !== undefined && (obj.appHash = base64FromBytes(message.appHash !== undefined ? message.appHash : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): RequestOfferSnapshot { const message = createBaseRequestOfferSnapshot(); message.snapshot = object.snapshot !== undefined && object.snapshot !== null ? Snapshot.fromPartial(object.snapshot) : undefined; @@ -2905,20 +2715,6 @@ export const RequestLoadSnapshotChunk = { } return message; }, - fromJSON(object: any): RequestLoadSnapshotChunk { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - format: isSet(object.format) ? Number(object.format) : 0, - chunk: isSet(object.chunk) ? Number(object.chunk) : 0 - }; - }, - toJSON(message: RequestLoadSnapshotChunk): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.format !== undefined && (obj.format = Math.round(message.format)); - message.chunk !== undefined && (obj.chunk = Math.round(message.chunk)); - return obj; - }, fromPartial(object: Partial): RequestLoadSnapshotChunk { const message = createBaseRequestLoadSnapshotChunk(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -3006,20 +2802,6 @@ export const RequestApplySnapshotChunk = { } return message; }, - fromJSON(object: any): RequestApplySnapshotChunk { - return { - index: isSet(object.index) ? Number(object.index) : 0, - chunk: isSet(object.chunk) ? bytesFromBase64(object.chunk) : new Uint8Array(), - sender: isSet(object.sender) ? String(object.sender) : "" - }; - }, - toJSON(message: RequestApplySnapshotChunk): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = Math.round(message.index)); - message.chunk !== undefined && (obj.chunk = base64FromBytes(message.chunk !== undefined ? message.chunk : new Uint8Array())); - message.sender !== undefined && (obj.sender = message.sender); - return obj; - }, fromPartial(object: Partial): RequestApplySnapshotChunk { const message = createBaseRequestApplySnapshotChunk(); message.index = object.index ?? 0; @@ -3070,7 +2852,7 @@ function createBaseRequestPrepareProposal(): RequestPrepareProposal { localLastCommit: ExtendedCommitInfo.fromPartial({}), misbehavior: [], height: BigInt(0), - time: Timestamp.fromPartial({}), + time: new Date(), nextValidatorsHash: new Uint8Array(), proposerAddress: new Uint8Array() }; @@ -3094,7 +2876,7 @@ export const RequestPrepareProposal = { writer.uint32(40).int64(message.height); } if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.time), writer.uint32(50).fork()).ldelim(); } if (message.nextValidatorsHash.length !== 0) { writer.uint32(58).bytes(message.nextValidatorsHash); @@ -3127,7 +2909,7 @@ export const RequestPrepareProposal = { message.height = reader.int64(); break; case 6: - message.time = Timestamp.decode(reader, reader.uint32()); + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: message.nextValidatorsHash = reader.bytes(); @@ -3142,38 +2924,6 @@ export const RequestPrepareProposal = { } return message; }, - fromJSON(object: any): RequestPrepareProposal { - return { - maxTxBytes: isSet(object.maxTxBytes) ? BigInt(object.maxTxBytes.toString()) : BigInt(0), - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => bytesFromBase64(e)) : [], - localLastCommit: isSet(object.localLastCommit) ? ExtendedCommitInfo.fromJSON(object.localLastCommit) : undefined, - misbehavior: Array.isArray(object?.misbehavior) ? object.misbehavior.map((e: any) => Misbehavior.fromJSON(e)) : [], - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array(), - proposerAddress: isSet(object.proposerAddress) ? bytesFromBase64(object.proposerAddress) : new Uint8Array() - }; - }, - toJSON(message: RequestPrepareProposal): unknown { - const obj: any = {}; - message.maxTxBytes !== undefined && (obj.maxTxBytes = (message.maxTxBytes || BigInt(0)).toString()); - if (message.txs) { - obj.txs = message.txs.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.txs = []; - } - message.localLastCommit !== undefined && (obj.localLastCommit = message.localLastCommit ? ExtendedCommitInfo.toJSON(message.localLastCommit) : undefined); - if (message.misbehavior) { - obj.misbehavior = message.misbehavior.map(e => e ? Misbehavior.toJSON(e) : undefined); - } else { - obj.misbehavior = []; - } - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); - message.proposerAddress !== undefined && (obj.proposerAddress = base64FromBytes(message.proposerAddress !== undefined ? message.proposerAddress : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): RequestPrepareProposal { const message = createBaseRequestPrepareProposal(); message.maxTxBytes = object.maxTxBytes !== undefined && object.maxTxBytes !== null ? BigInt(object.maxTxBytes.toString()) : BigInt(0); @@ -3181,7 +2931,7 @@ export const RequestPrepareProposal = { message.localLastCommit = object.localLastCommit !== undefined && object.localLastCommit !== null ? ExtendedCommitInfo.fromPartial(object.localLastCommit) : undefined; message.misbehavior = object.misbehavior?.map(e => Misbehavior.fromPartial(e)) || []; message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; + message.time = object.time ?? undefined; message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array(); message.proposerAddress = object.proposerAddress ?? new Uint8Array(); return message; @@ -3200,7 +2950,7 @@ export const RequestPrepareProposal = { message.height = BigInt(object.height); } if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); + message.time = fromTimestamp(Timestamp.fromAmino(object.time)); } if (object.next_validators_hash !== undefined && object.next_validators_hash !== null) { message.nextValidatorsHash = bytesFromBase64(object.next_validators_hash); @@ -3225,7 +2975,7 @@ export const RequestPrepareProposal = { obj.misbehavior = message.misbehavior; } obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; + obj.time = message.time ? Timestamp.toAmino(toTimestamp(message.time)) : undefined; obj.next_validators_hash = message.nextValidatorsHash ? base64FromBytes(message.nextValidatorsHash) : undefined; obj.proposer_address = message.proposerAddress ? base64FromBytes(message.proposerAddress) : undefined; return obj; @@ -3253,7 +3003,7 @@ function createBaseRequestProcessProposal(): RequestProcessProposal { misbehavior: [], hash: new Uint8Array(), height: BigInt(0), - time: Timestamp.fromPartial({}), + time: new Date(), nextValidatorsHash: new Uint8Array(), proposerAddress: new Uint8Array() }; @@ -3277,7 +3027,7 @@ export const RequestProcessProposal = { writer.uint32(40).int64(message.height); } if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.time), writer.uint32(50).fork()).ldelim(); } if (message.nextValidatorsHash.length !== 0) { writer.uint32(58).bytes(message.nextValidatorsHash); @@ -3310,7 +3060,7 @@ export const RequestProcessProposal = { message.height = reader.int64(); break; case 6: - message.time = Timestamp.decode(reader, reader.uint32()); + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: message.nextValidatorsHash = reader.bytes(); @@ -3325,38 +3075,6 @@ export const RequestProcessProposal = { } return message; }, - fromJSON(object: any): RequestProcessProposal { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => bytesFromBase64(e)) : [], - proposedLastCommit: isSet(object.proposedLastCommit) ? CommitInfo.fromJSON(object.proposedLastCommit) : undefined, - misbehavior: Array.isArray(object?.misbehavior) ? object.misbehavior.map((e: any) => Misbehavior.fromJSON(e)) : [], - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(), - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array(), - proposerAddress: isSet(object.proposerAddress) ? bytesFromBase64(object.proposerAddress) : new Uint8Array() - }; - }, - toJSON(message: RequestProcessProposal): unknown { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.txs = []; - } - message.proposedLastCommit !== undefined && (obj.proposedLastCommit = message.proposedLastCommit ? CommitInfo.toJSON(message.proposedLastCommit) : undefined); - if (message.misbehavior) { - obj.misbehavior = message.misbehavior.map(e => e ? Misbehavior.toJSON(e) : undefined); - } else { - obj.misbehavior = []; - } - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); - message.proposerAddress !== undefined && (obj.proposerAddress = base64FromBytes(message.proposerAddress !== undefined ? message.proposerAddress : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): RequestProcessProposal { const message = createBaseRequestProcessProposal(); message.txs = object.txs?.map(e => e) || []; @@ -3364,7 +3082,7 @@ export const RequestProcessProposal = { message.misbehavior = object.misbehavior?.map(e => Misbehavior.fromPartial(e)) || []; message.hash = object.hash ?? new Uint8Array(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; + message.time = object.time ?? undefined; message.nextValidatorsHash = object.nextValidatorsHash ?? new Uint8Array(); message.proposerAddress = object.proposerAddress ?? new Uint8Array(); return message; @@ -3383,7 +3101,7 @@ export const RequestProcessProposal = { message.height = BigInt(object.height); } if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); + message.time = fromTimestamp(Timestamp.fromAmino(object.time)); } if (object.next_validators_hash !== undefined && object.next_validators_hash !== null) { message.nextValidatorsHash = bytesFromBase64(object.next_validators_hash); @@ -3408,7 +3126,7 @@ export const RequestProcessProposal = { } obj.hash = message.hash ? base64FromBytes(message.hash) : undefined; obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; + obj.time = message.time ? Timestamp.toAmino(toTimestamp(message.time)) : undefined; obj.next_validators_hash = message.nextValidatorsHash ? base64FromBytes(message.nextValidatorsHash) : undefined; obj.proposer_address = message.proposerAddress ? base64FromBytes(message.proposerAddress) : undefined; return obj; @@ -3571,48 +3289,6 @@ export const Response = { } return message; }, - fromJSON(object: any): Response { - return { - exception: isSet(object.exception) ? ResponseException.fromJSON(object.exception) : undefined, - echo: isSet(object.echo) ? ResponseEcho.fromJSON(object.echo) : undefined, - flush: isSet(object.flush) ? ResponseFlush.fromJSON(object.flush) : undefined, - info: isSet(object.info) ? ResponseInfo.fromJSON(object.info) : undefined, - initChain: isSet(object.initChain) ? ResponseInitChain.fromJSON(object.initChain) : undefined, - query: isSet(object.query) ? ResponseQuery.fromJSON(object.query) : undefined, - beginBlock: isSet(object.beginBlock) ? ResponseBeginBlock.fromJSON(object.beginBlock) : undefined, - checkTx: isSet(object.checkTx) ? ResponseCheckTx.fromJSON(object.checkTx) : undefined, - deliverTx: isSet(object.deliverTx) ? ResponseDeliverTx.fromJSON(object.deliverTx) : undefined, - endBlock: isSet(object.endBlock) ? ResponseEndBlock.fromJSON(object.endBlock) : undefined, - commit: isSet(object.commit) ? ResponseCommit.fromJSON(object.commit) : undefined, - listSnapshots: isSet(object.listSnapshots) ? ResponseListSnapshots.fromJSON(object.listSnapshots) : undefined, - offerSnapshot: isSet(object.offerSnapshot) ? ResponseOfferSnapshot.fromJSON(object.offerSnapshot) : undefined, - loadSnapshotChunk: isSet(object.loadSnapshotChunk) ? ResponseLoadSnapshotChunk.fromJSON(object.loadSnapshotChunk) : undefined, - applySnapshotChunk: isSet(object.applySnapshotChunk) ? ResponseApplySnapshotChunk.fromJSON(object.applySnapshotChunk) : undefined, - prepareProposal: isSet(object.prepareProposal) ? ResponsePrepareProposal.fromJSON(object.prepareProposal) : undefined, - processProposal: isSet(object.processProposal) ? ResponseProcessProposal.fromJSON(object.processProposal) : undefined - }; - }, - toJSON(message: Response): unknown { - const obj: any = {}; - message.exception !== undefined && (obj.exception = message.exception ? ResponseException.toJSON(message.exception) : undefined); - message.echo !== undefined && (obj.echo = message.echo ? ResponseEcho.toJSON(message.echo) : undefined); - message.flush !== undefined && (obj.flush = message.flush ? ResponseFlush.toJSON(message.flush) : undefined); - message.info !== undefined && (obj.info = message.info ? ResponseInfo.toJSON(message.info) : undefined); - message.initChain !== undefined && (obj.initChain = message.initChain ? ResponseInitChain.toJSON(message.initChain) : undefined); - message.query !== undefined && (obj.query = message.query ? ResponseQuery.toJSON(message.query) : undefined); - message.beginBlock !== undefined && (obj.beginBlock = message.beginBlock ? ResponseBeginBlock.toJSON(message.beginBlock) : undefined); - message.checkTx !== undefined && (obj.checkTx = message.checkTx ? ResponseCheckTx.toJSON(message.checkTx) : undefined); - message.deliverTx !== undefined && (obj.deliverTx = message.deliverTx ? ResponseDeliverTx.toJSON(message.deliverTx) : undefined); - message.endBlock !== undefined && (obj.endBlock = message.endBlock ? ResponseEndBlock.toJSON(message.endBlock) : undefined); - message.commit !== undefined && (obj.commit = message.commit ? ResponseCommit.toJSON(message.commit) : undefined); - message.listSnapshots !== undefined && (obj.listSnapshots = message.listSnapshots ? ResponseListSnapshots.toJSON(message.listSnapshots) : undefined); - message.offerSnapshot !== undefined && (obj.offerSnapshot = message.offerSnapshot ? ResponseOfferSnapshot.toJSON(message.offerSnapshot) : undefined); - message.loadSnapshotChunk !== undefined && (obj.loadSnapshotChunk = message.loadSnapshotChunk ? ResponseLoadSnapshotChunk.toJSON(message.loadSnapshotChunk) : undefined); - message.applySnapshotChunk !== undefined && (obj.applySnapshotChunk = message.applySnapshotChunk ? ResponseApplySnapshotChunk.toJSON(message.applySnapshotChunk) : undefined); - message.prepareProposal !== undefined && (obj.prepareProposal = message.prepareProposal ? ResponsePrepareProposal.toJSON(message.prepareProposal) : undefined); - message.processProposal !== undefined && (obj.processProposal = message.processProposal ? ResponseProcessProposal.toJSON(message.processProposal) : undefined); - return obj; - }, fromPartial(object: Partial): Response { const message = createBaseResponse(); message.exception = object.exception !== undefined && object.exception !== null ? ResponseException.fromPartial(object.exception) : undefined; @@ -3756,16 +3432,6 @@ export const ResponseException = { } return message; }, - fromJSON(object: any): ResponseException { - return { - error: isSet(object.error) ? String(object.error) : "" - }; - }, - toJSON(message: ResponseException): unknown { - const obj: any = {}; - message.error !== undefined && (obj.error = message.error); - return obj; - }, fromPartial(object: Partial): ResponseException { const message = createBaseResponseException(); message.error = object.error ?? ""; @@ -3829,16 +3495,6 @@ export const ResponseEcho = { } return message; }, - fromJSON(object: any): ResponseEcho { - return { - message: isSet(object.message) ? String(object.message) : "" - }; - }, - toJSON(message: ResponseEcho): unknown { - const obj: any = {}; - message.message !== undefined && (obj.message = message.message); - return obj; - }, fromPartial(object: Partial): ResponseEcho { const message = createBaseResponseEcho(); message.message = object.message ?? ""; @@ -3894,13 +3550,6 @@ export const ResponseFlush = { } return message; }, - fromJSON(_: any): ResponseFlush { - return {}; - }, - toJSON(_: ResponseFlush): unknown { - const obj: any = {}; - return obj; - }, fromPartial(_: Partial): ResponseFlush { const message = createBaseResponseFlush(); return message; @@ -3987,24 +3636,6 @@ export const ResponseInfo = { } return message; }, - fromJSON(object: any): ResponseInfo { - return { - data: isSet(object.data) ? String(object.data) : "", - version: isSet(object.version) ? String(object.version) : "", - appVersion: isSet(object.appVersion) ? BigInt(object.appVersion.toString()) : BigInt(0), - lastBlockHeight: isSet(object.lastBlockHeight) ? BigInt(object.lastBlockHeight.toString()) : BigInt(0), - lastBlockAppHash: isSet(object.lastBlockAppHash) ? bytesFromBase64(object.lastBlockAppHash) : new Uint8Array() - }; - }, - toJSON(message: ResponseInfo): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = message.data); - message.version !== undefined && (obj.version = message.version); - message.appVersion !== undefined && (obj.appVersion = (message.appVersion || BigInt(0)).toString()); - message.lastBlockHeight !== undefined && (obj.lastBlockHeight = (message.lastBlockHeight || BigInt(0)).toString()); - message.lastBlockAppHash !== undefined && (obj.lastBlockAppHash = base64FromBytes(message.lastBlockAppHash !== undefined ? message.lastBlockAppHash : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): ResponseInfo { const message = createBaseResponseInfo(); message.data = object.data ?? ""; @@ -4102,24 +3733,6 @@ export const ResponseInitChain = { } return message; }, - fromJSON(object: any): ResponseInitChain { - return { - consensusParams: isSet(object.consensusParams) ? ConsensusParams.fromJSON(object.consensusParams) : undefined, - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => ValidatorUpdate.fromJSON(e)) : [], - appHash: isSet(object.appHash) ? bytesFromBase64(object.appHash) : new Uint8Array() - }; - }, - toJSON(message: ResponseInitChain): unknown { - const obj: any = {}; - message.consensusParams !== undefined && (obj.consensusParams = message.consensusParams ? ConsensusParams.toJSON(message.consensusParams) : undefined); - if (message.validators) { - obj.validators = message.validators.map(e => e ? ValidatorUpdate.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.appHash !== undefined && (obj.appHash = base64FromBytes(message.appHash !== undefined ? message.appHash : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): ResponseInitChain { const message = createBaseResponseInitChain(); message.consensusParams = object.consensusParams !== undefined && object.consensusParams !== null ? ConsensusParams.fromPartial(object.consensusParams) : undefined; @@ -4251,32 +3864,6 @@ export const ResponseQuery = { } return message; }, - fromJSON(object: any): ResponseQuery { - return { - code: isSet(object.code) ? Number(object.code) : 0, - log: isSet(object.log) ? String(object.log) : "", - info: isSet(object.info) ? String(object.info) : "", - index: isSet(object.index) ? BigInt(object.index.toString()) : BigInt(0), - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(), - proofOps: isSet(object.proofOps) ? ProofOps.fromJSON(object.proofOps) : undefined, - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - codespace: isSet(object.codespace) ? String(object.codespace) : "" - }; - }, - toJSON(message: ResponseQuery): unknown { - const obj: any = {}; - message.code !== undefined && (obj.code = Math.round(message.code)); - message.log !== undefined && (obj.log = message.log); - message.info !== undefined && (obj.info = message.info); - message.index !== undefined && (obj.index = (message.index || BigInt(0)).toString()); - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - message.proofOps !== undefined && (obj.proofOps = message.proofOps ? ProofOps.toJSON(message.proofOps) : undefined); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.codespace !== undefined && (obj.codespace = message.codespace); - return obj; - }, fromPartial(object: Partial): ResponseQuery { const message = createBaseResponseQuery(); message.code = object.code ?? 0; @@ -4380,20 +3967,6 @@ export const ResponseBeginBlock = { } return message; }, - fromJSON(object: any): ResponseBeginBlock { - return { - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [] - }; - }, - toJSON(message: ResponseBeginBlock): unknown { - const obj: any = {}; - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, fromPartial(object: Partial): ResponseBeginBlock { const message = createBaseResponseBeginBlock(); message.events = object.events?.map(e => Event.fromPartial(e)) || []; @@ -4529,40 +4102,6 @@ export const ResponseCheckTx = { } return message; }, - fromJSON(object: any): ResponseCheckTx { - return { - code: isSet(object.code) ? Number(object.code) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - log: isSet(object.log) ? String(object.log) : "", - info: isSet(object.info) ? String(object.info) : "", - gasWanted: isSet(object.gas_wanted) ? BigInt(object.gas_wanted.toString()) : BigInt(0), - gasUsed: isSet(object.gas_used) ? BigInt(object.gas_used.toString()) : BigInt(0), - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [], - codespace: isSet(object.codespace) ? String(object.codespace) : "", - sender: isSet(object.sender) ? String(object.sender) : "", - priority: isSet(object.priority) ? BigInt(object.priority.toString()) : BigInt(0), - mempoolError: isSet(object.mempoolError) ? String(object.mempoolError) : "" - }; - }, - toJSON(message: ResponseCheckTx): unknown { - const obj: any = {}; - message.code !== undefined && (obj.code = Math.round(message.code)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.log !== undefined && (obj.log = message.log); - message.info !== undefined && (obj.info = message.info); - message.gasWanted !== undefined && (obj.gas_wanted = (message.gasWanted || BigInt(0)).toString()); - message.gasUsed !== undefined && (obj.gas_used = (message.gasUsed || BigInt(0)).toString()); - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - message.codespace !== undefined && (obj.codespace = message.codespace); - message.sender !== undefined && (obj.sender = message.sender); - message.priority !== undefined && (obj.priority = (message.priority || BigInt(0)).toString()); - message.mempoolError !== undefined && (obj.mempoolError = message.mempoolError); - return obj; - }, fromPartial(object: Partial): ResponseCheckTx { const message = createBaseResponseCheckTx(); message.code = object.code ?? 0; @@ -4727,34 +4266,6 @@ export const ResponseDeliverTx = { } return message; }, - fromJSON(object: any): ResponseDeliverTx { - return { - code: isSet(object.code) ? Number(object.code) : 0, - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - log: isSet(object.log) ? String(object.log) : "", - info: isSet(object.info) ? String(object.info) : "", - gasWanted: isSet(object.gas_wanted) ? BigInt(object.gas_wanted.toString()) : BigInt(0), - gasUsed: isSet(object.gas_used) ? BigInt(object.gas_used.toString()) : BigInt(0), - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [], - codespace: isSet(object.codespace) ? String(object.codespace) : "" - }; - }, - toJSON(message: ResponseDeliverTx): unknown { - const obj: any = {}; - message.code !== undefined && (obj.code = Math.round(message.code)); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.log !== undefined && (obj.log = message.log); - message.info !== undefined && (obj.info = message.info); - message.gasWanted !== undefined && (obj.gas_wanted = (message.gasWanted || BigInt(0)).toString()); - message.gasUsed !== undefined && (obj.gas_used = (message.gasUsed || BigInt(0)).toString()); - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - message.codespace !== undefined && (obj.codespace = message.codespace); - return obj; - }, fromPartial(object: Partial): ResponseDeliverTx { const message = createBaseResponseDeliverTx(); message.code = object.code ?? 0; @@ -4869,28 +4380,6 @@ export const ResponseEndBlock = { } return message; }, - fromJSON(object: any): ResponseEndBlock { - return { - validatorUpdates: Array.isArray(object?.validatorUpdates) ? object.validatorUpdates.map((e: any) => ValidatorUpdate.fromJSON(e)) : [], - consensusParamUpdates: isSet(object.consensusParamUpdates) ? ConsensusParams.fromJSON(object.consensusParamUpdates) : undefined, - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromJSON(e)) : [] - }; - }, - toJSON(message: ResponseEndBlock): unknown { - const obj: any = {}; - if (message.validatorUpdates) { - obj.validatorUpdates = message.validatorUpdates.map(e => e ? ValidatorUpdate.toJSON(e) : undefined); - } else { - obj.validatorUpdates = []; - } - message.consensusParamUpdates !== undefined && (obj.consensusParamUpdates = message.consensusParamUpdates ? ConsensusParams.toJSON(message.consensusParamUpdates) : undefined); - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, fromPartial(object: Partial): ResponseEndBlock { const message = createBaseResponseEndBlock(); message.validatorUpdates = object.validatorUpdates?.map(e => ValidatorUpdate.fromPartial(e)) || []; @@ -4975,18 +4464,6 @@ export const ResponseCommit = { } return message; }, - fromJSON(object: any): ResponseCommit { - return { - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - retainHeight: isSet(object.retainHeight) ? BigInt(object.retainHeight.toString()) : BigInt(0) - }; - }, - toJSON(message: ResponseCommit): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.retainHeight !== undefined && (obj.retainHeight = (message.retainHeight || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ResponseCommit { const message = createBaseResponseCommit(); message.data = object.data ?? new Uint8Array(); @@ -5055,20 +4532,6 @@ export const ResponseListSnapshots = { } return message; }, - fromJSON(object: any): ResponseListSnapshots { - return { - snapshots: Array.isArray(object?.snapshots) ? object.snapshots.map((e: any) => Snapshot.fromJSON(e)) : [] - }; - }, - toJSON(message: ResponseListSnapshots): unknown { - const obj: any = {}; - if (message.snapshots) { - obj.snapshots = message.snapshots.map(e => e ? Snapshot.toJSON(e) : undefined); - } else { - obj.snapshots = []; - } - return obj; - }, fromPartial(object: Partial): ResponseListSnapshots { const message = createBaseResponseListSnapshots(); message.snapshots = object.snapshots?.map(e => Snapshot.fromPartial(e)) || []; @@ -5134,16 +4597,6 @@ export const ResponseOfferSnapshot = { } return message; }, - fromJSON(object: any): ResponseOfferSnapshot { - return { - result: isSet(object.result) ? responseOfferSnapshot_ResultFromJSON(object.result) : -1 - }; - }, - toJSON(message: ResponseOfferSnapshot): unknown { - const obj: any = {}; - message.result !== undefined && (obj.result = responseOfferSnapshot_ResultToJSON(message.result)); - return obj; - }, fromPartial(object: Partial): ResponseOfferSnapshot { const message = createBaseResponseOfferSnapshot(); message.result = object.result ?? 0; @@ -5207,16 +4660,6 @@ export const ResponseLoadSnapshotChunk = { } return message; }, - fromJSON(object: any): ResponseLoadSnapshotChunk { - return { - chunk: isSet(object.chunk) ? bytesFromBase64(object.chunk) : new Uint8Array() - }; - }, - toJSON(message: ResponseLoadSnapshotChunk): unknown { - const obj: any = {}; - message.chunk !== undefined && (obj.chunk = base64FromBytes(message.chunk !== undefined ? message.chunk : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): ResponseLoadSnapshotChunk { const message = createBaseResponseLoadSnapshotChunk(); message.chunk = object.chunk ?? new Uint8Array(); @@ -5303,28 +4746,6 @@ export const ResponseApplySnapshotChunk = { } return message; }, - fromJSON(object: any): ResponseApplySnapshotChunk { - return { - result: isSet(object.result) ? responseApplySnapshotChunk_ResultFromJSON(object.result) : -1, - refetchChunks: Array.isArray(object?.refetchChunks) ? object.refetchChunks.map((e: any) => Number(e)) : [], - rejectSenders: Array.isArray(object?.rejectSenders) ? object.rejectSenders.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: ResponseApplySnapshotChunk): unknown { - const obj: any = {}; - message.result !== undefined && (obj.result = responseApplySnapshotChunk_ResultToJSON(message.result)); - if (message.refetchChunks) { - obj.refetchChunks = message.refetchChunks.map(e => Math.round(e)); - } else { - obj.refetchChunks = []; - } - if (message.rejectSenders) { - obj.rejectSenders = message.rejectSenders.map(e => e); - } else { - obj.rejectSenders = []; - } - return obj; - }, fromPartial(object: Partial): ResponseApplySnapshotChunk { const message = createBaseResponseApplySnapshotChunk(); message.result = object.result ?? 0; @@ -5402,20 +4823,6 @@ export const ResponsePrepareProposal = { } return message; }, - fromJSON(object: any): ResponsePrepareProposal { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: ResponsePrepareProposal): unknown { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.txs = []; - } - return obj; - }, fromPartial(object: Partial): ResponsePrepareProposal { const message = createBaseResponsePrepareProposal(); message.txs = object.txs?.map(e => e) || []; @@ -5481,16 +4888,6 @@ export const ResponseProcessProposal = { } return message; }, - fromJSON(object: any): ResponseProcessProposal { - return { - status: isSet(object.status) ? responseProcessProposal_ProposalStatusFromJSON(object.status) : -1 - }; - }, - toJSON(message: ResponseProcessProposal): unknown { - const obj: any = {}; - message.status !== undefined && (obj.status = responseProcessProposal_ProposalStatusToJSON(message.status)); - return obj; - }, fromPartial(object: Partial): ResponseProcessProposal { const message = createBaseResponseProcessProposal(); message.status = object.status ?? 0; @@ -5561,22 +4958,6 @@ export const CommitInfo = { } return message; }, - fromJSON(object: any): CommitInfo { - return { - round: isSet(object.round) ? Number(object.round) : 0, - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => VoteInfo.fromJSON(e)) : [] - }; - }, - toJSON(message: CommitInfo): unknown { - const obj: any = {}; - message.round !== undefined && (obj.round = Math.round(message.round)); - if (message.votes) { - obj.votes = message.votes.map(e => e ? VoteInfo.toJSON(e) : undefined); - } else { - obj.votes = []; - } - return obj; - }, fromPartial(object: Partial): CommitInfo { const message = createBaseCommitInfo(); message.round = object.round ?? 0; @@ -5654,22 +5035,6 @@ export const ExtendedCommitInfo = { } return message; }, - fromJSON(object: any): ExtendedCommitInfo { - return { - round: isSet(object.round) ? Number(object.round) : 0, - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => ExtendedVoteInfo.fromJSON(e)) : [] - }; - }, - toJSON(message: ExtendedCommitInfo): unknown { - const obj: any = {}; - message.round !== undefined && (obj.round = Math.round(message.round)); - if (message.votes) { - obj.votes = message.votes.map(e => e ? ExtendedVoteInfo.toJSON(e) : undefined); - } else { - obj.votes = []; - } - return obj; - }, fromPartial(object: Partial): ExtendedCommitInfo { const message = createBaseExtendedCommitInfo(); message.round = object.round ?? 0; @@ -5747,22 +5112,6 @@ export const Event = { } return message; }, - fromJSON(object: any): Event { - return { - type: isSet(object.type) ? String(object.type) : "", - attributes: Array.isArray(object?.attributes) ? object.attributes.map((e: any) => EventAttribute.fromJSON(e)) : [] - }; - }, - toJSON(message: Event): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - if (message.attributes) { - obj.attributes = message.attributes.map(e => e ? EventAttribute.toJSON(e) : undefined); - } else { - obj.attributes = []; - } - return obj; - }, fromPartial(object: Partial): Event { const message = createBaseEvent(); message.type = object.type ?? ""; @@ -5847,20 +5196,6 @@ export const EventAttribute = { } return message; }, - fromJSON(object: any): EventAttribute { - return { - key: isSet(object.key) ? String(object.key) : "", - value: isSet(object.value) ? String(object.value) : "", - index: isSet(object.index) ? Boolean(object.index) : false - }; - }, - toJSON(message: EventAttribute): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - message.index !== undefined && (obj.index = message.index); - return obj; - }, fromPartial(object: Partial): EventAttribute { const message = createBaseEventAttribute(); message.key = object.key ?? ""; @@ -5955,22 +5290,6 @@ export const TxResult = { } return message; }, - fromJSON(object: any): TxResult { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - index: isSet(object.index) ? Number(object.index) : 0, - tx: isSet(object.tx) ? bytesFromBase64(object.tx) : new Uint8Array(), - result: isSet(object.result) ? ResponseDeliverTx.fromJSON(object.result) : undefined - }; - }, - toJSON(message: TxResult): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.index !== undefined && (obj.index = Math.round(message.index)); - message.tx !== undefined && (obj.tx = base64FromBytes(message.tx !== undefined ? message.tx : new Uint8Array())); - message.result !== undefined && (obj.result = message.result ? ResponseDeliverTx.toJSON(message.result) : undefined); - return obj; - }, fromPartial(object: Partial): TxResult { const message = createBaseTxResult(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -6056,18 +5375,6 @@ export const Validator = { } return message; }, - fromJSON(object: any): Validator { - return { - address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(), - power: isSet(object.power) ? BigInt(object.power.toString()) : BigInt(0) - }; - }, - toJSON(message: Validator): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = base64FromBytes(message.address !== undefined ? message.address : new Uint8Array())); - message.power !== undefined && (obj.power = (message.power || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? new Uint8Array(); @@ -6143,18 +5450,6 @@ export const ValidatorUpdate = { } return message; }, - fromJSON(object: any): ValidatorUpdate { - return { - pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, - power: isSet(object.power) ? BigInt(object.power.toString()) : BigInt(0) - }; - }, - toJSON(message: ValidatorUpdate): unknown { - const obj: any = {}; - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? PublicKey.toJSON(message.pubKey) : undefined); - message.power !== undefined && (obj.power = (message.power || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ValidatorUpdate { const message = createBaseValidatorUpdate(); message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; @@ -6230,18 +5525,6 @@ export const VoteInfo = { } return message; }, - fromJSON(object: any): VoteInfo { - return { - validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined, - signedLastBlock: isSet(object.signedLastBlock) ? Boolean(object.signedLastBlock) : false - }; - }, - toJSON(message: VoteInfo): unknown { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - message.signedLastBlock !== undefined && (obj.signedLastBlock = message.signedLastBlock); - return obj; - }, fromPartial(object: Partial): VoteInfo { const message = createBaseVoteInfo(); message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; @@ -6324,20 +5607,6 @@ export const ExtendedVoteInfo = { } return message; }, - fromJSON(object: any): ExtendedVoteInfo { - return { - validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined, - signedLastBlock: isSet(object.signedLastBlock) ? Boolean(object.signedLastBlock) : false, - voteExtension: isSet(object.voteExtension) ? bytesFromBase64(object.voteExtension) : new Uint8Array() - }; - }, - toJSON(message: ExtendedVoteInfo): unknown { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - message.signedLastBlock !== undefined && (obj.signedLastBlock = message.signedLastBlock); - message.voteExtension !== undefined && (obj.voteExtension = base64FromBytes(message.voteExtension !== undefined ? message.voteExtension : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): ExtendedVoteInfo { const message = createBaseExtendedVoteInfo(); message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; @@ -6386,7 +5655,7 @@ function createBaseMisbehavior(): Misbehavior { type: 0, validator: Validator.fromPartial({}), height: BigInt(0), - time: Timestamp.fromPartial({}), + time: new Date(), totalVotingPower: BigInt(0) }; } @@ -6403,7 +5672,7 @@ export const Misbehavior = { writer.uint32(24).int64(message.height); } if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim(); } if (message.totalVotingPower !== BigInt(0)) { writer.uint32(40).int64(message.totalVotingPower); @@ -6427,7 +5696,7 @@ export const Misbehavior = { message.height = reader.int64(); break; case 4: - message.time = Timestamp.decode(reader, reader.uint32()); + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 5: message.totalVotingPower = reader.int64(); @@ -6439,30 +5708,12 @@ export const Misbehavior = { } return message; }, - fromJSON(object: any): Misbehavior { - return { - type: isSet(object.type) ? misbehaviorTypeFromJSON(object.type) : -1, - validator: isSet(object.validator) ? Validator.fromJSON(object.validator) : undefined, - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - totalVotingPower: isSet(object.totalVotingPower) ? BigInt(object.totalVotingPower.toString()) : BigInt(0) - }; - }, - toJSON(message: Misbehavior): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = misbehaviorTypeToJSON(message.type)); - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): Misbehavior { const message = createBaseMisbehavior(); message.type = object.type ?? 0; message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined; message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; + message.time = object.time ?? undefined; message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? BigInt(object.totalVotingPower.toString()) : BigInt(0); return message; }, @@ -6478,7 +5729,7 @@ export const Misbehavior = { message.height = BigInt(object.height); } if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); + message.time = fromTimestamp(Timestamp.fromAmino(object.time)); } if (object.total_voting_power !== undefined && object.total_voting_power !== null) { message.totalVotingPower = BigInt(object.total_voting_power); @@ -6490,7 +5741,7 @@ export const Misbehavior = { obj.type = message.type === 0 ? undefined : message.type; obj.validator = message.validator ? Validator.toAmino(message.validator) : undefined; obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; + obj.time = message.time ? Timestamp.toAmino(toTimestamp(message.time)) : undefined; obj.total_voting_power = message.totalVotingPower !== BigInt(0) ? message.totalVotingPower.toString() : undefined; return obj; }, @@ -6568,24 +5819,6 @@ export const Snapshot = { } return message; }, - fromJSON(object: any): Snapshot { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - format: isSet(object.format) ? Number(object.format) : 0, - chunks: isSet(object.chunks) ? Number(object.chunks) : 0, - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(), - metadata: isSet(object.metadata) ? bytesFromBase64(object.metadata) : new Uint8Array() - }; - }, - toJSON(message: Snapshot): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.format !== undefined && (obj.format = Math.round(message.format)); - message.chunks !== undefined && (obj.chunks = Math.round(message.chunks)); - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.metadata !== undefined && (obj.metadata = base64FromBytes(message.metadata !== undefined ? message.metadata : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): Snapshot { const message = createBaseSnapshot(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); diff --git a/packages/api/src/tendermint/bundle.ts b/packages/api/src/tendermint/bundle.ts new file mode 100644 index 00000000..c64ea980 --- /dev/null +++ b/packages/api/src/tendermint/bundle.ts @@ -0,0 +1,39 @@ +//@ts-nocheck +import * as _104 from "./abci/types"; +import * as _105 from "./crypto/keys"; +import * as _106 from "./crypto/proof"; +import * as _107 from "./libs/bits/types"; +import * as _108 from "./p2p/types"; +import * as _109 from "./types/block"; +import * as _110 from "./types/evidence"; +import * as _111 from "./types/params"; +import * as _112 from "./types/types"; +import * as _113 from "./types/validator"; +import * as _114 from "./version/types"; +export namespace tendermint { + export const abci = { + ..._104 + }; + export const crypto = { + ..._105, + ..._106 + }; + export namespace libs { + export const bits = { + ..._107 + }; + } + export const p2p = { + ..._108 + }; + export const types = { + ..._109, + ..._110, + ..._111, + ..._112, + ..._113 + }; + export const version = { + ..._114 + }; +} \ No newline at end of file diff --git a/packages/api/src/codegen/tendermint/crypto/keys.ts b/packages/api/src/tendermint/crypto/keys.ts similarity index 82% rename from packages/api/src/codegen/tendermint/crypto/keys.ts rename to packages/api/src/tendermint/crypto/keys.ts index ee91c178..df46a060 100644 --- a/packages/api/src/codegen/tendermint/crypto/keys.ts +++ b/packages/api/src/tendermint/crypto/keys.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../helpers"; /** PublicKey defines the keys available for use with Validators */ export interface PublicKey { ed25519?: Uint8Array; @@ -60,18 +61,6 @@ export const PublicKey = { } return message; }, - fromJSON(object: any): PublicKey { - return { - ed25519: isSet(object.ed25519) ? bytesFromBase64(object.ed25519) : undefined, - secp256k1: isSet(object.secp256k1) ? bytesFromBase64(object.secp256k1) : undefined - }; - }, - toJSON(message: PublicKey): unknown { - const obj: any = {}; - message.ed25519 !== undefined && (obj.ed25519 = message.ed25519 !== undefined ? base64FromBytes(message.ed25519) : undefined); - message.secp256k1 !== undefined && (obj.secp256k1 = message.secp256k1 !== undefined ? base64FromBytes(message.secp256k1) : undefined); - return obj; - }, fromPartial(object: Partial): PublicKey { const message = createBasePublicKey(); message.ed25519 = object.ed25519 ?? undefined; diff --git a/packages/api/src/codegen/tendermint/crypto/proof.ts b/packages/api/src/tendermint/crypto/proof.ts similarity index 83% rename from packages/api/src/codegen/tendermint/crypto/proof.ts rename to packages/api/src/tendermint/crypto/proof.ts index 06602d95..c619c83c 100644 --- a/packages/api/src/codegen/tendermint/crypto/proof.ts +++ b/packages/api/src/tendermint/crypto/proof.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../helpers"; export interface Proof { total: bigint; index: bigint; @@ -182,26 +183,6 @@ export const Proof = { } return message; }, - fromJSON(object: any): Proof { - return { - total: isSet(object.total) ? BigInt(object.total.toString()) : BigInt(0), - index: isSet(object.index) ? BigInt(object.index.toString()) : BigInt(0), - leafHash: isSet(object.leafHash) ? bytesFromBase64(object.leafHash) : new Uint8Array(), - aunts: Array.isArray(object?.aunts) ? object.aunts.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: Proof): unknown { - const obj: any = {}; - message.total !== undefined && (obj.total = (message.total || BigInt(0)).toString()); - message.index !== undefined && (obj.index = (message.index || BigInt(0)).toString()); - message.leafHash !== undefined && (obj.leafHash = base64FromBytes(message.leafHash !== undefined ? message.leafHash : new Uint8Array())); - if (message.aunts) { - obj.aunts = message.aunts.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.aunts = []; - } - return obj; - }, fromPartial(object: Partial): Proof { const message = createBaseProof(); message.total = object.total !== undefined && object.total !== null ? BigInt(object.total.toString()) : BigInt(0); @@ -289,18 +270,6 @@ export const ValueOp = { } return message; }, - fromJSON(object: any): ValueOp { - return { - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - proof: isSet(object.proof) ? Proof.fromJSON(object.proof) : undefined - }; - }, - toJSON(message: ValueOp): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.proof !== undefined && (obj.proof = message.proof ? Proof.toJSON(message.proof) : undefined); - return obj; - }, fromPartial(object: Partial): ValueOp { const message = createBaseValueOp(); message.key = object.key ?? new Uint8Array(); @@ -383,20 +352,6 @@ export const DominoOp = { } return message; }, - fromJSON(object: any): DominoOp { - return { - key: isSet(object.key) ? String(object.key) : "", - input: isSet(object.input) ? String(object.input) : "", - output: isSet(object.output) ? String(object.output) : "" - }; - }, - toJSON(message: DominoOp): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.input !== undefined && (obj.input = message.input); - message.output !== undefined && (obj.output = message.output); - return obj; - }, fromPartial(object: Partial): DominoOp { const message = createBaseDominoOp(); message.key = object.key ?? ""; @@ -484,20 +439,6 @@ export const ProofOp = { } return message; }, - fromJSON(object: any): ProofOp { - return { - type: isSet(object.type) ? String(object.type) : "", - key: isSet(object.key) ? bytesFromBase64(object.key) : new Uint8Array(), - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array() - }; - }, - toJSON(message: ProofOp): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): ProofOp { const message = createBaseProofOp(); message.type = object.type ?? ""; @@ -571,20 +512,6 @@ export const ProofOps = { } return message; }, - fromJSON(object: any): ProofOps { - return { - ops: Array.isArray(object?.ops) ? object.ops.map((e: any) => ProofOp.fromJSON(e)) : [] - }; - }, - toJSON(message: ProofOps): unknown { - const obj: any = {}; - if (message.ops) { - obj.ops = message.ops.map(e => e ? ProofOp.toJSON(e) : undefined); - } else { - obj.ops = []; - } - return obj; - }, fromPartial(object: Partial): ProofOps { const message = createBaseProofOps(); message.ops = object.ops?.map(e => ProofOp.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/tendermint/libs/bits/types.ts b/packages/api/src/tendermint/libs/bits/types.ts similarity index 84% rename from packages/api/src/codegen/tendermint/libs/bits/types.ts rename to packages/api/src/tendermint/libs/bits/types.ts index 23de8970..0ced0802 100644 --- a/packages/api/src/codegen/tendermint/libs/bits/types.ts +++ b/packages/api/src/tendermint/libs/bits/types.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../../binary"; -import { isSet } from "../../../helpers"; export interface BitArray { bits: bigint; elems: bigint[]; @@ -66,22 +66,6 @@ export const BitArray = { } return message; }, - fromJSON(object: any): BitArray { - return { - bits: isSet(object.bits) ? BigInt(object.bits.toString()) : BigInt(0), - elems: Array.isArray(object?.elems) ? object.elems.map((e: any) => BigInt(e.toString())) : [] - }; - }, - toJSON(message: BitArray): unknown { - const obj: any = {}; - message.bits !== undefined && (obj.bits = (message.bits || BigInt(0)).toString()); - if (message.elems) { - obj.elems = message.elems.map(e => (e || BigInt(0)).toString()); - } else { - obj.elems = []; - } - return obj; - }, fromPartial(object: Partial): BitArray { const message = createBaseBitArray(); message.bits = object.bits !== undefined && object.bits !== null ? BigInt(object.bits.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/tendermint/p2p/types.ts b/packages/api/src/tendermint/p2p/types.ts similarity index 83% rename from packages/api/src/codegen/tendermint/p2p/types.ts rename to packages/api/src/tendermint/p2p/types.ts index 7f5abb49..6c22649b 100644 --- a/packages/api/src/codegen/tendermint/p2p/types.ts +++ b/packages/api/src/tendermint/p2p/types.ts @@ -1,5 +1,6 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../helpers"; export interface NetAddress { id: string; ip: string; @@ -148,20 +149,6 @@ export const NetAddress = { } return message; }, - fromJSON(object: any): NetAddress { - return { - id: isSet(object.id) ? String(object.id) : "", - ip: isSet(object.ip) ? String(object.ip) : "", - port: isSet(object.port) ? Number(object.port) : 0 - }; - }, - toJSON(message: NetAddress): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.ip !== undefined && (obj.ip = message.ip); - message.port !== undefined && (obj.port = Math.round(message.port)); - return obj; - }, fromPartial(object: Partial): NetAddress { const message = createBaseNetAddress(); message.id = object.id ?? ""; @@ -249,20 +236,6 @@ export const ProtocolVersion = { } return message; }, - fromJSON(object: any): ProtocolVersion { - return { - p2p: isSet(object.p2p) ? BigInt(object.p2p.toString()) : BigInt(0), - block: isSet(object.block) ? BigInt(object.block.toString()) : BigInt(0), - app: isSet(object.app) ? BigInt(object.app.toString()) : BigInt(0) - }; - }, - toJSON(message: ProtocolVersion): unknown { - const obj: any = {}; - message.p2p !== undefined && (obj.p2p = (message.p2p || BigInt(0)).toString()); - message.block !== undefined && (obj.block = (message.block || BigInt(0)).toString()); - message.app !== undefined && (obj.app = (message.app || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ProtocolVersion { const message = createBaseProtocolVersion(); message.p2p = object.p2p !== undefined && object.p2p !== null ? BigInt(object.p2p.toString()) : BigInt(0); @@ -385,30 +358,6 @@ export const DefaultNodeInfo = { } return message; }, - fromJSON(object: any): DefaultNodeInfo { - return { - protocolVersion: isSet(object.protocolVersion) ? ProtocolVersion.fromJSON(object.protocolVersion) : undefined, - defaultNodeId: isSet(object.defaultNodeId) ? String(object.defaultNodeId) : "", - listenAddr: isSet(object.listenAddr) ? String(object.listenAddr) : "", - network: isSet(object.network) ? String(object.network) : "", - version: isSet(object.version) ? String(object.version) : "", - channels: isSet(object.channels) ? bytesFromBase64(object.channels) : new Uint8Array(), - moniker: isSet(object.moniker) ? String(object.moniker) : "", - other: isSet(object.other) ? DefaultNodeInfoOther.fromJSON(object.other) : undefined - }; - }, - toJSON(message: DefaultNodeInfo): unknown { - const obj: any = {}; - message.protocolVersion !== undefined && (obj.protocolVersion = message.protocolVersion ? ProtocolVersion.toJSON(message.protocolVersion) : undefined); - message.defaultNodeId !== undefined && (obj.defaultNodeId = message.defaultNodeId); - message.listenAddr !== undefined && (obj.listenAddr = message.listenAddr); - message.network !== undefined && (obj.network = message.network); - message.version !== undefined && (obj.version = message.version); - message.channels !== undefined && (obj.channels = base64FromBytes(message.channels !== undefined ? message.channels : new Uint8Array())); - message.moniker !== undefined && (obj.moniker = message.moniker); - message.other !== undefined && (obj.other = message.other ? DefaultNodeInfoOther.toJSON(message.other) : undefined); - return obj; - }, fromPartial(object: Partial): DefaultNodeInfo { const message = createBaseDefaultNodeInfo(); message.protocolVersion = object.protocolVersion !== undefined && object.protocolVersion !== null ? ProtocolVersion.fromPartial(object.protocolVersion) : undefined; @@ -514,18 +463,6 @@ export const DefaultNodeInfoOther = { } return message; }, - fromJSON(object: any): DefaultNodeInfoOther { - return { - txIndex: isSet(object.txIndex) ? String(object.txIndex) : "", - rpcAddress: isSet(object.rpcAddress) ? String(object.rpcAddress) : "" - }; - }, - toJSON(message: DefaultNodeInfoOther): unknown { - const obj: any = {}; - message.txIndex !== undefined && (obj.txIndex = message.txIndex); - message.rpcAddress !== undefined && (obj.rpcAddress = message.rpcAddress); - return obj; - }, fromPartial(object: Partial): DefaultNodeInfoOther { const message = createBaseDefaultNodeInfoOther(); message.txIndex = object.txIndex ?? ""; diff --git a/packages/api/src/codegen/tendermint/types/block.ts b/packages/api/src/tendermint/types/block.ts similarity index 82% rename from packages/api/src/codegen/tendermint/types/block.ts rename to packages/api/src/tendermint/types/block.ts index 1b69647e..f7082757 100644 --- a/packages/api/src/codegen/tendermint/types/block.ts +++ b/packages/api/src/tendermint/types/block.ts @@ -1,7 +1,7 @@ +//@ts-nocheck import { Header, HeaderAmino, HeaderSDKType, Data, DataAmino, DataSDKType, Commit, CommitAmino, CommitSDKType } from "./types"; import { EvidenceList, EvidenceListAmino, EvidenceListSDKType } from "./evidence"; import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet } from "../../helpers"; export interface Block { header: Header; data: Data; @@ -79,22 +79,6 @@ export const Block = { } return message; }, - fromJSON(object: any): Block { - return { - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - data: isSet(object.data) ? Data.fromJSON(object.data) : undefined, - evidence: isSet(object.evidence) ? EvidenceList.fromJSON(object.evidence) : undefined, - lastCommit: isSet(object.lastCommit) ? Commit.fromJSON(object.lastCommit) : undefined - }; - }, - toJSON(message: Block): unknown { - const obj: any = {}; - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - message.data !== undefined && (obj.data = message.data ? Data.toJSON(message.data) : undefined); - message.evidence !== undefined && (obj.evidence = message.evidence ? EvidenceList.toJSON(message.evidence) : undefined); - message.lastCommit !== undefined && (obj.lastCommit = message.lastCommit ? Commit.toJSON(message.lastCommit) : undefined); - return obj; - }, fromPartial(object: Partial): Block { const message = createBaseBlock(); message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; diff --git a/packages/api/src/codegen/tendermint/types/evidence.ts b/packages/api/src/tendermint/types/evidence.ts similarity index 78% rename from packages/api/src/codegen/tendermint/types/evidence.ts rename to packages/api/src/tendermint/types/evidence.ts index d026ae91..a0057e31 100644 --- a/packages/api/src/codegen/tendermint/types/evidence.ts +++ b/packages/api/src/tendermint/types/evidence.ts @@ -1,8 +1,9 @@ +//@ts-nocheck import { Vote, VoteAmino, VoteSDKType, LightBlock, LightBlockAmino, LightBlockSDKType } from "./types"; -import { Timestamp, TimestampSDKType } from "../../google/protobuf/timestamp"; +import { Timestamp } from "../../google/protobuf/timestamp"; import { Validator, ValidatorAmino, ValidatorSDKType } from "./validator"; import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, fromJsonTimestamp, fromTimestamp } from "../../helpers"; +import { toTimestamp, fromTimestamp } from "../../helpers"; export interface Evidence { duplicateVoteEvidence?: DuplicateVoteEvidence; lightClientAttackEvidence?: LightClientAttackEvidence; @@ -29,7 +30,7 @@ export interface DuplicateVoteEvidence { voteB?: Vote; totalVotingPower: bigint; validatorPower: bigint; - timestamp: Timestamp; + timestamp: Date; } export interface DuplicateVoteEvidenceProtoMsg { typeUrl: "/tendermint.types.DuplicateVoteEvidence"; @@ -53,7 +54,7 @@ export interface DuplicateVoteEvidenceSDKType { vote_b?: VoteSDKType; total_voting_power: bigint; validator_power: bigint; - timestamp: TimestampSDKType; + timestamp: Date; } /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ export interface LightClientAttackEvidence { @@ -61,7 +62,7 @@ export interface LightClientAttackEvidence { commonHeight: bigint; byzantineValidators: Validator[]; totalVotingPower: bigint; - timestamp: Timestamp; + timestamp: Date; } export interface LightClientAttackEvidenceProtoMsg { typeUrl: "/tendermint.types.LightClientAttackEvidence"; @@ -85,7 +86,7 @@ export interface LightClientAttackEvidenceSDKType { common_height: bigint; byzantine_validators: ValidatorSDKType[]; total_voting_power: bigint; - timestamp: TimestampSDKType; + timestamp: Date; } export interface EvidenceList { evidence: Evidence[]; @@ -141,18 +142,6 @@ export const Evidence = { } return message; }, - fromJSON(object: any): Evidence { - return { - duplicateVoteEvidence: isSet(object.duplicateVoteEvidence) ? DuplicateVoteEvidence.fromJSON(object.duplicateVoteEvidence) : undefined, - lightClientAttackEvidence: isSet(object.lightClientAttackEvidence) ? LightClientAttackEvidence.fromJSON(object.lightClientAttackEvidence) : undefined - }; - }, - toJSON(message: Evidence): unknown { - const obj: any = {}; - message.duplicateVoteEvidence !== undefined && (obj.duplicateVoteEvidence = message.duplicateVoteEvidence ? DuplicateVoteEvidence.toJSON(message.duplicateVoteEvidence) : undefined); - message.lightClientAttackEvidence !== undefined && (obj.lightClientAttackEvidence = message.lightClientAttackEvidence ? LightClientAttackEvidence.toJSON(message.lightClientAttackEvidence) : undefined); - return obj; - }, fromPartial(object: Partial): Evidence { const message = createBaseEvidence(); message.duplicateVoteEvidence = object.duplicateVoteEvidence !== undefined && object.duplicateVoteEvidence !== null ? DuplicateVoteEvidence.fromPartial(object.duplicateVoteEvidence) : undefined; @@ -197,7 +186,7 @@ function createBaseDuplicateVoteEvidence(): DuplicateVoteEvidence { voteB: undefined, totalVotingPower: BigInt(0), validatorPower: BigInt(0), - timestamp: Timestamp.fromPartial({}) + timestamp: new Date() }; } export const DuplicateVoteEvidence = { @@ -216,7 +205,7 @@ export const DuplicateVoteEvidence = { writer.uint32(32).int64(message.validatorPower); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -240,7 +229,7 @@ export const DuplicateVoteEvidence = { message.validatorPower = reader.int64(); break; case 5: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -249,31 +238,13 @@ export const DuplicateVoteEvidence = { } return message; }, - fromJSON(object: any): DuplicateVoteEvidence { - return { - voteA: isSet(object.voteA) ? Vote.fromJSON(object.voteA) : undefined, - voteB: isSet(object.voteB) ? Vote.fromJSON(object.voteB) : undefined, - totalVotingPower: isSet(object.totalVotingPower) ? BigInt(object.totalVotingPower.toString()) : BigInt(0), - validatorPower: isSet(object.validatorPower) ? BigInt(object.validatorPower.toString()) : BigInt(0), - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: DuplicateVoteEvidence): unknown { - const obj: any = {}; - message.voteA !== undefined && (obj.voteA = message.voteA ? Vote.toJSON(message.voteA) : undefined); - message.voteB !== undefined && (obj.voteB = message.voteB ? Vote.toJSON(message.voteB) : undefined); - message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || BigInt(0)).toString()); - message.validatorPower !== undefined && (obj.validatorPower = (message.validatorPower || BigInt(0)).toString()); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): DuplicateVoteEvidence { const message = createBaseDuplicateVoteEvidence(); message.voteA = object.voteA !== undefined && object.voteA !== null ? Vote.fromPartial(object.voteA) : undefined; message.voteB = object.voteB !== undefined && object.voteB !== null ? Vote.fromPartial(object.voteB) : undefined; message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? BigInt(object.totalVotingPower.toString()) : BigInt(0); message.validatorPower = object.validatorPower !== undefined && object.validatorPower !== null ? BigInt(object.validatorPower.toString()) : BigInt(0); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: DuplicateVoteEvidenceAmino): DuplicateVoteEvidence { @@ -291,7 +262,7 @@ export const DuplicateVoteEvidence = { message.validatorPower = BigInt(object.validator_power); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, @@ -301,7 +272,7 @@ export const DuplicateVoteEvidence = { obj.vote_b = message.voteB ? Vote.toAmino(message.voteB) : undefined; obj.total_voting_power = message.totalVotingPower !== BigInt(0) ? message.totalVotingPower.toString() : undefined; obj.validator_power = message.validatorPower !== BigInt(0) ? message.validatorPower.toString() : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: DuplicateVoteEvidenceAminoMsg): DuplicateVoteEvidence { @@ -326,7 +297,7 @@ function createBaseLightClientAttackEvidence(): LightClientAttackEvidence { commonHeight: BigInt(0), byzantineValidators: [], totalVotingPower: BigInt(0), - timestamp: Timestamp.fromPartial({}) + timestamp: new Date() }; } export const LightClientAttackEvidence = { @@ -345,7 +316,7 @@ export const LightClientAttackEvidence = { writer.uint32(32).int64(message.totalVotingPower); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); } return writer; }, @@ -369,7 +340,7 @@ export const LightClientAttackEvidence = { message.totalVotingPower = reader.int64(); break; case 5: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -378,35 +349,13 @@ export const LightClientAttackEvidence = { } return message; }, - fromJSON(object: any): LightClientAttackEvidence { - return { - conflictingBlock: isSet(object.conflictingBlock) ? LightBlock.fromJSON(object.conflictingBlock) : undefined, - commonHeight: isSet(object.commonHeight) ? BigInt(object.commonHeight.toString()) : BigInt(0), - byzantineValidators: Array.isArray(object?.byzantineValidators) ? object.byzantineValidators.map((e: any) => Validator.fromJSON(e)) : [], - totalVotingPower: isSet(object.totalVotingPower) ? BigInt(object.totalVotingPower.toString()) : BigInt(0), - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined - }; - }, - toJSON(message: LightClientAttackEvidence): unknown { - const obj: any = {}; - message.conflictingBlock !== undefined && (obj.conflictingBlock = message.conflictingBlock ? LightBlock.toJSON(message.conflictingBlock) : undefined); - message.commonHeight !== undefined && (obj.commonHeight = (message.commonHeight || BigInt(0)).toString()); - if (message.byzantineValidators) { - obj.byzantineValidators = message.byzantineValidators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.byzantineValidators = []; - } - message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || BigInt(0)).toString()); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - return obj; - }, fromPartial(object: Partial): LightClientAttackEvidence { const message = createBaseLightClientAttackEvidence(); message.conflictingBlock = object.conflictingBlock !== undefined && object.conflictingBlock !== null ? LightBlock.fromPartial(object.conflictingBlock) : undefined; message.commonHeight = object.commonHeight !== undefined && object.commonHeight !== null ? BigInt(object.commonHeight.toString()) : BigInt(0); message.byzantineValidators = object.byzantineValidators?.map(e => Validator.fromPartial(e)) || []; message.totalVotingPower = object.totalVotingPower !== undefined && object.totalVotingPower !== null ? BigInt(object.totalVotingPower.toString()) : BigInt(0); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; return message; }, fromAmino(object: LightClientAttackEvidenceAmino): LightClientAttackEvidence { @@ -422,7 +371,7 @@ export const LightClientAttackEvidence = { message.totalVotingPower = BigInt(object.total_voting_power); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } return message; }, @@ -436,7 +385,7 @@ export const LightClientAttackEvidence = { obj.byzantine_validators = message.byzantineValidators; } obj.total_voting_power = message.totalVotingPower !== BigInt(0) ? message.totalVotingPower.toString() : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; return obj; }, fromAminoMsg(object: LightClientAttackEvidenceAminoMsg): LightClientAttackEvidence { @@ -485,20 +434,6 @@ export const EvidenceList = { } return message; }, - fromJSON(object: any): EvidenceList { - return { - evidence: Array.isArray(object?.evidence) ? object.evidence.map((e: any) => Evidence.fromJSON(e)) : [] - }; - }, - toJSON(message: EvidenceList): unknown { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Evidence.toJSON(e) : undefined); - } else { - obj.evidence = []; - } - return obj; - }, fromPartial(object: Partial): EvidenceList { const message = createBaseEvidenceList(); message.evidence = object.evidence?.map(e => Evidence.fromPartial(e)) || []; diff --git a/packages/api/src/codegen/tendermint/types/params.ts b/packages/api/src/tendermint/types/params.ts similarity index 86% rename from packages/api/src/codegen/tendermint/types/params.ts rename to packages/api/src/tendermint/types/params.ts index 7bbaf54e..c58d7bd6 100644 --- a/packages/api/src/codegen/tendermint/types/params.ts +++ b/packages/api/src/tendermint/types/params.ts @@ -1,6 +1,6 @@ +//@ts-nocheck import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet } from "../../helpers"; /** * ConsensusParams contains consensus critical parameters that determine the * validity of blocks. @@ -275,22 +275,6 @@ export const ConsensusParams = { } return message; }, - fromJSON(object: any): ConsensusParams { - return { - block: isSet(object.block) ? BlockParams.fromJSON(object.block) : undefined, - evidence: isSet(object.evidence) ? EvidenceParams.fromJSON(object.evidence) : undefined, - validator: isSet(object.validator) ? ValidatorParams.fromJSON(object.validator) : undefined, - version: isSet(object.version) ? VersionParams.fromJSON(object.version) : undefined - }; - }, - toJSON(message: ConsensusParams): unknown { - const obj: any = {}; - message.block !== undefined && (obj.block = message.block ? BlockParams.toJSON(message.block) : undefined); - message.evidence !== undefined && (obj.evidence = message.evidence ? EvidenceParams.toJSON(message.evidence) : undefined); - message.validator !== undefined && (obj.validator = message.validator ? ValidatorParams.toJSON(message.validator) : undefined); - message.version !== undefined && (obj.version = message.version ? VersionParams.toJSON(message.version) : undefined); - return obj; - }, fromPartial(object: Partial): ConsensusParams { const message = createBaseConsensusParams(); message.block = object.block !== undefined && object.block !== null ? BlockParams.fromPartial(object.block) : undefined; @@ -376,18 +360,6 @@ export const BlockParams = { } return message; }, - fromJSON(object: any): BlockParams { - return { - maxBytes: isSet(object.maxBytes) ? BigInt(object.maxBytes.toString()) : BigInt(0), - maxGas: isSet(object.maxGas) ? BigInt(object.maxGas.toString()) : BigInt(0) - }; - }, - toJSON(message: BlockParams): unknown { - const obj: any = {}; - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || BigInt(0)).toString()); - message.maxGas !== undefined && (obj.maxGas = (message.maxGas || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): BlockParams { const message = createBaseBlockParams(); message.maxBytes = object.maxBytes !== undefined && object.maxBytes !== null ? BigInt(object.maxBytes.toString()) : BigInt(0); @@ -470,20 +442,6 @@ export const EvidenceParams = { } return message; }, - fromJSON(object: any): EvidenceParams { - return { - maxAgeNumBlocks: isSet(object.maxAgeNumBlocks) ? BigInt(object.maxAgeNumBlocks.toString()) : BigInt(0), - maxAgeDuration: isSet(object.maxAgeDuration) ? Duration.fromJSON(object.maxAgeDuration) : undefined, - maxBytes: isSet(object.maxBytes) ? BigInt(object.maxBytes.toString()) : BigInt(0) - }; - }, - toJSON(message: EvidenceParams): unknown { - const obj: any = {}; - message.maxAgeNumBlocks !== undefined && (obj.maxAgeNumBlocks = (message.maxAgeNumBlocks || BigInt(0)).toString()); - message.maxAgeDuration !== undefined && (obj.maxAgeDuration = message.maxAgeDuration ? Duration.toJSON(message.maxAgeDuration) : undefined); - message.maxBytes !== undefined && (obj.maxBytes = (message.maxBytes || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): EvidenceParams { const message = createBaseEvidenceParams(); message.maxAgeNumBlocks = object.maxAgeNumBlocks !== undefined && object.maxAgeNumBlocks !== null ? BigInt(object.maxAgeNumBlocks.toString()) : BigInt(0); @@ -557,20 +515,6 @@ export const ValidatorParams = { } return message; }, - fromJSON(object: any): ValidatorParams { - return { - pubKeyTypes: Array.isArray(object?.pubKeyTypes) ? object.pubKeyTypes.map((e: any) => String(e)) : [] - }; - }, - toJSON(message: ValidatorParams): unknown { - const obj: any = {}; - if (message.pubKeyTypes) { - obj.pubKeyTypes = message.pubKeyTypes.map(e => e); - } else { - obj.pubKeyTypes = []; - } - return obj; - }, fromPartial(object: Partial): ValidatorParams { const message = createBaseValidatorParams(); message.pubKeyTypes = object.pubKeyTypes?.map(e => e) || []; @@ -636,16 +580,6 @@ export const VersionParams = { } return message; }, - fromJSON(object: any): VersionParams { - return { - app: isSet(object.app) ? BigInt(object.app.toString()) : BigInt(0) - }; - }, - toJSON(message: VersionParams): unknown { - const obj: any = {}; - message.app !== undefined && (obj.app = (message.app || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): VersionParams { const message = createBaseVersionParams(); message.app = object.app !== undefined && object.app !== null ? BigInt(object.app.toString()) : BigInt(0); @@ -716,18 +650,6 @@ export const HashedParams = { } return message; }, - fromJSON(object: any): HashedParams { - return { - blockMaxBytes: isSet(object.blockMaxBytes) ? BigInt(object.blockMaxBytes.toString()) : BigInt(0), - blockMaxGas: isSet(object.blockMaxGas) ? BigInt(object.blockMaxGas.toString()) : BigInt(0) - }; - }, - toJSON(message: HashedParams): unknown { - const obj: any = {}; - message.blockMaxBytes !== undefined && (obj.blockMaxBytes = (message.blockMaxBytes || BigInt(0)).toString()); - message.blockMaxGas !== undefined && (obj.blockMaxGas = (message.blockMaxGas || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): HashedParams { const message = createBaseHashedParams(); message.blockMaxBytes = object.blockMaxBytes !== undefined && object.blockMaxBytes !== null ? BigInt(object.blockMaxBytes.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/tendermint/types/types.ts b/packages/api/src/tendermint/types/types.ts similarity index 79% rename from packages/api/src/codegen/tendermint/types/types.ts rename to packages/api/src/tendermint/types/types.ts index 521bbe32..8660f854 100644 --- a/packages/api/src/codegen/tendermint/types/types.ts +++ b/packages/api/src/tendermint/types/types.ts @@ -1,9 +1,10 @@ +//@ts-nocheck import { Proof, ProofAmino, ProofSDKType } from "../crypto/proof"; import { Consensus, ConsensusAmino, ConsensusSDKType } from "../version/types"; -import { Timestamp, TimestampSDKType } from "../../google/protobuf/timestamp"; +import { Timestamp } from "../../google/protobuf/timestamp"; import { ValidatorSet, ValidatorSetAmino, ValidatorSetSDKType } from "./validator"; import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, bytesFromBase64, base64FromBytes, fromJsonTimestamp, fromTimestamp } from "../../helpers"; +import { bytesFromBase64, base64FromBytes, toTimestamp, fromTimestamp } from "../../helpers"; /** BlockIdFlag indicates which BlcokID the signature is for */ export enum BlockIDFlag { BLOCK_ID_FLAG_UNKNOWN = 0, @@ -171,7 +172,7 @@ export interface Header { version: Consensus; chainId: string; height: bigint; - time: Timestamp; + time: Date; /** prev block info */ lastBlockId: BlockID; /** hashes of block data */ @@ -230,7 +231,7 @@ export interface HeaderSDKType { version: ConsensusSDKType; chain_id: string; height: bigint; - time: TimestampSDKType; + time: Date; last_block_id: BlockIDSDKType; last_commit_hash: Uint8Array; data_hash: Uint8Array; @@ -281,7 +282,7 @@ export interface Vote { height: bigint; round: number; blockId: BlockID; - timestamp: Timestamp; + timestamp: Date; validatorAddress: Uint8Array; validatorIndex: number; signature: Uint8Array; @@ -317,7 +318,7 @@ export interface VoteSDKType { height: bigint; round: number; block_id: BlockIDSDKType; - timestamp: TimestampSDKType; + timestamp: Date; validator_address: Uint8Array; validator_index: number; signature: Uint8Array; @@ -355,7 +356,7 @@ export interface CommitSDKType { export interface CommitSig { blockIdFlag: BlockIDFlag; validatorAddress: Uint8Array; - timestamp: Timestamp; + timestamp: Date; signature: Uint8Array; } export interface CommitSigProtoMsg { @@ -377,7 +378,7 @@ export interface CommitSigAminoMsg { export interface CommitSigSDKType { block_id_flag: BlockIDFlag; validator_address: Uint8Array; - timestamp: TimestampSDKType; + timestamp: Date; signature: Uint8Array; } export interface Proposal { @@ -386,7 +387,7 @@ export interface Proposal { round: number; polRound: number; blockId: BlockID; - timestamp: Timestamp; + timestamp: Date; signature: Uint8Array; } export interface ProposalProtoMsg { @@ -412,7 +413,7 @@ export interface ProposalSDKType { round: number; pol_round: number; block_id: BlockIDSDKType; - timestamp: TimestampSDKType; + timestamp: Date; signature: Uint8Array; } export interface SignedHeader { @@ -544,18 +545,6 @@ export const PartSetHeader = { } return message; }, - fromJSON(object: any): PartSetHeader { - return { - total: isSet(object.total) ? Number(object.total) : 0, - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array() - }; - }, - toJSON(message: PartSetHeader): unknown { - const obj: any = {}; - message.total !== undefined && (obj.total = Math.round(message.total)); - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): PartSetHeader { const message = createBasePartSetHeader(); message.total = object.total ?? 0; @@ -638,20 +627,6 @@ export const Part = { } return message; }, - fromJSON(object: any): Part { - return { - index: isSet(object.index) ? Number(object.index) : 0, - bytes: isSet(object.bytes) ? bytesFromBase64(object.bytes) : new Uint8Array(), - proof: isSet(object.proof) ? Proof.fromJSON(object.proof) : undefined - }; - }, - toJSON(message: Part): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = Math.round(message.index)); - message.bytes !== undefined && (obj.bytes = base64FromBytes(message.bytes !== undefined ? message.bytes : new Uint8Array())); - message.proof !== undefined && (obj.proof = message.proof ? Proof.toJSON(message.proof) : undefined); - return obj; - }, fromPartial(object: Partial): Part { const message = createBasePart(); message.index = object.index ?? 0; @@ -732,18 +707,6 @@ export const BlockID = { } return message; }, - fromJSON(object: any): BlockID { - return { - hash: isSet(object.hash) ? bytesFromBase64(object.hash) : new Uint8Array(), - partSetHeader: isSet(object.partSetHeader) ? PartSetHeader.fromJSON(object.partSetHeader) : undefined - }; - }, - toJSON(message: BlockID): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.partSetHeader !== undefined && (obj.partSetHeader = message.partSetHeader ? PartSetHeader.toJSON(message.partSetHeader) : undefined); - return obj; - }, fromPartial(object: Partial): BlockID { const message = createBaseBlockID(); message.hash = object.hash ?? new Uint8Array(); @@ -787,7 +750,7 @@ function createBaseHeader(): Header { version: Consensus.fromPartial({}), chainId: "", height: BigInt(0), - time: Timestamp.fromPartial({}), + time: new Date(), lastBlockId: BlockID.fromPartial({}), lastCommitHash: new Uint8Array(), dataHash: new Uint8Array(), @@ -813,7 +776,7 @@ export const Header = { writer.uint32(24).int64(message.height); } if (message.time !== undefined) { - Timestamp.encode(message.time, writer.uint32(34).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.time), writer.uint32(34).fork()).ldelim(); } if (message.lastBlockId !== undefined) { BlockID.encode(message.lastBlockId, writer.uint32(42).fork()).ldelim(); @@ -864,7 +827,7 @@ export const Header = { message.height = reader.int64(); break; case 4: - message.time = Timestamp.decode(reader, reader.uint32()); + message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 5: message.lastBlockId = BlockID.decode(reader, reader.uint32()); @@ -903,48 +866,12 @@ export const Header = { } return message; }, - fromJSON(object: any): Header { - return { - version: isSet(object.version) ? Consensus.fromJSON(object.version) : undefined, - chainId: isSet(object.chainId) ? String(object.chainId) : "", - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined, - lastBlockId: isSet(object.lastBlockId) ? BlockID.fromJSON(object.lastBlockId) : undefined, - lastCommitHash: isSet(object.lastCommitHash) ? bytesFromBase64(object.lastCommitHash) : new Uint8Array(), - dataHash: isSet(object.dataHash) ? bytesFromBase64(object.dataHash) : new Uint8Array(), - validatorsHash: isSet(object.validatorsHash) ? bytesFromBase64(object.validatorsHash) : new Uint8Array(), - nextValidatorsHash: isSet(object.nextValidatorsHash) ? bytesFromBase64(object.nextValidatorsHash) : new Uint8Array(), - consensusHash: isSet(object.consensusHash) ? bytesFromBase64(object.consensusHash) : new Uint8Array(), - appHash: isSet(object.appHash) ? bytesFromBase64(object.appHash) : new Uint8Array(), - lastResultsHash: isSet(object.lastResultsHash) ? bytesFromBase64(object.lastResultsHash) : new Uint8Array(), - evidenceHash: isSet(object.evidenceHash) ? bytesFromBase64(object.evidenceHash) : new Uint8Array(), - proposerAddress: isSet(object.proposerAddress) ? bytesFromBase64(object.proposerAddress) : new Uint8Array() - }; - }, - toJSON(message: Header): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = message.version ? Consensus.toJSON(message.version) : undefined); - message.chainId !== undefined && (obj.chainId = message.chainId); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.time !== undefined && (obj.time = fromTimestamp(message.time).toISOString()); - message.lastBlockId !== undefined && (obj.lastBlockId = message.lastBlockId ? BlockID.toJSON(message.lastBlockId) : undefined); - message.lastCommitHash !== undefined && (obj.lastCommitHash = base64FromBytes(message.lastCommitHash !== undefined ? message.lastCommitHash : new Uint8Array())); - message.dataHash !== undefined && (obj.dataHash = base64FromBytes(message.dataHash !== undefined ? message.dataHash : new Uint8Array())); - message.validatorsHash !== undefined && (obj.validatorsHash = base64FromBytes(message.validatorsHash !== undefined ? message.validatorsHash : new Uint8Array())); - message.nextValidatorsHash !== undefined && (obj.nextValidatorsHash = base64FromBytes(message.nextValidatorsHash !== undefined ? message.nextValidatorsHash : new Uint8Array())); - message.consensusHash !== undefined && (obj.consensusHash = base64FromBytes(message.consensusHash !== undefined ? message.consensusHash : new Uint8Array())); - message.appHash !== undefined && (obj.appHash = base64FromBytes(message.appHash !== undefined ? message.appHash : new Uint8Array())); - message.lastResultsHash !== undefined && (obj.lastResultsHash = base64FromBytes(message.lastResultsHash !== undefined ? message.lastResultsHash : new Uint8Array())); - message.evidenceHash !== undefined && (obj.evidenceHash = base64FromBytes(message.evidenceHash !== undefined ? message.evidenceHash : new Uint8Array())); - message.proposerAddress !== undefined && (obj.proposerAddress = base64FromBytes(message.proposerAddress !== undefined ? message.proposerAddress : new Uint8Array())); - return obj; - }, fromPartial(object: Partial
): Header { const message = createBaseHeader(); message.version = object.version !== undefined && object.version !== null ? Consensus.fromPartial(object.version) : undefined; message.chainId = object.chainId ?? ""; message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); - message.time = object.time !== undefined && object.time !== null ? Timestamp.fromPartial(object.time) : undefined; + message.time = object.time ?? undefined; message.lastBlockId = object.lastBlockId !== undefined && object.lastBlockId !== null ? BlockID.fromPartial(object.lastBlockId) : undefined; message.lastCommitHash = object.lastCommitHash ?? new Uint8Array(); message.dataHash = object.dataHash ?? new Uint8Array(); @@ -969,7 +896,7 @@ export const Header = { message.height = BigInt(object.height); } if (object.time !== undefined && object.time !== null) { - message.time = Timestamp.fromAmino(object.time); + message.time = fromTimestamp(Timestamp.fromAmino(object.time)); } if (object.last_block_id !== undefined && object.last_block_id !== null) { message.lastBlockId = BlockID.fromAmino(object.last_block_id); @@ -1008,7 +935,7 @@ export const Header = { obj.version = message.version ? Consensus.toAmino(message.version) : undefined; obj.chain_id = message.chainId === "" ? undefined : message.chainId; obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; - obj.time = message.time ? Timestamp.toAmino(message.time) : undefined; + obj.time = message.time ? Timestamp.toAmino(toTimestamp(message.time)) : undefined; obj.last_block_id = message.lastBlockId ? BlockID.toAmino(message.lastBlockId) : undefined; obj.last_commit_hash = message.lastCommitHash ? base64FromBytes(message.lastCommitHash) : undefined; obj.data_hash = message.dataHash ? base64FromBytes(message.dataHash) : undefined; @@ -1067,20 +994,6 @@ export const Data = { } return message; }, - fromJSON(object: any): Data { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => bytesFromBase64(e)) : [] - }; - }, - toJSON(message: Data): unknown { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.txs = []; - } - return obj; - }, fromPartial(object: Partial): Data { const message = createBaseData(); message.txs = object.txs?.map(e => e) || []; @@ -1122,7 +1035,7 @@ function createBaseVote(): Vote { height: BigInt(0), round: 0, blockId: BlockID.fromPartial({}), - timestamp: Timestamp.fromPartial({}), + timestamp: new Date(), validatorAddress: new Uint8Array(), validatorIndex: 0, signature: new Uint8Array() @@ -1144,7 +1057,7 @@ export const Vote = { BlockID.encode(message.blockId, writer.uint32(34).fork()).ldelim(); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(42).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(42).fork()).ldelim(); } if (message.validatorAddress.length !== 0) { writer.uint32(50).bytes(message.validatorAddress); @@ -1177,7 +1090,7 @@ export const Vote = { message.blockId = BlockID.decode(reader, reader.uint32()); break; case 5: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 6: message.validatorAddress = reader.bytes(); @@ -1195,37 +1108,13 @@ export const Vote = { } return message; }, - fromJSON(object: any): Vote { - return { - type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : -1, - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - round: isSet(object.round) ? Number(object.round) : 0, - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined, - validatorAddress: isSet(object.validatorAddress) ? bytesFromBase64(object.validatorAddress) : new Uint8Array(), - validatorIndex: isSet(object.validatorIndex) ? Number(object.validatorIndex) : 0, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array() - }; - }, - toJSON(message: Vote): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = signedMsgTypeToJSON(message.type)); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.round !== undefined && (obj.round = Math.round(message.round)); - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - message.validatorAddress !== undefined && (obj.validatorAddress = base64FromBytes(message.validatorAddress !== undefined ? message.validatorAddress : new Uint8Array())); - message.validatorIndex !== undefined && (obj.validatorIndex = Math.round(message.validatorIndex)); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): Vote { const message = createBaseVote(); message.type = object.type ?? 0; message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); message.round = object.round ?? 0; message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; message.validatorAddress = object.validatorAddress ?? new Uint8Array(); message.validatorIndex = object.validatorIndex ?? 0; message.signature = object.signature ?? new Uint8Array(); @@ -1246,7 +1135,7 @@ export const Vote = { message.blockId = BlockID.fromAmino(object.block_id); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } if (object.validator_address !== undefined && object.validator_address !== null) { message.validatorAddress = bytesFromBase64(object.validator_address); @@ -1265,7 +1154,7 @@ export const Vote = { obj.height = message.height !== BigInt(0) ? message.height.toString() : undefined; obj.round = message.round === 0 ? undefined : message.round; obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; obj.validator_address = message.validatorAddress ? base64FromBytes(message.validatorAddress) : undefined; obj.validator_index = message.validatorIndex === 0 ? undefined : message.validatorIndex; obj.signature = message.signature ? base64FromBytes(message.signature) : undefined; @@ -1338,26 +1227,6 @@ export const Commit = { } return message; }, - fromJSON(object: any): Commit { - return { - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - round: isSet(object.round) ? Number(object.round) : 0, - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => CommitSig.fromJSON(e)) : [] - }; - }, - toJSON(message: Commit): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.round !== undefined && (obj.round = Math.round(message.round)); - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? CommitSig.toJSON(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, fromPartial(object: Partial): Commit { const message = createBaseCommit(); message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0); @@ -1412,7 +1281,7 @@ function createBaseCommitSig(): CommitSig { return { blockIdFlag: 0, validatorAddress: new Uint8Array(), - timestamp: Timestamp.fromPartial({}), + timestamp: new Date(), signature: new Uint8Array() }; } @@ -1426,7 +1295,7 @@ export const CommitSig = { writer.uint32(18).bytes(message.validatorAddress); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(26).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).ldelim(); } if (message.signature.length !== 0) { writer.uint32(34).bytes(message.signature); @@ -1447,7 +1316,7 @@ export const CommitSig = { message.validatorAddress = reader.bytes(); break; case 3: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 4: message.signature = reader.bytes(); @@ -1459,27 +1328,11 @@ export const CommitSig = { } return message; }, - fromJSON(object: any): CommitSig { - return { - blockIdFlag: isSet(object.blockIdFlag) ? blockIDFlagFromJSON(object.blockIdFlag) : -1, - validatorAddress: isSet(object.validatorAddress) ? bytesFromBase64(object.validatorAddress) : new Uint8Array(), - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array() - }; - }, - toJSON(message: CommitSig): unknown { - const obj: any = {}; - message.blockIdFlag !== undefined && (obj.blockIdFlag = blockIDFlagToJSON(message.blockIdFlag)); - message.validatorAddress !== undefined && (obj.validatorAddress = base64FromBytes(message.validatorAddress !== undefined ? message.validatorAddress : new Uint8Array())); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): CommitSig { const message = createBaseCommitSig(); message.blockIdFlag = object.blockIdFlag ?? 0; message.validatorAddress = object.validatorAddress ?? new Uint8Array(); - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; message.signature = object.signature ?? new Uint8Array(); return message; }, @@ -1492,7 +1345,7 @@ export const CommitSig = { message.validatorAddress = bytesFromBase64(object.validator_address); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } if (object.signature !== undefined && object.signature !== null) { message.signature = bytesFromBase64(object.signature); @@ -1503,7 +1356,7 @@ export const CommitSig = { const obj: any = {}; obj.block_id_flag = message.blockIdFlag === 0 ? undefined : message.blockIdFlag; obj.validator_address = message.validatorAddress ? base64FromBytes(message.validatorAddress) : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; obj.signature = message.signature ? base64FromBytes(message.signature) : undefined; return obj; }, @@ -1530,7 +1383,7 @@ function createBaseProposal(): Proposal { round: 0, polRound: 0, blockId: BlockID.fromPartial({}), - timestamp: Timestamp.fromPartial({}), + timestamp: new Date(), signature: new Uint8Array() }; } @@ -1553,7 +1406,7 @@ export const Proposal = { BlockID.encode(message.blockId, writer.uint32(42).fork()).ldelim(); } if (message.timestamp !== undefined) { - Timestamp.encode(message.timestamp, writer.uint32(50).fork()).ldelim(); + Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(50).fork()).ldelim(); } if (message.signature.length !== 0) { writer.uint32(58).bytes(message.signature); @@ -1583,7 +1436,7 @@ export const Proposal = { message.blockId = BlockID.decode(reader, reader.uint32()); break; case 6: - message.timestamp = Timestamp.decode(reader, reader.uint32()); + message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); break; case 7: message.signature = reader.bytes(); @@ -1595,28 +1448,6 @@ export const Proposal = { } return message; }, - fromJSON(object: any): Proposal { - return { - type: isSet(object.type) ? signedMsgTypeFromJSON(object.type) : -1, - height: isSet(object.height) ? BigInt(object.height.toString()) : BigInt(0), - round: isSet(object.round) ? Number(object.round) : 0, - polRound: isSet(object.polRound) ? Number(object.polRound) : 0, - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined, - signature: isSet(object.signature) ? bytesFromBase64(object.signature) : new Uint8Array() - }; - }, - toJSON(message: Proposal): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = signedMsgTypeToJSON(message.type)); - message.height !== undefined && (obj.height = (message.height || BigInt(0)).toString()); - message.round !== undefined && (obj.round = Math.round(message.round)); - message.polRound !== undefined && (obj.polRound = Math.round(message.polRound)); - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.timestamp !== undefined && (obj.timestamp = fromTimestamp(message.timestamp).toISOString()); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - return obj; - }, fromPartial(object: Partial): Proposal { const message = createBaseProposal(); message.type = object.type ?? 0; @@ -1624,7 +1455,7 @@ export const Proposal = { message.round = object.round ?? 0; message.polRound = object.polRound ?? 0; message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; - message.timestamp = object.timestamp !== undefined && object.timestamp !== null ? Timestamp.fromPartial(object.timestamp) : undefined; + message.timestamp = object.timestamp ?? undefined; message.signature = object.signature ?? new Uint8Array(); return message; }, @@ -1646,7 +1477,7 @@ export const Proposal = { message.blockId = BlockID.fromAmino(object.block_id); } if (object.timestamp !== undefined && object.timestamp !== null) { - message.timestamp = Timestamp.fromAmino(object.timestamp); + message.timestamp = fromTimestamp(Timestamp.fromAmino(object.timestamp)); } if (object.signature !== undefined && object.signature !== null) { message.signature = bytesFromBase64(object.signature); @@ -1660,7 +1491,7 @@ export const Proposal = { obj.round = message.round === 0 ? undefined : message.round; obj.pol_round = message.polRound === 0 ? undefined : message.polRound; obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined; - obj.timestamp = message.timestamp ? Timestamp.toAmino(message.timestamp) : undefined; + obj.timestamp = message.timestamp ? Timestamp.toAmino(toTimestamp(message.timestamp)) : undefined; obj.signature = message.signature ? base64FromBytes(message.signature) : undefined; return obj; }, @@ -1717,18 +1548,6 @@ export const SignedHeader = { } return message; }, - fromJSON(object: any): SignedHeader { - return { - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - commit: isSet(object.commit) ? Commit.fromJSON(object.commit) : undefined - }; - }, - toJSON(message: SignedHeader): unknown { - const obj: any = {}; - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - message.commit !== undefined && (obj.commit = message.commit ? Commit.toJSON(message.commit) : undefined); - return obj; - }, fromPartial(object: Partial): SignedHeader { const message = createBaseSignedHeader(); message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined; @@ -1804,18 +1623,6 @@ export const LightBlock = { } return message; }, - fromJSON(object: any): LightBlock { - return { - signedHeader: isSet(object.signedHeader) ? SignedHeader.fromJSON(object.signedHeader) : undefined, - validatorSet: isSet(object.validatorSet) ? ValidatorSet.fromJSON(object.validatorSet) : undefined - }; - }, - toJSON(message: LightBlock): unknown { - const obj: any = {}; - message.signedHeader !== undefined && (obj.signedHeader = message.signedHeader ? SignedHeader.toJSON(message.signedHeader) : undefined); - message.validatorSet !== undefined && (obj.validatorSet = message.validatorSet ? ValidatorSet.toJSON(message.validatorSet) : undefined); - return obj; - }, fromPartial(object: Partial): LightBlock { const message = createBaseLightBlock(); message.signedHeader = object.signedHeader !== undefined && object.signedHeader !== null ? SignedHeader.fromPartial(object.signedHeader) : undefined; @@ -1905,22 +1712,6 @@ export const BlockMeta = { } return message; }, - fromJSON(object: any): BlockMeta { - return { - blockId: isSet(object.blockId) ? BlockID.fromJSON(object.blockId) : undefined, - blockSize: isSet(object.blockSize) ? BigInt(object.blockSize.toString()) : BigInt(0), - header: isSet(object.header) ? Header.fromJSON(object.header) : undefined, - numTxs: isSet(object.numTxs) ? BigInt(object.numTxs.toString()) : BigInt(0) - }; - }, - toJSON(message: BlockMeta): unknown { - const obj: any = {}; - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.blockSize !== undefined && (obj.blockSize = (message.blockSize || BigInt(0)).toString()); - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - message.numTxs !== undefined && (obj.numTxs = (message.numTxs || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): BlockMeta { const message = createBaseBlockMeta(); message.blockId = object.blockId !== undefined && object.blockId !== null ? BlockID.fromPartial(object.blockId) : undefined; @@ -2013,20 +1804,6 @@ export const TxProof = { } return message; }, - fromJSON(object: any): TxProof { - return { - rootHash: isSet(object.rootHash) ? bytesFromBase64(object.rootHash) : new Uint8Array(), - data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(), - proof: isSet(object.proof) ? Proof.fromJSON(object.proof) : undefined - }; - }, - toJSON(message: TxProof): unknown { - const obj: any = {}; - message.rootHash !== undefined && (obj.rootHash = base64FromBytes(message.rootHash !== undefined ? message.rootHash : new Uint8Array())); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.proof !== undefined && (obj.proof = message.proof ? Proof.toJSON(message.proof) : undefined); - return obj; - }, fromPartial(object: Partial): TxProof { const message = createBaseTxProof(); message.rootHash = object.rootHash ?? new Uint8Array(); diff --git a/packages/api/src/codegen/tendermint/types/validator.ts b/packages/api/src/tendermint/types/validator.ts similarity index 82% rename from packages/api/src/codegen/tendermint/types/validator.ts rename to packages/api/src/tendermint/types/validator.ts index 67d12b64..0907fd74 100644 --- a/packages/api/src/codegen/tendermint/types/validator.ts +++ b/packages/api/src/tendermint/types/validator.ts @@ -1,6 +1,7 @@ +//@ts-nocheck import { PublicKey, PublicKeyAmino, PublicKeySDKType } from "../crypto/keys"; import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet, bytesFromBase64, base64FromBytes } from "../../helpers"; +import { bytesFromBase64, base64FromBytes } from "../../helpers"; export interface ValidatorSet { validators: Validator[]; proposer?: Validator; @@ -114,24 +115,6 @@ export const ValidatorSet = { } return message; }, - fromJSON(object: any): ValidatorSet { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromJSON(e)) : [], - proposer: isSet(object.proposer) ? Validator.fromJSON(object.proposer) : undefined, - totalVotingPower: isSet(object.totalVotingPower) ? BigInt(object.totalVotingPower.toString()) : BigInt(0) - }; - }, - toJSON(message: ValidatorSet): unknown { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.proposer !== undefined && (obj.proposer = message.proposer ? Validator.toJSON(message.proposer) : undefined); - message.totalVotingPower !== undefined && (obj.totalVotingPower = (message.totalVotingPower || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): ValidatorSet { const message = createBaseValidatorSet(); message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; @@ -228,22 +211,6 @@ export const Validator = { } return message; }, - fromJSON(object: any): Validator { - return { - address: isSet(object.address) ? bytesFromBase64(object.address) : new Uint8Array(), - pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, - votingPower: isSet(object.votingPower) ? BigInt(object.votingPower.toString()) : BigInt(0), - proposerPriority: isSet(object.proposerPriority) ? BigInt(object.proposerPriority.toString()) : BigInt(0) - }; - }, - toJSON(message: Validator): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = base64FromBytes(message.address !== undefined ? message.address : new Uint8Array())); - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? PublicKey.toJSON(message.pubKey) : undefined); - message.votingPower !== undefined && (obj.votingPower = (message.votingPower || BigInt(0)).toString()); - message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): Validator { const message = createBaseValidator(); message.address = object.address ?? new Uint8Array(); @@ -329,18 +296,6 @@ export const SimpleValidator = { } return message; }, - fromJSON(object: any): SimpleValidator { - return { - pubKey: isSet(object.pubKey) ? PublicKey.fromJSON(object.pubKey) : undefined, - votingPower: isSet(object.votingPower) ? BigInt(object.votingPower.toString()) : BigInt(0) - }; - }, - toJSON(message: SimpleValidator): unknown { - const obj: any = {}; - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? PublicKey.toJSON(message.pubKey) : undefined); - message.votingPower !== undefined && (obj.votingPower = (message.votingPower || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): SimpleValidator { const message = createBaseSimpleValidator(); message.pubKey = object.pubKey !== undefined && object.pubKey !== null ? PublicKey.fromPartial(object.pubKey) : undefined; diff --git a/packages/api/src/codegen/tendermint/version/types.ts b/packages/api/src/tendermint/version/types.ts similarity index 87% rename from packages/api/src/codegen/tendermint/version/types.ts rename to packages/api/src/tendermint/version/types.ts index 46480faa..f862a449 100644 --- a/packages/api/src/codegen/tendermint/version/types.ts +++ b/packages/api/src/tendermint/version/types.ts @@ -1,5 +1,5 @@ +//@ts-nocheck import { BinaryReader, BinaryWriter } from "../../binary"; -import { isSet } from "../../helpers"; /** * App includes the protocol and software version for the application. * This information is included in ResponseInfo. The App.Protocol can be @@ -107,18 +107,6 @@ export const App = { } return message; }, - fromJSON(object: any): App { - return { - protocol: isSet(object.protocol) ? BigInt(object.protocol.toString()) : BigInt(0), - software: isSet(object.software) ? String(object.software) : "" - }; - }, - toJSON(message: App): unknown { - const obj: any = {}; - message.protocol !== undefined && (obj.protocol = (message.protocol || BigInt(0)).toString()); - message.software !== undefined && (obj.software = message.software); - return obj; - }, fromPartial(object: Partial): App { const message = createBaseApp(); message.protocol = object.protocol !== undefined && object.protocol !== null ? BigInt(object.protocol.toString()) : BigInt(0); @@ -194,18 +182,6 @@ export const Consensus = { } return message; }, - fromJSON(object: any): Consensus { - return { - block: isSet(object.block) ? BigInt(object.block.toString()) : BigInt(0), - app: isSet(object.app) ? BigInt(object.app.toString()) : BigInt(0) - }; - }, - toJSON(message: Consensus): unknown { - const obj: any = {}; - message.block !== undefined && (obj.block = (message.block || BigInt(0)).toString()); - message.app !== undefined && (obj.app = (message.app || BigInt(0)).toString()); - return obj; - }, fromPartial(object: Partial): Consensus { const message = createBaseConsensus(); message.block = object.block !== undefined && object.block !== null ? BigInt(object.block.toString()) : BigInt(0); diff --git a/packages/api/src/codegen/utf8.ts b/packages/api/src/utf8.ts similarity index 99% rename from packages/api/src/codegen/utf8.ts rename to packages/api/src/utf8.ts index 3e09013c..b53cee41 100644 --- a/packages/api/src/codegen/utf8.ts +++ b/packages/api/src/utf8.ts @@ -1,3 +1,4 @@ +//@ts-nocheck /** * This file and any referenced files were automatically generated by @cosmology/telescope@1.5.2 * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain diff --git a/packages/api/src/codegen/varint.ts b/packages/api/src/varint.ts similarity index 99% rename from packages/api/src/codegen/varint.ts rename to packages/api/src/varint.ts index 02a02185..6c813e30 100644 --- a/packages/api/src/codegen/varint.ts +++ b/packages/api/src/varint.ts @@ -1,3 +1,4 @@ +//@ts-nocheck /** * This file and any referenced files were automatically generated by @cosmology/telescope@1.5.2 * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain diff --git a/packages/api/tsconfig.esm.json b/packages/api/tsconfig.esm.json new file mode 100644 index 00000000..800d7506 --- /dev/null +++ b/packages/api/tsconfig.esm.json @@ -0,0 +1,9 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "dist/esm", + "module": "es2022", + "rootDir": "src/", + "declaration": false + } +} diff --git a/packages/api/tsconfig.json b/packages/api/tsconfig.json index 90e5163d..1a9d5696 100644 --- a/packages/api/tsconfig.json +++ b/packages/api/tsconfig.json @@ -1,21 +1,9 @@ { + "extends": "../../tsconfig.json", "compilerOptions": { - "declaration": true, - "declarationDir": "./types", - "emitDeclarationOnly": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "isolatedModules": true, - "esModuleInterop": true, - "allowJs": true, - "lib": [ - "es2015" - ] + "outDir": "dist", + "rootDir": "src/" }, - "include": [ - "src/**/*" - ], - "exclude": [ - "node_modules" - ] + "include": ["src/**/*.ts"], + "exclude": ["dist", "node_modules", "**/*.spec.*", "**/*.test.*"] } diff --git a/packages/api/types/codegen/amino/amino.d.ts b/packages/api/types/codegen/amino/amino.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/api/types/codegen/amino/amino.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/api/types/codegen/amino/bundle.d.ts b/packages/api/types/codegen/amino/bundle.d.ts deleted file mode 100644 index 67f7ba53..00000000 --- a/packages/api/types/codegen/amino/bundle.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const amino: {}; diff --git a/packages/api/types/codegen/cosmos/app/module/v1alpha1/module.d.ts b/packages/api/types/codegen/cosmos/app/module/v1alpha1/module.d.ts deleted file mode 100644 index 2e39c748..00000000 --- a/packages/api/types/codegen/cosmos/app/module/v1alpha1/module.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** Module is the module config object for the cosmos.app v1 app module. */ -export interface Module { -} -export interface ModuleProtoMsg { - typeUrl: "/cosmos.app.module.v1alpha1.Module"; - value: Uint8Array; -} -/** Module is the module config object for the cosmos.app v1 app module. */ -export interface ModuleAmino { -} -export interface ModuleAminoMsg { - type: "cosmos-sdk/Module"; - value: ModuleAmino; -} -/** Module is the module config object for the cosmos.app v1 app module. */ -export interface ModuleSDKType { -} -export declare const Module: { - encode(_: Module, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Module; - fromJSON(_: any): Module; - toJSON(_: Module): unknown; - fromPartial(_: Partial): Module; - fromAmino(_: ModuleAmino): Module; - toAmino(_: Module): ModuleAmino; - fromAminoMsg(object: ModuleAminoMsg): Module; - toAminoMsg(message: Module): ModuleAminoMsg; - fromProtoMsg(message: ModuleProtoMsg): Module; - toProto(message: Module): Uint8Array; - toProtoMsg(message: Module): ModuleProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/app/v1alpha1/config.d.ts b/packages/api/types/codegen/cosmos/app/v1alpha1/config.d.ts deleted file mode 100644 index cfb82359..00000000 --- a/packages/api/types/codegen/cosmos/app/v1alpha1/config.d.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface Config { - /** modules are the module configurations for the app. */ - modules: ModuleConfig[]; -} -export interface ConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.Config"; - value: Uint8Array; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigAmino { - /** modules are the module configurations for the app. */ - modules: ModuleConfigAmino[]; -} -export interface ConfigAminoMsg { - type: "cosmos-sdk/Config"; - value: ConfigAmino; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigSDKType { - modules: ModuleConfigSDKType[]; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfig { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config: Any; -} -export interface ModuleConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig"; - value: Uint8Array; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigAmino { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config?: AnyAmino; -} -export interface ModuleConfigAminoMsg { - type: "cosmos-sdk/ModuleConfig"; - value: ModuleConfigAmino; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigSDKType { - name: string; - config: AnySDKType; -} -export declare const Config: { - encode(message: Config, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Config; - fromJSON(object: any): Config; - toJSON(message: Config): unknown; - fromPartial(object: Partial): Config; - fromAmino(object: ConfigAmino): Config; - toAmino(message: Config): ConfigAmino; - fromAminoMsg(object: ConfigAminoMsg): Config; - toAminoMsg(message: Config): ConfigAminoMsg; - fromProtoMsg(message: ConfigProtoMsg): Config; - toProto(message: Config): Uint8Array; - toProtoMsg(message: Config): ConfigProtoMsg; -}; -export declare const ModuleConfig: { - encode(message: ModuleConfig, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleConfig; - fromJSON(object: any): ModuleConfig; - toJSON(message: ModuleConfig): unknown; - fromPartial(object: Partial): ModuleConfig; - fromAmino(object: ModuleConfigAmino): ModuleConfig; - toAmino(message: ModuleConfig): ModuleConfigAmino; - fromAminoMsg(object: ModuleConfigAminoMsg): ModuleConfig; - toAminoMsg(message: ModuleConfig): ModuleConfigAminoMsg; - fromProtoMsg(message: ModuleConfigProtoMsg): ModuleConfig; - toProto(message: ModuleConfig): Uint8Array; - toProtoMsg(message: ModuleConfig): ModuleConfigProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/app/v1alpha1/module.d.ts b/packages/api/types/codegen/cosmos/app/v1alpha1/module.d.ts deleted file mode 100644 index 9c1204b2..00000000 --- a/packages/api/types/codegen/cosmos/app/v1alpha1/module.d.ts +++ /dev/null @@ -1,245 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** 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. - */ - goImport: 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. - */ - usePackage: 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. - */ - canMigrateFrom: MigrateFromInfo[]; -} -export interface ModuleDescriptorProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.ModuleDescriptor"; - value: Uint8Array; -} -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptorAmino { - /** - * 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: PackageReferenceAmino[]; - /** - * 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: MigrateFromInfoAmino[]; -} -export interface ModuleDescriptorAminoMsg { - type: "cosmos-sdk/ModuleDescriptor"; - value: ModuleDescriptorAmino; -} -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptorSDKType { - go_import: string; - use_package: PackageReferenceSDKType[]; - can_migrate_from: MigrateFromInfoSDKType[]; -} -/** 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; -} -export interface PackageReferenceProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.PackageReference"; - value: Uint8Array; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReferenceAmino { - /** 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; -} -export interface PackageReferenceAminoMsg { - type: "cosmos-sdk/PackageReference"; - value: PackageReferenceAmino; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReferenceSDKType { - name: string; - 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; -} -export interface MigrateFromInfoProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.MigrateFromInfo"; - value: Uint8Array; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfoAmino { - /** - * 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; -} -export interface MigrateFromInfoAminoMsg { - type: "cosmos-sdk/MigrateFromInfo"; - value: MigrateFromInfoAmino; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfoSDKType { - module: string; -} -export declare const ModuleDescriptor: { - encode(message: ModuleDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor; - fromJSON(object: any): ModuleDescriptor; - toJSON(message: ModuleDescriptor): unknown; - fromPartial(object: Partial): ModuleDescriptor; - fromAmino(object: ModuleDescriptorAmino): ModuleDescriptor; - toAmino(message: ModuleDescriptor): ModuleDescriptorAmino; - fromAminoMsg(object: ModuleDescriptorAminoMsg): ModuleDescriptor; - toAminoMsg(message: ModuleDescriptor): ModuleDescriptorAminoMsg; - fromProtoMsg(message: ModuleDescriptorProtoMsg): ModuleDescriptor; - toProto(message: ModuleDescriptor): Uint8Array; - toProtoMsg(message: ModuleDescriptor): ModuleDescriptorProtoMsg; -}; -export declare const PackageReference: { - encode(message: PackageReference, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference; - fromJSON(object: any): PackageReference; - toJSON(message: PackageReference): unknown; - fromPartial(object: Partial): PackageReference; - fromAmino(object: PackageReferenceAmino): PackageReference; - toAmino(message: PackageReference): PackageReferenceAmino; - fromAminoMsg(object: PackageReferenceAminoMsg): PackageReference; - toAminoMsg(message: PackageReference): PackageReferenceAminoMsg; - fromProtoMsg(message: PackageReferenceProtoMsg): PackageReference; - toProto(message: PackageReference): Uint8Array; - toProtoMsg(message: PackageReference): PackageReferenceProtoMsg; -}; -export declare const MigrateFromInfo: { - encode(message: MigrateFromInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo; - fromJSON(object: any): MigrateFromInfo; - toJSON(message: MigrateFromInfo): unknown; - fromPartial(object: Partial): MigrateFromInfo; - fromAmino(object: MigrateFromInfoAmino): MigrateFromInfo; - toAmino(message: MigrateFromInfo): MigrateFromInfoAmino; - fromAminoMsg(object: MigrateFromInfoAminoMsg): MigrateFromInfo; - toAminoMsg(message: MigrateFromInfo): MigrateFromInfoAminoMsg; - fromProtoMsg(message: MigrateFromInfoProtoMsg): MigrateFromInfo; - toProto(message: MigrateFromInfo): Uint8Array; - toProtoMsg(message: MigrateFromInfo): MigrateFromInfoProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/app/v1alpha1/query.d.ts b/packages/api/types/codegen/cosmos/app/v1alpha1/query.d.ts deleted file mode 100644 index 772a7c2a..00000000 --- a/packages/api/types/codegen/cosmos/app/v1alpha1/query.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { Config, ConfigAmino, ConfigSDKType } from "./config"; -import * as _m0 from "protobufjs/minimal"; -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequest { -} -export interface QueryConfigRequestProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestAmino { -} -export interface QueryConfigRequestAminoMsg { - type: "cosmos-sdk/QueryConfigRequest"; - value: QueryConfigRequestAmino; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestSDKType { -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponse { - /** config is the current app config. */ - config: Config; -} -export interface QueryConfigResponseProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseAmino { - /** config is the current app config. */ - config?: ConfigAmino; -} -export interface QueryConfigResponseAminoMsg { - type: "cosmos-sdk/QueryConfigResponse"; - value: QueryConfigResponseAmino; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseSDKType { - config: ConfigSDKType; -} -export declare const QueryConfigRequest: { - encode(_: QueryConfigRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest; - fromJSON(_: any): QueryConfigRequest; - toJSON(_: QueryConfigRequest): unknown; - fromPartial(_: Partial): QueryConfigRequest; - fromAmino(_: QueryConfigRequestAmino): QueryConfigRequest; - toAmino(_: QueryConfigRequest): QueryConfigRequestAmino; - fromAminoMsg(object: QueryConfigRequestAminoMsg): QueryConfigRequest; - toAminoMsg(message: QueryConfigRequest): QueryConfigRequestAminoMsg; - fromProtoMsg(message: QueryConfigRequestProtoMsg): QueryConfigRequest; - toProto(message: QueryConfigRequest): Uint8Array; - toProtoMsg(message: QueryConfigRequest): QueryConfigRequestProtoMsg; -}; -export declare const QueryConfigResponse: { - encode(message: QueryConfigResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse; - fromJSON(object: any): QueryConfigResponse; - toJSON(message: QueryConfigResponse): unknown; - fromPartial(object: Partial): QueryConfigResponse; - fromAmino(object: QueryConfigResponseAmino): QueryConfigResponse; - toAmino(message: QueryConfigResponse): QueryConfigResponseAmino; - fromAminoMsg(object: QueryConfigResponseAminoMsg): QueryConfigResponse; - toAminoMsg(message: QueryConfigResponse): QueryConfigResponseAminoMsg; - fromProtoMsg(message: QueryConfigResponseProtoMsg): QueryConfigResponse; - toProto(message: QueryConfigResponse): Uint8Array; - toProtoMsg(message: QueryConfigResponse): QueryConfigResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts deleted file mode 100644 index 5022d334..00000000 --- a/packages/api/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryConfigRequest, QueryConfigResponse } from "./query"; -/** Query is the app module query service. */ -export interface Query { - /** Config returns the current app config. */ - config(request?: QueryConfigRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - config(request?: QueryConfigRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - config(request?: QueryConfigRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/auth/v1beta1/auth.d.ts b/packages/api/types/codegen/cosmos/auth/v1beta1/auth.d.ts deleted file mode 100644 index 90d4aa8a..00000000 --- a/packages/api/types/codegen/cosmos/auth/v1beta1/auth.d.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccount { - $typeUrl?: string; - address: string; - pubKey: Any; - accountNumber: Long; - sequence: Long; -} -export interface BaseAccountProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.BaseAccount"; - value: Uint8Array; -} -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccountAmino { - address: string; - pub_key?: AnyAmino; - account_number: string; - sequence: string; -} -export interface BaseAccountAminoMsg { - type: "cosmos-sdk/BaseAccount"; - value: BaseAccountAmino; -} -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccountSDKType { - $typeUrl?: string; - address: string; - pub_key: AnySDKType; - account_number: Long; - sequence: Long; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccount { - $typeUrl?: string; - baseAccount: BaseAccount; - name: string; - permissions: string[]; -} -export interface ModuleAccountProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.ModuleAccount"; - value: Uint8Array; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccountAmino { - base_account?: BaseAccountAmino; - name: string; - permissions: string[]; -} -export interface ModuleAccountAminoMsg { - type: "cosmos-sdk/ModuleAccount"; - value: ModuleAccountAmino; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccountSDKType { - $typeUrl?: string; - base_account: BaseAccountSDKType; - name: string; - permissions: string[]; -} -/** Params defines the parameters for the auth module. */ -export interface Params { - maxMemoCharacters: Long; - txSigLimit: Long; - txSizeCostPerByte: Long; - sigVerifyCostEd25519: Long; - sigVerifyCostSecp256k1: Long; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the auth module. */ -export interface ParamsAmino { - max_memo_characters: string; - tx_sig_limit: string; - tx_size_cost_per_byte: string; - sig_verify_cost_ed25519: string; - sig_verify_cost_secp256k1: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the auth module. */ -export interface ParamsSDKType { - max_memo_characters: Long; - tx_sig_limit: Long; - tx_size_cost_per_byte: Long; - sig_verify_cost_ed25519: Long; - sig_verify_cost_secp256k1: Long; -} -export declare const BaseAccount: { - encode(message: BaseAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount; - fromJSON(object: any): BaseAccount; - toJSON(message: BaseAccount): unknown; - fromPartial(object: Partial): BaseAccount; - fromAmino(object: BaseAccountAmino): BaseAccount; - toAmino(message: BaseAccount): BaseAccountAmino; - fromAminoMsg(object: BaseAccountAminoMsg): BaseAccount; - toAminoMsg(message: BaseAccount): BaseAccountAminoMsg; - fromProtoMsg(message: BaseAccountProtoMsg): BaseAccount; - toProto(message: BaseAccount): Uint8Array; - toProtoMsg(message: BaseAccount): BaseAccountProtoMsg; -}; -export declare const ModuleAccount: { - encode(message: ModuleAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount; - fromJSON(object: any): ModuleAccount; - toJSON(message: ModuleAccount): unknown; - fromPartial(object: Partial): ModuleAccount; - fromAmino(object: ModuleAccountAmino): ModuleAccount; - toAmino(message: ModuleAccount): ModuleAccountAmino; - fromAminoMsg(object: ModuleAccountAminoMsg): ModuleAccount; - toAminoMsg(message: ModuleAccount): ModuleAccountAminoMsg; - fromProtoMsg(message: ModuleAccountProtoMsg): ModuleAccount; - toProto(message: ModuleAccount): Uint8Array; - toProtoMsg(message: ModuleAccount): ModuleAccountProtoMsg; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/auth/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/auth/v1beta1/genesis.d.ts deleted file mode 100644 index e93accf9..00000000 --- a/packages/api/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./auth"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params; - /** accounts are the accounts present at genesis. */ - accounts: Any[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; - /** accounts are the accounts present at genesis. */ - accounts: AnyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - accounts: AnySDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/auth/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/auth/v1beta1/query.d.ts deleted file mode 100644 index 9fe599ff..00000000 --- a/packages/api/types/codegen/cosmos/auth/v1beta1/query.d.ts +++ /dev/null @@ -1,795 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Params, ParamsAmino, ParamsSDKType, BaseAccount, BaseAccountProtoMsg, BaseAccountSDKType, ModuleAccount, ModuleAccountProtoMsg, ModuleAccountSDKType } from "./auth"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAccountsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsRequest"; - value: Uint8Array; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAccountsRequestAminoMsg { - type: "cosmos-sdk/QueryAccountsRequest"; - value: QueryAccountsRequestAmino; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponse { - /** accounts are the existing accounts */ - accounts: (BaseAccount & Any)[] | Any[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAccountsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsResponse"; - value: Uint8Array; -} -export type QueryAccountsResponseEncoded = Omit & { - /** accounts are the existing accounts */ accounts: (BaseAccountProtoMsg | AnyProtoMsg)[]; -}; -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponseAmino { - /** accounts are the existing accounts */ - accounts: AnyAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAccountsResponseAminoMsg { - type: "cosmos-sdk/QueryAccountsResponse"; - value: QueryAccountsResponseAmino; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponseSDKType { - accounts: (BaseAccountSDKType | AnySDKType)[]; - pagination: PageResponseSDKType; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequest { - /** address defines the address to query for. */ - address: string; -} -export interface QueryAccountRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountRequest"; - value: Uint8Array; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequestAmino { - /** address defines the address to query for. */ - address: string; -} -export interface QueryAccountRequestAminoMsg { - type: "cosmos-sdk/QueryAccountRequest"; - value: QueryAccountRequestAmino; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequestSDKType { - address: string; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponse { - /** account defines the account of the corresponding address. */ - account: (BaseAccount & Any) | undefined; -} -export interface QueryAccountResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountResponse"; - value: Uint8Array; -} -export type QueryAccountResponseEncoded = Omit & { - /** account defines the account of the corresponding address. */ account?: BaseAccountProtoMsg | AnyProtoMsg | undefined; -}; -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponseAmino { - /** account defines the account of the corresponding address. */ - account?: AnyAmino; -} -export interface QueryAccountResponseAminoMsg { - type: "cosmos-sdk/QueryAccountResponse"; - value: QueryAccountResponseAmino; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponseSDKType { - account: BaseAccountSDKType | AnySDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryModuleAccountsRequest { -} -export interface QueryModuleAccountsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsRequest"; - value: Uint8Array; -} -/** - * QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryModuleAccountsRequestAmino { -} -export interface QueryModuleAccountsRequestAminoMsg { - type: "cosmos-sdk/QueryModuleAccountsRequest"; - value: QueryModuleAccountsRequestAmino; -} -/** - * QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryModuleAccountsRequestSDKType { -} -/** - * QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryModuleAccountsResponse { - accounts: (ModuleAccount & Any)[] | Any[]; -} -export interface QueryModuleAccountsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsResponse"; - value: Uint8Array; -} -export type QueryModuleAccountsResponseEncoded = Omit & { - accounts: (ModuleAccountProtoMsg | AnyProtoMsg)[]; -}; -/** - * QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryModuleAccountsResponseAmino { - accounts: AnyAmino[]; -} -export interface QueryModuleAccountsResponseAminoMsg { - type: "cosmos-sdk/QueryModuleAccountsResponse"; - value: QueryModuleAccountsResponseAmino; -} -/** - * QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryModuleAccountsResponseSDKType { - accounts: (ModuleAccountSDKType | AnySDKType)[]; -} -/** QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. */ -export interface QueryModuleAccountByNameRequest { - name: string; -} -export interface QueryModuleAccountByNameRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountByNameRequest"; - value: Uint8Array; -} -/** QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. */ -export interface QueryModuleAccountByNameRequestAmino { - name: string; -} -export interface QueryModuleAccountByNameRequestAminoMsg { - type: "cosmos-sdk/QueryModuleAccountByNameRequest"; - value: QueryModuleAccountByNameRequestAmino; -} -/** QueryModuleAccountByNameRequest is the request type for the Query/ModuleAccountByName RPC method. */ -export interface QueryModuleAccountByNameRequestSDKType { - name: string; -} -/** QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. */ -export interface QueryModuleAccountByNameResponse { - account: (ModuleAccount & Any) | undefined; -} -export interface QueryModuleAccountByNameResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountByNameResponse"; - value: Uint8Array; -} -export type QueryModuleAccountByNameResponseEncoded = Omit & { - account?: ModuleAccountProtoMsg | AnyProtoMsg | undefined; -}; -/** QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. */ -export interface QueryModuleAccountByNameResponseAmino { - account?: AnyAmino; -} -export interface QueryModuleAccountByNameResponseAminoMsg { - type: "cosmos-sdk/QueryModuleAccountByNameResponse"; - value: QueryModuleAccountByNameResponseAmino; -} -/** QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. */ -export interface QueryModuleAccountByNameResponseSDKType { - account: ModuleAccountSDKType | AnySDKType | undefined; -} -/** - * Bech32PrefixRequest is the request type for Bech32Prefix rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface Bech32PrefixRequest { -} -export interface Bech32PrefixRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixRequest"; - value: Uint8Array; -} -/** - * Bech32PrefixRequest is the request type for Bech32Prefix rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface Bech32PrefixRequestAmino { -} -export interface Bech32PrefixRequestAminoMsg { - type: "cosmos-sdk/Bech32PrefixRequest"; - value: Bech32PrefixRequestAmino; -} -/** - * Bech32PrefixRequest is the request type for Bech32Prefix rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface Bech32PrefixRequestSDKType { -} -/** - * Bech32PrefixResponse is the response type for Bech32Prefix rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface Bech32PrefixResponse { - bech32Prefix: string; -} -export interface Bech32PrefixResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixResponse"; - value: Uint8Array; -} -/** - * Bech32PrefixResponse is the response type for Bech32Prefix rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface Bech32PrefixResponseAmino { - bech32_prefix: string; -} -export interface Bech32PrefixResponseAminoMsg { - type: "cosmos-sdk/Bech32PrefixResponse"; - value: Bech32PrefixResponseAmino; -} -/** - * Bech32PrefixResponse is the response type for Bech32Prefix rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface Bech32PrefixResponseSDKType { - bech32_prefix: string; -} -/** - * AddressBytesToStringRequest is the request type for AddressString rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressBytesToStringRequest { - addressBytes: Uint8Array; -} -export interface AddressBytesToStringRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringRequest"; - value: Uint8Array; -} -/** - * AddressBytesToStringRequest is the request type for AddressString rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressBytesToStringRequestAmino { - address_bytes: Uint8Array; -} -export interface AddressBytesToStringRequestAminoMsg { - type: "cosmos-sdk/AddressBytesToStringRequest"; - value: AddressBytesToStringRequestAmino; -} -/** - * AddressBytesToStringRequest is the request type for AddressString rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressBytesToStringRequestSDKType { - address_bytes: Uint8Array; -} -/** - * AddressBytesToStringResponse is the response type for AddressString rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressBytesToStringResponse { - addressString: string; -} -export interface AddressBytesToStringResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringResponse"; - value: Uint8Array; -} -/** - * AddressBytesToStringResponse is the response type for AddressString rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressBytesToStringResponseAmino { - address_string: string; -} -export interface AddressBytesToStringResponseAminoMsg { - type: "cosmos-sdk/AddressBytesToStringResponse"; - value: AddressBytesToStringResponseAmino; -} -/** - * AddressBytesToStringResponse is the response type for AddressString rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressBytesToStringResponseSDKType { - address_string: string; -} -/** - * AddressStringToBytesRequest is the request type for AccountBytes rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressStringToBytesRequest { - addressString: string; -} -export interface AddressStringToBytesRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesRequest"; - value: Uint8Array; -} -/** - * AddressStringToBytesRequest is the request type for AccountBytes rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressStringToBytesRequestAmino { - address_string: string; -} -export interface AddressStringToBytesRequestAminoMsg { - type: "cosmos-sdk/AddressStringToBytesRequest"; - value: AddressStringToBytesRequestAmino; -} -/** - * AddressStringToBytesRequest is the request type for AccountBytes rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressStringToBytesRequestSDKType { - address_string: string; -} -/** - * AddressStringToBytesResponse is the response type for AddressBytes rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressStringToBytesResponse { - addressBytes: Uint8Array; -} -export interface AddressStringToBytesResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesResponse"; - value: Uint8Array; -} -/** - * AddressStringToBytesResponse is the response type for AddressBytes rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressStringToBytesResponseAmino { - address_bytes: Uint8Array; -} -export interface AddressStringToBytesResponseAminoMsg { - type: "cosmos-sdk/AddressStringToBytesResponse"; - value: AddressStringToBytesResponseAmino; -} -/** - * AddressStringToBytesResponse is the response type for AddressBytes rpc method. - * - * Since: cosmos-sdk 0.46 - */ -export interface AddressStringToBytesResponseSDKType { - address_bytes: Uint8Array; -} -/** - * QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method - * - * Since: cosmos-sdk 0.46.2 - */ -export interface QueryAccountAddressByIDRequest { - /** - * id is the account number of the address to be queried. This field - * should have been an uint64 (like all account numbers), and will be - * updated to uint64 in a future version of the auth query. - */ - id: Long; -} -export interface QueryAccountAddressByIDRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountAddressByIDRequest"; - value: Uint8Array; -} -/** - * QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method - * - * Since: cosmos-sdk 0.46.2 - */ -export interface QueryAccountAddressByIDRequestAmino { - /** - * id is the account number of the address to be queried. This field - * should have been an uint64 (like all account numbers), and will be - * updated to uint64 in a future version of the auth query. - */ - id: string; -} -export interface QueryAccountAddressByIDRequestAminoMsg { - type: "cosmos-sdk/QueryAccountAddressByIDRequest"; - value: QueryAccountAddressByIDRequestAmino; -} -/** - * QueryAccountAddressByIDRequest is the request type for AccountAddressByID rpc method - * - * Since: cosmos-sdk 0.46.2 - */ -export interface QueryAccountAddressByIDRequestSDKType { - id: Long; -} -/** - * QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method - * - * Since: cosmos-sdk 0.46.2 - */ -export interface QueryAccountAddressByIDResponse { - accountAddress: string; -} -export interface QueryAccountAddressByIDResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountAddressByIDResponse"; - value: Uint8Array; -} -/** - * QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method - * - * Since: cosmos-sdk 0.46.2 - */ -export interface QueryAccountAddressByIDResponseAmino { - account_address: string; -} -export interface QueryAccountAddressByIDResponseAminoMsg { - type: "cosmos-sdk/QueryAccountAddressByIDResponse"; - value: QueryAccountAddressByIDResponseAmino; -} -/** - * QueryAccountAddressByIDResponse is the response type for AccountAddressByID rpc method - * - * Since: cosmos-sdk 0.46.2 - */ -export interface QueryAccountAddressByIDResponseSDKType { - account_address: string; -} -export declare const QueryAccountsRequest: { - encode(message: QueryAccountsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest; - fromJSON(object: any): QueryAccountsRequest; - toJSON(message: QueryAccountsRequest): unknown; - fromPartial(object: Partial): QueryAccountsRequest; - fromAmino(object: QueryAccountsRequestAmino): QueryAccountsRequest; - toAmino(message: QueryAccountsRequest): QueryAccountsRequestAmino; - fromAminoMsg(object: QueryAccountsRequestAminoMsg): QueryAccountsRequest; - toAminoMsg(message: QueryAccountsRequest): QueryAccountsRequestAminoMsg; - fromProtoMsg(message: QueryAccountsRequestProtoMsg): QueryAccountsRequest; - toProto(message: QueryAccountsRequest): Uint8Array; - toProtoMsg(message: QueryAccountsRequest): QueryAccountsRequestProtoMsg; -}; -export declare const QueryAccountsResponse: { - encode(message: QueryAccountsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse; - fromJSON(object: any): QueryAccountsResponse; - toJSON(message: QueryAccountsResponse): unknown; - fromPartial(object: Partial): QueryAccountsResponse; - fromAmino(object: QueryAccountsResponseAmino): QueryAccountsResponse; - toAmino(message: QueryAccountsResponse): QueryAccountsResponseAmino; - fromAminoMsg(object: QueryAccountsResponseAminoMsg): QueryAccountsResponse; - toAminoMsg(message: QueryAccountsResponse): QueryAccountsResponseAminoMsg; - fromProtoMsg(message: QueryAccountsResponseProtoMsg): QueryAccountsResponse; - toProto(message: QueryAccountsResponse): Uint8Array; - toProtoMsg(message: QueryAccountsResponse): QueryAccountsResponseProtoMsg; -}; -export declare const QueryAccountRequest: { - encode(message: QueryAccountRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest; - fromJSON(object: any): QueryAccountRequest; - toJSON(message: QueryAccountRequest): unknown; - fromPartial(object: Partial): QueryAccountRequest; - fromAmino(object: QueryAccountRequestAmino): QueryAccountRequest; - toAmino(message: QueryAccountRequest): QueryAccountRequestAmino; - fromAminoMsg(object: QueryAccountRequestAminoMsg): QueryAccountRequest; - toAminoMsg(message: QueryAccountRequest): QueryAccountRequestAminoMsg; - fromProtoMsg(message: QueryAccountRequestProtoMsg): QueryAccountRequest; - toProto(message: QueryAccountRequest): Uint8Array; - toProtoMsg(message: QueryAccountRequest): QueryAccountRequestProtoMsg; -}; -export declare const QueryAccountResponse: { - encode(message: QueryAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse; - fromJSON(object: any): QueryAccountResponse; - toJSON(message: QueryAccountResponse): unknown; - fromPartial(object: Partial): QueryAccountResponse; - fromAmino(object: QueryAccountResponseAmino): QueryAccountResponse; - toAmino(message: QueryAccountResponse): QueryAccountResponseAmino; - fromAminoMsg(object: QueryAccountResponseAminoMsg): QueryAccountResponse; - toAminoMsg(message: QueryAccountResponse): QueryAccountResponseAminoMsg; - fromProtoMsg(message: QueryAccountResponseProtoMsg): QueryAccountResponse; - toProto(message: QueryAccountResponse): Uint8Array; - toProtoMsg(message: QueryAccountResponse): QueryAccountResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryModuleAccountsRequest: { - encode(_: QueryModuleAccountsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest; - fromJSON(_: any): QueryModuleAccountsRequest; - toJSON(_: QueryModuleAccountsRequest): unknown; - fromPartial(_: Partial): QueryModuleAccountsRequest; - fromAmino(_: QueryModuleAccountsRequestAmino): QueryModuleAccountsRequest; - toAmino(_: QueryModuleAccountsRequest): QueryModuleAccountsRequestAmino; - fromAminoMsg(object: QueryModuleAccountsRequestAminoMsg): QueryModuleAccountsRequest; - toAminoMsg(message: QueryModuleAccountsRequest): QueryModuleAccountsRequestAminoMsg; - fromProtoMsg(message: QueryModuleAccountsRequestProtoMsg): QueryModuleAccountsRequest; - toProto(message: QueryModuleAccountsRequest): Uint8Array; - toProtoMsg(message: QueryModuleAccountsRequest): QueryModuleAccountsRequestProtoMsg; -}; -export declare const QueryModuleAccountsResponse: { - encode(message: QueryModuleAccountsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse; - fromJSON(object: any): QueryModuleAccountsResponse; - toJSON(message: QueryModuleAccountsResponse): unknown; - fromPartial(object: Partial): QueryModuleAccountsResponse; - fromAmino(object: QueryModuleAccountsResponseAmino): QueryModuleAccountsResponse; - toAmino(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseAmino; - fromAminoMsg(object: QueryModuleAccountsResponseAminoMsg): QueryModuleAccountsResponse; - toAminoMsg(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseAminoMsg; - fromProtoMsg(message: QueryModuleAccountsResponseProtoMsg): QueryModuleAccountsResponse; - toProto(message: QueryModuleAccountsResponse): Uint8Array; - toProtoMsg(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseProtoMsg; -}; -export declare const QueryModuleAccountByNameRequest: { - encode(message: QueryModuleAccountByNameRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountByNameRequest; - fromJSON(object: any): QueryModuleAccountByNameRequest; - toJSON(message: QueryModuleAccountByNameRequest): unknown; - fromPartial(object: Partial): QueryModuleAccountByNameRequest; - fromAmino(object: QueryModuleAccountByNameRequestAmino): QueryModuleAccountByNameRequest; - toAmino(message: QueryModuleAccountByNameRequest): QueryModuleAccountByNameRequestAmino; - fromAminoMsg(object: QueryModuleAccountByNameRequestAminoMsg): QueryModuleAccountByNameRequest; - toAminoMsg(message: QueryModuleAccountByNameRequest): QueryModuleAccountByNameRequestAminoMsg; - fromProtoMsg(message: QueryModuleAccountByNameRequestProtoMsg): QueryModuleAccountByNameRequest; - toProto(message: QueryModuleAccountByNameRequest): Uint8Array; - toProtoMsg(message: QueryModuleAccountByNameRequest): QueryModuleAccountByNameRequestProtoMsg; -}; -export declare const QueryModuleAccountByNameResponse: { - encode(message: QueryModuleAccountByNameResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountByNameResponse; - fromJSON(object: any): QueryModuleAccountByNameResponse; - toJSON(message: QueryModuleAccountByNameResponse): unknown; - fromPartial(object: Partial): QueryModuleAccountByNameResponse; - fromAmino(object: QueryModuleAccountByNameResponseAmino): QueryModuleAccountByNameResponse; - toAmino(message: QueryModuleAccountByNameResponse): QueryModuleAccountByNameResponseAmino; - fromAminoMsg(object: QueryModuleAccountByNameResponseAminoMsg): QueryModuleAccountByNameResponse; - toAminoMsg(message: QueryModuleAccountByNameResponse): QueryModuleAccountByNameResponseAminoMsg; - fromProtoMsg(message: QueryModuleAccountByNameResponseProtoMsg): QueryModuleAccountByNameResponse; - toProto(message: QueryModuleAccountByNameResponse): Uint8Array; - toProtoMsg(message: QueryModuleAccountByNameResponse): QueryModuleAccountByNameResponseProtoMsg; -}; -export declare const Bech32PrefixRequest: { - encode(_: Bech32PrefixRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest; - fromJSON(_: any): Bech32PrefixRequest; - toJSON(_: Bech32PrefixRequest): unknown; - fromPartial(_: Partial): Bech32PrefixRequest; - fromAmino(_: Bech32PrefixRequestAmino): Bech32PrefixRequest; - toAmino(_: Bech32PrefixRequest): Bech32PrefixRequestAmino; - fromAminoMsg(object: Bech32PrefixRequestAminoMsg): Bech32PrefixRequest; - toAminoMsg(message: Bech32PrefixRequest): Bech32PrefixRequestAminoMsg; - fromProtoMsg(message: Bech32PrefixRequestProtoMsg): Bech32PrefixRequest; - toProto(message: Bech32PrefixRequest): Uint8Array; - toProtoMsg(message: Bech32PrefixRequest): Bech32PrefixRequestProtoMsg; -}; -export declare const Bech32PrefixResponse: { - encode(message: Bech32PrefixResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse; - fromJSON(object: any): Bech32PrefixResponse; - toJSON(message: Bech32PrefixResponse): unknown; - fromPartial(object: Partial): Bech32PrefixResponse; - fromAmino(object: Bech32PrefixResponseAmino): Bech32PrefixResponse; - toAmino(message: Bech32PrefixResponse): Bech32PrefixResponseAmino; - fromAminoMsg(object: Bech32PrefixResponseAminoMsg): Bech32PrefixResponse; - toAminoMsg(message: Bech32PrefixResponse): Bech32PrefixResponseAminoMsg; - fromProtoMsg(message: Bech32PrefixResponseProtoMsg): Bech32PrefixResponse; - toProto(message: Bech32PrefixResponse): Uint8Array; - toProtoMsg(message: Bech32PrefixResponse): Bech32PrefixResponseProtoMsg; -}; -export declare const AddressBytesToStringRequest: { - encode(message: AddressBytesToStringRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest; - fromJSON(object: any): AddressBytesToStringRequest; - toJSON(message: AddressBytesToStringRequest): unknown; - fromPartial(object: Partial): AddressBytesToStringRequest; - fromAmino(object: AddressBytesToStringRequestAmino): AddressBytesToStringRequest; - toAmino(message: AddressBytesToStringRequest): AddressBytesToStringRequestAmino; - fromAminoMsg(object: AddressBytesToStringRequestAminoMsg): AddressBytesToStringRequest; - toAminoMsg(message: AddressBytesToStringRequest): AddressBytesToStringRequestAminoMsg; - fromProtoMsg(message: AddressBytesToStringRequestProtoMsg): AddressBytesToStringRequest; - toProto(message: AddressBytesToStringRequest): Uint8Array; - toProtoMsg(message: AddressBytesToStringRequest): AddressBytesToStringRequestProtoMsg; -}; -export declare const AddressBytesToStringResponse: { - encode(message: AddressBytesToStringResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse; - fromJSON(object: any): AddressBytesToStringResponse; - toJSON(message: AddressBytesToStringResponse): unknown; - fromPartial(object: Partial): AddressBytesToStringResponse; - fromAmino(object: AddressBytesToStringResponseAmino): AddressBytesToStringResponse; - toAmino(message: AddressBytesToStringResponse): AddressBytesToStringResponseAmino; - fromAminoMsg(object: AddressBytesToStringResponseAminoMsg): AddressBytesToStringResponse; - toAminoMsg(message: AddressBytesToStringResponse): AddressBytesToStringResponseAminoMsg; - fromProtoMsg(message: AddressBytesToStringResponseProtoMsg): AddressBytesToStringResponse; - toProto(message: AddressBytesToStringResponse): Uint8Array; - toProtoMsg(message: AddressBytesToStringResponse): AddressBytesToStringResponseProtoMsg; -}; -export declare const AddressStringToBytesRequest: { - encode(message: AddressStringToBytesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest; - fromJSON(object: any): AddressStringToBytesRequest; - toJSON(message: AddressStringToBytesRequest): unknown; - fromPartial(object: Partial): AddressStringToBytesRequest; - fromAmino(object: AddressStringToBytesRequestAmino): AddressStringToBytesRequest; - toAmino(message: AddressStringToBytesRequest): AddressStringToBytesRequestAmino; - fromAminoMsg(object: AddressStringToBytesRequestAminoMsg): AddressStringToBytesRequest; - toAminoMsg(message: AddressStringToBytesRequest): AddressStringToBytesRequestAminoMsg; - fromProtoMsg(message: AddressStringToBytesRequestProtoMsg): AddressStringToBytesRequest; - toProto(message: AddressStringToBytesRequest): Uint8Array; - toProtoMsg(message: AddressStringToBytesRequest): AddressStringToBytesRequestProtoMsg; -}; -export declare const AddressStringToBytesResponse: { - encode(message: AddressStringToBytesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse; - fromJSON(object: any): AddressStringToBytesResponse; - toJSON(message: AddressStringToBytesResponse): unknown; - fromPartial(object: Partial): AddressStringToBytesResponse; - fromAmino(object: AddressStringToBytesResponseAmino): AddressStringToBytesResponse; - toAmino(message: AddressStringToBytesResponse): AddressStringToBytesResponseAmino; - fromAminoMsg(object: AddressStringToBytesResponseAminoMsg): AddressStringToBytesResponse; - toAminoMsg(message: AddressStringToBytesResponse): AddressStringToBytesResponseAminoMsg; - fromProtoMsg(message: AddressStringToBytesResponseProtoMsg): AddressStringToBytesResponse; - toProto(message: AddressStringToBytesResponse): Uint8Array; - toProtoMsg(message: AddressStringToBytesResponse): AddressStringToBytesResponseProtoMsg; -}; -export declare const QueryAccountAddressByIDRequest: { - encode(message: QueryAccountAddressByIDRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountAddressByIDRequest; - fromJSON(object: any): QueryAccountAddressByIDRequest; - toJSON(message: QueryAccountAddressByIDRequest): unknown; - fromPartial(object: Partial): QueryAccountAddressByIDRequest; - fromAmino(object: QueryAccountAddressByIDRequestAmino): QueryAccountAddressByIDRequest; - toAmino(message: QueryAccountAddressByIDRequest): QueryAccountAddressByIDRequestAmino; - fromAminoMsg(object: QueryAccountAddressByIDRequestAminoMsg): QueryAccountAddressByIDRequest; - toAminoMsg(message: QueryAccountAddressByIDRequest): QueryAccountAddressByIDRequestAminoMsg; - fromProtoMsg(message: QueryAccountAddressByIDRequestProtoMsg): QueryAccountAddressByIDRequest; - toProto(message: QueryAccountAddressByIDRequest): Uint8Array; - toProtoMsg(message: QueryAccountAddressByIDRequest): QueryAccountAddressByIDRequestProtoMsg; -}; -export declare const QueryAccountAddressByIDResponse: { - encode(message: QueryAccountAddressByIDResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountAddressByIDResponse; - fromJSON(object: any): QueryAccountAddressByIDResponse; - toJSON(message: QueryAccountAddressByIDResponse): unknown; - fromPartial(object: Partial): QueryAccountAddressByIDResponse; - fromAmino(object: QueryAccountAddressByIDResponseAmino): QueryAccountAddressByIDResponse; - toAmino(message: QueryAccountAddressByIDResponse): QueryAccountAddressByIDResponseAmino; - fromAminoMsg(object: QueryAccountAddressByIDResponseAminoMsg): QueryAccountAddressByIDResponse; - toAminoMsg(message: QueryAccountAddressByIDResponse): QueryAccountAddressByIDResponseAminoMsg; - fromProtoMsg(message: QueryAccountAddressByIDResponseProtoMsg): QueryAccountAddressByIDResponse; - toProto(message: QueryAccountAddressByIDResponse): Uint8Array; - toProtoMsg(message: QueryAccountAddressByIDResponse): QueryAccountAddressByIDResponseProtoMsg; -}; -export declare const AccountI_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => BaseAccount | Any; -export declare const AccountI_FromAmino: (content: AnyAmino) => Any; -export declare const AccountI_ToAmino: (content: Any) => AnyAmino; -export declare const ModuleAccountI_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => ModuleAccount | Any; -export declare const ModuleAccountI_FromAmino: (content: AnyAmino) => Any; -export declare const ModuleAccountI_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts deleted file mode 100644 index 5c8c3b94..00000000 --- a/packages/api/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - accounts(params?: QueryAccountsRequest): Promise; - account(params: QueryAccountRequest): Promise; - accountAddressByID(params: QueryAccountAddressByIDRequest): Promise; - params(_params?: QueryParamsRequest): Promise; - moduleAccounts(_params?: QueryModuleAccountsRequest): Promise; - moduleAccountByName(params: QueryModuleAccountByNameRequest): Promise; - bech32Prefix(_params?: Bech32PrefixRequest): Promise; - addressBytesToString(params: AddressBytesToStringRequest): Promise; - addressStringToBytes(params: AddressStringToBytesRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index b74fda81..00000000 --- a/packages/api/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryAccountAddressByIDRequest, QueryAccountAddressByIDResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, QueryModuleAccountByNameRequest, QueryModuleAccountByNameResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * Accounts returns all the existing accounts - * - * Since: cosmos-sdk 0.43 - */ - accounts(request?: QueryAccountsRequest): Promise; - /** Account returns account details based on address. */ - account(request: QueryAccountRequest): Promise; - /** - * AccountAddressByID returns account address based on account number. - * - * Since: cosmos-sdk 0.46.2 - */ - accountAddressByID(request: QueryAccountAddressByIDRequest): Promise; - /** Params queries all parameters. */ - params(request?: QueryParamsRequest): Promise; - /** - * ModuleAccounts returns all the existing module accounts. - * - * Since: cosmos-sdk 0.46 - */ - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - /** ModuleAccountByName returns the module account info by module name */ - moduleAccountByName(request: QueryModuleAccountByNameRequest): Promise; - /** - * Bech32Prefix queries bech32Prefix - * - * Since: cosmos-sdk 0.46 - */ - bech32Prefix(request?: Bech32PrefixRequest): Promise; - /** - * AddressBytesToString converts Account Address bytes to string - * - * Since: cosmos-sdk 0.46 - */ - addressBytesToString(request: AddressBytesToStringRequest): Promise; - /** - * AddressStringToBytes converts Address string to bytes - * - * Since: cosmos-sdk 0.46 - */ - addressStringToBytes(request: AddressStringToBytesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - accounts(request?: QueryAccountsRequest): Promise; - account(request: QueryAccountRequest): Promise; - accountAddressByID(request: QueryAccountAddressByIDRequest): Promise; - params(request?: QueryParamsRequest): Promise; - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - moduleAccountByName(request: QueryModuleAccountByNameRequest): Promise; - bech32Prefix(request?: Bech32PrefixRequest): Promise; - addressBytesToString(request: AddressBytesToStringRequest): Promise; - addressStringToBytes(request: AddressStringToBytesRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - accounts(request?: QueryAccountsRequest): Promise; - account(request: QueryAccountRequest): Promise; - accountAddressByID(request: QueryAccountAddressByIDRequest): Promise; - params(request?: QueryParamsRequest): Promise; - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - moduleAccountByName(request: QueryModuleAccountByNameRequest): Promise; - bech32Prefix(request?: Bech32PrefixRequest): Promise; - addressBytesToString(request: AddressBytesToStringRequest): Promise; - addressStringToBytes(request: AddressStringToBytesRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/authz.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/authz.d.ts deleted file mode 100644 index 2a351b4b..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/authz.d.ts +++ /dev/null @@ -1,205 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { SendAuthorization, SendAuthorizationProtoMsg, SendAuthorizationSDKType } from "../../bank/v1beta1/authz"; -import { StakeAuthorization, StakeAuthorizationProtoMsg, StakeAuthorizationSDKType } from "../../staking/v1beta1/authz"; -import * as _m0 from "protobufjs/minimal"; -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorization { - $typeUrl?: string; - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg: string; -} -export interface GenericAuthorizationProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization"; - value: Uint8Array; -} -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorizationAmino { - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg: string; -} -export interface GenericAuthorizationAminoMsg { - type: "cosmos-sdk/GenericAuthorization"; - value: GenericAuthorizationAmino; -} -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorizationSDKType { - $typeUrl?: string; - msg: string; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface Grant { - authorization: (GenericAuthorization & SendAuthorization & StakeAuthorization & Any) | undefined; - /** - * time when the grant will expire and will be pruned. If null, then the grant - * doesn't have a time expiration (other conditions in `authorization` - * may apply to invalidate the grant) - */ - expiration?: Timestamp; -} -export interface GrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.Grant"; - value: Uint8Array; -} -export type GrantEncoded = Omit & { - authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | AnyProtoMsg | undefined; -}; -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface GrantAmino { - authorization?: AnyAmino; - /** - * time when the grant will expire and will be pruned. If null, then the grant - * doesn't have a time expiration (other conditions in `authorization` - * may apply to invalidate the grant) - */ - expiration?: TimestampAmino; -} -export interface GrantAminoMsg { - type: "cosmos-sdk/Grant"; - value: GrantAmino; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface GrantSDKType { - authorization: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration?: TimestampSDKType; -} -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorization { - granter: string; - grantee: string; - authorization: (GenericAuthorization & SendAuthorization & StakeAuthorization & Any) | undefined; - expiration: Timestamp; -} -export interface GrantAuthorizationProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization"; - value: Uint8Array; -} -export type GrantAuthorizationEncoded = Omit & { - authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | AnyProtoMsg | undefined; -}; -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorizationAmino { - granter: string; - grantee: string; - authorization?: AnyAmino; - expiration?: TimestampAmino; -} -export interface GrantAuthorizationAminoMsg { - type: "cosmos-sdk/GrantAuthorization"; - value: GrantAuthorizationAmino; -} -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorizationSDKType { - granter: string; - grantee: string; - authorization: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration: TimestampSDKType; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItem { - /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ - msgTypeUrls: string[]; -} -export interface GrantQueueItemProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem"; - value: Uint8Array; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItemAmino { - /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ - msg_type_urls: string[]; -} -export interface GrantQueueItemAminoMsg { - type: "cosmos-sdk/GrantQueueItem"; - value: GrantQueueItemAmino; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItemSDKType { - msg_type_urls: string[]; -} -export declare const GenericAuthorization: { - encode(message: GenericAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization; - fromJSON(object: any): GenericAuthorization; - toJSON(message: GenericAuthorization): unknown; - fromPartial(object: Partial): GenericAuthorization; - fromAmino(object: GenericAuthorizationAmino): GenericAuthorization; - toAmino(message: GenericAuthorization): GenericAuthorizationAmino; - fromAminoMsg(object: GenericAuthorizationAminoMsg): GenericAuthorization; - toAminoMsg(message: GenericAuthorization): GenericAuthorizationAminoMsg; - fromProtoMsg(message: GenericAuthorizationProtoMsg): GenericAuthorization; - toProto(message: GenericAuthorization): Uint8Array; - toProtoMsg(message: GenericAuthorization): GenericAuthorizationProtoMsg; -}; -export declare const Grant: { - encode(message: Grant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Grant; - fromJSON(object: any): Grant; - toJSON(message: Grant): unknown; - fromPartial(object: Partial): Grant; - fromAmino(object: GrantAmino): Grant; - toAmino(message: Grant): GrantAmino; - fromAminoMsg(object: GrantAminoMsg): Grant; - toAminoMsg(message: Grant): GrantAminoMsg; - fromProtoMsg(message: GrantProtoMsg): Grant; - toProto(message: Grant): Uint8Array; - toProtoMsg(message: Grant): GrantProtoMsg; -}; -export declare const GrantAuthorization: { - encode(message: GrantAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization; - fromJSON(object: any): GrantAuthorization; - toJSON(message: GrantAuthorization): unknown; - fromPartial(object: Partial): GrantAuthorization; - fromAmino(object: GrantAuthorizationAmino): GrantAuthorization; - toAmino(message: GrantAuthorization): GrantAuthorizationAmino; - fromAminoMsg(object: GrantAuthorizationAminoMsg): GrantAuthorization; - toAminoMsg(message: GrantAuthorization): GrantAuthorizationAminoMsg; - fromProtoMsg(message: GrantAuthorizationProtoMsg): GrantAuthorization; - toProto(message: GrantAuthorization): Uint8Array; - toProtoMsg(message: GrantAuthorization): GrantAuthorizationProtoMsg; -}; -export declare const GrantQueueItem: { - encode(message: GrantQueueItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem; - fromJSON(object: any): GrantQueueItem; - toJSON(message: GrantQueueItem): unknown; - fromPartial(object: Partial): GrantQueueItem; - fromAmino(object: GrantQueueItemAmino): GrantQueueItem; - toAmino(message: GrantQueueItem): GrantQueueItemAmino; - fromAminoMsg(object: GrantQueueItemAminoMsg): GrantQueueItem; - toAminoMsg(message: GrantQueueItem): GrantQueueItemAminoMsg; - fromProtoMsg(message: GrantQueueItemProtoMsg): GrantQueueItem; - toProto(message: GrantQueueItem): Uint8Array; - toProtoMsg(message: GrantQueueItem): GrantQueueItemProtoMsg; -}; -export declare const Authorization_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => GenericAuthorization | SendAuthorization | StakeAuthorization | Any; -export declare const Authorization_FromAmino: (content: AnyAmino) => Any; -export declare const Authorization_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/event.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/event.d.ts deleted file mode 100644 index 15b7550e..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/event.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** EventGrant is emitted on Msg/Grant */ -export interface EventGrant { - /** Msg type URL for which an autorization is granted */ - msgTypeUrl: string; - /** Granter account address */ - granter: string; - /** Grantee account address */ - grantee: string; -} -export interface EventGrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.EventGrant"; - value: Uint8Array; -} -/** EventGrant is emitted on Msg/Grant */ -export interface EventGrantAmino { - /** Msg type URL for which an autorization is granted */ - msg_type_url: string; - /** Granter account address */ - granter: string; - /** Grantee account address */ - grantee: string; -} -export interface EventGrantAminoMsg { - type: "cosmos-sdk/EventGrant"; - value: EventGrantAmino; -} -/** EventGrant is emitted on Msg/Grant */ -export interface EventGrantSDKType { - msg_type_url: string; - granter: string; - grantee: string; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevoke { - /** Msg type URL for which an autorization is revoked */ - msgTypeUrl: string; - /** Granter account address */ - granter: string; - /** Grantee account address */ - grantee: string; -} -export interface EventRevokeProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.EventRevoke"; - value: Uint8Array; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevokeAmino { - /** Msg type URL for which an autorization is revoked */ - msg_type_url: string; - /** Granter account address */ - granter: string; - /** Grantee account address */ - grantee: string; -} -export interface EventRevokeAminoMsg { - type: "cosmos-sdk/EventRevoke"; - value: EventRevokeAmino; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevokeSDKType { - msg_type_url: string; - granter: string; - grantee: string; -} -export declare const EventGrant: { - encode(message: EventGrant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant; - fromJSON(object: any): EventGrant; - toJSON(message: EventGrant): unknown; - fromPartial(object: Partial): EventGrant; - fromAmino(object: EventGrantAmino): EventGrant; - toAmino(message: EventGrant): EventGrantAmino; - fromAminoMsg(object: EventGrantAminoMsg): EventGrant; - toAminoMsg(message: EventGrant): EventGrantAminoMsg; - fromProtoMsg(message: EventGrantProtoMsg): EventGrant; - toProto(message: EventGrant): Uint8Array; - toProtoMsg(message: EventGrant): EventGrantProtoMsg; -}; -export declare const EventRevoke: { - encode(message: EventRevoke, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke; - fromJSON(object: any): EventRevoke; - toJSON(message: EventRevoke): unknown; - fromPartial(object: Partial): EventRevoke; - fromAmino(object: EventRevokeAmino): EventRevoke; - toAmino(message: EventRevoke): EventRevokeAmino; - fromAminoMsg(object: EventRevokeAminoMsg): EventRevoke; - toAminoMsg(message: EventRevoke): EventRevokeAminoMsg; - fromProtoMsg(message: EventRevokeProtoMsg): EventRevoke; - toProto(message: EventRevoke): Uint8Array; - toProtoMsg(message: EventRevoke): EventRevokeProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/genesis.d.ts deleted file mode 100644 index cda1e0c4..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisState { - authorization: GrantAuthorization[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisStateAmino { - authorization: GrantAuthorizationAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisStateSDKType { - authorization: GrantAuthorizationSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/query.d.ts deleted file mode 100644 index 7070a021..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/query.d.ts +++ /dev/null @@ -1,251 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAmino, GrantSDKType, GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; -import * as _m0 from "protobufjs/minimal"; -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequest { - granter: string; - grantee: string; - /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msgTypeUrl: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsRequest"; - value: Uint8Array; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequestAmino { - granter: string; - grantee: string; - /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msg_type_url: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGrantsRequest"; - value: QueryGrantsRequestAmino; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequestSDKType { - granter: string; - grantee: string; - msg_type_url: string; - pagination: PageRequestSDKType; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponse { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: Grant[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsResponse"; - value: Uint8Array; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponseAmino { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGrantsResponse"; - value: QueryGrantsResponseAmino; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponseSDKType { - grants: GrantSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGranterGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsRequest"; - value: Uint8Array; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequestAmino { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGranterGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGranterGrantsRequest"; - value: QueryGranterGrantsRequestAmino; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequestSDKType { - granter: string; - pagination: PageRequestSDKType; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponse { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryGranterGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsResponse"; - value: Uint8Array; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponseAmino { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorizationAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGranterGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGranterGrantsResponse"; - value: QueryGranterGrantsResponseAmino; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGranteeGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest"; - value: Uint8Array; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequestAmino { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGranteeGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGranteeGrantsRequest"; - value: QueryGranteeGrantsRequestAmino; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequestSDKType { - grantee: string; - pagination: PageRequestSDKType; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponse { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryGranteeGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse"; - value: Uint8Array; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponseAmino { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorizationAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGranteeGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGranteeGrantsResponse"; - value: QueryGranteeGrantsResponseAmino; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination: PageResponseSDKType; -} -export declare const QueryGrantsRequest: { - encode(message: QueryGrantsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest; - fromJSON(object: any): QueryGrantsRequest; - toJSON(message: QueryGrantsRequest): unknown; - fromPartial(object: Partial): QueryGrantsRequest; - fromAmino(object: QueryGrantsRequestAmino): QueryGrantsRequest; - toAmino(message: QueryGrantsRequest): QueryGrantsRequestAmino; - fromAminoMsg(object: QueryGrantsRequestAminoMsg): QueryGrantsRequest; - toAminoMsg(message: QueryGrantsRequest): QueryGrantsRequestAminoMsg; - fromProtoMsg(message: QueryGrantsRequestProtoMsg): QueryGrantsRequest; - toProto(message: QueryGrantsRequest): Uint8Array; - toProtoMsg(message: QueryGrantsRequest): QueryGrantsRequestProtoMsg; -}; -export declare const QueryGrantsResponse: { - encode(message: QueryGrantsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse; - fromJSON(object: any): QueryGrantsResponse; - toJSON(message: QueryGrantsResponse): unknown; - fromPartial(object: Partial): QueryGrantsResponse; - fromAmino(object: QueryGrantsResponseAmino): QueryGrantsResponse; - toAmino(message: QueryGrantsResponse): QueryGrantsResponseAmino; - fromAminoMsg(object: QueryGrantsResponseAminoMsg): QueryGrantsResponse; - toAminoMsg(message: QueryGrantsResponse): QueryGrantsResponseAminoMsg; - fromProtoMsg(message: QueryGrantsResponseProtoMsg): QueryGrantsResponse; - toProto(message: QueryGrantsResponse): Uint8Array; - toProtoMsg(message: QueryGrantsResponse): QueryGrantsResponseProtoMsg; -}; -export declare const QueryGranterGrantsRequest: { - encode(message: QueryGranterGrantsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest; - fromJSON(object: any): QueryGranterGrantsRequest; - toJSON(message: QueryGranterGrantsRequest): unknown; - fromPartial(object: Partial): QueryGranterGrantsRequest; - fromAmino(object: QueryGranterGrantsRequestAmino): QueryGranterGrantsRequest; - toAmino(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestAmino; - fromAminoMsg(object: QueryGranterGrantsRequestAminoMsg): QueryGranterGrantsRequest; - toAminoMsg(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestAminoMsg; - fromProtoMsg(message: QueryGranterGrantsRequestProtoMsg): QueryGranterGrantsRequest; - toProto(message: QueryGranterGrantsRequest): Uint8Array; - toProtoMsg(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestProtoMsg; -}; -export declare const QueryGranterGrantsResponse: { - encode(message: QueryGranterGrantsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse; - fromJSON(object: any): QueryGranterGrantsResponse; - toJSON(message: QueryGranterGrantsResponse): unknown; - fromPartial(object: Partial): QueryGranterGrantsResponse; - fromAmino(object: QueryGranterGrantsResponseAmino): QueryGranterGrantsResponse; - toAmino(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseAmino; - fromAminoMsg(object: QueryGranterGrantsResponseAminoMsg): QueryGranterGrantsResponse; - toAminoMsg(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseAminoMsg; - fromProtoMsg(message: QueryGranterGrantsResponseProtoMsg): QueryGranterGrantsResponse; - toProto(message: QueryGranterGrantsResponse): Uint8Array; - toProtoMsg(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseProtoMsg; -}; -export declare const QueryGranteeGrantsRequest: { - encode(message: QueryGranteeGrantsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest; - fromJSON(object: any): QueryGranteeGrantsRequest; - toJSON(message: QueryGranteeGrantsRequest): unknown; - fromPartial(object: Partial): QueryGranteeGrantsRequest; - fromAmino(object: QueryGranteeGrantsRequestAmino): QueryGranteeGrantsRequest; - toAmino(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestAmino; - fromAminoMsg(object: QueryGranteeGrantsRequestAminoMsg): QueryGranteeGrantsRequest; - toAminoMsg(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestAminoMsg; - fromProtoMsg(message: QueryGranteeGrantsRequestProtoMsg): QueryGranteeGrantsRequest; - toProto(message: QueryGranteeGrantsRequest): Uint8Array; - toProtoMsg(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestProtoMsg; -}; -export declare const QueryGranteeGrantsResponse: { - encode(message: QueryGranteeGrantsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse; - fromJSON(object: any): QueryGranteeGrantsResponse; - toJSON(message: QueryGranteeGrantsResponse): unknown; - fromPartial(object: Partial): QueryGranteeGrantsResponse; - fromAmino(object: QueryGranteeGrantsResponseAmino): QueryGranteeGrantsResponse; - toAmino(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseAmino; - fromAminoMsg(object: QueryGranteeGrantsResponseAminoMsg): QueryGranteeGrantsResponse; - toAminoMsg(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseAminoMsg; - fromProtoMsg(message: QueryGranteeGrantsResponseProtoMsg): QueryGranteeGrantsResponse; - toProto(message: QueryGranteeGrantsResponse): Uint8Array; - toProtoMsg(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts deleted file mode 100644 index 7e4f0a08..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - grants(params: QueryGrantsRequest): Promise; - granterGrants(params: QueryGranterGrantsRequest): Promise; - granteeGrants(params: QueryGranteeGrantsRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index d7f1381d..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Returns list of `Authorization`, granted to the grantee by the granter. */ - grants(request: QueryGrantsRequest): Promise; - /** - * GranterGrants returns list of `GrantAuthorization`, granted by granter. - * - * Since: cosmos-sdk 0.46 - */ - granterGrants(request: QueryGranterGrantsRequest): Promise; - /** - * GranteeGrants returns a list of `GrantAuthorization` by grantee. - * - * Since: cosmos-sdk 0.46 - */ - granteeGrants(request: QueryGranteeGrantsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - grants(request: QueryGrantsRequest): Promise; - granterGrants(request: QueryGranterGrantsRequest): Promise; - granteeGrants(request: QueryGranteeGrantsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - grants(request: QueryGrantsRequest): Promise; - granterGrants(request: QueryGranterGrantsRequest): Promise; - granteeGrants(request: QueryGranteeGrantsRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts deleted file mode 100644 index 6f44ab84..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; -export declare const AminoConverter: { - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: string; - toAmino: (message: MsgGrant) => import("./tx").MsgGrantAmino; - fromAmino: (object: import("./tx").MsgGrantAmino) => MsgGrant; - }; - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: string; - toAmino: (message: MsgExec) => import("./tx").MsgExecAmino; - fromAmino: (object: import("./tx").MsgExecAmino) => MsgExec; - }; - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: string; - toAmino: (message: MsgRevoke) => import("./tx").MsgRevokeAmino; - fromAmino: (object: import("./tx").MsgRevokeAmino) => MsgRevoke; - }; -}; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/tx.d.ts deleted file mode 100644 index a0941152..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.d.ts +++ /dev/null @@ -1,270 +0,0 @@ -import { Grant, GrantAmino, GrantSDKType } from "./authz"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrant { - granter: string; - grantee: string; - grant: Grant; -} -export interface MsgGrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant"; - value: Uint8Array; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrantAmino { - granter: string; - grantee: string; - grant?: GrantAmino; -} -export interface MsgGrantAminoMsg { - type: "cosmos-sdk/MsgGrant"; - value: MsgGrantAmino; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrantSDKType { - granter: string; - grantee: string; - grant: GrantSDKType; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponse { - results: Uint8Array[]; -} -export interface MsgExecResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgExecResponse"; - value: Uint8Array; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponseAmino { - results: Uint8Array[]; -} -export interface MsgExecResponseAminoMsg { - type: "cosmos-sdk/MsgExecResponse"; - value: MsgExecResponseAmino; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponseSDKType { - results: Uint8Array[]; -} -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExec { - grantee: string; - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: (Any)[] | Any[]; -} -export interface MsgExecProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgExec"; - value: Uint8Array; -} -export type MsgExecEncoded = Omit & { - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: (AnyProtoMsg)[]; -}; -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExecAmino { - grantee: string; - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: AnyAmino[]; -} -export interface MsgExecAminoMsg { - type: "cosmos-sdk/MsgExec"; - value: MsgExecAmino; -} -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExecSDKType { - grantee: string; - msgs: (AnySDKType)[]; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponse { -} -export interface MsgGrantResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgGrantResponse"; - value: Uint8Array; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponseAmino { -} -export interface MsgGrantResponseAminoMsg { - type: "cosmos-sdk/MsgGrantResponse"; - value: MsgGrantResponseAmino; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponseSDKType { -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevoke { - granter: string; - grantee: string; - msgTypeUrl: string; -} -export interface MsgRevokeProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke"; - value: Uint8Array; -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevokeAmino { - granter: string; - grantee: string; - msg_type_url: string; -} -export interface MsgRevokeAminoMsg { - type: "cosmos-sdk/MsgRevoke"; - value: MsgRevokeAmino; -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevokeSDKType { - granter: string; - grantee: string; - msg_type_url: string; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponse { -} -export interface MsgRevokeResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgRevokeResponse"; - value: Uint8Array; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponseAmino { -} -export interface MsgRevokeResponseAminoMsg { - type: "cosmos-sdk/MsgRevokeResponse"; - value: MsgRevokeResponseAmino; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponseSDKType { -} -export declare const MsgGrant: { - encode(message: MsgGrant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant; - fromJSON(object: any): MsgGrant; - toJSON(message: MsgGrant): unknown; - fromPartial(object: Partial): MsgGrant; - fromAmino(object: MsgGrantAmino): MsgGrant; - toAmino(message: MsgGrant): MsgGrantAmino; - fromAminoMsg(object: MsgGrantAminoMsg): MsgGrant; - toAminoMsg(message: MsgGrant): MsgGrantAminoMsg; - fromProtoMsg(message: MsgGrantProtoMsg): MsgGrant; - toProto(message: MsgGrant): Uint8Array; - toProtoMsg(message: MsgGrant): MsgGrantProtoMsg; -}; -export declare const MsgExecResponse: { - encode(message: MsgExecResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse; - fromJSON(object: any): MsgExecResponse; - toJSON(message: MsgExecResponse): unknown; - fromPartial(object: Partial): MsgExecResponse; - fromAmino(object: MsgExecResponseAmino): MsgExecResponse; - toAmino(message: MsgExecResponse): MsgExecResponseAmino; - fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse; - toAminoMsg(message: MsgExecResponse): MsgExecResponseAminoMsg; - fromProtoMsg(message: MsgExecResponseProtoMsg): MsgExecResponse; - toProto(message: MsgExecResponse): Uint8Array; - toProtoMsg(message: MsgExecResponse): MsgExecResponseProtoMsg; -}; -export declare const MsgExec: { - encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec; - fromJSON(object: any): MsgExec; - toJSON(message: MsgExec): unknown; - fromPartial(object: Partial): MsgExec; - fromAmino(object: MsgExecAmino): MsgExec; - toAmino(message: MsgExec): MsgExecAmino; - fromAminoMsg(object: MsgExecAminoMsg): MsgExec; - toAminoMsg(message: MsgExec): MsgExecAminoMsg; - fromProtoMsg(message: MsgExecProtoMsg): MsgExec; - toProto(message: MsgExec): Uint8Array; - toProtoMsg(message: MsgExec): MsgExecProtoMsg; -}; -export declare const MsgGrantResponse: { - encode(_: MsgGrantResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse; - fromJSON(_: any): MsgGrantResponse; - toJSON(_: MsgGrantResponse): unknown; - fromPartial(_: Partial): MsgGrantResponse; - fromAmino(_: MsgGrantResponseAmino): MsgGrantResponse; - toAmino(_: MsgGrantResponse): MsgGrantResponseAmino; - fromAminoMsg(object: MsgGrantResponseAminoMsg): MsgGrantResponse; - toAminoMsg(message: MsgGrantResponse): MsgGrantResponseAminoMsg; - fromProtoMsg(message: MsgGrantResponseProtoMsg): MsgGrantResponse; - toProto(message: MsgGrantResponse): Uint8Array; - toProtoMsg(message: MsgGrantResponse): MsgGrantResponseProtoMsg; -}; -export declare const MsgRevoke: { - encode(message: MsgRevoke, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke; - fromJSON(object: any): MsgRevoke; - toJSON(message: MsgRevoke): unknown; - fromPartial(object: Partial): MsgRevoke; - fromAmino(object: MsgRevokeAmino): MsgRevoke; - toAmino(message: MsgRevoke): MsgRevokeAmino; - fromAminoMsg(object: MsgRevokeAminoMsg): MsgRevoke; - toAminoMsg(message: MsgRevoke): MsgRevokeAminoMsg; - fromProtoMsg(message: MsgRevokeProtoMsg): MsgRevoke; - toProto(message: MsgRevoke): Uint8Array; - toProtoMsg(message: MsgRevoke): MsgRevokeProtoMsg; -}; -export declare const MsgRevokeResponse: { - encode(_: MsgRevokeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse; - fromJSON(_: any): MsgRevokeResponse; - toJSON(_: MsgRevokeResponse): unknown; - fromPartial(_: Partial): MsgRevokeResponse; - fromAmino(_: MsgRevokeResponseAmino): MsgRevokeResponse; - toAmino(_: MsgRevokeResponse): MsgRevokeResponseAmino; - fromAminoMsg(object: MsgRevokeResponseAminoMsg): MsgRevokeResponse; - toAminoMsg(message: MsgRevokeResponse): MsgRevokeResponseAminoMsg; - fromProtoMsg(message: MsgRevokeResponseProtoMsg): MsgRevokeResponse; - toProto(message: MsgRevokeResponse): Uint8Array; - toProtoMsg(message: MsgRevokeResponse): MsgRevokeResponseProtoMsg; -}; -export declare const Sdk_Msg_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => Any; -export declare const Sdk_Msg_FromAmino: (content: AnyAmino) => Any; -export declare const Sdk_Msg_ToAmino: (content: Any) => AnyAmino; -export declare const Authz_Authorization_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => Any; -export declare const Authz_Authorization_FromAmino: (content: AnyAmino) => Any; -export declare const Authz_Authorization_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts deleted file mode 100644 index b21a4bcb..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - grant(value: MsgGrant): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grant(value: MsgGrant): { - typeUrl: string; - value: MsgGrant; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: MsgRevoke; - }; - }; - toJSON: { - grant(value: MsgGrant): { - typeUrl: string; - value: unknown; - }; - exec(value: MsgExec): { - typeUrl: string; - value: unknown; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grant(value: any): { - typeUrl: string; - value: MsgGrant; - }; - exec(value: any): { - typeUrl: string; - value: MsgExec; - }; - revoke(value: any): { - typeUrl: string; - value: MsgRevoke; - }; - }; - fromPartial: { - grant(value: MsgGrant): { - typeUrl: string; - value: MsgGrant; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: MsgRevoke; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 3bcce35a..00000000 --- a/packages/api/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; -/** Msg defines the authz Msg service. */ -export interface Msg { - /** - * Grant grants the provided authorization to the grantee on the granter's - * account with the provided expiration time. If there is already a grant - * for the given (granter, grantee, Authorization) triple, then the grant - * will be overwritten. - */ - grant(request: MsgGrant): Promise; - /** - * Exec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ - exec(request: MsgExec): Promise; - /** - * Revoke revokes any authorization corresponding to the provided method name on the - * granter's account that has been granted to the grantee. - */ - revoke(request: MsgRevoke): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - grant(request: MsgGrant): Promise; - exec(request: MsgExec): Promise; - revoke(request: MsgRevoke): Promise; -} diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/authz.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/authz.d.ts deleted file mode 100644 index 92065cfc..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/authz.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorization { - $typeUrl?: string; - spendLimit: Coin[]; -} -export interface SendAuthorizationProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.SendAuthorization"; - value: Uint8Array; -} -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorizationAmino { - spend_limit: CoinAmino[]; -} -export interface SendAuthorizationAminoMsg { - type: "cosmos-sdk/SendAuthorization"; - value: SendAuthorizationAmino; -} -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorizationSDKType { - $typeUrl?: string; - spend_limit: CoinSDKType[]; -} -export declare const SendAuthorization: { - encode(message: SendAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization; - fromJSON(object: any): SendAuthorization; - toJSON(message: SendAuthorization): unknown; - fromPartial(object: Partial): SendAuthorization; - fromAmino(object: SendAuthorizationAmino): SendAuthorization; - toAmino(message: SendAuthorization): SendAuthorizationAmino; - fromAminoMsg(object: SendAuthorizationAminoMsg): SendAuthorization; - toAminoMsg(message: SendAuthorization): SendAuthorizationAminoMsg; - fromProtoMsg(message: SendAuthorizationProtoMsg): SendAuthorization; - toProto(message: SendAuthorization): Uint8Array; - toProtoMsg(message: SendAuthorization): SendAuthorizationProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/bank.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/bank.d.ts deleted file mode 100644 index cbe0e897..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/bank.d.ts +++ /dev/null @@ -1,397 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** Params defines the parameters for the bank module. */ -export interface Params { - sendEnabled: SendEnabled[]; - defaultSendEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the bank module. */ -export interface ParamsAmino { - send_enabled: SendEnabledAmino[]; - default_send_enabled: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the bank module. */ -export interface ParamsSDKType { - send_enabled: SendEnabledSDKType[]; - default_send_enabled: boolean; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabled { - denom: string; - enabled: boolean; -} -export interface SendEnabledProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.SendEnabled"; - value: Uint8Array; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabledAmino { - denom: string; - enabled: boolean; -} -export interface SendEnabledAminoMsg { - type: "cosmos-sdk/SendEnabled"; - value: SendEnabledAmino; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabledSDKType { - denom: string; - enabled: boolean; -} -/** Input models transaction input. */ -export interface Input { - address: string; - coins: Coin[]; -} -export interface InputProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Input"; - value: Uint8Array; -} -/** Input models transaction input. */ -export interface InputAmino { - address: string; - coins: CoinAmino[]; -} -export interface InputAminoMsg { - type: "cosmos-sdk/Input"; - value: InputAmino; -} -/** Input models transaction input. */ -export interface InputSDKType { - address: string; - coins: CoinSDKType[]; -} -/** Output models transaction outputs. */ -export interface Output { - address: string; - coins: Coin[]; -} -export interface OutputProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Output"; - value: Uint8Array; -} -/** Output models transaction outputs. */ -export interface OutputAmino { - address: string; - coins: CoinAmino[]; -} -export interface OutputAminoMsg { - type: "cosmos-sdk/Output"; - value: OutputAmino; -} -/** Output models transaction outputs. */ -export interface OutputSDKType { - address: string; - coins: CoinSDKType[]; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface Supply { - $typeUrl?: string; - total: Coin[]; -} -export interface SupplyProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Supply"; - value: Uint8Array; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface SupplyAmino { - total: CoinAmino[]; -} -export interface SupplyAminoMsg { - type: "cosmos-sdk/Supply"; - value: SupplyAmino; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface SupplySDKType { - $typeUrl?: string; - total: CoinSDKType[]; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnit { - /** denom represents the string name of the given denom unit (e.g uatom). */ - denom: string; - /** - * exponent represents power of 10 exponent that one must - * raise the base_denom to in order to equal the given DenomUnit's denom - * 1 denom = 10^exponent base_denom - * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - * exponent = 6, thus: 1 atom = 10^6 uatom). - */ - exponent: number; - /** aliases is a list of string aliases for the given denom */ - aliases: string[]; -} -export interface DenomUnitProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.DenomUnit"; - value: Uint8Array; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnitAmino { - /** denom represents the string name of the given denom unit (e.g uatom). */ - denom: string; - /** - * exponent represents power of 10 exponent that one must - * raise the base_denom to in order to equal the given DenomUnit's denom - * 1 denom = 10^exponent base_denom - * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - * exponent = 6, thus: 1 atom = 10^6 uatom). - */ - exponent: number; - /** aliases is a list of string aliases for the given denom */ - aliases: string[]; -} -export interface DenomUnitAminoMsg { - type: "cosmos-sdk/DenomUnit"; - value: DenomUnitAmino; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnitSDKType { - denom: string; - exponent: number; - aliases: string[]; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface Metadata { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - denomUnits: DenomUnit[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - display: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - name: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - symbol: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uriHash: string; -} -export interface MetadataProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Metadata"; - value: Uint8Array; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface MetadataAmino { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - denom_units: DenomUnitAmino[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - display: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - name: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - symbol: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri_hash: string; -} -export interface MetadataAminoMsg { - type: "cosmos-sdk/Metadata"; - value: MetadataAmino; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface MetadataSDKType { - description: string; - denom_units: DenomUnitSDKType[]; - base: string; - display: string; - name: string; - symbol: string; - uri: string; - uri_hash: string; -} -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const SendEnabled: { - encode(message: SendEnabled, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled; - fromJSON(object: any): SendEnabled; - toJSON(message: SendEnabled): unknown; - fromPartial(object: Partial): SendEnabled; - fromAmino(object: SendEnabledAmino): SendEnabled; - toAmino(message: SendEnabled): SendEnabledAmino; - fromAminoMsg(object: SendEnabledAminoMsg): SendEnabled; - toAminoMsg(message: SendEnabled): SendEnabledAminoMsg; - fromProtoMsg(message: SendEnabledProtoMsg): SendEnabled; - toProto(message: SendEnabled): Uint8Array; - toProtoMsg(message: SendEnabled): SendEnabledProtoMsg; -}; -export declare const Input: { - encode(message: Input, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Input; - fromJSON(object: any): Input; - toJSON(message: Input): unknown; - fromPartial(object: Partial): Input; - fromAmino(object: InputAmino): Input; - toAmino(message: Input): InputAmino; - fromAminoMsg(object: InputAminoMsg): Input; - toAminoMsg(message: Input): InputAminoMsg; - fromProtoMsg(message: InputProtoMsg): Input; - toProto(message: Input): Uint8Array; - toProtoMsg(message: Input): InputProtoMsg; -}; -export declare const Output: { - encode(message: Output, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Output; - fromJSON(object: any): Output; - toJSON(message: Output): unknown; - fromPartial(object: Partial): Output; - fromAmino(object: OutputAmino): Output; - toAmino(message: Output): OutputAmino; - fromAminoMsg(object: OutputAminoMsg): Output; - toAminoMsg(message: Output): OutputAminoMsg; - fromProtoMsg(message: OutputProtoMsg): Output; - toProto(message: Output): Uint8Array; - toProtoMsg(message: Output): OutputProtoMsg; -}; -export declare const Supply: { - encode(message: Supply, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Supply; - fromJSON(object: any): Supply; - toJSON(message: Supply): unknown; - fromPartial(object: Partial): Supply; - fromAmino(object: SupplyAmino): Supply; - toAmino(message: Supply): SupplyAmino; - fromAminoMsg(object: SupplyAminoMsg): Supply; - toAminoMsg(message: Supply): SupplyAminoMsg; - fromProtoMsg(message: SupplyProtoMsg): Supply; - toProto(message: Supply): Uint8Array; - toProtoMsg(message: Supply): SupplyProtoMsg; -}; -export declare const DenomUnit: { - encode(message: DenomUnit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit; - fromJSON(object: any): DenomUnit; - toJSON(message: DenomUnit): unknown; - fromPartial(object: Partial): DenomUnit; - fromAmino(object: DenomUnitAmino): DenomUnit; - toAmino(message: DenomUnit): DenomUnitAmino; - fromAminoMsg(object: DenomUnitAminoMsg): DenomUnit; - toAminoMsg(message: DenomUnit): DenomUnitAminoMsg; - fromProtoMsg(message: DenomUnitProtoMsg): DenomUnit; - toProto(message: DenomUnit): Uint8Array; - toProtoMsg(message: DenomUnit): DenomUnitProtoMsg; -}; -export declare const Metadata: { - encode(message: Metadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata; - fromJSON(object: any): Metadata; - toJSON(message: Metadata): unknown; - fromPartial(object: Partial): Metadata; - fromAmino(object: MetadataAmino): Metadata; - toAmino(message: Metadata): MetadataAmino; - fromAminoMsg(object: MetadataAminoMsg): Metadata; - toAminoMsg(message: Metadata): MetadataAminoMsg; - fromProtoMsg(message: MetadataProtoMsg): Metadata; - toProto(message: Metadata): Uint8Array; - toProtoMsg(message: Metadata): MetadataProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/genesis.d.ts deleted file mode 100644 index b0880066..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params; - /** balances is an array containing the balances of all the accounts. */ - balances: Balance[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - supply: Coin[]; - /** denom_metadata defines the metadata of the differents coins. */ - denomMetadata: Metadata[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; - /** balances is an array containing the balances of all the accounts. */ - balances: BalanceAmino[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - supply: CoinAmino[]; - /** denom_metadata defines the metadata of the differents coins. */ - denom_metadata: MetadataAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - balances: BalanceSDKType[]; - supply: CoinSDKType[]; - denom_metadata: MetadataSDKType[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface Balance { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - coins: Coin[]; -} -export interface BalanceProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Balance"; - value: Uint8Array; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface BalanceAmino { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - coins: CoinAmino[]; -} -export interface BalanceAminoMsg { - type: "cosmos-sdk/Balance"; - value: BalanceAmino; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface BalanceSDKType { - address: string; - coins: CoinSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const Balance: { - encode(message: Balance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Balance; - fromJSON(object: any): Balance; - toJSON(message: Balance): unknown; - fromPartial(object: Partial): Balance; - fromAmino(object: BalanceAmino): Balance; - toAmino(message: Balance): BalanceAmino; - fromAminoMsg(object: BalanceAminoMsg): Balance; - toAminoMsg(message: Balance): BalanceAminoMsg; - fromProtoMsg(message: BalanceProtoMsg): Balance; - toProto(message: Balance): Uint8Array; - toProtoMsg(message: Balance): BalanceProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/query.d.ts deleted file mode 100644 index 5a48bcb7..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/query.d.ts +++ /dev/null @@ -1,862 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; -import * as _m0 from "protobufjs/minimal"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequest { - /** address is the address to query balances for. */ - address: string; - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequestAmino { - /** address is the address to query balances for. */ - address: string; - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "cosmos-sdk/QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequestSDKType { - address: string; - denom: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponse { - /** balance is the balance of the coin. */ - balance: Coin; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponseAmino { - /** balance is the balance of the coin. */ - balance?: CoinAmino; -} -export interface QueryBalanceResponseAminoMsg { - type: "cosmos-sdk/QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponseSDKType { - balance: CoinSDKType; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequest { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllBalancesRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequestAmino { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllBalancesRequestAminoMsg { - type: "cosmos-sdk/QueryAllBalancesRequest"; - value: QueryAllBalancesRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponse { - /** balances is the balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAllBalancesResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesResponse"; - value: Uint8Array; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponseAmino { - /** balances is the balances of all the coins. */ - balances: CoinAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllBalancesResponseAminoMsg { - type: "cosmos-sdk/QueryAllBalancesResponse"; - value: QueryAllBalancesResponseAmino; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySpendableBalancesRequest { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QuerySpendableBalancesRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest"; - value: Uint8Array; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySpendableBalancesRequestAmino { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QuerySpendableBalancesRequestAminoMsg { - type: "cosmos-sdk/QuerySpendableBalancesRequest"; - value: QuerySpendableBalancesRequestAmino; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySpendableBalancesRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySpendableBalancesResponse { - /** balances is the spendable balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QuerySpendableBalancesResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse"; - value: Uint8Array; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySpendableBalancesResponseAmino { - /** balances is the spendable balances of all the coins. */ - balances: CoinAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QuerySpendableBalancesResponseAminoMsg { - type: "cosmos-sdk/QuerySpendableBalancesResponse"; - value: QuerySpendableBalancesResponseAmino; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySpendableBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequest { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination: PageRequest; -} -export interface QueryTotalSupplyRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyRequest"; - value: Uint8Array; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequestAmino { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageRequestAmino; -} -export interface QueryTotalSupplyRequestAminoMsg { - type: "cosmos-sdk/QueryTotalSupplyRequest"; - value: QueryTotalSupplyRequestAmino; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponse { - /** supply is the supply of the coins */ - supply: Coin[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - pagination: PageResponse; -} -export interface QueryTotalSupplyResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyResponse"; - value: Uint8Array; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponseAmino { - /** supply is the supply of the coins */ - supply: CoinAmino[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageResponseAmino; -} -export interface QueryTotalSupplyResponseAminoMsg { - type: "cosmos-sdk/QueryTotalSupplyResponse"; - value: QueryTotalSupplyResponseAmino; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponseSDKType { - supply: CoinSDKType[]; - pagination: PageResponseSDKType; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequest { - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QuerySupplyOfRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfRequest"; - value: Uint8Array; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequestAmino { - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QuerySupplyOfRequestAminoMsg { - type: "cosmos-sdk/QuerySupplyOfRequest"; - value: QuerySupplyOfRequestAmino; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequestSDKType { - denom: string; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponse { - /** amount is the supply of the coin. */ - amount: Coin; -} -export interface QuerySupplyOfResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfResponse"; - value: Uint8Array; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponseAmino { - /** amount is the supply of the coin. */ - amount?: CoinAmino; -} -export interface QuerySupplyOfResponseAminoMsg { - type: "cosmos-sdk/QuerySupplyOfResponse"; - value: QuerySupplyOfResponseAmino; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponseSDKType { - amount: CoinSDKType; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponse { - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponseAmino { - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDenomsMetadataRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest"; - value: Uint8Array; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDenomsMetadataRequestAminoMsg { - type: "cosmos-sdk/QueryDenomsMetadataRequest"; - value: QueryDenomsMetadataRequestAmino; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponse { - /** metadata provides the client information for all the registered tokens. */ - metadatas: Metadata[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDenomsMetadataResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse"; - value: Uint8Array; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponseAmino { - /** metadata provides the client information for all the registered tokens. */ - metadatas: MetadataAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDenomsMetadataResponseAminoMsg { - type: "cosmos-sdk/QueryDenomsMetadataResponse"; - value: QueryDenomsMetadataResponseAmino; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponseSDKType { - metadatas: MetadataSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequest { - /** denom is the coin denom to query the metadata for. */ - denom: string; -} -export interface QueryDenomMetadataRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataRequest"; - value: Uint8Array; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequestAmino { - /** denom is the coin denom to query the metadata for. */ - denom: string; -} -export interface QueryDenomMetadataRequestAminoMsg { - type: "cosmos-sdk/QueryDenomMetadataRequest"; - value: QueryDenomMetadataRequestAmino; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequestSDKType { - denom: string; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponse { - /** metadata describes and provides all the client information for the requested token. */ - metadata: Metadata; -} -export interface QueryDenomMetadataResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataResponse"; - value: Uint8Array; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponseAmino { - /** metadata describes and provides all the client information for the requested token. */ - metadata?: MetadataAmino; -} -export interface QueryDenomMetadataResponseAminoMsg { - type: "cosmos-sdk/QueryDenomMetadataResponse"; - value: QueryDenomMetadataResponseAmino; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponseSDKType { - metadata: MetadataSDKType; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequest { - /** denom defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDenomOwnersRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersRequest"; - value: Uint8Array; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequestAmino { - /** denom defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDenomOwnersRequestAminoMsg { - type: "cosmos-sdk/QueryDenomOwnersRequest"; - value: QueryDenomOwnersRequestAmino; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequestSDKType { - denom: string; - pagination: PageRequestSDKType; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - * - * Since: cosmos-sdk 0.46 - */ -export interface DenomOwner { - /** address defines the address that owns a particular denomination. */ - address: string; - /** balance is the balance of the denominated coin for an account. */ - balance: Coin; -} -export interface DenomOwnerProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.DenomOwner"; - value: Uint8Array; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - * - * Since: cosmos-sdk 0.46 - */ -export interface DenomOwnerAmino { - /** address defines the address that owns a particular denomination. */ - address: string; - /** balance is the balance of the denominated coin for an account. */ - balance?: CoinAmino; -} -export interface DenomOwnerAminoMsg { - type: "cosmos-sdk/DenomOwner"; - value: DenomOwnerAmino; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - * - * Since: cosmos-sdk 0.46 - */ -export interface DenomOwnerSDKType { - address: string; - balance: CoinSDKType; -} -/** - * QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryDenomOwnersResponse { - denomOwners: DenomOwner[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDenomOwnersResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersResponse"; - value: Uint8Array; -} -/** - * QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryDenomOwnersResponseAmino { - denom_owners: DenomOwnerAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDenomOwnersResponseAminoMsg { - type: "cosmos-sdk/QueryDenomOwnersResponse"; - value: QueryDenomOwnersResponseAmino; -} -/** - * QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryDenomOwnersResponseSDKType { - denom_owners: DenomOwnerSDKType[]; - pagination: PageResponseSDKType; -} -export declare const QueryBalanceRequest: { - encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest; - fromJSON(object: any): QueryBalanceRequest; - toJSON(message: QueryBalanceRequest): unknown; - fromPartial(object: Partial): QueryBalanceRequest; - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest; - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino; - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest; - toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg; - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest; - toProto(message: QueryBalanceRequest): Uint8Array; - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg; -}; -export declare const QueryBalanceResponse: { - encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse; - fromJSON(object: any): QueryBalanceResponse; - toJSON(message: QueryBalanceResponse): unknown; - fromPartial(object: Partial): QueryBalanceResponse; - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse; - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino; - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse; - toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg; - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse; - toProto(message: QueryBalanceResponse): Uint8Array; - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg; -}; -export declare const QueryAllBalancesRequest: { - encode(message: QueryAllBalancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest; - fromJSON(object: any): QueryAllBalancesRequest; - toJSON(message: QueryAllBalancesRequest): unknown; - fromPartial(object: Partial): QueryAllBalancesRequest; - fromAmino(object: QueryAllBalancesRequestAmino): QueryAllBalancesRequest; - toAmino(message: QueryAllBalancesRequest): QueryAllBalancesRequestAmino; - fromAminoMsg(object: QueryAllBalancesRequestAminoMsg): QueryAllBalancesRequest; - toAminoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestAminoMsg; - fromProtoMsg(message: QueryAllBalancesRequestProtoMsg): QueryAllBalancesRequest; - toProto(message: QueryAllBalancesRequest): Uint8Array; - toProtoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestProtoMsg; -}; -export declare const QueryAllBalancesResponse: { - encode(message: QueryAllBalancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse; - fromJSON(object: any): QueryAllBalancesResponse; - toJSON(message: QueryAllBalancesResponse): unknown; - fromPartial(object: Partial): QueryAllBalancesResponse; - fromAmino(object: QueryAllBalancesResponseAmino): QueryAllBalancesResponse; - toAmino(message: QueryAllBalancesResponse): QueryAllBalancesResponseAmino; - fromAminoMsg(object: QueryAllBalancesResponseAminoMsg): QueryAllBalancesResponse; - toAminoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseAminoMsg; - fromProtoMsg(message: QueryAllBalancesResponseProtoMsg): QueryAllBalancesResponse; - toProto(message: QueryAllBalancesResponse): Uint8Array; - toProtoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseProtoMsg; -}; -export declare const QuerySpendableBalancesRequest: { - encode(message: QuerySpendableBalancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest; - fromJSON(object: any): QuerySpendableBalancesRequest; - toJSON(message: QuerySpendableBalancesRequest): unknown; - fromPartial(object: Partial): QuerySpendableBalancesRequest; - fromAmino(object: QuerySpendableBalancesRequestAmino): QuerySpendableBalancesRequest; - toAmino(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAmino; - fromAminoMsg(object: QuerySpendableBalancesRequestAminoMsg): QuerySpendableBalancesRequest; - toAminoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAminoMsg; - fromProtoMsg(message: QuerySpendableBalancesRequestProtoMsg): QuerySpendableBalancesRequest; - toProto(message: QuerySpendableBalancesRequest): Uint8Array; - toProtoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestProtoMsg; -}; -export declare const QuerySpendableBalancesResponse: { - encode(message: QuerySpendableBalancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse; - fromJSON(object: any): QuerySpendableBalancesResponse; - toJSON(message: QuerySpendableBalancesResponse): unknown; - fromPartial(object: Partial): QuerySpendableBalancesResponse; - fromAmino(object: QuerySpendableBalancesResponseAmino): QuerySpendableBalancesResponse; - toAmino(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAmino; - fromAminoMsg(object: QuerySpendableBalancesResponseAminoMsg): QuerySpendableBalancesResponse; - toAminoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAminoMsg; - fromProtoMsg(message: QuerySpendableBalancesResponseProtoMsg): QuerySpendableBalancesResponse; - toProto(message: QuerySpendableBalancesResponse): Uint8Array; - toProtoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseProtoMsg; -}; -export declare const QueryTotalSupplyRequest: { - encode(message: QueryTotalSupplyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest; - fromJSON(object: any): QueryTotalSupplyRequest; - toJSON(message: QueryTotalSupplyRequest): unknown; - fromPartial(object: Partial): QueryTotalSupplyRequest; - fromAmino(object: QueryTotalSupplyRequestAmino): QueryTotalSupplyRequest; - toAmino(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAmino; - fromAminoMsg(object: QueryTotalSupplyRequestAminoMsg): QueryTotalSupplyRequest; - toAminoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAminoMsg; - fromProtoMsg(message: QueryTotalSupplyRequestProtoMsg): QueryTotalSupplyRequest; - toProto(message: QueryTotalSupplyRequest): Uint8Array; - toProtoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestProtoMsg; -}; -export declare const QueryTotalSupplyResponse: { - encode(message: QueryTotalSupplyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse; - fromJSON(object: any): QueryTotalSupplyResponse; - toJSON(message: QueryTotalSupplyResponse): unknown; - fromPartial(object: Partial): QueryTotalSupplyResponse; - fromAmino(object: QueryTotalSupplyResponseAmino): QueryTotalSupplyResponse; - toAmino(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAmino; - fromAminoMsg(object: QueryTotalSupplyResponseAminoMsg): QueryTotalSupplyResponse; - toAminoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAminoMsg; - fromProtoMsg(message: QueryTotalSupplyResponseProtoMsg): QueryTotalSupplyResponse; - toProto(message: QueryTotalSupplyResponse): Uint8Array; - toProtoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseProtoMsg; -}; -export declare const QuerySupplyOfRequest: { - encode(message: QuerySupplyOfRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest; - fromJSON(object: any): QuerySupplyOfRequest; - toJSON(message: QuerySupplyOfRequest): unknown; - fromPartial(object: Partial): QuerySupplyOfRequest; - fromAmino(object: QuerySupplyOfRequestAmino): QuerySupplyOfRequest; - toAmino(message: QuerySupplyOfRequest): QuerySupplyOfRequestAmino; - fromAminoMsg(object: QuerySupplyOfRequestAminoMsg): QuerySupplyOfRequest; - toAminoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestAminoMsg; - fromProtoMsg(message: QuerySupplyOfRequestProtoMsg): QuerySupplyOfRequest; - toProto(message: QuerySupplyOfRequest): Uint8Array; - toProtoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestProtoMsg; -}; -export declare const QuerySupplyOfResponse: { - encode(message: QuerySupplyOfResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse; - fromJSON(object: any): QuerySupplyOfResponse; - toJSON(message: QuerySupplyOfResponse): unknown; - fromPartial(object: Partial): QuerySupplyOfResponse; - fromAmino(object: QuerySupplyOfResponseAmino): QuerySupplyOfResponse; - toAmino(message: QuerySupplyOfResponse): QuerySupplyOfResponseAmino; - fromAminoMsg(object: QuerySupplyOfResponseAminoMsg): QuerySupplyOfResponse; - toAminoMsg(message: QuerySupplyOfResponse): QuerySupplyOfResponseAminoMsg; - fromProtoMsg(message: QuerySupplyOfResponseProtoMsg): QuerySupplyOfResponse; - toProto(message: QuerySupplyOfResponse): Uint8Array; - toProtoMsg(message: QuerySupplyOfResponse): QuerySupplyOfResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDenomsMetadataRequest: { - encode(message: QueryDenomsMetadataRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest; - fromJSON(object: any): QueryDenomsMetadataRequest; - toJSON(message: QueryDenomsMetadataRequest): unknown; - fromPartial(object: Partial): QueryDenomsMetadataRequest; - fromAmino(object: QueryDenomsMetadataRequestAmino): QueryDenomsMetadataRequest; - toAmino(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestAmino; - fromAminoMsg(object: QueryDenomsMetadataRequestAminoMsg): QueryDenomsMetadataRequest; - toAminoMsg(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestAminoMsg; - fromProtoMsg(message: QueryDenomsMetadataRequestProtoMsg): QueryDenomsMetadataRequest; - toProto(message: QueryDenomsMetadataRequest): Uint8Array; - toProtoMsg(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestProtoMsg; -}; -export declare const QueryDenomsMetadataResponse: { - encode(message: QueryDenomsMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse; - fromJSON(object: any): QueryDenomsMetadataResponse; - toJSON(message: QueryDenomsMetadataResponse): unknown; - fromPartial(object: Partial): QueryDenomsMetadataResponse; - fromAmino(object: QueryDenomsMetadataResponseAmino): QueryDenomsMetadataResponse; - toAmino(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseAmino; - fromAminoMsg(object: QueryDenomsMetadataResponseAminoMsg): QueryDenomsMetadataResponse; - toAminoMsg(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseAminoMsg; - fromProtoMsg(message: QueryDenomsMetadataResponseProtoMsg): QueryDenomsMetadataResponse; - toProto(message: QueryDenomsMetadataResponse): Uint8Array; - toProtoMsg(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseProtoMsg; -}; -export declare const QueryDenomMetadataRequest: { - encode(message: QueryDenomMetadataRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest; - fromJSON(object: any): QueryDenomMetadataRequest; - toJSON(message: QueryDenomMetadataRequest): unknown; - fromPartial(object: Partial): QueryDenomMetadataRequest; - fromAmino(object: QueryDenomMetadataRequestAmino): QueryDenomMetadataRequest; - toAmino(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestAmino; - fromAminoMsg(object: QueryDenomMetadataRequestAminoMsg): QueryDenomMetadataRequest; - toAminoMsg(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestAminoMsg; - fromProtoMsg(message: QueryDenomMetadataRequestProtoMsg): QueryDenomMetadataRequest; - toProto(message: QueryDenomMetadataRequest): Uint8Array; - toProtoMsg(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestProtoMsg; -}; -export declare const QueryDenomMetadataResponse: { - encode(message: QueryDenomMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse; - fromJSON(object: any): QueryDenomMetadataResponse; - toJSON(message: QueryDenomMetadataResponse): unknown; - fromPartial(object: Partial): QueryDenomMetadataResponse; - fromAmino(object: QueryDenomMetadataResponseAmino): QueryDenomMetadataResponse; - toAmino(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseAmino; - fromAminoMsg(object: QueryDenomMetadataResponseAminoMsg): QueryDenomMetadataResponse; - toAminoMsg(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseAminoMsg; - fromProtoMsg(message: QueryDenomMetadataResponseProtoMsg): QueryDenomMetadataResponse; - toProto(message: QueryDenomMetadataResponse): Uint8Array; - toProtoMsg(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseProtoMsg; -}; -export declare const QueryDenomOwnersRequest: { - encode(message: QueryDenomOwnersRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest; - fromJSON(object: any): QueryDenomOwnersRequest; - toJSON(message: QueryDenomOwnersRequest): unknown; - fromPartial(object: Partial): QueryDenomOwnersRequest; - fromAmino(object: QueryDenomOwnersRequestAmino): QueryDenomOwnersRequest; - toAmino(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestAmino; - fromAminoMsg(object: QueryDenomOwnersRequestAminoMsg): QueryDenomOwnersRequest; - toAminoMsg(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestAminoMsg; - fromProtoMsg(message: QueryDenomOwnersRequestProtoMsg): QueryDenomOwnersRequest; - toProto(message: QueryDenomOwnersRequest): Uint8Array; - toProtoMsg(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestProtoMsg; -}; -export declare const DenomOwner: { - encode(message: DenomOwner, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner; - fromJSON(object: any): DenomOwner; - toJSON(message: DenomOwner): unknown; - fromPartial(object: Partial): DenomOwner; - fromAmino(object: DenomOwnerAmino): DenomOwner; - toAmino(message: DenomOwner): DenomOwnerAmino; - fromAminoMsg(object: DenomOwnerAminoMsg): DenomOwner; - toAminoMsg(message: DenomOwner): DenomOwnerAminoMsg; - fromProtoMsg(message: DenomOwnerProtoMsg): DenomOwner; - toProto(message: DenomOwner): Uint8Array; - toProtoMsg(message: DenomOwner): DenomOwnerProtoMsg; -}; -export declare const QueryDenomOwnersResponse: { - encode(message: QueryDenomOwnersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse; - fromJSON(object: any): QueryDenomOwnersResponse; - toJSON(message: QueryDenomOwnersResponse): unknown; - fromPartial(object: Partial): QueryDenomOwnersResponse; - fromAmino(object: QueryDenomOwnersResponseAmino): QueryDenomOwnersResponse; - toAmino(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseAmino; - fromAminoMsg(object: QueryDenomOwnersResponseAminoMsg): QueryDenomOwnersResponse; - toAminoMsg(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseAminoMsg; - fromProtoMsg(message: QueryDenomOwnersResponseProtoMsg): QueryDenomOwnersResponse; - toProto(message: QueryDenomOwnersResponse): Uint8Array; - toProtoMsg(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts deleted file mode 100644 index 49fe501e..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - balance(params: QueryBalanceRequest): Promise; - allBalances(params: QueryAllBalancesRequest): Promise; - spendableBalances(params: QuerySpendableBalancesRequest): Promise; - totalSupply(params?: QueryTotalSupplyRequest): Promise; - supplyOf(params: QuerySupplyOfRequest): Promise; - params(_params?: QueryParamsRequest): Promise; - denomMetadata(params: QueryDenomMetadataRequest): Promise; - denomsMetadata(params?: QueryDenomsMetadataRequest): Promise; - denomOwners(params: QueryDenomOwnersRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index e4a79cca..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Balance queries the balance of a single coin for a single account. */ - balance(request: QueryBalanceRequest): Promise; - /** AllBalances queries the balance of all coins for a single account. */ - allBalances(request: QueryAllBalancesRequest): Promise; - /** - * SpendableBalances queries the spenable balance of all coins for a single - * account. - * - * Since: cosmos-sdk 0.46 - */ - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - /** TotalSupply queries the total supply of all coins. */ - totalSupply(request?: QueryTotalSupplyRequest): Promise; - /** SupplyOf queries the supply of a single coin. */ - supplyOf(request: QuerySupplyOfRequest): Promise; - /** Params queries the parameters of x/bank module. */ - params(request?: QueryParamsRequest): Promise; - /** DenomsMetadata queries the client metadata of a given coin denomination. */ - denomMetadata(request: QueryDenomMetadataRequest): Promise; - /** - * DenomsMetadata queries the client metadata for all registered coin - * denominations. - */ - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - /** - * DenomOwners queries for all account addresses that own a particular token - * denomination. - * - * Since: cosmos-sdk 0.46 - */ - denomOwners(request: QueryDenomOwnersRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - balance(request: QueryBalanceRequest): Promise; - allBalances(request: QueryAllBalancesRequest): Promise; - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - totalSupply(request?: QueryTotalSupplyRequest): Promise; - supplyOf(request: QuerySupplyOfRequest): Promise; - params(request?: QueryParamsRequest): Promise; - denomMetadata(request: QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - denomOwners(request: QueryDenomOwnersRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - balance(request: QueryBalanceRequest): Promise; - allBalances(request: QueryAllBalancesRequest): Promise; - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - totalSupply(request?: QueryTotalSupplyRequest): Promise; - supplyOf(request: QuerySupplyOfRequest): Promise; - params(request?: QueryParamsRequest): Promise; - denomMetadata(request: QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - denomOwners(request: QueryDenomOwnersRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts deleted file mode 100644 index ad7ed74a..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgSend, MsgMultiSend } from "./tx"; -export declare const AminoConverter: { - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: MsgSend) => import("./tx").MsgSendAmino; - fromAmino: (object: import("./tx").MsgSendAmino) => MsgSend; - }; - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: string; - toAmino: (message: MsgMultiSend) => import("./tx").MsgMultiSendAmino; - fromAmino: (object: import("./tx").MsgMultiSendAmino) => MsgMultiSend; - }; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/tx.d.ts deleted file mode 100644 index 0808a8aa..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.d.ts +++ /dev/null @@ -1,142 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputAmino, InputSDKType, Output, OutputAmino, OutputSDKType } from "./bank"; -import * as _m0 from "protobufjs/minimal"; -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSend { - fromAddress: string; - toAddress: string; - amount: Coin[]; -} -export interface MsgSendProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgSend"; - value: Uint8Array; -} -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSendAmino { - from_address: string; - to_address: string; - amount: CoinAmino[]; -} -export interface MsgSendAminoMsg { - type: "cosmos-sdk/MsgSend"; - value: MsgSendAmino; -} -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSendSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse { -} -export interface MsgSendResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseAmino { -} -export interface MsgSendResponseAminoMsg { - type: "cosmos-sdk/MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType { -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSend { - inputs: Input[]; - outputs: Output[]; -} -export interface MsgMultiSendProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend"; - value: Uint8Array; -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSendAmino { - inputs: InputAmino[]; - outputs: OutputAmino[]; -} -export interface MsgMultiSendAminoMsg { - type: "cosmos-sdk/MsgMultiSend"; - value: MsgMultiSendAmino; -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSendSDKType { - inputs: InputSDKType[]; - outputs: OutputSDKType[]; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponse { -} -export interface MsgMultiSendResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSendResponse"; - value: Uint8Array; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponseAmino { -} -export interface MsgMultiSendResponseAminoMsg { - type: "cosmos-sdk/MsgMultiSendResponse"; - value: MsgMultiSendResponseAmino; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponseSDKType { -} -export declare const MsgSend: { - encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend; - fromJSON(object: any): MsgSend; - toJSON(message: MsgSend): unknown; - fromPartial(object: Partial): MsgSend; - fromAmino(object: MsgSendAmino): MsgSend; - toAmino(message: MsgSend): MsgSendAmino; - fromAminoMsg(object: MsgSendAminoMsg): MsgSend; - toAminoMsg(message: MsgSend): MsgSendAminoMsg; - fromProtoMsg(message: MsgSendProtoMsg): MsgSend; - toProto(message: MsgSend): Uint8Array; - toProtoMsg(message: MsgSend): MsgSendProtoMsg; -}; -export declare const MsgSendResponse: { - encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse; - fromJSON(_: any): MsgSendResponse; - toJSON(_: MsgSendResponse): unknown; - fromPartial(_: Partial): MsgSendResponse; - fromAmino(_: MsgSendResponseAmino): MsgSendResponse; - toAmino(_: MsgSendResponse): MsgSendResponseAmino; - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse; - toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg; - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse; - toProto(message: MsgSendResponse): Uint8Array; - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg; -}; -export declare const MsgMultiSend: { - encode(message: MsgMultiSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend; - fromJSON(object: any): MsgMultiSend; - toJSON(message: MsgMultiSend): unknown; - fromPartial(object: Partial): MsgMultiSend; - fromAmino(object: MsgMultiSendAmino): MsgMultiSend; - toAmino(message: MsgMultiSend): MsgMultiSendAmino; - fromAminoMsg(object: MsgMultiSendAminoMsg): MsgMultiSend; - toAminoMsg(message: MsgMultiSend): MsgMultiSendAminoMsg; - fromProtoMsg(message: MsgMultiSendProtoMsg): MsgMultiSend; - toProto(message: MsgMultiSend): Uint8Array; - toProtoMsg(message: MsgMultiSend): MsgMultiSendProtoMsg; -}; -export declare const MsgMultiSendResponse: { - encode(_: MsgMultiSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse; - fromJSON(_: any): MsgMultiSendResponse; - toJSON(_: MsgMultiSendResponse): unknown; - fromPartial(_: Partial): MsgMultiSendResponse; - fromAmino(_: MsgMultiSendResponseAmino): MsgMultiSendResponse; - toAmino(_: MsgMultiSendResponse): MsgMultiSendResponseAmino; - fromAminoMsg(object: MsgMultiSendResponseAminoMsg): MsgMultiSendResponse; - toAminoMsg(message: MsgMultiSendResponse): MsgMultiSendResponseAminoMsg; - fromProtoMsg(message: MsgMultiSendResponseProtoMsg): MsgMultiSendResponse; - toProto(message: MsgMultiSendResponse): Uint8Array; - toProtoMsg(message: MsgMultiSendResponse): MsgMultiSendResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts deleted file mode 100644 index 65fc0e8d..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSend, MsgMultiSend } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - send(value: MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: MsgMultiSend; - }; - }; - toJSON: { - send(value: MsgSend): { - typeUrl: string; - value: unknown; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: MsgSend; - }; - multiSend(value: any): { - typeUrl: string; - value: MsgMultiSend; - }; - }; - fromPartial: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: MsgMultiSend; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index ac12e6ab..00000000 --- a/packages/api/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** Send defines a method for sending coins from one account to another account. */ - send(request: MsgSend): Promise; - /** MultiSend defines a method for sending coins from some accounts to other accounts. */ - multiSend(request: MsgMultiSend): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - send(request: MsgSend): Promise; - multiSend(request: MsgMultiSend): Promise; -} diff --git a/packages/api/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts b/packages/api/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts deleted file mode 100644 index 17b38e84..00000000 --- a/packages/api/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +++ /dev/null @@ -1,613 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Event, EventAmino, EventSDKType } from "../../../../tendermint/abci/types"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponse { - /** The block height */ - height: Long; - /** The transaction hash. */ - txhash: string; - /** Namespace for the Code */ - codespace: string; - /** Response code. */ - code: number; - /** Result bytes, if any. */ - data: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - rawLog: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLog[]; - /** Additional information. May be non-deterministic. */ - info: string; - /** Amount of gas requested for transaction. */ - gasWanted: Long; - /** Amount of gas consumed by transaction. */ - gasUsed: Long; - /** The request transaction bytes. */ - tx: Any; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - timestamp: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante. Whereas Logs contains the events, with - * additional metadata, emitted only by processing the messages. - * - * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - */ - events: Event[]; -} -export interface TxResponseProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.TxResponse"; - value: Uint8Array; -} -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponseAmino { - /** The block height */ - height: string; - /** The transaction hash. */ - txhash: string; - /** Namespace for the Code */ - codespace: string; - /** Response code. */ - code: number; - /** Result bytes, if any. */ - data: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - raw_log: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLogAmino[]; - /** Additional information. May be non-deterministic. */ - info: string; - /** Amount of gas requested for transaction. */ - gas_wanted: string; - /** Amount of gas consumed by transaction. */ - gas_used: string; - /** The request transaction bytes. */ - tx?: AnyAmino; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - timestamp: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante. Whereas Logs contains the events, with - * additional metadata, emitted only by processing the messages. - * - * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - */ - events: EventAmino[]; -} -export interface TxResponseAminoMsg { - type: "cosmos-sdk/TxResponse"; - value: TxResponseAmino; -} -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponseSDKType { - height: Long; - txhash: string; - codespace: string; - code: number; - data: string; - raw_log: string; - logs: ABCIMessageLogSDKType[]; - info: string; - gas_wanted: Long; - gas_used: Long; - tx: AnySDKType; - timestamp: string; - events: EventSDKType[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLog { - msgIndex: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - events: StringEvent[]; -} -export interface ABCIMessageLogProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.ABCIMessageLog"; - value: Uint8Array; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLogAmino { - msg_index: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - events: StringEventAmino[]; -} -export interface ABCIMessageLogAminoMsg { - type: "cosmos-sdk/ABCIMessageLog"; - value: ABCIMessageLogAmino; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLogSDKType { - msg_index: number; - log: string; - events: StringEventSDKType[]; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEvent { - type: string; - attributes: Attribute[]; -} -export interface StringEventProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.StringEvent"; - value: Uint8Array; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEventAmino { - type: string; - attributes: AttributeAmino[]; -} -export interface StringEventAminoMsg { - type: "cosmos-sdk/StringEvent"; - value: StringEventAmino; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEventSDKType { - type: string; - attributes: AttributeSDKType[]; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface Attribute { - key: string; - value: string; -} -export interface AttributeProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.Attribute"; - value: Uint8Array; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface AttributeAmino { - key: string; - value: string; -} -export interface AttributeAminoMsg { - type: "cosmos-sdk/Attribute"; - value: AttributeAmino; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface AttributeSDKType { - key: string; - value: string; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfo { - /** GasWanted is the maximum units of work we allow this tx to perform. */ - gasWanted: Long; - /** GasUsed is the amount of gas actually consumed. */ - gasUsed: Long; -} -export interface GasInfoProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.GasInfo"; - value: Uint8Array; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfoAmino { - /** GasWanted is the maximum units of work we allow this tx to perform. */ - gas_wanted: string; - /** GasUsed is the amount of gas actually consumed. */ - gas_used: string; -} -export interface GasInfoAminoMsg { - type: "cosmos-sdk/GasInfo"; - value: GasInfoAmino; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfoSDKType { - gas_wanted: Long; - gas_used: Long; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface Result { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - /** @deprecated */ - data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - events: Event[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - msgResponses: Any[]; -} -export interface ResultProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.Result"; - value: Uint8Array; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface ResultAmino { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - /** @deprecated */ - data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - events: EventAmino[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - msg_responses: AnyAmino[]; -} -export interface ResultAminoMsg { - type: "cosmos-sdk/Result"; - value: ResultAmino; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface ResultSDKType { - /** @deprecated */ - data: Uint8Array; - log: string; - events: EventSDKType[]; - msg_responses: AnySDKType[]; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponse { - gasInfo: GasInfo; - result: Result; -} -export interface SimulationResponseProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.SimulationResponse"; - value: Uint8Array; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponseAmino { - gas_info?: GasInfoAmino; - result?: ResultAmino; -} -export interface SimulationResponseAminoMsg { - type: "cosmos-sdk/SimulationResponse"; - value: SimulationResponseAmino; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponseSDKType { - gas_info: GasInfoSDKType; - result: ResultSDKType; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgData { - msgType: string; - data: Uint8Array; -} -export interface MsgDataProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.MsgData"; - value: Uint8Array; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgDataAmino { - msg_type: string; - data: Uint8Array; -} -export interface MsgDataAminoMsg { - type: "cosmos-sdk/MsgData"; - value: MsgDataAmino; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgDataSDKType { - msg_type: string; - data: Uint8Array; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgData { - /** data field is deprecated and not populated. */ - /** @deprecated */ - data: MsgData[]; - /** - * msg_responses contains the Msg handler responses packed into Anys. - * - * Since: cosmos-sdk 0.46 - */ - msgResponses: Any[]; -} -export interface TxMsgDataProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.TxMsgData"; - value: Uint8Array; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgDataAmino { - /** data field is deprecated and not populated. */ - /** @deprecated */ - data: MsgDataAmino[]; - /** - * msg_responses contains the Msg handler responses packed into Anys. - * - * Since: cosmos-sdk 0.46 - */ - msg_responses: AnyAmino[]; -} -export interface TxMsgDataAminoMsg { - type: "cosmos-sdk/TxMsgData"; - value: TxMsgDataAmino; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgDataSDKType { - /** @deprecated */ - data: MsgDataSDKType[]; - msg_responses: AnySDKType[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResult { - /** Count of all txs */ - totalCount: Long; - /** Count of txs in current page */ - count: Long; - /** Index of current page, start from 1 */ - pageNumber: Long; - /** Count of total pages */ - pageTotal: Long; - /** Max count txs per page */ - limit: Long; - /** List of txs in current page */ - txs: TxResponse[]; -} -export interface SearchTxsResultProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.SearchTxsResult"; - value: Uint8Array; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResultAmino { - /** Count of all txs */ - total_count: string; - /** Count of txs in current page */ - count: string; - /** Index of current page, start from 1 */ - page_number: string; - /** Count of total pages */ - page_total: string; - /** Max count txs per page */ - limit: string; - /** List of txs in current page */ - txs: TxResponseAmino[]; -} -export interface SearchTxsResultAminoMsg { - type: "cosmos-sdk/SearchTxsResult"; - value: SearchTxsResultAmino; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResultSDKType { - total_count: Long; - count: Long; - page_number: Long; - page_total: Long; - limit: Long; - txs: TxResponseSDKType[]; -} -export declare const TxResponse: { - encode(message: TxResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse; - fromJSON(object: any): TxResponse; - toJSON(message: TxResponse): unknown; - fromPartial(object: Partial): TxResponse; - fromAmino(object: TxResponseAmino): TxResponse; - toAmino(message: TxResponse): TxResponseAmino; - fromAminoMsg(object: TxResponseAminoMsg): TxResponse; - toAminoMsg(message: TxResponse): TxResponseAminoMsg; - fromProtoMsg(message: TxResponseProtoMsg): TxResponse; - toProto(message: TxResponse): Uint8Array; - toProtoMsg(message: TxResponse): TxResponseProtoMsg; -}; -export declare const ABCIMessageLog: { - encode(message: ABCIMessageLog, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog; - fromJSON(object: any): ABCIMessageLog; - toJSON(message: ABCIMessageLog): unknown; - fromPartial(object: Partial): ABCIMessageLog; - fromAmino(object: ABCIMessageLogAmino): ABCIMessageLog; - toAmino(message: ABCIMessageLog): ABCIMessageLogAmino; - fromAminoMsg(object: ABCIMessageLogAminoMsg): ABCIMessageLog; - toAminoMsg(message: ABCIMessageLog): ABCIMessageLogAminoMsg; - fromProtoMsg(message: ABCIMessageLogProtoMsg): ABCIMessageLog; - toProto(message: ABCIMessageLog): Uint8Array; - toProtoMsg(message: ABCIMessageLog): ABCIMessageLogProtoMsg; -}; -export declare const StringEvent: { - encode(message: StringEvent, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent; - fromJSON(object: any): StringEvent; - toJSON(message: StringEvent): unknown; - fromPartial(object: Partial): StringEvent; - fromAmino(object: StringEventAmino): StringEvent; - toAmino(message: StringEvent): StringEventAmino; - fromAminoMsg(object: StringEventAminoMsg): StringEvent; - toAminoMsg(message: StringEvent): StringEventAminoMsg; - fromProtoMsg(message: StringEventProtoMsg): StringEvent; - toProto(message: StringEvent): Uint8Array; - toProtoMsg(message: StringEvent): StringEventProtoMsg; -}; -export declare const Attribute: { - encode(message: Attribute, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Attribute; - fromJSON(object: any): Attribute; - toJSON(message: Attribute): unknown; - fromPartial(object: Partial): Attribute; - fromAmino(object: AttributeAmino): Attribute; - toAmino(message: Attribute): AttributeAmino; - fromAminoMsg(object: AttributeAminoMsg): Attribute; - toAminoMsg(message: Attribute): AttributeAminoMsg; - fromProtoMsg(message: AttributeProtoMsg): Attribute; - toProto(message: Attribute): Uint8Array; - toProtoMsg(message: Attribute): AttributeProtoMsg; -}; -export declare const GasInfo: { - encode(message: GasInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo; - fromJSON(object: any): GasInfo; - toJSON(message: GasInfo): unknown; - fromPartial(object: Partial): GasInfo; - fromAmino(object: GasInfoAmino): GasInfo; - toAmino(message: GasInfo): GasInfoAmino; - fromAminoMsg(object: GasInfoAminoMsg): GasInfo; - toAminoMsg(message: GasInfo): GasInfoAminoMsg; - fromProtoMsg(message: GasInfoProtoMsg): GasInfo; - toProto(message: GasInfo): Uint8Array; - toProtoMsg(message: GasInfo): GasInfoProtoMsg; -}; -export declare const Result: { - encode(message: Result, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Result; - fromJSON(object: any): Result; - toJSON(message: Result): unknown; - fromPartial(object: Partial): Result; - fromAmino(object: ResultAmino): Result; - toAmino(message: Result): ResultAmino; - fromAminoMsg(object: ResultAminoMsg): Result; - toAminoMsg(message: Result): ResultAminoMsg; - fromProtoMsg(message: ResultProtoMsg): Result; - toProto(message: Result): Uint8Array; - toProtoMsg(message: Result): ResultProtoMsg; -}; -export declare const SimulationResponse: { - encode(message: SimulationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse; - fromJSON(object: any): SimulationResponse; - toJSON(message: SimulationResponse): unknown; - fromPartial(object: Partial): SimulationResponse; - fromAmino(object: SimulationResponseAmino): SimulationResponse; - toAmino(message: SimulationResponse): SimulationResponseAmino; - fromAminoMsg(object: SimulationResponseAminoMsg): SimulationResponse; - toAminoMsg(message: SimulationResponse): SimulationResponseAminoMsg; - fromProtoMsg(message: SimulationResponseProtoMsg): SimulationResponse; - toProto(message: SimulationResponse): Uint8Array; - toProtoMsg(message: SimulationResponse): SimulationResponseProtoMsg; -}; -export declare const MsgData: { - encode(message: MsgData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgData; - fromJSON(object: any): MsgData; - toJSON(message: MsgData): unknown; - fromPartial(object: Partial): MsgData; - fromAmino(object: MsgDataAmino): MsgData; - toAmino(message: MsgData): MsgDataAmino; - fromAminoMsg(object: MsgDataAminoMsg): MsgData; - toAminoMsg(message: MsgData): MsgDataAminoMsg; - fromProtoMsg(message: MsgDataProtoMsg): MsgData; - toProto(message: MsgData): Uint8Array; - toProtoMsg(message: MsgData): MsgDataProtoMsg; -}; -export declare const TxMsgData: { - encode(message: TxMsgData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData; - fromJSON(object: any): TxMsgData; - toJSON(message: TxMsgData): unknown; - fromPartial(object: Partial): TxMsgData; - fromAmino(object: TxMsgDataAmino): TxMsgData; - toAmino(message: TxMsgData): TxMsgDataAmino; - fromAminoMsg(object: TxMsgDataAminoMsg): TxMsgData; - toAminoMsg(message: TxMsgData): TxMsgDataAminoMsg; - fromProtoMsg(message: TxMsgDataProtoMsg): TxMsgData; - toProto(message: TxMsgData): Uint8Array; - toProtoMsg(message: TxMsgData): TxMsgDataProtoMsg; -}; -export declare const SearchTxsResult: { - encode(message: SearchTxsResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult; - fromJSON(object: any): SearchTxsResult; - toJSON(message: SearchTxsResult): unknown; - fromPartial(object: Partial): SearchTxsResult; - fromAmino(object: SearchTxsResultAmino): SearchTxsResult; - toAmino(message: SearchTxsResult): SearchTxsResultAmino; - fromAminoMsg(object: SearchTxsResultAminoMsg): SearchTxsResult; - toAminoMsg(message: SearchTxsResult): SearchTxsResultAminoMsg; - fromProtoMsg(message: SearchTxsResultProtoMsg): SearchTxsResult; - toProto(message: SearchTxsResult): Uint8Array; - toProtoMsg(message: SearchTxsResult): SearchTxsResultProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts b/packages/api/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts deleted file mode 100644 index 9016cf5a..00000000 --- a/packages/api/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** Pairs defines a repeated slice of Pair objects. */ -export interface Pairs { - pairs: Pair[]; -} -export interface PairsProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs"; - value: Uint8Array; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsAmino { - pairs: PairAmino[]; -} -export interface PairsAminoMsg { - type: "cosmos-sdk/Pairs"; - value: PairsAmino; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsSDKType { - pairs: PairSDKType[]; -} -/** Pair defines a key/value bytes tuple. */ -export interface Pair { - key: Uint8Array; - value: Uint8Array; -} -export interface PairProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pair"; - value: Uint8Array; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairAmino { - key: Uint8Array; - value: Uint8Array; -} -export interface PairAminoMsg { - type: "cosmos-sdk/Pair"; - value: PairAmino; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairSDKType { - key: Uint8Array; - value: Uint8Array; -} -export declare const Pairs: { - encode(message: Pairs, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Pairs; - fromJSON(object: any): Pairs; - toJSON(message: Pairs): unknown; - fromPartial(object: Partial): Pairs; - fromAmino(object: PairsAmino): Pairs; - toAmino(message: Pairs): PairsAmino; - fromAminoMsg(object: PairsAminoMsg): Pairs; - toAminoMsg(message: Pairs): PairsAminoMsg; - fromProtoMsg(message: PairsProtoMsg): Pairs; - toProto(message: Pairs): Uint8Array; - toProtoMsg(message: Pairs): PairsProtoMsg; -}; -export declare const Pair: { - encode(message: Pair, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Pair; - fromJSON(object: any): Pair; - toJSON(message: Pair): unknown; - fromPartial(object: Partial): Pair; - fromAmino(object: PairAmino): Pair; - toAmino(message: Pair): PairAmino; - fromAminoMsg(object: PairAminoMsg): Pair; - toAminoMsg(message: Pair): PairAminoMsg; - fromProtoMsg(message: PairProtoMsg): Pair; - toProto(message: Pair): Uint8Array; - toProtoMsg(message: Pair): PairProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/node/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/base/node/v1beta1/query.d.ts deleted file mode 100644 index 0d463485..00000000 --- a/packages/api/types/codegen/cosmos/base/node/v1beta1/query.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** ConfigRequest defines the request structure for the Config gRPC query. */ -export interface ConfigRequest { -} -export interface ConfigRequestProtoMsg { - typeUrl: "/cosmos.base.node.v1beta1.ConfigRequest"; - value: Uint8Array; -} -/** ConfigRequest defines the request structure for the Config gRPC query. */ -export interface ConfigRequestAmino { -} -export interface ConfigRequestAminoMsg { - type: "cosmos-sdk/ConfigRequest"; - value: ConfigRequestAmino; -} -/** ConfigRequest defines the request structure for the Config gRPC query. */ -export interface ConfigRequestSDKType { -} -/** ConfigResponse defines the response structure for the Config gRPC query. */ -export interface ConfigResponse { - minimumGasPrice: string; -} -export interface ConfigResponseProtoMsg { - typeUrl: "/cosmos.base.node.v1beta1.ConfigResponse"; - value: Uint8Array; -} -/** ConfigResponse defines the response structure for the Config gRPC query. */ -export interface ConfigResponseAmino { - minimum_gas_price: string; -} -export interface ConfigResponseAminoMsg { - type: "cosmos-sdk/ConfigResponse"; - value: ConfigResponseAmino; -} -/** ConfigResponse defines the response structure for the Config gRPC query. */ -export interface ConfigResponseSDKType { - minimum_gas_price: string; -} -export declare const ConfigRequest: { - encode(_: ConfigRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigRequest; - fromJSON(_: any): ConfigRequest; - toJSON(_: ConfigRequest): unknown; - fromPartial(_: Partial): ConfigRequest; - fromAmino(_: ConfigRequestAmino): ConfigRequest; - toAmino(_: ConfigRequest): ConfigRequestAmino; - fromAminoMsg(object: ConfigRequestAminoMsg): ConfigRequest; - toAminoMsg(message: ConfigRequest): ConfigRequestAminoMsg; - fromProtoMsg(message: ConfigRequestProtoMsg): ConfigRequest; - toProto(message: ConfigRequest): Uint8Array; - toProtoMsg(message: ConfigRequest): ConfigRequestProtoMsg; -}; -export declare const ConfigResponse: { - encode(message: ConfigResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigResponse; - fromJSON(object: any): ConfigResponse; - toJSON(message: ConfigResponse): unknown; - fromPartial(object: Partial): ConfigResponse; - fromAmino(object: ConfigResponseAmino): ConfigResponse; - toAmino(message: ConfigResponse): ConfigResponseAmino; - fromAminoMsg(object: ConfigResponseAminoMsg): ConfigResponse; - toAminoMsg(message: ConfigResponse): ConfigResponseAminoMsg; - fromProtoMsg(message: ConfigResponseProtoMsg): ConfigResponse; - toProto(message: ConfigResponse): Uint8Array; - toProtoMsg(message: ConfigResponse): ConfigResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/node/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/base/node/v1beta1/query.lcd.d.ts deleted file mode 100644 index b3bffa36..00000000 --- a/packages/api/types/codegen/cosmos/base/node/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { ConfigRequest, ConfigResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - config(_params?: ConfigRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/base/node/v1beta1/query.rpc.Service.d.ts b/packages/api/types/codegen/cosmos/base/node/v1beta1/query.rpc.Service.d.ts deleted file mode 100644 index f1f8deab..00000000 --- a/packages/api/types/codegen/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { ConfigRequest, ConfigResponse } from "./query"; -/** Service defines the gRPC querier service for node related queries. */ -export interface Service { - /** Config queries for the operator configuration. */ - config(request?: ConfigRequest): Promise; -} -export declare class ServiceClientImpl implements Service { - private readonly rpc; - constructor(rpc: Rpc); - config(request?: ConfigRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - config(request?: ConfigRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts b/packages/api/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts deleted file mode 100644 index 7569166a..00000000 --- a/packages/api/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +++ /dev/null @@ -1,201 +0,0 @@ -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequest { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key: Uint8Array; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - offset: Long; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: Long; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - countTotal: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - reverse: boolean; -} -export interface PageRequestProtoMsg { - typeUrl: "/cosmos.base.query.v1beta1.PageRequest"; - value: Uint8Array; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequestAmino { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key: Uint8Array; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - offset: string; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: string; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - count_total: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - reverse: boolean; -} -export interface PageRequestAminoMsg { - type: "cosmos-sdk/PageRequest"; - value: PageRequestAmino; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequestSDKType { - key: Uint8Array; - offset: Long; - limit: Long; - count_total: boolean; - reverse: boolean; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponse { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - nextKey: Uint8Array; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - total: Long; -} -export interface PageResponseProtoMsg { - typeUrl: "/cosmos.base.query.v1beta1.PageResponse"; - value: Uint8Array; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponseAmino { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - next_key: Uint8Array; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - total: string; -} -export interface PageResponseAminoMsg { - type: "cosmos-sdk/PageResponse"; - value: PageResponseAmino; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponseSDKType { - next_key: Uint8Array; - total: Long; -} -export declare const PageRequest: { - encode(message: PageRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest; - fromJSON(object: any): PageRequest; - toJSON(message: PageRequest): unknown; - fromPartial(object: Partial): PageRequest; - fromAmino(object: PageRequestAmino): PageRequest; - toAmino(message: PageRequest): PageRequestAmino; - fromAminoMsg(object: PageRequestAminoMsg): PageRequest; - toAminoMsg(message: PageRequest): PageRequestAminoMsg; - fromProtoMsg(message: PageRequestProtoMsg): PageRequest; - toProto(message: PageRequest): Uint8Array; - toProtoMsg(message: PageRequest): PageRequestProtoMsg; -}; -export declare const PageResponse: { - encode(message: PageResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse; - fromJSON(object: any): PageResponse; - toJSON(message: PageResponse): unknown; - fromPartial(object: Partial): PageResponse; - fromAmino(object: PageResponseAmino): PageResponse; - toAmino(message: PageResponse): PageResponseAmino; - fromAminoMsg(object: PageResponseAminoMsg): PageResponse; - toAminoMsg(message: PageResponse): PageResponseAminoMsg; - fromProtoMsg(message: PageResponseProtoMsg): PageResponse; - toProto(message: PageResponse): Uint8Array; - toProtoMsg(message: PageResponse): PageResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts b/packages/api/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts deleted file mode 100644 index 45b978f9..00000000 --- a/packages/api/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +++ /dev/null @@ -1,156 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequest { -} -export interface ListAllInterfacesRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest"; - value: Uint8Array; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestAmino { -} -export interface ListAllInterfacesRequestAminoMsg { - type: "cosmos-sdk/ListAllInterfacesRequest"; - value: ListAllInterfacesRequestAmino; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestSDKType { -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponse { - /** interface_names is an array of all the registered interfaces. */ - interfaceNames: string[]; -} -export interface ListAllInterfacesResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse"; - value: Uint8Array; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseAmino { - /** interface_names is an array of all the registered interfaces. */ - interface_names: string[]; -} -export interface ListAllInterfacesResponseAminoMsg { - type: "cosmos-sdk/ListAllInterfacesResponse"; - value: ListAllInterfacesResponseAmino; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseSDKType { - interface_names: string[]; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequest { - /** interface_name defines the interface to query the implementations for. */ - interfaceName: string; -} -export interface ListImplementationsRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest"; - value: Uint8Array; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestAmino { - /** interface_name defines the interface to query the implementations for. */ - interface_name: string; -} -export interface ListImplementationsRequestAminoMsg { - type: "cosmos-sdk/ListImplementationsRequest"; - value: ListImplementationsRequestAmino; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestSDKType { - interface_name: string; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponse { - implementationMessageNames: string[]; -} -export interface ListImplementationsResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse"; - value: Uint8Array; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseAmino { - implementation_message_names: string[]; -} -export interface ListImplementationsResponseAminoMsg { - type: "cosmos-sdk/ListImplementationsResponse"; - value: ListImplementationsResponseAmino; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseSDKType { - implementation_message_names: string[]; -} -export declare const ListAllInterfacesRequest: { - encode(_: ListAllInterfacesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest; - fromJSON(_: any): ListAllInterfacesRequest; - toJSON(_: ListAllInterfacesRequest): unknown; - fromPartial(_: Partial): ListAllInterfacesRequest; - fromAmino(_: ListAllInterfacesRequestAmino): ListAllInterfacesRequest; - toAmino(_: ListAllInterfacesRequest): ListAllInterfacesRequestAmino; - fromAminoMsg(object: ListAllInterfacesRequestAminoMsg): ListAllInterfacesRequest; - toAminoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestAminoMsg; - fromProtoMsg(message: ListAllInterfacesRequestProtoMsg): ListAllInterfacesRequest; - toProto(message: ListAllInterfacesRequest): Uint8Array; - toProtoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestProtoMsg; -}; -export declare const ListAllInterfacesResponse: { - encode(message: ListAllInterfacesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse; - fromJSON(object: any): ListAllInterfacesResponse; - toJSON(message: ListAllInterfacesResponse): unknown; - fromPartial(object: Partial): ListAllInterfacesResponse; - fromAmino(object: ListAllInterfacesResponseAmino): ListAllInterfacesResponse; - toAmino(message: ListAllInterfacesResponse): ListAllInterfacesResponseAmino; - fromAminoMsg(object: ListAllInterfacesResponseAminoMsg): ListAllInterfacesResponse; - toAminoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseAminoMsg; - fromProtoMsg(message: ListAllInterfacesResponseProtoMsg): ListAllInterfacesResponse; - toProto(message: ListAllInterfacesResponse): Uint8Array; - toProtoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseProtoMsg; -}; -export declare const ListImplementationsRequest: { - encode(message: ListImplementationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest; - fromJSON(object: any): ListImplementationsRequest; - toJSON(message: ListImplementationsRequest): unknown; - fromPartial(object: Partial): ListImplementationsRequest; - fromAmino(object: ListImplementationsRequestAmino): ListImplementationsRequest; - toAmino(message: ListImplementationsRequest): ListImplementationsRequestAmino; - fromAminoMsg(object: ListImplementationsRequestAminoMsg): ListImplementationsRequest; - toAminoMsg(message: ListImplementationsRequest): ListImplementationsRequestAminoMsg; - fromProtoMsg(message: ListImplementationsRequestProtoMsg): ListImplementationsRequest; - toProto(message: ListImplementationsRequest): Uint8Array; - toProtoMsg(message: ListImplementationsRequest): ListImplementationsRequestProtoMsg; -}; -export declare const ListImplementationsResponse: { - encode(message: ListImplementationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse; - fromJSON(object: any): ListImplementationsResponse; - toJSON(message: ListImplementationsResponse): unknown; - fromPartial(object: Partial): ListImplementationsResponse; - fromAmino(object: ListImplementationsResponseAmino): ListImplementationsResponse; - toAmino(message: ListImplementationsResponse): ListImplementationsResponseAmino; - fromAminoMsg(object: ListImplementationsResponseAminoMsg): ListImplementationsResponse; - toAminoMsg(message: ListImplementationsResponse): ListImplementationsResponseAminoMsg; - fromProtoMsg(message: ListImplementationsResponseProtoMsg): ListImplementationsResponse; - toProto(message: ListImplementationsResponse): Uint8Array; - toProtoMsg(message: ListImplementationsResponse): ListImplementationsResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts b/packages/api/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts deleted file mode 100644 index d4afc4a1..00000000 --- a/packages/api/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +++ /dev/null @@ -1,1083 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptor { - /** - * AuthnDescriptor provides information on how to authenticate transactions on the application - * NOTE: experimental and subject to change in future releases. - */ - authn: AuthnDescriptor; - /** chain provides the chain descriptor */ - chain: ChainDescriptor; - /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptor; - /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptor; - /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices: QueryServicesDescriptor; - /** tx provides metadata information regarding how to send transactions to the given application */ - tx: TxDescriptor; -} -export interface AppDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.AppDescriptor"; - value: Uint8Array; -} -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptorAmino { - /** - * AuthnDescriptor provides information on how to authenticate transactions on the application - * NOTE: experimental and subject to change in future releases. - */ - authn?: AuthnDescriptorAmino; - /** chain provides the chain descriptor */ - chain?: ChainDescriptorAmino; - /** codec provides metadata information regarding codec related types */ - codec?: CodecDescriptorAmino; - /** configuration provides metadata information regarding the sdk.Config type */ - configuration?: ConfigurationDescriptorAmino; - /** query_services provides metadata information regarding the available queriable endpoints */ - query_services?: QueryServicesDescriptorAmino; - /** tx provides metadata information regarding how to send transactions to the given application */ - tx?: TxDescriptorAmino; -} -export interface AppDescriptorAminoMsg { - type: "cosmos-sdk/AppDescriptor"; - value: AppDescriptorAmino; -} -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptorSDKType { - authn: AuthnDescriptorSDKType; - chain: ChainDescriptorSDKType; - codec: CodecDescriptorSDKType; - configuration: ConfigurationDescriptorSDKType; - query_services: QueryServicesDescriptorSDKType; - tx: TxDescriptorSDKType; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptor { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - msgs: MsgDescriptor[]; -} -export interface TxDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.TxDescriptor"; - value: Uint8Array; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptorAmino { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - msgs: MsgDescriptorAmino[]; -} -export interface TxDescriptorAminoMsg { - type: "cosmos-sdk/TxDescriptor"; - value: TxDescriptorAmino; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptorSDKType { - fullname: string; - msgs: MsgDescriptorSDKType[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptor { - /** sign_modes defines the supported signature algorithm */ - signModes: SigningModeDescriptor[]; -} -export interface AuthnDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.AuthnDescriptor"; - value: Uint8Array; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptorAmino { - /** sign_modes defines the supported signature algorithm */ - sign_modes: SigningModeDescriptorAmino[]; -} -export interface AuthnDescriptorAminoMsg { - type: "cosmos-sdk/AuthnDescriptor"; - value: AuthnDescriptorAmino; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptorSDKType { - sign_modes: SigningModeDescriptorSDKType[]; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptor { - /** name defines the unique name of the signing mode */ - name: string; - /** number is the unique int32 identifier for the sign_mode enum */ - number: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - authnInfoProviderMethodFullname: string; -} -export interface SigningModeDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.SigningModeDescriptor"; - value: Uint8Array; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptorAmino { - /** name defines the unique name of the signing mode */ - name: string; - /** number is the unique int32 identifier for the sign_mode enum */ - number: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - authn_info_provider_method_fullname: string; -} -export interface SigningModeDescriptorAminoMsg { - type: "cosmos-sdk/SigningModeDescriptor"; - value: SigningModeDescriptorAmino; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptorSDKType { - name: string; - number: number; - authn_info_provider_method_fullname: string; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptor { - /** id is the chain id */ - id: string; -} -export interface ChainDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.ChainDescriptor"; - value: Uint8Array; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptorAmino { - /** id is the chain id */ - id: string; -} -export interface ChainDescriptorAminoMsg { - type: "cosmos-sdk/ChainDescriptor"; - value: ChainDescriptorAmino; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptorSDKType { - id: string; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptor { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces: InterfaceDescriptor[]; -} -export interface CodecDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.CodecDescriptor"; - value: Uint8Array; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptorAmino { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces: InterfaceDescriptorAmino[]; -} -export interface CodecDescriptorAminoMsg { - type: "cosmos-sdk/CodecDescriptor"; - value: CodecDescriptorAmino; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptorSDKType { - interfaces: InterfaceDescriptorSDKType[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptor { - /** fullname is the name of the interface */ - fullname: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - interfaceImplementers: InterfaceImplementerDescriptor[]; -} -export interface InterfaceDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceDescriptor"; - value: Uint8Array; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptorAmino { - /** fullname is the name of the interface */ - fullname: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - interface_accepting_messages: InterfaceAcceptingMessageDescriptorAmino[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - interface_implementers: InterfaceImplementerDescriptorAmino[]; -} -export interface InterfaceDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceDescriptor"; - value: InterfaceDescriptorAmino; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptorSDKType { - fullname: string; - interface_accepting_messages: InterfaceAcceptingMessageDescriptorSDKType[]; - interface_implementers: InterfaceImplementerDescriptorSDKType[]; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptor { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - typeUrl: string; -} -export interface InterfaceImplementerDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor"; - value: Uint8Array; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptorAmino { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - type_url: string; -} -export interface InterfaceImplementerDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceImplementerDescriptor"; - value: InterfaceImplementerDescriptorAmino; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptorSDKType { - fullname: string; - type_url: string; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptor { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - fieldDescriptorNames: string[]; -} -export interface InterfaceAcceptingMessageDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor"; - value: Uint8Array; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptorAmino { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - field_descriptor_names: string[]; -} -export interface InterfaceAcceptingMessageDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceAcceptingMessageDescriptor"; - value: InterfaceAcceptingMessageDescriptorAmino; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptorSDKType { - fullname: string; - field_descriptor_names: string[]; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptor { - /** bech32_account_address_prefix is the account address prefix */ - bech32AccountAddressPrefix: string; -} -export interface ConfigurationDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor"; - value: Uint8Array; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptorAmino { - /** bech32_account_address_prefix is the account address prefix */ - bech32_account_address_prefix: string; -} -export interface ConfigurationDescriptorAminoMsg { - type: "cosmos-sdk/ConfigurationDescriptor"; - value: ConfigurationDescriptorAmino; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptorSDKType { - bech32_account_address_prefix: string; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptor { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msgTypeUrl: string; -} -export interface MsgDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.MsgDescriptor"; - value: Uint8Array; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptorAmino { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msg_type_url: string; -} -export interface MsgDescriptorAminoMsg { - type: "cosmos-sdk/MsgDescriptor"; - value: MsgDescriptorAmino; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptorSDKType { - msg_type_url: string; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequest { -} -export interface GetAuthnDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest"; - value: Uint8Array; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequestAmino { -} -export interface GetAuthnDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetAuthnDescriptorRequest"; - value: GetAuthnDescriptorRequestAmino; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequestSDKType { -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponse { - /** authn describes how to authenticate to the application when sending transactions */ - authn: AuthnDescriptor; -} -export interface GetAuthnDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse"; - value: Uint8Array; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponseAmino { - /** authn describes how to authenticate to the application when sending transactions */ - authn?: AuthnDescriptorAmino; -} -export interface GetAuthnDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetAuthnDescriptorResponse"; - value: GetAuthnDescriptorResponseAmino; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponseSDKType { - authn: AuthnDescriptorSDKType; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequest { -} -export interface GetChainDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest"; - value: Uint8Array; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequestAmino { -} -export interface GetChainDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetChainDescriptorRequest"; - value: GetChainDescriptorRequestAmino; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequestSDKType { -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponse { - /** chain describes application chain information */ - chain: ChainDescriptor; -} -export interface GetChainDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse"; - value: Uint8Array; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponseAmino { - /** chain describes application chain information */ - chain?: ChainDescriptorAmino; -} -export interface GetChainDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetChainDescriptorResponse"; - value: GetChainDescriptorResponseAmino; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponseSDKType { - chain: ChainDescriptorSDKType; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequest { -} -export interface GetCodecDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest"; - value: Uint8Array; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequestAmino { -} -export interface GetCodecDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetCodecDescriptorRequest"; - value: GetCodecDescriptorRequestAmino; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequestSDKType { -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponse { - /** codec describes the application codec such as registered interfaces and implementations */ - codec: CodecDescriptor; -} -export interface GetCodecDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse"; - value: Uint8Array; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponseAmino { - /** codec describes the application codec such as registered interfaces and implementations */ - codec?: CodecDescriptorAmino; -} -export interface GetCodecDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetCodecDescriptorResponse"; - value: GetCodecDescriptorResponseAmino; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponseSDKType { - codec: CodecDescriptorSDKType; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequest { -} -export interface GetConfigurationDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest"; - value: Uint8Array; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequestAmino { -} -export interface GetConfigurationDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetConfigurationDescriptorRequest"; - value: GetConfigurationDescriptorRequestAmino; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequestSDKType { -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponse { - /** config describes the application's sdk.Config */ - config: ConfigurationDescriptor; -} -export interface GetConfigurationDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse"; - value: Uint8Array; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponseAmino { - /** config describes the application's sdk.Config */ - config?: ConfigurationDescriptorAmino; -} -export interface GetConfigurationDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetConfigurationDescriptorResponse"; - value: GetConfigurationDescriptorResponseAmino; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponseSDKType { - config: ConfigurationDescriptorSDKType; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequest { -} -export interface GetQueryServicesDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest"; - value: Uint8Array; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequestAmino { -} -export interface GetQueryServicesDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetQueryServicesDescriptorRequest"; - value: GetQueryServicesDescriptorRequestAmino; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequestSDKType { -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponse { - /** queries provides information on the available queryable services */ - queries: QueryServicesDescriptor; -} -export interface GetQueryServicesDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse"; - value: Uint8Array; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponseAmino { - /** queries provides information on the available queryable services */ - queries?: QueryServicesDescriptorAmino; -} -export interface GetQueryServicesDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetQueryServicesDescriptorResponse"; - value: GetQueryServicesDescriptorResponseAmino; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponseSDKType { - queries: QueryServicesDescriptorSDKType; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequest { -} -export interface GetTxDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest"; - value: Uint8Array; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequestAmino { -} -export interface GetTxDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetTxDescriptorRequest"; - value: GetTxDescriptorRequestAmino; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequestSDKType { -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponse { - /** - * tx provides information on msgs that can be forwarded to the application - * alongside the accepted transaction protobuf type - */ - tx: TxDescriptor; -} -export interface GetTxDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse"; - value: Uint8Array; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponseAmino { - /** - * tx provides information on msgs that can be forwarded to the application - * alongside the accepted transaction protobuf type - */ - tx?: TxDescriptorAmino; -} -export interface GetTxDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetTxDescriptorResponse"; - value: GetTxDescriptorResponseAmino; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponseSDKType { - tx: TxDescriptorSDKType; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptor { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - queryServices: QueryServiceDescriptor[]; -} -export interface QueryServicesDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor"; - value: Uint8Array; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptorAmino { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - query_services: QueryServiceDescriptorAmino[]; -} -export interface QueryServicesDescriptorAminoMsg { - type: "cosmos-sdk/QueryServicesDescriptor"; - value: QueryServicesDescriptorAmino; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptorSDKType { - query_services: QueryServiceDescriptorSDKType[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptor { - /** fullname is the protobuf fullname of the service descriptor */ - fullname: string; - /** is_module describes if this service is actually exposed by an application's module */ - isModule: boolean; - /** methods provides a list of query service methods */ - methods: QueryMethodDescriptor[]; -} -export interface QueryServiceDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor"; - value: Uint8Array; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptorAmino { - /** fullname is the protobuf fullname of the service descriptor */ - fullname: string; - /** is_module describes if this service is actually exposed by an application's module */ - is_module: boolean; - /** methods provides a list of query service methods */ - methods: QueryMethodDescriptorAmino[]; -} -export interface QueryServiceDescriptorAminoMsg { - type: "cosmos-sdk/QueryServiceDescriptor"; - value: QueryServiceDescriptorAmino; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptorSDKType { - fullname: string; - is_module: boolean; - methods: QueryMethodDescriptorSDKType[]; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptor { - /** name is the protobuf name (not fullname) of the method */ - name: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - fullQueryPath: string; -} -export interface QueryMethodDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor"; - value: Uint8Array; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptorAmino { - /** name is the protobuf name (not fullname) of the method */ - name: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - full_query_path: string; -} -export interface QueryMethodDescriptorAminoMsg { - type: "cosmos-sdk/QueryMethodDescriptor"; - value: QueryMethodDescriptorAmino; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptorSDKType { - name: string; - full_query_path: string; -} -export declare const AppDescriptor: { - encode(message: AppDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor; - fromJSON(object: any): AppDescriptor; - toJSON(message: AppDescriptor): unknown; - fromPartial(object: Partial): AppDescriptor; - fromAmino(object: AppDescriptorAmino): AppDescriptor; - toAmino(message: AppDescriptor): AppDescriptorAmino; - fromAminoMsg(object: AppDescriptorAminoMsg): AppDescriptor; - toAminoMsg(message: AppDescriptor): AppDescriptorAminoMsg; - fromProtoMsg(message: AppDescriptorProtoMsg): AppDescriptor; - toProto(message: AppDescriptor): Uint8Array; - toProtoMsg(message: AppDescriptor): AppDescriptorProtoMsg; -}; -export declare const TxDescriptor: { - encode(message: TxDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor; - fromJSON(object: any): TxDescriptor; - toJSON(message: TxDescriptor): unknown; - fromPartial(object: Partial): TxDescriptor; - fromAmino(object: TxDescriptorAmino): TxDescriptor; - toAmino(message: TxDescriptor): TxDescriptorAmino; - fromAminoMsg(object: TxDescriptorAminoMsg): TxDescriptor; - toAminoMsg(message: TxDescriptor): TxDescriptorAminoMsg; - fromProtoMsg(message: TxDescriptorProtoMsg): TxDescriptor; - toProto(message: TxDescriptor): Uint8Array; - toProtoMsg(message: TxDescriptor): TxDescriptorProtoMsg; -}; -export declare const AuthnDescriptor: { - encode(message: AuthnDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor; - fromJSON(object: any): AuthnDescriptor; - toJSON(message: AuthnDescriptor): unknown; - fromPartial(object: Partial): AuthnDescriptor; - fromAmino(object: AuthnDescriptorAmino): AuthnDescriptor; - toAmino(message: AuthnDescriptor): AuthnDescriptorAmino; - fromAminoMsg(object: AuthnDescriptorAminoMsg): AuthnDescriptor; - toAminoMsg(message: AuthnDescriptor): AuthnDescriptorAminoMsg; - fromProtoMsg(message: AuthnDescriptorProtoMsg): AuthnDescriptor; - toProto(message: AuthnDescriptor): Uint8Array; - toProtoMsg(message: AuthnDescriptor): AuthnDescriptorProtoMsg; -}; -export declare const SigningModeDescriptor: { - encode(message: SigningModeDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor; - fromJSON(object: any): SigningModeDescriptor; - toJSON(message: SigningModeDescriptor): unknown; - fromPartial(object: Partial): SigningModeDescriptor; - fromAmino(object: SigningModeDescriptorAmino): SigningModeDescriptor; - toAmino(message: SigningModeDescriptor): SigningModeDescriptorAmino; - fromAminoMsg(object: SigningModeDescriptorAminoMsg): SigningModeDescriptor; - toAminoMsg(message: SigningModeDescriptor): SigningModeDescriptorAminoMsg; - fromProtoMsg(message: SigningModeDescriptorProtoMsg): SigningModeDescriptor; - toProto(message: SigningModeDescriptor): Uint8Array; - toProtoMsg(message: SigningModeDescriptor): SigningModeDescriptorProtoMsg; -}; -export declare const ChainDescriptor: { - encode(message: ChainDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor; - fromJSON(object: any): ChainDescriptor; - toJSON(message: ChainDescriptor): unknown; - fromPartial(object: Partial): ChainDescriptor; - fromAmino(object: ChainDescriptorAmino): ChainDescriptor; - toAmino(message: ChainDescriptor): ChainDescriptorAmino; - fromAminoMsg(object: ChainDescriptorAminoMsg): ChainDescriptor; - toAminoMsg(message: ChainDescriptor): ChainDescriptorAminoMsg; - fromProtoMsg(message: ChainDescriptorProtoMsg): ChainDescriptor; - toProto(message: ChainDescriptor): Uint8Array; - toProtoMsg(message: ChainDescriptor): ChainDescriptorProtoMsg; -}; -export declare const CodecDescriptor: { - encode(message: CodecDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor; - fromJSON(object: any): CodecDescriptor; - toJSON(message: CodecDescriptor): unknown; - fromPartial(object: Partial): CodecDescriptor; - fromAmino(object: CodecDescriptorAmino): CodecDescriptor; - toAmino(message: CodecDescriptor): CodecDescriptorAmino; - fromAminoMsg(object: CodecDescriptorAminoMsg): CodecDescriptor; - toAminoMsg(message: CodecDescriptor): CodecDescriptorAminoMsg; - fromProtoMsg(message: CodecDescriptorProtoMsg): CodecDescriptor; - toProto(message: CodecDescriptor): Uint8Array; - toProtoMsg(message: CodecDescriptor): CodecDescriptorProtoMsg; -}; -export declare const InterfaceDescriptor: { - encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor; - fromJSON(object: any): InterfaceDescriptor; - toJSON(message: InterfaceDescriptor): unknown; - fromPartial(object: Partial): InterfaceDescriptor; - fromAmino(object: InterfaceDescriptorAmino): InterfaceDescriptor; - toAmino(message: InterfaceDescriptor): InterfaceDescriptorAmino; - fromAminoMsg(object: InterfaceDescriptorAminoMsg): InterfaceDescriptor; - toAminoMsg(message: InterfaceDescriptor): InterfaceDescriptorAminoMsg; - fromProtoMsg(message: InterfaceDescriptorProtoMsg): InterfaceDescriptor; - toProto(message: InterfaceDescriptor): Uint8Array; - toProtoMsg(message: InterfaceDescriptor): InterfaceDescriptorProtoMsg; -}; -export declare const InterfaceImplementerDescriptor: { - encode(message: InterfaceImplementerDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor; - fromJSON(object: any): InterfaceImplementerDescriptor; - toJSON(message: InterfaceImplementerDescriptor): unknown; - fromPartial(object: Partial): InterfaceImplementerDescriptor; - fromAmino(object: InterfaceImplementerDescriptorAmino): InterfaceImplementerDescriptor; - toAmino(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorAmino; - fromAminoMsg(object: InterfaceImplementerDescriptorAminoMsg): InterfaceImplementerDescriptor; - toAminoMsg(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorAminoMsg; - fromProtoMsg(message: InterfaceImplementerDescriptorProtoMsg): InterfaceImplementerDescriptor; - toProto(message: InterfaceImplementerDescriptor): Uint8Array; - toProtoMsg(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorProtoMsg; -}; -export declare const InterfaceAcceptingMessageDescriptor: { - encode(message: InterfaceAcceptingMessageDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor; - fromJSON(object: any): InterfaceAcceptingMessageDescriptor; - toJSON(message: InterfaceAcceptingMessageDescriptor): unknown; - fromPartial(object: Partial): InterfaceAcceptingMessageDescriptor; - fromAmino(object: InterfaceAcceptingMessageDescriptorAmino): InterfaceAcceptingMessageDescriptor; - toAmino(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorAmino; - fromAminoMsg(object: InterfaceAcceptingMessageDescriptorAminoMsg): InterfaceAcceptingMessageDescriptor; - toAminoMsg(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorAminoMsg; - fromProtoMsg(message: InterfaceAcceptingMessageDescriptorProtoMsg): InterfaceAcceptingMessageDescriptor; - toProto(message: InterfaceAcceptingMessageDescriptor): Uint8Array; - toProtoMsg(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorProtoMsg; -}; -export declare const ConfigurationDescriptor: { - encode(message: ConfigurationDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor; - fromJSON(object: any): ConfigurationDescriptor; - toJSON(message: ConfigurationDescriptor): unknown; - fromPartial(object: Partial): ConfigurationDescriptor; - fromAmino(object: ConfigurationDescriptorAmino): ConfigurationDescriptor; - toAmino(message: ConfigurationDescriptor): ConfigurationDescriptorAmino; - fromAminoMsg(object: ConfigurationDescriptorAminoMsg): ConfigurationDescriptor; - toAminoMsg(message: ConfigurationDescriptor): ConfigurationDescriptorAminoMsg; - fromProtoMsg(message: ConfigurationDescriptorProtoMsg): ConfigurationDescriptor; - toProto(message: ConfigurationDescriptor): Uint8Array; - toProtoMsg(message: ConfigurationDescriptor): ConfigurationDescriptorProtoMsg; -}; -export declare const MsgDescriptor: { - encode(message: MsgDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor; - fromJSON(object: any): MsgDescriptor; - toJSON(message: MsgDescriptor): unknown; - fromPartial(object: Partial): MsgDescriptor; - fromAmino(object: MsgDescriptorAmino): MsgDescriptor; - toAmino(message: MsgDescriptor): MsgDescriptorAmino; - fromAminoMsg(object: MsgDescriptorAminoMsg): MsgDescriptor; - toAminoMsg(message: MsgDescriptor): MsgDescriptorAminoMsg; - fromProtoMsg(message: MsgDescriptorProtoMsg): MsgDescriptor; - toProto(message: MsgDescriptor): Uint8Array; - toProtoMsg(message: MsgDescriptor): MsgDescriptorProtoMsg; -}; -export declare const GetAuthnDescriptorRequest: { - encode(_: GetAuthnDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest; - fromJSON(_: any): GetAuthnDescriptorRequest; - toJSON(_: GetAuthnDescriptorRequest): unknown; - fromPartial(_: Partial): GetAuthnDescriptorRequest; - fromAmino(_: GetAuthnDescriptorRequestAmino): GetAuthnDescriptorRequest; - toAmino(_: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestAmino; - fromAminoMsg(object: GetAuthnDescriptorRequestAminoMsg): GetAuthnDescriptorRequest; - toAminoMsg(message: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestAminoMsg; - fromProtoMsg(message: GetAuthnDescriptorRequestProtoMsg): GetAuthnDescriptorRequest; - toProto(message: GetAuthnDescriptorRequest): Uint8Array; - toProtoMsg(message: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestProtoMsg; -}; -export declare const GetAuthnDescriptorResponse: { - encode(message: GetAuthnDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse; - fromJSON(object: any): GetAuthnDescriptorResponse; - toJSON(message: GetAuthnDescriptorResponse): unknown; - fromPartial(object: Partial): GetAuthnDescriptorResponse; - fromAmino(object: GetAuthnDescriptorResponseAmino): GetAuthnDescriptorResponse; - toAmino(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseAmino; - fromAminoMsg(object: GetAuthnDescriptorResponseAminoMsg): GetAuthnDescriptorResponse; - toAminoMsg(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseAminoMsg; - fromProtoMsg(message: GetAuthnDescriptorResponseProtoMsg): GetAuthnDescriptorResponse; - toProto(message: GetAuthnDescriptorResponse): Uint8Array; - toProtoMsg(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseProtoMsg; -}; -export declare const GetChainDescriptorRequest: { - encode(_: GetChainDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest; - fromJSON(_: any): GetChainDescriptorRequest; - toJSON(_: GetChainDescriptorRequest): unknown; - fromPartial(_: Partial): GetChainDescriptorRequest; - fromAmino(_: GetChainDescriptorRequestAmino): GetChainDescriptorRequest; - toAmino(_: GetChainDescriptorRequest): GetChainDescriptorRequestAmino; - fromAminoMsg(object: GetChainDescriptorRequestAminoMsg): GetChainDescriptorRequest; - toAminoMsg(message: GetChainDescriptorRequest): GetChainDescriptorRequestAminoMsg; - fromProtoMsg(message: GetChainDescriptorRequestProtoMsg): GetChainDescriptorRequest; - toProto(message: GetChainDescriptorRequest): Uint8Array; - toProtoMsg(message: GetChainDescriptorRequest): GetChainDescriptorRequestProtoMsg; -}; -export declare const GetChainDescriptorResponse: { - encode(message: GetChainDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse; - fromJSON(object: any): GetChainDescriptorResponse; - toJSON(message: GetChainDescriptorResponse): unknown; - fromPartial(object: Partial): GetChainDescriptorResponse; - fromAmino(object: GetChainDescriptorResponseAmino): GetChainDescriptorResponse; - toAmino(message: GetChainDescriptorResponse): GetChainDescriptorResponseAmino; - fromAminoMsg(object: GetChainDescriptorResponseAminoMsg): GetChainDescriptorResponse; - toAminoMsg(message: GetChainDescriptorResponse): GetChainDescriptorResponseAminoMsg; - fromProtoMsg(message: GetChainDescriptorResponseProtoMsg): GetChainDescriptorResponse; - toProto(message: GetChainDescriptorResponse): Uint8Array; - toProtoMsg(message: GetChainDescriptorResponse): GetChainDescriptorResponseProtoMsg; -}; -export declare const GetCodecDescriptorRequest: { - encode(_: GetCodecDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest; - fromJSON(_: any): GetCodecDescriptorRequest; - toJSON(_: GetCodecDescriptorRequest): unknown; - fromPartial(_: Partial): GetCodecDescriptorRequest; - fromAmino(_: GetCodecDescriptorRequestAmino): GetCodecDescriptorRequest; - toAmino(_: GetCodecDescriptorRequest): GetCodecDescriptorRequestAmino; - fromAminoMsg(object: GetCodecDescriptorRequestAminoMsg): GetCodecDescriptorRequest; - toAminoMsg(message: GetCodecDescriptorRequest): GetCodecDescriptorRequestAminoMsg; - fromProtoMsg(message: GetCodecDescriptorRequestProtoMsg): GetCodecDescriptorRequest; - toProto(message: GetCodecDescriptorRequest): Uint8Array; - toProtoMsg(message: GetCodecDescriptorRequest): GetCodecDescriptorRequestProtoMsg; -}; -export declare const GetCodecDescriptorResponse: { - encode(message: GetCodecDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse; - fromJSON(object: any): GetCodecDescriptorResponse; - toJSON(message: GetCodecDescriptorResponse): unknown; - fromPartial(object: Partial): GetCodecDescriptorResponse; - fromAmino(object: GetCodecDescriptorResponseAmino): GetCodecDescriptorResponse; - toAmino(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseAmino; - fromAminoMsg(object: GetCodecDescriptorResponseAminoMsg): GetCodecDescriptorResponse; - toAminoMsg(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseAminoMsg; - fromProtoMsg(message: GetCodecDescriptorResponseProtoMsg): GetCodecDescriptorResponse; - toProto(message: GetCodecDescriptorResponse): Uint8Array; - toProtoMsg(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseProtoMsg; -}; -export declare const GetConfigurationDescriptorRequest: { - encode(_: GetConfigurationDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest; - fromJSON(_: any): GetConfigurationDescriptorRequest; - toJSON(_: GetConfigurationDescriptorRequest): unknown; - fromPartial(_: Partial): GetConfigurationDescriptorRequest; - fromAmino(_: GetConfigurationDescriptorRequestAmino): GetConfigurationDescriptorRequest; - toAmino(_: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestAmino; - fromAminoMsg(object: GetConfigurationDescriptorRequestAminoMsg): GetConfigurationDescriptorRequest; - toAminoMsg(message: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestAminoMsg; - fromProtoMsg(message: GetConfigurationDescriptorRequestProtoMsg): GetConfigurationDescriptorRequest; - toProto(message: GetConfigurationDescriptorRequest): Uint8Array; - toProtoMsg(message: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestProtoMsg; -}; -export declare const GetConfigurationDescriptorResponse: { - encode(message: GetConfigurationDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse; - fromJSON(object: any): GetConfigurationDescriptorResponse; - toJSON(message: GetConfigurationDescriptorResponse): unknown; - fromPartial(object: Partial): GetConfigurationDescriptorResponse; - fromAmino(object: GetConfigurationDescriptorResponseAmino): GetConfigurationDescriptorResponse; - toAmino(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseAmino; - fromAminoMsg(object: GetConfigurationDescriptorResponseAminoMsg): GetConfigurationDescriptorResponse; - toAminoMsg(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseAminoMsg; - fromProtoMsg(message: GetConfigurationDescriptorResponseProtoMsg): GetConfigurationDescriptorResponse; - toProto(message: GetConfigurationDescriptorResponse): Uint8Array; - toProtoMsg(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseProtoMsg; -}; -export declare const GetQueryServicesDescriptorRequest: { - encode(_: GetQueryServicesDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest; - fromJSON(_: any): GetQueryServicesDescriptorRequest; - toJSON(_: GetQueryServicesDescriptorRequest): unknown; - fromPartial(_: Partial): GetQueryServicesDescriptorRequest; - fromAmino(_: GetQueryServicesDescriptorRequestAmino): GetQueryServicesDescriptorRequest; - toAmino(_: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestAmino; - fromAminoMsg(object: GetQueryServicesDescriptorRequestAminoMsg): GetQueryServicesDescriptorRequest; - toAminoMsg(message: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestAminoMsg; - fromProtoMsg(message: GetQueryServicesDescriptorRequestProtoMsg): GetQueryServicesDescriptorRequest; - toProto(message: GetQueryServicesDescriptorRequest): Uint8Array; - toProtoMsg(message: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestProtoMsg; -}; -export declare const GetQueryServicesDescriptorResponse: { - encode(message: GetQueryServicesDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse; - fromJSON(object: any): GetQueryServicesDescriptorResponse; - toJSON(message: GetQueryServicesDescriptorResponse): unknown; - fromPartial(object: Partial): GetQueryServicesDescriptorResponse; - fromAmino(object: GetQueryServicesDescriptorResponseAmino): GetQueryServicesDescriptorResponse; - toAmino(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseAmino; - fromAminoMsg(object: GetQueryServicesDescriptorResponseAminoMsg): GetQueryServicesDescriptorResponse; - toAminoMsg(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseAminoMsg; - fromProtoMsg(message: GetQueryServicesDescriptorResponseProtoMsg): GetQueryServicesDescriptorResponse; - toProto(message: GetQueryServicesDescriptorResponse): Uint8Array; - toProtoMsg(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseProtoMsg; -}; -export declare const GetTxDescriptorRequest: { - encode(_: GetTxDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest; - fromJSON(_: any): GetTxDescriptorRequest; - toJSON(_: GetTxDescriptorRequest): unknown; - fromPartial(_: Partial): GetTxDescriptorRequest; - fromAmino(_: GetTxDescriptorRequestAmino): GetTxDescriptorRequest; - toAmino(_: GetTxDescriptorRequest): GetTxDescriptorRequestAmino; - fromAminoMsg(object: GetTxDescriptorRequestAminoMsg): GetTxDescriptorRequest; - toAminoMsg(message: GetTxDescriptorRequest): GetTxDescriptorRequestAminoMsg; - fromProtoMsg(message: GetTxDescriptorRequestProtoMsg): GetTxDescriptorRequest; - toProto(message: GetTxDescriptorRequest): Uint8Array; - toProtoMsg(message: GetTxDescriptorRequest): GetTxDescriptorRequestProtoMsg; -}; -export declare const GetTxDescriptorResponse: { - encode(message: GetTxDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse; - fromJSON(object: any): GetTxDescriptorResponse; - toJSON(message: GetTxDescriptorResponse): unknown; - fromPartial(object: Partial): GetTxDescriptorResponse; - fromAmino(object: GetTxDescriptorResponseAmino): GetTxDescriptorResponse; - toAmino(message: GetTxDescriptorResponse): GetTxDescriptorResponseAmino; - fromAminoMsg(object: GetTxDescriptorResponseAminoMsg): GetTxDescriptorResponse; - toAminoMsg(message: GetTxDescriptorResponse): GetTxDescriptorResponseAminoMsg; - fromProtoMsg(message: GetTxDescriptorResponseProtoMsg): GetTxDescriptorResponse; - toProto(message: GetTxDescriptorResponse): Uint8Array; - toProtoMsg(message: GetTxDescriptorResponse): GetTxDescriptorResponseProtoMsg; -}; -export declare const QueryServicesDescriptor: { - encode(message: QueryServicesDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor; - fromJSON(object: any): QueryServicesDescriptor; - toJSON(message: QueryServicesDescriptor): unknown; - fromPartial(object: Partial): QueryServicesDescriptor; - fromAmino(object: QueryServicesDescriptorAmino): QueryServicesDescriptor; - toAmino(message: QueryServicesDescriptor): QueryServicesDescriptorAmino; - fromAminoMsg(object: QueryServicesDescriptorAminoMsg): QueryServicesDescriptor; - toAminoMsg(message: QueryServicesDescriptor): QueryServicesDescriptorAminoMsg; - fromProtoMsg(message: QueryServicesDescriptorProtoMsg): QueryServicesDescriptor; - toProto(message: QueryServicesDescriptor): Uint8Array; - toProtoMsg(message: QueryServicesDescriptor): QueryServicesDescriptorProtoMsg; -}; -export declare const QueryServiceDescriptor: { - encode(message: QueryServiceDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor; - fromJSON(object: any): QueryServiceDescriptor; - toJSON(message: QueryServiceDescriptor): unknown; - fromPartial(object: Partial): QueryServiceDescriptor; - fromAmino(object: QueryServiceDescriptorAmino): QueryServiceDescriptor; - toAmino(message: QueryServiceDescriptor): QueryServiceDescriptorAmino; - fromAminoMsg(object: QueryServiceDescriptorAminoMsg): QueryServiceDescriptor; - toAminoMsg(message: QueryServiceDescriptor): QueryServiceDescriptorAminoMsg; - fromProtoMsg(message: QueryServiceDescriptorProtoMsg): QueryServiceDescriptor; - toProto(message: QueryServiceDescriptor): Uint8Array; - toProtoMsg(message: QueryServiceDescriptor): QueryServiceDescriptorProtoMsg; -}; -export declare const QueryMethodDescriptor: { - encode(message: QueryMethodDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor; - fromJSON(object: any): QueryMethodDescriptor; - toJSON(message: QueryMethodDescriptor): unknown; - fromPartial(object: Partial): QueryMethodDescriptor; - fromAmino(object: QueryMethodDescriptorAmino): QueryMethodDescriptor; - toAmino(message: QueryMethodDescriptor): QueryMethodDescriptorAmino; - fromAminoMsg(object: QueryMethodDescriptorAminoMsg): QueryMethodDescriptor; - toAminoMsg(message: QueryMethodDescriptor): QueryMethodDescriptorAminoMsg; - fromProtoMsg(message: QueryMethodDescriptorProtoMsg): QueryMethodDescriptor; - toProto(message: QueryMethodDescriptor): Uint8Array; - toProtoMsg(message: QueryMethodDescriptor): QueryMethodDescriptorProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts b/packages/api/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts deleted file mode 100644 index 92828632..00000000 --- a/packages/api/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +++ /dev/null @@ -1,440 +0,0 @@ -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface Snapshot { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata: Metadata; -} -export interface SnapshotProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot"; - value: Uint8Array; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotAmino { - height: string; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: MetadataAmino; -} -export interface SnapshotAminoMsg { - type: "cosmos-sdk/Snapshot"; - value: SnapshotAmino; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotSDKType { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata: MetadataSDKType; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface Metadata { - /** SHA-256 chunk hashes */ - chunkHashes: Uint8Array[]; -} -export interface MetadataProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata"; - value: Uint8Array; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataAmino { - /** SHA-256 chunk hashes */ - chunk_hashes: Uint8Array[]; -} -export interface MetadataAminoMsg { - type: "cosmos-sdk/Metadata"; - value: MetadataAmino; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataSDKType { - chunk_hashes: Uint8Array[]; -} -/** - * SnapshotItem is an item contained in a rootmulti.Store snapshot. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotItem { - store?: SnapshotStoreItem; - iavl?: SnapshotIAVLItem; - extension?: SnapshotExtensionMeta; - extensionPayload?: SnapshotExtensionPayload; - kv?: SnapshotKVItem; - schema?: SnapshotSchema; -} -export interface SnapshotItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem"; - value: Uint8Array; -} -/** - * SnapshotItem is an item contained in a rootmulti.Store snapshot. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotItemAmino { - store?: SnapshotStoreItemAmino; - iavl?: SnapshotIAVLItemAmino; - extension?: SnapshotExtensionMetaAmino; - extension_payload?: SnapshotExtensionPayloadAmino; - kv?: SnapshotKVItemAmino; - schema?: SnapshotSchemaAmino; -} -export interface SnapshotItemAminoMsg { - type: "cosmos-sdk/SnapshotItem"; - value: SnapshotItemAmino; -} -/** - * SnapshotItem is an item contained in a rootmulti.Store snapshot. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotItemSDKType { - store?: SnapshotStoreItemSDKType; - iavl?: SnapshotIAVLItemSDKType; - extension?: SnapshotExtensionMetaSDKType; - extension_payload?: SnapshotExtensionPayloadSDKType; - kv?: SnapshotKVItemSDKType; - schema?: SnapshotSchemaSDKType; -} -/** - * SnapshotStoreItem contains metadata about a snapshotted store. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotStoreItem { - name: string; -} -export interface SnapshotStoreItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem"; - value: Uint8Array; -} -/** - * SnapshotStoreItem contains metadata about a snapshotted store. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotStoreItemAmino { - name: string; -} -export interface SnapshotStoreItemAminoMsg { - type: "cosmos-sdk/SnapshotStoreItem"; - value: SnapshotStoreItemAmino; -} -/** - * SnapshotStoreItem contains metadata about a snapshotted store. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotStoreItemSDKType { - name: string; -} -/** - * SnapshotIAVLItem is an exported IAVL node. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotIAVLItem { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - version: Long; - /** height is depth of the tree. */ - height: number; -} -export interface SnapshotIAVLItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem"; - value: Uint8Array; -} -/** - * SnapshotIAVLItem is an exported IAVL node. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotIAVLItemAmino { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - version: string; - /** height is depth of the tree. */ - height: number; -} -export interface SnapshotIAVLItemAminoMsg { - type: "cosmos-sdk/SnapshotIAVLItem"; - value: SnapshotIAVLItemAmino; -} -/** - * SnapshotIAVLItem is an exported IAVL node. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotIAVLItemSDKType { - key: Uint8Array; - value: Uint8Array; - version: Long; - height: number; -} -/** - * SnapshotExtensionMeta contains metadata about an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionMeta { - name: string; - format: number; -} -export interface SnapshotExtensionMetaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta"; - value: Uint8Array; -} -/** - * SnapshotExtensionMeta contains metadata about an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionMetaAmino { - name: string; - format: number; -} -export interface SnapshotExtensionMetaAminoMsg { - type: "cosmos-sdk/SnapshotExtensionMeta"; - value: SnapshotExtensionMetaAmino; -} -/** - * SnapshotExtensionMeta contains metadata about an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionMetaSDKType { - name: string; - format: number; -} -/** - * SnapshotExtensionPayload contains payloads of an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionPayload { - payload: Uint8Array; -} -export interface SnapshotExtensionPayloadProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload"; - value: Uint8Array; -} -/** - * SnapshotExtensionPayload contains payloads of an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionPayloadAmino { - payload: Uint8Array; -} -export interface SnapshotExtensionPayloadAminoMsg { - type: "cosmos-sdk/SnapshotExtensionPayload"; - value: SnapshotExtensionPayloadAmino; -} -/** - * SnapshotExtensionPayload contains payloads of an external snapshotter. - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotExtensionPayloadSDKType { - payload: Uint8Array; -} -/** - * SnapshotKVItem is an exported Key/Value Pair - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotKVItem { - key: Uint8Array; - value: Uint8Array; -} -export interface SnapshotKVItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem"; - value: Uint8Array; -} -/** - * SnapshotKVItem is an exported Key/Value Pair - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotKVItemAmino { - key: Uint8Array; - value: Uint8Array; -} -export interface SnapshotKVItemAminoMsg { - type: "cosmos-sdk/SnapshotKVItem"; - value: SnapshotKVItemAmino; -} -/** - * SnapshotKVItem is an exported Key/Value Pair - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotKVItemSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** - * SnapshotSchema is an exported schema of smt store - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotSchema { - keys: Uint8Array[]; -} -export interface SnapshotSchemaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema"; - value: Uint8Array; -} -/** - * SnapshotSchema is an exported schema of smt store - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotSchemaAmino { - keys: Uint8Array[]; -} -export interface SnapshotSchemaAminoMsg { - type: "cosmos-sdk/SnapshotSchema"; - value: SnapshotSchemaAmino; -} -/** - * SnapshotSchema is an exported schema of smt store - * - * Since: cosmos-sdk 0.46 - */ -export interface SnapshotSchemaSDKType { - keys: Uint8Array[]; -} -export declare const Snapshot: { - encode(message: Snapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot; - fromJSON(object: any): Snapshot; - toJSON(message: Snapshot): unknown; - fromPartial(object: Partial): Snapshot; - fromAmino(object: SnapshotAmino): Snapshot; - toAmino(message: Snapshot): SnapshotAmino; - fromAminoMsg(object: SnapshotAminoMsg): Snapshot; - toAminoMsg(message: Snapshot): SnapshotAminoMsg; - fromProtoMsg(message: SnapshotProtoMsg): Snapshot; - toProto(message: Snapshot): Uint8Array; - toProtoMsg(message: Snapshot): SnapshotProtoMsg; -}; -export declare const Metadata: { - encode(message: Metadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata; - fromJSON(object: any): Metadata; - toJSON(message: Metadata): unknown; - fromPartial(object: Partial): Metadata; - fromAmino(object: MetadataAmino): Metadata; - toAmino(message: Metadata): MetadataAmino; - fromAminoMsg(object: MetadataAminoMsg): Metadata; - toAminoMsg(message: Metadata): MetadataAminoMsg; - fromProtoMsg(message: MetadataProtoMsg): Metadata; - toProto(message: Metadata): Uint8Array; - toProtoMsg(message: Metadata): MetadataProtoMsg; -}; -export declare const SnapshotItem: { - encode(message: SnapshotItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotItem; - fromJSON(object: any): SnapshotItem; - toJSON(message: SnapshotItem): unknown; - fromPartial(object: Partial): SnapshotItem; - fromAmino(object: SnapshotItemAmino): SnapshotItem; - toAmino(message: SnapshotItem): SnapshotItemAmino; - fromAminoMsg(object: SnapshotItemAminoMsg): SnapshotItem; - toAminoMsg(message: SnapshotItem): SnapshotItemAminoMsg; - fromProtoMsg(message: SnapshotItemProtoMsg): SnapshotItem; - toProto(message: SnapshotItem): Uint8Array; - toProtoMsg(message: SnapshotItem): SnapshotItemProtoMsg; -}; -export declare const SnapshotStoreItem: { - encode(message: SnapshotStoreItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem; - fromJSON(object: any): SnapshotStoreItem; - toJSON(message: SnapshotStoreItem): unknown; - fromPartial(object: Partial): SnapshotStoreItem; - fromAmino(object: SnapshotStoreItemAmino): SnapshotStoreItem; - toAmino(message: SnapshotStoreItem): SnapshotStoreItemAmino; - fromAminoMsg(object: SnapshotStoreItemAminoMsg): SnapshotStoreItem; - toAminoMsg(message: SnapshotStoreItem): SnapshotStoreItemAminoMsg; - fromProtoMsg(message: SnapshotStoreItemProtoMsg): SnapshotStoreItem; - toProto(message: SnapshotStoreItem): Uint8Array; - toProtoMsg(message: SnapshotStoreItem): SnapshotStoreItemProtoMsg; -}; -export declare const SnapshotIAVLItem: { - encode(message: SnapshotIAVLItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem; - fromJSON(object: any): SnapshotIAVLItem; - toJSON(message: SnapshotIAVLItem): unknown; - fromPartial(object: Partial): SnapshotIAVLItem; - fromAmino(object: SnapshotIAVLItemAmino): SnapshotIAVLItem; - toAmino(message: SnapshotIAVLItem): SnapshotIAVLItemAmino; - fromAminoMsg(object: SnapshotIAVLItemAminoMsg): SnapshotIAVLItem; - toAminoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemAminoMsg; - fromProtoMsg(message: SnapshotIAVLItemProtoMsg): SnapshotIAVLItem; - toProto(message: SnapshotIAVLItem): Uint8Array; - toProtoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemProtoMsg; -}; -export declare const SnapshotExtensionMeta: { - encode(message: SnapshotExtensionMeta, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta; - fromJSON(object: any): SnapshotExtensionMeta; - toJSON(message: SnapshotExtensionMeta): unknown; - fromPartial(object: Partial): SnapshotExtensionMeta; - fromAmino(object: SnapshotExtensionMetaAmino): SnapshotExtensionMeta; - toAmino(message: SnapshotExtensionMeta): SnapshotExtensionMetaAmino; - fromAminoMsg(object: SnapshotExtensionMetaAminoMsg): SnapshotExtensionMeta; - toAminoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaAminoMsg; - fromProtoMsg(message: SnapshotExtensionMetaProtoMsg): SnapshotExtensionMeta; - toProto(message: SnapshotExtensionMeta): Uint8Array; - toProtoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaProtoMsg; -}; -export declare const SnapshotExtensionPayload: { - encode(message: SnapshotExtensionPayload, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload; - fromJSON(object: any): SnapshotExtensionPayload; - toJSON(message: SnapshotExtensionPayload): unknown; - fromPartial(object: Partial): SnapshotExtensionPayload; - fromAmino(object: SnapshotExtensionPayloadAmino): SnapshotExtensionPayload; - toAmino(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAmino; - fromAminoMsg(object: SnapshotExtensionPayloadAminoMsg): SnapshotExtensionPayload; - toAminoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAminoMsg; - fromProtoMsg(message: SnapshotExtensionPayloadProtoMsg): SnapshotExtensionPayload; - toProto(message: SnapshotExtensionPayload): Uint8Array; - toProtoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadProtoMsg; -}; -export declare const SnapshotKVItem: { - encode(message: SnapshotKVItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem; - fromJSON(object: any): SnapshotKVItem; - toJSON(message: SnapshotKVItem): unknown; - fromPartial(object: Partial): SnapshotKVItem; - fromAmino(object: SnapshotKVItemAmino): SnapshotKVItem; - toAmino(message: SnapshotKVItem): SnapshotKVItemAmino; - fromAminoMsg(object: SnapshotKVItemAminoMsg): SnapshotKVItem; - toAminoMsg(message: SnapshotKVItem): SnapshotKVItemAminoMsg; - fromProtoMsg(message: SnapshotKVItemProtoMsg): SnapshotKVItem; - toProto(message: SnapshotKVItem): Uint8Array; - toProtoMsg(message: SnapshotKVItem): SnapshotKVItemProtoMsg; -}; -export declare const SnapshotSchema: { - encode(message: SnapshotSchema, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema; - fromJSON(object: any): SnapshotSchema; - toJSON(message: SnapshotSchema): unknown; - fromPartial(object: Partial): SnapshotSchema; - fromAmino(object: SnapshotSchemaAmino): SnapshotSchema; - toAmino(message: SnapshotSchema): SnapshotSchemaAmino; - fromAminoMsg(object: SnapshotSchemaAminoMsg): SnapshotSchema; - toAminoMsg(message: SnapshotSchema): SnapshotSchemaAminoMsg; - fromProtoMsg(message: SnapshotSchemaProtoMsg): SnapshotSchema; - toProto(message: SnapshotSchema): Uint8Array; - toProtoMsg(message: SnapshotSchema): SnapshotSchemaProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts b/packages/api/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts deleted file mode 100644 index 603d5ce1..00000000 --- a/packages/api/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfo { - version: Long; - storeInfos: StoreInfo[]; -} -export interface CommitInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo"; - value: Uint8Array; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoAmino { - version: string; - store_infos: StoreInfoAmino[]; -} -export interface CommitInfoAminoMsg { - type: "cosmos-sdk/CommitInfo"; - value: CommitInfoAmino; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoSDKType { - version: Long; - store_infos: StoreInfoSDKType[]; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfo { - name: string; - commitId: CommitID; -} -export interface StoreInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo"; - value: Uint8Array; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoAmino { - name: string; - commit_id?: CommitIDAmino; -} -export interface StoreInfoAminoMsg { - type: "cosmos-sdk/StoreInfo"; - value: StoreInfoAmino; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoSDKType { - name: string; - commit_id: CommitIDSDKType; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitID { - version: Long; - hash: Uint8Array; -} -export interface CommitIDProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitID"; - value: Uint8Array; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDAmino { - version: string; - hash: Uint8Array; -} -export interface CommitIDAminoMsg { - type: "cosmos-sdk/CommitID"; - value: CommitIDAmino; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDSDKType { - version: Long; - hash: Uint8Array; -} -export declare const CommitInfo: { - encode(message: CommitInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo; - fromJSON(object: any): CommitInfo; - toJSON(message: CommitInfo): unknown; - fromPartial(object: Partial): CommitInfo; - fromAmino(object: CommitInfoAmino): CommitInfo; - toAmino(message: CommitInfo): CommitInfoAmino; - fromAminoMsg(object: CommitInfoAminoMsg): CommitInfo; - toAminoMsg(message: CommitInfo): CommitInfoAminoMsg; - fromProtoMsg(message: CommitInfoProtoMsg): CommitInfo; - toProto(message: CommitInfo): Uint8Array; - toProtoMsg(message: CommitInfo): CommitInfoProtoMsg; -}; -export declare const StoreInfo: { - encode(message: StoreInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StoreInfo; - fromJSON(object: any): StoreInfo; - toJSON(message: StoreInfo): unknown; - fromPartial(object: Partial): StoreInfo; - fromAmino(object: StoreInfoAmino): StoreInfo; - toAmino(message: StoreInfo): StoreInfoAmino; - fromAminoMsg(object: StoreInfoAminoMsg): StoreInfo; - toAminoMsg(message: StoreInfo): StoreInfoAminoMsg; - fromProtoMsg(message: StoreInfoProtoMsg): StoreInfo; - toProto(message: StoreInfo): Uint8Array; - toProtoMsg(message: StoreInfo): StoreInfoProtoMsg; -}; -export declare const CommitID: { - encode(message: CommitID, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitID; - fromJSON(object: any): CommitID; - toJSON(message: CommitID): unknown; - fromPartial(object: Partial): CommitID; - fromAmino(object: CommitIDAmino): CommitID; - toAmino(message: CommitID): CommitIDAmino; - fromAminoMsg(object: CommitIDAminoMsg): CommitID; - toAminoMsg(message: CommitID): CommitIDAminoMsg; - fromProtoMsg(message: CommitIDProtoMsg): CommitID; - toProto(message: CommitID): Uint8Array; - toProtoMsg(message: CommitID): CommitIDProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/store/v1beta1/listening.d.ts b/packages/api/types/codegen/cosmos/base/store/v1beta1/listening.d.ts deleted file mode 100644 index 8bac8aa0..00000000 --- a/packages/api/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +++ /dev/null @@ -1,162 +0,0 @@ -import { RequestDeliverTx, RequestDeliverTxAmino, RequestDeliverTxSDKType, ResponseDeliverTx, ResponseDeliverTxAmino, ResponseDeliverTxSDKType, RequestBeginBlock, RequestBeginBlockAmino, RequestBeginBlockSDKType, ResponseBeginBlock, ResponseBeginBlockAmino, ResponseBeginBlockSDKType, RequestEndBlock, RequestEndBlockAmino, RequestEndBlockSDKType, ResponseEndBlock, ResponseEndBlockAmino, ResponseEndBlockSDKType, ResponseCommit, ResponseCommitAmino, ResponseCommitSDKType } from "../../../../tendermint/abci/types"; -import * as _m0 from "protobufjs/minimal"; -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPair { - /** the store key for the KVStore this pair originates from */ - storeKey: string; - /** true indicates a delete operation, false indicates a set operation */ - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export interface StoreKVPairProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair"; - value: Uint8Array; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairAmino { - /** the store key for the KVStore this pair originates from */ - store_key: string; - /** true indicates a delete operation, false indicates a set operation */ - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export interface StoreKVPairAminoMsg { - type: "cosmos-sdk/StoreKVPair"; - value: StoreKVPairAmino; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairSDKType { - store_key: string; - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -/** - * BlockMetadata contains all the abci event data of a block - * the file streamer dump them into files together with the state changes. - */ -export interface BlockMetadata { - requestBeginBlock: RequestBeginBlock; - responseBeginBlock: ResponseBeginBlock; - deliverTxs: BlockMetadata_DeliverTx[]; - requestEndBlock: RequestEndBlock; - responseEndBlock: ResponseEndBlock; - responseCommit: ResponseCommit; -} -export interface BlockMetadataProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.BlockMetadata"; - value: Uint8Array; -} -/** - * BlockMetadata contains all the abci event data of a block - * the file streamer dump them into files together with the state changes. - */ -export interface BlockMetadataAmino { - request_begin_block?: RequestBeginBlockAmino; - response_begin_block?: ResponseBeginBlockAmino; - deliver_txs: BlockMetadata_DeliverTxAmino[]; - request_end_block?: RequestEndBlockAmino; - response_end_block?: ResponseEndBlockAmino; - response_commit?: ResponseCommitAmino; -} -export interface BlockMetadataAminoMsg { - type: "cosmos-sdk/BlockMetadata"; - value: BlockMetadataAmino; -} -/** - * BlockMetadata contains all the abci event data of a block - * the file streamer dump them into files together with the state changes. - */ -export interface BlockMetadataSDKType { - request_begin_block: RequestBeginBlockSDKType; - response_begin_block: ResponseBeginBlockSDKType; - deliver_txs: BlockMetadata_DeliverTxSDKType[]; - request_end_block: RequestEndBlockSDKType; - response_end_block: ResponseEndBlockSDKType; - response_commit: ResponseCommitSDKType; -} -/** DeliverTx encapulate deliver tx request and response. */ -export interface BlockMetadata_DeliverTx { - request: RequestDeliverTx; - response: ResponseDeliverTx; -} -export interface BlockMetadata_DeliverTxProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.DeliverTx"; - value: Uint8Array; -} -/** DeliverTx encapulate deliver tx request and response. */ -export interface BlockMetadata_DeliverTxAmino { - request?: RequestDeliverTxAmino; - response?: ResponseDeliverTxAmino; -} -export interface BlockMetadata_DeliverTxAminoMsg { - type: "cosmos-sdk/DeliverTx"; - value: BlockMetadata_DeliverTxAmino; -} -/** DeliverTx encapulate deliver tx request and response. */ -export interface BlockMetadata_DeliverTxSDKType { - request: RequestDeliverTxSDKType; - response: ResponseDeliverTxSDKType; -} -export declare const StoreKVPair: { - encode(message: StoreKVPair, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StoreKVPair; - fromJSON(object: any): StoreKVPair; - toJSON(message: StoreKVPair): unknown; - fromPartial(object: Partial): StoreKVPair; - fromAmino(object: StoreKVPairAmino): StoreKVPair; - toAmino(message: StoreKVPair): StoreKVPairAmino; - fromAminoMsg(object: StoreKVPairAminoMsg): StoreKVPair; - toAminoMsg(message: StoreKVPair): StoreKVPairAminoMsg; - fromProtoMsg(message: StoreKVPairProtoMsg): StoreKVPair; - toProto(message: StoreKVPair): Uint8Array; - toProtoMsg(message: StoreKVPair): StoreKVPairProtoMsg; -}; -export declare const BlockMetadata: { - encode(message: BlockMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockMetadata; - fromJSON(object: any): BlockMetadata; - toJSON(message: BlockMetadata): unknown; - fromPartial(object: Partial): BlockMetadata; - fromAmino(object: BlockMetadataAmino): BlockMetadata; - toAmino(message: BlockMetadata): BlockMetadataAmino; - fromAminoMsg(object: BlockMetadataAminoMsg): BlockMetadata; - toAminoMsg(message: BlockMetadata): BlockMetadataAminoMsg; - fromProtoMsg(message: BlockMetadataProtoMsg): BlockMetadata; - toProto(message: BlockMetadata): Uint8Array; - toProtoMsg(message: BlockMetadata): BlockMetadataProtoMsg; -}; -export declare const BlockMetadata_DeliverTx: { - encode(message: BlockMetadata_DeliverTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockMetadata_DeliverTx; - fromJSON(object: any): BlockMetadata_DeliverTx; - toJSON(message: BlockMetadata_DeliverTx): unknown; - fromPartial(object: Partial): BlockMetadata_DeliverTx; - fromAmino(object: BlockMetadata_DeliverTxAmino): BlockMetadata_DeliverTx; - toAmino(message: BlockMetadata_DeliverTx): BlockMetadata_DeliverTxAmino; - fromAminoMsg(object: BlockMetadata_DeliverTxAminoMsg): BlockMetadata_DeliverTx; - toAminoMsg(message: BlockMetadata_DeliverTx): BlockMetadata_DeliverTxAminoMsg; - fromProtoMsg(message: BlockMetadata_DeliverTxProtoMsg): BlockMetadata_DeliverTx; - toProto(message: BlockMetadata_DeliverTx): Uint8Array; - toProtoMsg(message: BlockMetadata_DeliverTx): BlockMetadata_DeliverTxProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts deleted file mode 100644 index 8a924107..00000000 --- a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +++ /dev/null @@ -1,917 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { Block as Block1 } from "../../../../tendermint/types/block"; -import { BlockAmino as Block1Amino } from "../../../../tendermint/types/block"; -import { BlockSDKType as Block1SDKType } from "../../../../tendermint/types/block"; -import { Block as Block2 } from "./types"; -import { BlockAmino as Block2Amino } from "./types"; -import { BlockSDKType as Block2SDKType } from "./types"; -import { DefaultNodeInfo, DefaultNodeInfoAmino, DefaultNodeInfoSDKType } from "../../../../tendermint/p2p/types"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * GetValidatorSetByHeightRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightRequest { - height: Long; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface GetValidatorSetByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest"; - value: Uint8Array; -} -/** - * GetValidatorSetByHeightRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightRequestAmino { - height: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetValidatorSetByHeightRequestAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightRequest"; - value: GetValidatorSetByHeightRequestAmino; -} -/** - * GetValidatorSetByHeightRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightRequestSDKType { - height: Long; - pagination: PageRequestSDKType; -} -/** - * GetValidatorSetByHeightResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface GetValidatorSetByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse"; - value: Uint8Array; -} -/** - * GetValidatorSetByHeightResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightResponseAmino { - block_height: string; - validators: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetValidatorSetByHeightResponseAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightResponse"; - value: GetValidatorSetByHeightResponseAmino; -} -/** - * GetValidatorSetByHeightResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetValidatorSetByHeightResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** - * GetLatestValidatorSetRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetRequest { - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface GetLatestValidatorSetRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest"; - value: Uint8Array; -} -/** - * GetLatestValidatorSetRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetRequestAmino { - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetLatestValidatorSetRequestAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetRequest"; - value: GetLatestValidatorSetRequestAmino; -} -/** - * GetLatestValidatorSetRequest is the request type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * GetLatestValidatorSetResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface GetLatestValidatorSetResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse"; - value: Uint8Array; -} -/** - * GetLatestValidatorSetResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetResponseAmino { - block_height: string; - validators: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetLatestValidatorSetResponseAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetResponse"; - value: GetLatestValidatorSetResponseAmino; -} -/** - * GetLatestValidatorSetResponse is the response type for the - * Query/GetValidatorSetByHeight RPC method. - */ -export interface GetLatestValidatorSetResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** Validator is the type for the validator-set. */ -export interface Validator { - address: string; - pubKey: Any; - votingPower: Long; - proposerPriority: Long; -} -export interface ValidatorProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator"; - value: Uint8Array; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorAmino { - address: string; - pub_key?: AnyAmino; - voting_power: string; - proposer_priority: string; -} -export interface ValidatorAminoMsg { - type: "cosmos-sdk/Validator"; - value: ValidatorAmino; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorSDKType { - address: string; - pub_key: AnySDKType; - voting_power: Long; - proposer_priority: Long; -} -/** - * GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightRequest { - height: Long; -} -export interface GetBlockByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest"; - value: Uint8Array; -} -/** - * GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightRequestAmino { - height: string; -} -export interface GetBlockByHeightRequestAminoMsg { - type: "cosmos-sdk/GetBlockByHeightRequest"; - value: GetBlockByHeightRequestAmino; -} -/** - * GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightRequestSDKType { - height: Long; -} -/** - * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightResponse { - blockId: BlockID; - /** Deprecated: please use `sdk_block` instead */ - block: Block1; - /** Since: cosmos-sdk 0.47 */ - sdkBlock: Block2; -} -export interface GetBlockByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse"; - value: Uint8Array; -} -/** - * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightResponseAmino { - block_id?: BlockIDAmino; - /** Deprecated: please use `sdk_block` instead */ - block?: Block1Amino; - /** Since: cosmos-sdk 0.47 */ - sdk_block?: Block2Amino; -} -export interface GetBlockByHeightResponseAminoMsg { - type: "cosmos-sdk/GetBlockByHeightResponse"; - value: GetBlockByHeightResponseAmino; -} -/** - * GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight - * RPC method. - */ -export interface GetBlockByHeightResponseSDKType { - block_id: BlockIDSDKType; - block: Block1SDKType; - sdk_block: Block2SDKType; -} -/** - * GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockRequest { -} -export interface GetLatestBlockRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest"; - value: Uint8Array; -} -/** - * GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockRequestAmino { -} -export interface GetLatestBlockRequestAminoMsg { - type: "cosmos-sdk/GetLatestBlockRequest"; - value: GetLatestBlockRequestAmino; -} -/** - * GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockRequestSDKType { -} -/** - * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockResponse { - blockId: BlockID; - /** Deprecated: please use `sdk_block` instead */ - block: Block1; - /** Since: cosmos-sdk 0.47 */ - sdkBlock: Block2; -} -export interface GetLatestBlockResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse"; - value: Uint8Array; -} -/** - * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockResponseAmino { - block_id?: BlockIDAmino; - /** Deprecated: please use `sdk_block` instead */ - block?: Block1Amino; - /** Since: cosmos-sdk 0.47 */ - sdk_block?: Block2Amino; -} -export interface GetLatestBlockResponseAminoMsg { - type: "cosmos-sdk/GetLatestBlockResponse"; - value: GetLatestBlockResponseAmino; -} -/** - * GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC - * method. - */ -export interface GetLatestBlockResponseSDKType { - block_id: BlockIDSDKType; - block: Block1SDKType; - sdk_block: Block2SDKType; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequest { -} -export interface GetSyncingRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest"; - value: Uint8Array; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestAmino { -} -export interface GetSyncingRequestAminoMsg { - type: "cosmos-sdk/GetSyncingRequest"; - value: GetSyncingRequestAmino; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestSDKType { -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponse { - syncing: boolean; -} -export interface GetSyncingResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse"; - value: Uint8Array; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseAmino { - syncing: boolean; -} -export interface GetSyncingResponseAminoMsg { - type: "cosmos-sdk/GetSyncingResponse"; - value: GetSyncingResponseAmino; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseSDKType { - syncing: boolean; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequest { -} -export interface GetNodeInfoRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest"; - value: Uint8Array; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestAmino { -} -export interface GetNodeInfoRequestAminoMsg { - type: "cosmos-sdk/GetNodeInfoRequest"; - value: GetNodeInfoRequestAmino; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestSDKType { -} -/** - * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - * method. - */ -export interface GetNodeInfoResponse { - defaultNodeInfo: DefaultNodeInfo; - applicationVersion: VersionInfo; -} -export interface GetNodeInfoResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse"; - value: Uint8Array; -} -/** - * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - * method. - */ -export interface GetNodeInfoResponseAmino { - default_node_info?: DefaultNodeInfoAmino; - application_version?: VersionInfoAmino; -} -export interface GetNodeInfoResponseAminoMsg { - type: "cosmos-sdk/GetNodeInfoResponse"; - value: GetNodeInfoResponseAmino; -} -/** - * GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC - * method. - */ -export interface GetNodeInfoResponseSDKType { - default_node_info: DefaultNodeInfoSDKType; - application_version: VersionInfoSDKType; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfo { - name: string; - appName: string; - version: string; - gitCommit: string; - buildTags: string; - goVersion: string; - buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ - cosmosSdkVersion: string; -} -export interface VersionInfoProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo"; - value: Uint8Array; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoAmino { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleAmino[]; - /** Since: cosmos-sdk 0.43 */ - cosmos_sdk_version: string; -} -export interface VersionInfoAminoMsg { - type: "cosmos-sdk/VersionInfo"; - value: VersionInfoAmino; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoSDKType { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleSDKType[]; - cosmos_sdk_version: string; -} -/** Module is the type for VersionInfo */ -export interface Module { - /** module path */ - path: string; - /** module version */ - version: string; - /** checksum */ - sum: string; -} -export interface ModuleProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module"; - value: Uint8Array; -} -/** Module is the type for VersionInfo */ -export interface ModuleAmino { - /** module path */ - path: string; - /** module version */ - version: string; - /** checksum */ - sum: string; -} -export interface ModuleAminoMsg { - type: "cosmos-sdk/Module"; - value: ModuleAmino; -} -/** Module is the type for VersionInfo */ -export interface ModuleSDKType { - path: string; - version: string; - sum: string; -} -/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */ -export interface ABCIQueryRequest { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface ABCIQueryRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryRequest"; - value: Uint8Array; -} -/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */ -export interface ABCIQueryRequestAmino { - data: Uint8Array; - path: string; - height: string; - prove: boolean; -} -export interface ABCIQueryRequestAminoMsg { - type: "cosmos-sdk/ABCIQueryRequest"; - value: ABCIQueryRequestAmino; -} -/** ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query. */ -export interface ABCIQueryRequestSDKType { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -/** - * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - * query. - * - * Note: This type is a duplicate of the ResponseQuery proto type defined in - * Tendermint. - */ -export interface ABCIQueryResponse { - code: number; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proofOps: ProofOps; - height: Long; - codespace: string; -} -export interface ABCIQueryResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ABCIQueryResponse"; - value: Uint8Array; -} -/** - * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - * query. - * - * Note: This type is a duplicate of the ResponseQuery proto type defined in - * Tendermint. - */ -export interface ABCIQueryResponseAmino { - code: number; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - index: string; - key: Uint8Array; - value: Uint8Array; - proof_ops?: ProofOpsAmino; - height: string; - codespace: string; -} -export interface ABCIQueryResponseAminoMsg { - type: "cosmos-sdk/ABCIQueryResponse"; - value: ABCIQueryResponseAmino; -} -/** - * ABCIQueryResponse defines the response structure for the ABCIQuery gRPC - * query. - * - * Note: This type is a duplicate of the ResponseQuery proto type defined in - * Tendermint. - */ -export interface ABCIQueryResponseSDKType { - code: number; - log: string; - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proof_ops: ProofOpsSDKType; - height: Long; - codespace: string; -} -/** - * ProofOp defines an operation used for calculating Merkle root. The data could - * be arbitrary format, providing nessecary data for example neighbouring node - * hash. - * - * Note: This type is a duplicate of the ProofOp proto type defined in - * Tendermint. - */ -export interface ProofOp { - type: string; - key: Uint8Array; - data: Uint8Array; -} -export interface ProofOpProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOp"; - value: Uint8Array; -} -/** - * ProofOp defines an operation used for calculating Merkle root. The data could - * be arbitrary format, providing nessecary data for example neighbouring node - * hash. - * - * Note: This type is a duplicate of the ProofOp proto type defined in - * Tendermint. - */ -export interface ProofOpAmino { - type: string; - key: Uint8Array; - data: Uint8Array; -} -export interface ProofOpAminoMsg { - type: "cosmos-sdk/ProofOp"; - value: ProofOpAmino; -} -/** - * ProofOp defines an operation used for calculating Merkle root. The data could - * be arbitrary format, providing nessecary data for example neighbouring node - * hash. - * - * Note: This type is a duplicate of the ProofOp proto type defined in - * Tendermint. - */ -export interface ProofOpSDKType { - type: string; - key: Uint8Array; - data: Uint8Array; -} -/** - * ProofOps is Merkle proof defined by the list of ProofOps. - * - * Note: This type is a duplicate of the ProofOps proto type defined in - * Tendermint. - */ -export interface ProofOps { - ops: ProofOp[]; -} -export interface ProofOpsProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.ProofOps"; - value: Uint8Array; -} -/** - * ProofOps is Merkle proof defined by the list of ProofOps. - * - * Note: This type is a duplicate of the ProofOps proto type defined in - * Tendermint. - */ -export interface ProofOpsAmino { - ops: ProofOpAmino[]; -} -export interface ProofOpsAminoMsg { - type: "cosmos-sdk/ProofOps"; - value: ProofOpsAmino; -} -/** - * ProofOps is Merkle proof defined by the list of ProofOps. - * - * Note: This type is a duplicate of the ProofOps proto type defined in - * Tendermint. - */ -export interface ProofOpsSDKType { - ops: ProofOpSDKType[]; -} -export declare const GetValidatorSetByHeightRequest: { - encode(message: GetValidatorSetByHeightRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest; - fromJSON(object: any): GetValidatorSetByHeightRequest; - toJSON(message: GetValidatorSetByHeightRequest): unknown; - fromPartial(object: Partial): GetValidatorSetByHeightRequest; - fromAmino(object: GetValidatorSetByHeightRequestAmino): GetValidatorSetByHeightRequest; - toAmino(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAmino; - fromAminoMsg(object: GetValidatorSetByHeightRequestAminoMsg): GetValidatorSetByHeightRequest; - toAminoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAminoMsg; - fromProtoMsg(message: GetValidatorSetByHeightRequestProtoMsg): GetValidatorSetByHeightRequest; - toProto(message: GetValidatorSetByHeightRequest): Uint8Array; - toProtoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestProtoMsg; -}; -export declare const GetValidatorSetByHeightResponse: { - encode(message: GetValidatorSetByHeightResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse; - fromJSON(object: any): GetValidatorSetByHeightResponse; - toJSON(message: GetValidatorSetByHeightResponse): unknown; - fromPartial(object: Partial): GetValidatorSetByHeightResponse; - fromAmino(object: GetValidatorSetByHeightResponseAmino): GetValidatorSetByHeightResponse; - toAmino(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAmino; - fromAminoMsg(object: GetValidatorSetByHeightResponseAminoMsg): GetValidatorSetByHeightResponse; - toAminoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAminoMsg; - fromProtoMsg(message: GetValidatorSetByHeightResponseProtoMsg): GetValidatorSetByHeightResponse; - toProto(message: GetValidatorSetByHeightResponse): Uint8Array; - toProtoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseProtoMsg; -}; -export declare const GetLatestValidatorSetRequest: { - encode(message: GetLatestValidatorSetRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest; - fromJSON(object: any): GetLatestValidatorSetRequest; - toJSON(message: GetLatestValidatorSetRequest): unknown; - fromPartial(object: Partial): GetLatestValidatorSetRequest; - fromAmino(object: GetLatestValidatorSetRequestAmino): GetLatestValidatorSetRequest; - toAmino(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAmino; - fromAminoMsg(object: GetLatestValidatorSetRequestAminoMsg): GetLatestValidatorSetRequest; - toAminoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAminoMsg; - fromProtoMsg(message: GetLatestValidatorSetRequestProtoMsg): GetLatestValidatorSetRequest; - toProto(message: GetLatestValidatorSetRequest): Uint8Array; - toProtoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestProtoMsg; -}; -export declare const GetLatestValidatorSetResponse: { - encode(message: GetLatestValidatorSetResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse; - fromJSON(object: any): GetLatestValidatorSetResponse; - toJSON(message: GetLatestValidatorSetResponse): unknown; - fromPartial(object: Partial): GetLatestValidatorSetResponse; - fromAmino(object: GetLatestValidatorSetResponseAmino): GetLatestValidatorSetResponse; - toAmino(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAmino; - fromAminoMsg(object: GetLatestValidatorSetResponseAminoMsg): GetLatestValidatorSetResponse; - toAminoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAminoMsg; - fromProtoMsg(message: GetLatestValidatorSetResponseProtoMsg): GetLatestValidatorSetResponse; - toProto(message: GetLatestValidatorSetResponse): Uint8Array; - toProtoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseProtoMsg; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: Partial): Validator; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - toAminoMsg(message: Validator): ValidatorAminoMsg; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const GetBlockByHeightRequest: { - encode(message: GetBlockByHeightRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest; - fromJSON(object: any): GetBlockByHeightRequest; - toJSON(message: GetBlockByHeightRequest): unknown; - fromPartial(object: Partial): GetBlockByHeightRequest; - fromAmino(object: GetBlockByHeightRequestAmino): GetBlockByHeightRequest; - toAmino(message: GetBlockByHeightRequest): GetBlockByHeightRequestAmino; - fromAminoMsg(object: GetBlockByHeightRequestAminoMsg): GetBlockByHeightRequest; - toAminoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestAminoMsg; - fromProtoMsg(message: GetBlockByHeightRequestProtoMsg): GetBlockByHeightRequest; - toProto(message: GetBlockByHeightRequest): Uint8Array; - toProtoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestProtoMsg; -}; -export declare const GetBlockByHeightResponse: { - encode(message: GetBlockByHeightResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse; - fromJSON(object: any): GetBlockByHeightResponse; - toJSON(message: GetBlockByHeightResponse): unknown; - fromPartial(object: Partial): GetBlockByHeightResponse; - fromAmino(object: GetBlockByHeightResponseAmino): GetBlockByHeightResponse; - toAmino(message: GetBlockByHeightResponse): GetBlockByHeightResponseAmino; - fromAminoMsg(object: GetBlockByHeightResponseAminoMsg): GetBlockByHeightResponse; - toAminoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseAminoMsg; - fromProtoMsg(message: GetBlockByHeightResponseProtoMsg): GetBlockByHeightResponse; - toProto(message: GetBlockByHeightResponse): Uint8Array; - toProtoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseProtoMsg; -}; -export declare const GetLatestBlockRequest: { - encode(_: GetLatestBlockRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest; - fromJSON(_: any): GetLatestBlockRequest; - toJSON(_: GetLatestBlockRequest): unknown; - fromPartial(_: Partial): GetLatestBlockRequest; - fromAmino(_: GetLatestBlockRequestAmino): GetLatestBlockRequest; - toAmino(_: GetLatestBlockRequest): GetLatestBlockRequestAmino; - fromAminoMsg(object: GetLatestBlockRequestAminoMsg): GetLatestBlockRequest; - toAminoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestAminoMsg; - fromProtoMsg(message: GetLatestBlockRequestProtoMsg): GetLatestBlockRequest; - toProto(message: GetLatestBlockRequest): Uint8Array; - toProtoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestProtoMsg; -}; -export declare const GetLatestBlockResponse: { - encode(message: GetLatestBlockResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse; - fromJSON(object: any): GetLatestBlockResponse; - toJSON(message: GetLatestBlockResponse): unknown; - fromPartial(object: Partial): GetLatestBlockResponse; - fromAmino(object: GetLatestBlockResponseAmino): GetLatestBlockResponse; - toAmino(message: GetLatestBlockResponse): GetLatestBlockResponseAmino; - fromAminoMsg(object: GetLatestBlockResponseAminoMsg): GetLatestBlockResponse; - toAminoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseAminoMsg; - fromProtoMsg(message: GetLatestBlockResponseProtoMsg): GetLatestBlockResponse; - toProto(message: GetLatestBlockResponse): Uint8Array; - toProtoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseProtoMsg; -}; -export declare const GetSyncingRequest: { - encode(_: GetSyncingRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest; - fromJSON(_: any): GetSyncingRequest; - toJSON(_: GetSyncingRequest): unknown; - fromPartial(_: Partial): GetSyncingRequest; - fromAmino(_: GetSyncingRequestAmino): GetSyncingRequest; - toAmino(_: GetSyncingRequest): GetSyncingRequestAmino; - fromAminoMsg(object: GetSyncingRequestAminoMsg): GetSyncingRequest; - toAminoMsg(message: GetSyncingRequest): GetSyncingRequestAminoMsg; - fromProtoMsg(message: GetSyncingRequestProtoMsg): GetSyncingRequest; - toProto(message: GetSyncingRequest): Uint8Array; - toProtoMsg(message: GetSyncingRequest): GetSyncingRequestProtoMsg; -}; -export declare const GetSyncingResponse: { - encode(message: GetSyncingResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse; - fromJSON(object: any): GetSyncingResponse; - toJSON(message: GetSyncingResponse): unknown; - fromPartial(object: Partial): GetSyncingResponse; - fromAmino(object: GetSyncingResponseAmino): GetSyncingResponse; - toAmino(message: GetSyncingResponse): GetSyncingResponseAmino; - fromAminoMsg(object: GetSyncingResponseAminoMsg): GetSyncingResponse; - toAminoMsg(message: GetSyncingResponse): GetSyncingResponseAminoMsg; - fromProtoMsg(message: GetSyncingResponseProtoMsg): GetSyncingResponse; - toProto(message: GetSyncingResponse): Uint8Array; - toProtoMsg(message: GetSyncingResponse): GetSyncingResponseProtoMsg; -}; -export declare const GetNodeInfoRequest: { - encode(_: GetNodeInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest; - fromJSON(_: any): GetNodeInfoRequest; - toJSON(_: GetNodeInfoRequest): unknown; - fromPartial(_: Partial): GetNodeInfoRequest; - fromAmino(_: GetNodeInfoRequestAmino): GetNodeInfoRequest; - toAmino(_: GetNodeInfoRequest): GetNodeInfoRequestAmino; - fromAminoMsg(object: GetNodeInfoRequestAminoMsg): GetNodeInfoRequest; - toAminoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestAminoMsg; - fromProtoMsg(message: GetNodeInfoRequestProtoMsg): GetNodeInfoRequest; - toProto(message: GetNodeInfoRequest): Uint8Array; - toProtoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestProtoMsg; -}; -export declare const GetNodeInfoResponse: { - encode(message: GetNodeInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse; - fromJSON(object: any): GetNodeInfoResponse; - toJSON(message: GetNodeInfoResponse): unknown; - fromPartial(object: Partial): GetNodeInfoResponse; - fromAmino(object: GetNodeInfoResponseAmino): GetNodeInfoResponse; - toAmino(message: GetNodeInfoResponse): GetNodeInfoResponseAmino; - fromAminoMsg(object: GetNodeInfoResponseAminoMsg): GetNodeInfoResponse; - toAminoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseAminoMsg; - fromProtoMsg(message: GetNodeInfoResponseProtoMsg): GetNodeInfoResponse; - toProto(message: GetNodeInfoResponse): Uint8Array; - toProtoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseProtoMsg; -}; -export declare const VersionInfo: { - encode(message: VersionInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VersionInfo; - fromJSON(object: any): VersionInfo; - toJSON(message: VersionInfo): unknown; - fromPartial(object: Partial): VersionInfo; - fromAmino(object: VersionInfoAmino): VersionInfo; - toAmino(message: VersionInfo): VersionInfoAmino; - fromAminoMsg(object: VersionInfoAminoMsg): VersionInfo; - toAminoMsg(message: VersionInfo): VersionInfoAminoMsg; - fromProtoMsg(message: VersionInfoProtoMsg): VersionInfo; - toProto(message: VersionInfo): Uint8Array; - toProtoMsg(message: VersionInfo): VersionInfoProtoMsg; -}; -export declare const Module: { - encode(message: Module, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Module; - fromJSON(object: any): Module; - toJSON(message: Module): unknown; - fromPartial(object: Partial): Module; - fromAmino(object: ModuleAmino): Module; - toAmino(message: Module): ModuleAmino; - fromAminoMsg(object: ModuleAminoMsg): Module; - toAminoMsg(message: Module): ModuleAminoMsg; - fromProtoMsg(message: ModuleProtoMsg): Module; - toProto(message: Module): Uint8Array; - toProtoMsg(message: Module): ModuleProtoMsg; -}; -export declare const ABCIQueryRequest: { - encode(message: ABCIQueryRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ABCIQueryRequest; - fromJSON(object: any): ABCIQueryRequest; - toJSON(message: ABCIQueryRequest): unknown; - fromPartial(object: Partial): ABCIQueryRequest; - fromAmino(object: ABCIQueryRequestAmino): ABCIQueryRequest; - toAmino(message: ABCIQueryRequest): ABCIQueryRequestAmino; - fromAminoMsg(object: ABCIQueryRequestAminoMsg): ABCIQueryRequest; - toAminoMsg(message: ABCIQueryRequest): ABCIQueryRequestAminoMsg; - fromProtoMsg(message: ABCIQueryRequestProtoMsg): ABCIQueryRequest; - toProto(message: ABCIQueryRequest): Uint8Array; - toProtoMsg(message: ABCIQueryRequest): ABCIQueryRequestProtoMsg; -}; -export declare const ABCIQueryResponse: { - encode(message: ABCIQueryResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ABCIQueryResponse; - fromJSON(object: any): ABCIQueryResponse; - toJSON(message: ABCIQueryResponse): unknown; - fromPartial(object: Partial): ABCIQueryResponse; - fromAmino(object: ABCIQueryResponseAmino): ABCIQueryResponse; - toAmino(message: ABCIQueryResponse): ABCIQueryResponseAmino; - fromAminoMsg(object: ABCIQueryResponseAminoMsg): ABCIQueryResponse; - toAminoMsg(message: ABCIQueryResponse): ABCIQueryResponseAminoMsg; - fromProtoMsg(message: ABCIQueryResponseProtoMsg): ABCIQueryResponse; - toProto(message: ABCIQueryResponse): Uint8Array; - toProtoMsg(message: ABCIQueryResponse): ABCIQueryResponseProtoMsg; -}; -export declare const ProofOp: { - encode(message: ProofOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProofOp; - fromJSON(object: any): ProofOp; - toJSON(message: ProofOp): unknown; - fromPartial(object: Partial): ProofOp; - fromAmino(object: ProofOpAmino): ProofOp; - toAmino(message: ProofOp): ProofOpAmino; - fromAminoMsg(object: ProofOpAminoMsg): ProofOp; - toAminoMsg(message: ProofOp): ProofOpAminoMsg; - fromProtoMsg(message: ProofOpProtoMsg): ProofOp; - toProto(message: ProofOp): Uint8Array; - toProtoMsg(message: ProofOp): ProofOpProtoMsg; -}; -export declare const ProofOps: { - encode(message: ProofOps, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps; - fromJSON(object: any): ProofOps; - toJSON(message: ProofOps): unknown; - fromPartial(object: Partial): ProofOps; - fromAmino(object: ProofOpsAmino): ProofOps; - toAmino(message: ProofOps): ProofOpsAmino; - fromAminoMsg(object: ProofOpsAminoMsg): ProofOps; - toAminoMsg(message: ProofOps): ProofOpsAminoMsg; - fromProtoMsg(message: ProofOpsProtoMsg): ProofOps; - toProto(message: ProofOps): Uint8Array; - toProtoMsg(message: ProofOps): ProofOpsProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts deleted file mode 100644 index f4fed4b4..00000000 --- a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType, ABCIQueryRequest, ABCIQueryResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - getNodeInfo(_params?: GetNodeInfoRequest): Promise; - getSyncing(_params?: GetSyncingRequest): Promise; - getLatestBlock(_params?: GetLatestBlockRequest): Promise; - getBlockByHeight(params: GetBlockByHeightRequest): Promise; - getLatestValidatorSet(params?: GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(params: GetValidatorSetByHeightRequest): Promise; - aBCIQuery(params: ABCIQueryRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts b/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts deleted file mode 100644 index 2b2708d3..00000000 --- a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse, ABCIQueryRequest, ABCIQueryResponse } from "./query"; -/** Service defines the gRPC querier service for tendermint queries. */ -export interface Service { - /** GetNodeInfo queries the current node info. */ - getNodeInfo(request?: GetNodeInfoRequest): Promise; - /** GetSyncing queries node syncing. */ - getSyncing(request?: GetSyncingRequest): Promise; - /** GetLatestBlock returns the latest block. */ - getLatestBlock(request?: GetLatestBlockRequest): Promise; - /** GetBlockByHeight queries block for given height. */ - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - /** GetLatestValidatorSet queries latest validator-set. */ - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - /** GetValidatorSetByHeight queries validator-set at a given height. */ - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; - /** - * ABCIQuery defines a query handler that supports ABCI queries directly to - * the application, bypassing Tendermint completely. The ABCI query must - * contain a valid and supported path, including app, custom, p2p, and store. - * - * Since: cosmos-sdk 0.46 - */ - aBCIQuery(request: ABCIQueryRequest): Promise; -} -export declare class ServiceClientImpl implements Service { - private readonly rpc; - constructor(rpc: Rpc); - getNodeInfo(request?: GetNodeInfoRequest): Promise; - getSyncing(request?: GetSyncingRequest): Promise; - getLatestBlock(request?: GetLatestBlockRequest): Promise; - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; - aBCIQuery(request: ABCIQueryRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - getNodeInfo(request?: GetNodeInfoRequest): Promise; - getSyncing(request?: GetSyncingRequest): Promise; - getLatestBlock(request?: GetLatestBlockRequest): Promise; - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; - aBCIQuery(request: ABCIQueryRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/types.d.ts b/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/types.d.ts deleted file mode 100644 index cb877179..00000000 --- a/packages/api/types/codegen/cosmos/base/tendermint/v1beta1/types.d.ts +++ /dev/null @@ -1,157 +0,0 @@ -import { Data, DataAmino, DataSDKType, Commit, CommitAmino, CommitSDKType, BlockID, BlockIDAmino, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { EvidenceList, EvidenceListAmino, EvidenceListSDKType } from "../../../../tendermint/types/evidence"; -import { Consensus, ConsensusAmino, ConsensusSDKType } from "../../../../tendermint/version/types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * Block is tendermint type Block, with the Header proposer address - * field converted to bech32 string. - */ -export interface Block { - header: Header; - data: Data; - evidence: EvidenceList; - lastCommit: Commit; -} -export interface BlockProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Block"; - value: Uint8Array; -} -/** - * Block is tendermint type Block, with the Header proposer address - * field converted to bech32 string. - */ -export interface BlockAmino { - header?: HeaderAmino; - data?: DataAmino; - evidence?: EvidenceListAmino; - last_commit?: CommitAmino; -} -export interface BlockAminoMsg { - type: "cosmos-sdk/Block"; - value: BlockAmino; -} -/** - * Block is tendermint type Block, with the Header proposer address - * field converted to bech32 string. - */ -export interface BlockSDKType { - header: HeaderSDKType; - data: DataSDKType; - evidence: EvidenceListSDKType; - last_commit: CommitSDKType; -} -/** Header defines the structure of a Tendermint block header. */ -export interface Header { - /** basic block info */ - version: Consensus; - chainId: string; - height: Long; - time: Timestamp; - /** prev block info */ - lastBlockId: BlockID; - /** hashes of block data */ - lastCommitHash: Uint8Array; - dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - validatorsHash: Uint8Array; - /** validators for the next block */ - nextValidatorsHash: Uint8Array; - /** consensus params for current block */ - consensusHash: Uint8Array; - /** state after txs from the previous block */ - appHash: Uint8Array; - lastResultsHash: Uint8Array; - /** consensus info */ - evidenceHash: Uint8Array; - /** - * proposer_address is the original block proposer address, formatted as a Bech32 string. - * In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string - * for better UX. - */ - proposerAddress: string; -} -export interface HeaderProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Header"; - value: Uint8Array; -} -/** Header defines the structure of a Tendermint block header. */ -export interface HeaderAmino { - /** basic block info */ - version?: ConsensusAmino; - chain_id: string; - height: string; - time?: TimestampAmino; - /** prev block info */ - last_block_id?: BlockIDAmino; - /** hashes of block data */ - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - /** hashes from the app output from the prev block */ - validators_hash: Uint8Array; - /** validators for the next block */ - next_validators_hash: Uint8Array; - /** consensus params for current block */ - consensus_hash: Uint8Array; - /** state after txs from the previous block */ - app_hash: Uint8Array; - last_results_hash: Uint8Array; - /** consensus info */ - evidence_hash: Uint8Array; - /** - * proposer_address is the original block proposer address, formatted as a Bech32 string. - * In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string - * for better UX. - */ - proposer_address: string; -} -export interface HeaderAminoMsg { - type: "cosmos-sdk/Header"; - value: HeaderAmino; -} -/** Header defines the structure of a Tendermint block header. */ -export interface HeaderSDKType { - version: ConsensusSDKType; - chain_id: string; - height: Long; - time: TimestampSDKType; - last_block_id: BlockIDSDKType; - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - validators_hash: Uint8Array; - next_validators_hash: Uint8Array; - consensus_hash: Uint8Array; - app_hash: Uint8Array; - last_results_hash: Uint8Array; - evidence_hash: Uint8Array; - proposer_address: string; -} -export declare const Block: { - encode(message: Block, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Block; - fromJSON(object: any): Block; - toJSON(message: Block): unknown; - fromPartial(object: Partial): Block; - fromAmino(object: BlockAmino): Block; - toAmino(message: Block): BlockAmino; - fromAminoMsg(object: BlockAminoMsg): Block; - toAminoMsg(message: Block): BlockAminoMsg; - fromProtoMsg(message: BlockProtoMsg): Block; - toProto(message: Block): Uint8Array; - toProtoMsg(message: Block): BlockProtoMsg; -}; -export declare const Header: { - encode(message: Header, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Header; - fromJSON(object: any): Header; - toJSON(message: Header): unknown; - fromPartial(object: Partial
): Header; - fromAmino(object: HeaderAmino): Header; - toAmino(message: Header): HeaderAmino; - fromAminoMsg(object: HeaderAminoMsg): Header; - toAminoMsg(message: Header): HeaderAminoMsg; - fromProtoMsg(message: HeaderProtoMsg): Header; - toProto(message: Header): Uint8Array; - toProtoMsg(message: Header): HeaderProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/base/v1beta1/coin.d.ts b/packages/api/types/codegen/cosmos/base/v1beta1/coin.d.ts deleted file mode 100644 index a8c3c129..00000000 --- a/packages/api/types/codegen/cosmos/base/v1beta1/coin.d.ts +++ /dev/null @@ -1,173 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface Coin { - denom: string; - amount: string; -} -export interface CoinProtoMsg { - typeUrl: "/cosmos.base.v1beta1.Coin"; - value: Uint8Array; -} -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface CoinAmino { - denom: string; - amount: string; -} -export interface CoinAminoMsg { - type: "cosmos-sdk/Coin"; - value: CoinAmino; -} -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface CoinSDKType { - denom: string; - amount: string; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoin { - denom: string; - amount: string; -} -export interface DecCoinProtoMsg { - typeUrl: "/cosmos.base.v1beta1.DecCoin"; - value: Uint8Array; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoinAmino { - denom: string; - amount: string; -} -export interface DecCoinAminoMsg { - type: "cosmos-sdk/DecCoin"; - value: DecCoinAmino; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoinSDKType { - denom: string; - amount: string; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProto { - int: string; -} -export interface IntProtoProtoMsg { - typeUrl: "/cosmos.base.v1beta1.IntProto"; - value: Uint8Array; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProtoAmino { - int: string; -} -export interface IntProtoAminoMsg { - type: "cosmos-sdk/IntProto"; - value: IntProtoAmino; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProtoSDKType { - int: string; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProto { - dec: string; -} -export interface DecProtoProtoMsg { - typeUrl: "/cosmos.base.v1beta1.DecProto"; - value: Uint8Array; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProtoAmino { - dec: string; -} -export interface DecProtoAminoMsg { - type: "cosmos-sdk/DecProto"; - value: DecProtoAmino; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProtoSDKType { - dec: string; -} -export declare const Coin: { - encode(message: Coin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Coin; - fromJSON(object: any): Coin; - toJSON(message: Coin): unknown; - fromPartial(object: Partial): Coin; - fromAmino(object: CoinAmino): Coin; - toAmino(message: Coin): CoinAmino; - fromAminoMsg(object: CoinAminoMsg): Coin; - toAminoMsg(message: Coin): CoinAminoMsg; - fromProtoMsg(message: CoinProtoMsg): Coin; - toProto(message: Coin): Uint8Array; - toProtoMsg(message: Coin): CoinProtoMsg; -}; -export declare const DecCoin: { - encode(message: DecCoin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin; - fromJSON(object: any): DecCoin; - toJSON(message: DecCoin): unknown; - fromPartial(object: Partial): DecCoin; - fromAmino(object: DecCoinAmino): DecCoin; - toAmino(message: DecCoin): DecCoinAmino; - fromAminoMsg(object: DecCoinAminoMsg): DecCoin; - toAminoMsg(message: DecCoin): DecCoinAminoMsg; - fromProtoMsg(message: DecCoinProtoMsg): DecCoin; - toProto(message: DecCoin): Uint8Array; - toProtoMsg(message: DecCoin): DecCoinProtoMsg; -}; -export declare const IntProto: { - encode(message: IntProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IntProto; - fromJSON(object: any): IntProto; - toJSON(message: IntProto): unknown; - fromPartial(object: Partial): IntProto; - fromAmino(object: IntProtoAmino): IntProto; - toAmino(message: IntProto): IntProtoAmino; - fromAminoMsg(object: IntProtoAminoMsg): IntProto; - toAminoMsg(message: IntProto): IntProtoAminoMsg; - fromProtoMsg(message: IntProtoProtoMsg): IntProto; - toProto(message: IntProto): Uint8Array; - toProtoMsg(message: IntProto): IntProtoProtoMsg; -}; -export declare const DecProto: { - encode(message: DecProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DecProto; - fromJSON(object: any): DecProto; - toJSON(message: DecProto): unknown; - fromPartial(object: Partial): DecProto; - fromAmino(object: DecProtoAmino): DecProto; - toAmino(message: DecProto): DecProtoAmino; - fromAminoMsg(object: DecProtoAminoMsg): DecProto; - toAminoMsg(message: DecProto): DecProtoAminoMsg; - fromProtoMsg(message: DecProtoProtoMsg): DecProto; - toProto(message: DecProto): Uint8Array; - toProtoMsg(message: DecProto): DecProtoProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/bundle.d.ts b/packages/api/types/codegen/cosmos/bundle.d.ts deleted file mode 100644 index faa22a26..00000000 --- a/packages/api/types/codegen/cosmos/bundle.d.ts +++ /dev/null @@ -1,10555 +0,0 @@ -import * as _2 from "./app/module/v1alpha1/module"; -import * as _3 from "./app/v1alpha1/config"; -import * as _4 from "./app/v1alpha1/module"; -import * as _5 from "./app/v1alpha1/query"; -import * as _6 from "./auth/v1beta1/auth"; -import * as _7 from "./auth/v1beta1/genesis"; -import * as _8 from "./auth/v1beta1/query"; -import * as _9 from "./authz/v1beta1/authz"; -import * as _10 from "./authz/v1beta1/event"; -import * as _11 from "./authz/v1beta1/genesis"; -import * as _12 from "./authz/v1beta1/query"; -import * as _13 from "./authz/v1beta1/tx"; -import * as _14 from "./bank/v1beta1/authz"; -import * as _15 from "./bank/v1beta1/bank"; -import * as _16 from "./bank/v1beta1/genesis"; -import * as _17 from "./bank/v1beta1/query"; -import * as _18 from "./bank/v1beta1/tx"; -import * as _19 from "./base/abci/v1beta1/abci"; -import * as _20 from "./base/kv/v1beta1/kv"; -import * as _21 from "./base/node/v1beta1/query"; -import * as _22 from "./base/query/v1beta1/pagination"; -import * as _23 from "./base/reflection/v1beta1/reflection"; -import * as _24 from "./base/reflection/v2alpha1/reflection"; -import * as _25 from "./base/snapshots/v1beta1/snapshot"; -import * as _26 from "./base/store/v1beta1/commit_info"; -import * as _27 from "./base/store/v1beta1/listening"; -import * as _28 from "./base/tendermint/v1beta1/query"; -import * as _29 from "./base/tendermint/v1beta1/types"; -import * as _30 from "./base/v1beta1/coin"; -import * as _31 from "./capability/v1beta1/capability"; -import * as _32 from "./capability/v1beta1/genesis"; -import * as _33 from "./crisis/v1beta1/genesis"; -import * as _34 from "./crisis/v1beta1/tx"; -import * as _35 from "./crypto/ed25519/keys"; -import * as _36 from "./crypto/hd/v1/hd"; -import * as _37 from "./crypto/keyring/v1/record"; -import * as _38 from "./crypto/multisig/keys"; -import * as _39 from "./crypto/secp256k1/keys"; -import * as _40 from "./crypto/secp256r1/keys"; -import * as _41 from "./distribution/v1beta1/distribution"; -import * as _42 from "./distribution/v1beta1/genesis"; -import * as _43 from "./distribution/v1beta1/query"; -import * as _44 from "./distribution/v1beta1/tx"; -import * as _45 from "./evidence/v1beta1/evidence"; -import * as _46 from "./evidence/v1beta1/genesis"; -import * as _47 from "./evidence/v1beta1/query"; -import * as _48 from "./evidence/v1beta1/tx"; -import * as _49 from "./feegrant/v1beta1/feegrant"; -import * as _50 from "./feegrant/v1beta1/genesis"; -import * as _51 from "./feegrant/v1beta1/query"; -import * as _52 from "./feegrant/v1beta1/tx"; -import * as _53 from "./genutil/v1beta1/genesis"; -import * as _54 from "./gov/v1/genesis"; -import * as _55 from "./gov/v1/gov"; -import * as _56 from "./gov/v1/query"; -import * as _57 from "./gov/v1/tx"; -import * as _58 from "./gov/v1beta1/genesis"; -import * as _59 from "./gov/v1beta1/gov"; -import * as _60 from "./gov/v1beta1/query"; -import * as _61 from "./gov/v1beta1/tx"; -import * as _62 from "./group/v1/events"; -import * as _63 from "./group/v1/genesis"; -import * as _64 from "./group/v1/query"; -import * as _65 from "./group/v1/tx"; -import * as _66 from "./group/v1/types"; -import * as _67 from "./mint/v1beta1/genesis"; -import * as _68 from "./mint/v1beta1/mint"; -import * as _69 from "./mint/v1beta1/query"; -import * as _71 from "./nft/v1beta1/event"; -import * as _72 from "./nft/v1beta1/genesis"; -import * as _73 from "./nft/v1beta1/nft"; -import * as _74 from "./nft/v1beta1/query"; -import * as _75 from "./nft/v1beta1/tx"; -import * as _76 from "./orm/module/v1alpha1/module"; -import * as _77 from "./orm/v1/orm"; -import * as _78 from "./orm/v1alpha1/schema"; -import * as _79 from "./params/v1beta1/params"; -import * as _80 from "./params/v1beta1/query"; -import * as _81 from "./slashing/v1beta1/genesis"; -import * as _82 from "./slashing/v1beta1/query"; -import * as _83 from "./slashing/v1beta1/slashing"; -import * as _84 from "./slashing/v1beta1/tx"; -import * as _85 from "./staking/v1beta1/authz"; -import * as _86 from "./staking/v1beta1/genesis"; -import * as _87 from "./staking/v1beta1/query"; -import * as _88 from "./staking/v1beta1/staking"; -import * as _89 from "./staking/v1beta1/tx"; -import * as _90 from "./tx/signing/v1beta1/signing"; -import * as _91 from "./tx/v1beta1/service"; -import * as _92 from "./tx/v1beta1/tx"; -import * as _93 from "./upgrade/v1beta1/query"; -import * as _94 from "./upgrade/v1beta1/tx"; -import * as _95 from "./upgrade/v1beta1/upgrade"; -import * as _96 from "./vesting/v1beta1/tx"; -import * as _97 from "./vesting/v1beta1/vesting"; -import * as _179 from "./auth/v1beta1/query.lcd"; -import * as _180 from "./authz/v1beta1/query.lcd"; -import * as _181 from "./bank/v1beta1/query.lcd"; -import * as _182 from "./base/node/v1beta1/query.lcd"; -import * as _183 from "./base/tendermint/v1beta1/query.lcd"; -import * as _184 from "./distribution/v1beta1/query.lcd"; -import * as _185 from "./evidence/v1beta1/query.lcd"; -import * as _186 from "./feegrant/v1beta1/query.lcd"; -import * as _187 from "./gov/v1/query.lcd"; -import * as _188 from "./gov/v1beta1/query.lcd"; -import * as _189 from "./group/v1/query.lcd"; -import * as _190 from "./mint/v1beta1/query.lcd"; -import * as _191 from "./nft/v1beta1/query.lcd"; -import * as _192 from "./params/v1beta1/query.lcd"; -import * as _193 from "./slashing/v1beta1/query.lcd"; -import * as _194 from "./staking/v1beta1/query.lcd"; -import * as _195 from "./tx/v1beta1/service.lcd"; -import * as _196 from "./upgrade/v1beta1/query.lcd"; -import * as _197 from "./app/v1alpha1/query.rpc.Query"; -import * as _198 from "./auth/v1beta1/query.rpc.Query"; -import * as _199 from "./authz/v1beta1/query.rpc.Query"; -import * as _200 from "./bank/v1beta1/query.rpc.Query"; -import * as _201 from "./base/node/v1beta1/query.rpc.Service"; -import * as _202 from "./base/tendermint/v1beta1/query.rpc.Service"; -import * as _203 from "./distribution/v1beta1/query.rpc.Query"; -import * as _204 from "./evidence/v1beta1/query.rpc.Query"; -import * as _205 from "./feegrant/v1beta1/query.rpc.Query"; -import * as _206 from "./gov/v1/query.rpc.Query"; -import * as _207 from "./gov/v1beta1/query.rpc.Query"; -import * as _208 from "./group/v1/query.rpc.Query"; -import * as _209 from "./mint/v1beta1/query.rpc.Query"; -import * as _210 from "./nft/v1beta1/query.rpc.Query"; -import * as _211 from "./params/v1beta1/query.rpc.Query"; -import * as _212 from "./slashing/v1beta1/query.rpc.Query"; -import * as _213 from "./staking/v1beta1/query.rpc.Query"; -import * as _214 from "./tx/v1beta1/service.rpc.Service"; -import * as _215 from "./upgrade/v1beta1/query.rpc.Query"; -import * as _216 from "./authz/v1beta1/tx.rpc.msg"; -import * as _217 from "./bank/v1beta1/tx.rpc.msg"; -import * as _218 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _219 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _220 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _221 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _222 from "./gov/v1/tx.rpc.msg"; -import * as _223 from "./gov/v1beta1/tx.rpc.msg"; -import * as _224 from "./group/v1/tx.rpc.msg"; -import * as _225 from "./nft/v1beta1/tx.rpc.msg"; -import * as _226 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _227 from "./staking/v1beta1/tx.rpc.msg"; -import * as _228 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _229 from "./vesting/v1beta1/tx.rpc.msg"; -export declare namespace cosmos { - namespace app { - namespace module { - const v1alpha1: { - Module: { - encode(_: _2.Module, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _2.Module; - fromJSON(_: any): _2.Module; - toJSON(_: _2.Module): unknown; - fromPartial(_: Partial<_2.Module>): _2.Module; - fromAmino(_: _2.ModuleAmino): _2.Module; - toAmino(_: _2.Module): _2.ModuleAmino; - fromAminoMsg(object: _2.ModuleAminoMsg): _2.Module; - toAminoMsg(message: _2.Module): _2.ModuleAminoMsg; - fromProtoMsg(message: _2.ModuleProtoMsg): _2.Module; - toProto(message: _2.Module): Uint8Array; - toProtoMsg(message: _2.Module): _2.ModuleProtoMsg; - }; - }; - } - const v1alpha1: { - QueryClientImpl: typeof _197.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - config(request?: _5.QueryConfigRequest | undefined): Promise<_5.QueryConfigResponse>; - }; - QueryConfigRequest: { - encode(_: _5.QueryConfigRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _5.QueryConfigRequest; - fromJSON(_: any): _5.QueryConfigRequest; - toJSON(_: _5.QueryConfigRequest): unknown; - fromPartial(_: Partial<_5.QueryConfigRequest>): _5.QueryConfigRequest; - fromAmino(_: _5.QueryConfigRequestAmino): _5.QueryConfigRequest; - toAmino(_: _5.QueryConfigRequest): _5.QueryConfigRequestAmino; - fromAminoMsg(object: _5.QueryConfigRequestAminoMsg): _5.QueryConfigRequest; - toAminoMsg(message: _5.QueryConfigRequest): _5.QueryConfigRequestAminoMsg; - fromProtoMsg(message: _5.QueryConfigRequestProtoMsg): _5.QueryConfigRequest; - toProto(message: _5.QueryConfigRequest): Uint8Array; - toProtoMsg(message: _5.QueryConfigRequest): _5.QueryConfigRequestProtoMsg; - }; - QueryConfigResponse: { - encode(message: _5.QueryConfigResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _5.QueryConfigResponse; - fromJSON(object: any): _5.QueryConfigResponse; - toJSON(message: _5.QueryConfigResponse): unknown; - fromPartial(object: Partial<_5.QueryConfigResponse>): _5.QueryConfigResponse; - fromAmino(object: _5.QueryConfigResponseAmino): _5.QueryConfigResponse; - toAmino(message: _5.QueryConfigResponse): _5.QueryConfigResponseAmino; - fromAminoMsg(object: _5.QueryConfigResponseAminoMsg): _5.QueryConfigResponse; - toAminoMsg(message: _5.QueryConfigResponse): _5.QueryConfigResponseAminoMsg; - fromProtoMsg(message: _5.QueryConfigResponseProtoMsg): _5.QueryConfigResponse; - toProto(message: _5.QueryConfigResponse): Uint8Array; - toProtoMsg(message: _5.QueryConfigResponse): _5.QueryConfigResponseProtoMsg; - }; - ModuleDescriptor: { - encode(message: _4.ModuleDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _4.ModuleDescriptor; - fromJSON(object: any): _4.ModuleDescriptor; - toJSON(message: _4.ModuleDescriptor): unknown; - fromPartial(object: Partial<_4.ModuleDescriptor>): _4.ModuleDescriptor; - fromAmino(object: _4.ModuleDescriptorAmino): _4.ModuleDescriptor; - toAmino(message: _4.ModuleDescriptor): _4.ModuleDescriptorAmino; - fromAminoMsg(object: _4.ModuleDescriptorAminoMsg): _4.ModuleDescriptor; - toAminoMsg(message: _4.ModuleDescriptor): _4.ModuleDescriptorAminoMsg; - fromProtoMsg(message: _4.ModuleDescriptorProtoMsg): _4.ModuleDescriptor; - toProto(message: _4.ModuleDescriptor): Uint8Array; - toProtoMsg(message: _4.ModuleDescriptor): _4.ModuleDescriptorProtoMsg; - }; - PackageReference: { - encode(message: _4.PackageReference, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _4.PackageReference; - fromJSON(object: any): _4.PackageReference; - toJSON(message: _4.PackageReference): unknown; - fromPartial(object: Partial<_4.PackageReference>): _4.PackageReference; - fromAmino(object: _4.PackageReferenceAmino): _4.PackageReference; - toAmino(message: _4.PackageReference): _4.PackageReferenceAmino; - fromAminoMsg(object: _4.PackageReferenceAminoMsg): _4.PackageReference; - toAminoMsg(message: _4.PackageReference): _4.PackageReferenceAminoMsg; - fromProtoMsg(message: _4.PackageReferenceProtoMsg): _4.PackageReference; - toProto(message: _4.PackageReference): Uint8Array; - toProtoMsg(message: _4.PackageReference): _4.PackageReferenceProtoMsg; - }; - MigrateFromInfo: { - encode(message: _4.MigrateFromInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _4.MigrateFromInfo; - fromJSON(object: any): _4.MigrateFromInfo; - toJSON(message: _4.MigrateFromInfo): unknown; - fromPartial(object: Partial<_4.MigrateFromInfo>): _4.MigrateFromInfo; - fromAmino(object: _4.MigrateFromInfoAmino): _4.MigrateFromInfo; - toAmino(message: _4.MigrateFromInfo): _4.MigrateFromInfoAmino; - fromAminoMsg(object: _4.MigrateFromInfoAminoMsg): _4.MigrateFromInfo; - toAminoMsg(message: _4.MigrateFromInfo): _4.MigrateFromInfoAminoMsg; - fromProtoMsg(message: _4.MigrateFromInfoProtoMsg): _4.MigrateFromInfo; - toProto(message: _4.MigrateFromInfo): Uint8Array; - toProtoMsg(message: _4.MigrateFromInfo): _4.MigrateFromInfoProtoMsg; - }; - Config: { - encode(message: _3.Config, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _3.Config; - fromJSON(object: any): _3.Config; - toJSON(message: _3.Config): unknown; - fromPartial(object: Partial<_3.Config>): _3.Config; - fromAmino(object: _3.ConfigAmino): _3.Config; - toAmino(message: _3.Config): _3.ConfigAmino; - fromAminoMsg(object: _3.ConfigAminoMsg): _3.Config; - toAminoMsg(message: _3.Config): _3.ConfigAminoMsg; - fromProtoMsg(message: _3.ConfigProtoMsg): _3.Config; - toProto(message: _3.Config): Uint8Array; - toProtoMsg(message: _3.Config): _3.ConfigProtoMsg; - }; - ModuleConfig: { - encode(message: _3.ModuleConfig, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _3.ModuleConfig; - fromJSON(object: any): _3.ModuleConfig; - toJSON(message: _3.ModuleConfig): unknown; - fromPartial(object: Partial<_3.ModuleConfig>): _3.ModuleConfig; - fromAmino(object: _3.ModuleConfigAmino): _3.ModuleConfig; - toAmino(message: _3.ModuleConfig): _3.ModuleConfigAmino; - fromAminoMsg(object: _3.ModuleConfigAminoMsg): _3.ModuleConfig; - toAminoMsg(message: _3.ModuleConfig): _3.ModuleConfigAminoMsg; - fromProtoMsg(message: _3.ModuleConfigProtoMsg): _3.ModuleConfig; - toProto(message: _3.ModuleConfig): Uint8Array; - toProtoMsg(message: _3.ModuleConfig): _3.ModuleConfigProtoMsg; - }; - }; - } - namespace auth { - const v1beta1: { - QueryClientImpl: typeof _198.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - accounts(request?: _8.QueryAccountsRequest | undefined): Promise<_8.QueryAccountsResponse>; - account(request: _8.QueryAccountRequest): Promise<_8.QueryAccountResponse>; - accountAddressByID(request: _8.QueryAccountAddressByIDRequest): Promise<_8.QueryAccountAddressByIDResponse>; - params(request?: _8.QueryParamsRequest | undefined): Promise<_8.QueryParamsResponse>; - moduleAccounts(request?: _8.QueryModuleAccountsRequest | undefined): Promise<_8.QueryModuleAccountsResponse>; - moduleAccountByName(request: _8.QueryModuleAccountByNameRequest): Promise<_8.QueryModuleAccountByNameResponse>; - bech32Prefix(request?: _8.Bech32PrefixRequest | undefined): Promise<_8.Bech32PrefixResponse>; - addressBytesToString(request: _8.AddressBytesToStringRequest): Promise<_8.AddressBytesToStringResponse>; - addressStringToBytes(request: _8.AddressStringToBytesRequest): Promise<_8.AddressStringToBytesResponse>; - }; - LCDQueryClient: typeof _179.LCDQueryClient; - QueryAccountsRequest: { - encode(message: _8.QueryAccountsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryAccountsRequest; - fromJSON(object: any): _8.QueryAccountsRequest; - toJSON(message: _8.QueryAccountsRequest): unknown; - fromPartial(object: Partial<_8.QueryAccountsRequest>): _8.QueryAccountsRequest; - fromAmino(object: _8.QueryAccountsRequestAmino): _8.QueryAccountsRequest; - toAmino(message: _8.QueryAccountsRequest): _8.QueryAccountsRequestAmino; - fromAminoMsg(object: _8.QueryAccountsRequestAminoMsg): _8.QueryAccountsRequest; - toAminoMsg(message: _8.QueryAccountsRequest): _8.QueryAccountsRequestAminoMsg; - fromProtoMsg(message: _8.QueryAccountsRequestProtoMsg): _8.QueryAccountsRequest; - toProto(message: _8.QueryAccountsRequest): Uint8Array; - toProtoMsg(message: _8.QueryAccountsRequest): _8.QueryAccountsRequestProtoMsg; - }; - QueryAccountsResponse: { - encode(message: _8.QueryAccountsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryAccountsResponse; - fromJSON(object: any): _8.QueryAccountsResponse; - toJSON(message: _8.QueryAccountsResponse): unknown; - fromPartial(object: Partial<_8.QueryAccountsResponse>): _8.QueryAccountsResponse; - fromAmino(object: _8.QueryAccountsResponseAmino): _8.QueryAccountsResponse; - toAmino(message: _8.QueryAccountsResponse): _8.QueryAccountsResponseAmino; - fromAminoMsg(object: _8.QueryAccountsResponseAminoMsg): _8.QueryAccountsResponse; - toAminoMsg(message: _8.QueryAccountsResponse): _8.QueryAccountsResponseAminoMsg; - fromProtoMsg(message: _8.QueryAccountsResponseProtoMsg): _8.QueryAccountsResponse; - toProto(message: _8.QueryAccountsResponse): Uint8Array; - toProtoMsg(message: _8.QueryAccountsResponse): _8.QueryAccountsResponseProtoMsg; - }; - QueryAccountRequest: { - encode(message: _8.QueryAccountRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryAccountRequest; - fromJSON(object: any): _8.QueryAccountRequest; - toJSON(message: _8.QueryAccountRequest): unknown; - fromPartial(object: Partial<_8.QueryAccountRequest>): _8.QueryAccountRequest; - fromAmino(object: _8.QueryAccountRequestAmino): _8.QueryAccountRequest; - toAmino(message: _8.QueryAccountRequest): _8.QueryAccountRequestAmino; - fromAminoMsg(object: _8.QueryAccountRequestAminoMsg): _8.QueryAccountRequest; - toAminoMsg(message: _8.QueryAccountRequest): _8.QueryAccountRequestAminoMsg; - fromProtoMsg(message: _8.QueryAccountRequestProtoMsg): _8.QueryAccountRequest; - toProto(message: _8.QueryAccountRequest): Uint8Array; - toProtoMsg(message: _8.QueryAccountRequest): _8.QueryAccountRequestProtoMsg; - }; - QueryAccountResponse: { - encode(message: _8.QueryAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryAccountResponse; - fromJSON(object: any): _8.QueryAccountResponse; - toJSON(message: _8.QueryAccountResponse): unknown; - fromPartial(object: Partial<_8.QueryAccountResponse>): _8.QueryAccountResponse; - fromAmino(object: _8.QueryAccountResponseAmino): _8.QueryAccountResponse; - toAmino(message: _8.QueryAccountResponse): _8.QueryAccountResponseAmino; - fromAminoMsg(object: _8.QueryAccountResponseAminoMsg): _8.QueryAccountResponse; - toAminoMsg(message: _8.QueryAccountResponse): _8.QueryAccountResponseAminoMsg; - fromProtoMsg(message: _8.QueryAccountResponseProtoMsg): _8.QueryAccountResponse; - toProto(message: _8.QueryAccountResponse): Uint8Array; - toProtoMsg(message: _8.QueryAccountResponse): _8.QueryAccountResponseProtoMsg; - }; - QueryParamsRequest: { - encode(_: _8.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryParamsRequest; - fromJSON(_: any): _8.QueryParamsRequest; - toJSON(_: _8.QueryParamsRequest): unknown; - fromPartial(_: Partial<_8.QueryParamsRequest>): _8.QueryParamsRequest; - fromAmino(_: _8.QueryParamsRequestAmino): _8.QueryParamsRequest; - toAmino(_: _8.QueryParamsRequest): _8.QueryParamsRequestAmino; - fromAminoMsg(object: _8.QueryParamsRequestAminoMsg): _8.QueryParamsRequest; - toAminoMsg(message: _8.QueryParamsRequest): _8.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _8.QueryParamsRequestProtoMsg): _8.QueryParamsRequest; - toProto(message: _8.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _8.QueryParamsRequest): _8.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _8.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryParamsResponse; - fromJSON(object: any): _8.QueryParamsResponse; - toJSON(message: _8.QueryParamsResponse): unknown; - fromPartial(object: Partial<_8.QueryParamsResponse>): _8.QueryParamsResponse; - fromAmino(object: _8.QueryParamsResponseAmino): _8.QueryParamsResponse; - toAmino(message: _8.QueryParamsResponse): _8.QueryParamsResponseAmino; - fromAminoMsg(object: _8.QueryParamsResponseAminoMsg): _8.QueryParamsResponse; - toAminoMsg(message: _8.QueryParamsResponse): _8.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _8.QueryParamsResponseProtoMsg): _8.QueryParamsResponse; - toProto(message: _8.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _8.QueryParamsResponse): _8.QueryParamsResponseProtoMsg; - }; - QueryModuleAccountsRequest: { - encode(_: _8.QueryModuleAccountsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryModuleAccountsRequest; - fromJSON(_: any): _8.QueryModuleAccountsRequest; - toJSON(_: _8.QueryModuleAccountsRequest): unknown; - fromPartial(_: Partial<_8.QueryModuleAccountsRequest>): _8.QueryModuleAccountsRequest; - fromAmino(_: _8.QueryModuleAccountsRequestAmino): _8.QueryModuleAccountsRequest; - toAmino(_: _8.QueryModuleAccountsRequest): _8.QueryModuleAccountsRequestAmino; - fromAminoMsg(object: _8.QueryModuleAccountsRequestAminoMsg): _8.QueryModuleAccountsRequest; - toAminoMsg(message: _8.QueryModuleAccountsRequest): _8.QueryModuleAccountsRequestAminoMsg; - fromProtoMsg(message: _8.QueryModuleAccountsRequestProtoMsg): _8.QueryModuleAccountsRequest; - toProto(message: _8.QueryModuleAccountsRequest): Uint8Array; - toProtoMsg(message: _8.QueryModuleAccountsRequest): _8.QueryModuleAccountsRequestProtoMsg; - }; - QueryModuleAccountsResponse: { - encode(message: _8.QueryModuleAccountsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryModuleAccountsResponse; - fromJSON(object: any): _8.QueryModuleAccountsResponse; - toJSON(message: _8.QueryModuleAccountsResponse): unknown; - fromPartial(object: Partial<_8.QueryModuleAccountsResponse>): _8.QueryModuleAccountsResponse; - fromAmino(object: _8.QueryModuleAccountsResponseAmino): _8.QueryModuleAccountsResponse; - toAmino(message: _8.QueryModuleAccountsResponse): _8.QueryModuleAccountsResponseAmino; - fromAminoMsg(object: _8.QueryModuleAccountsResponseAminoMsg): _8.QueryModuleAccountsResponse; - toAminoMsg(message: _8.QueryModuleAccountsResponse): _8.QueryModuleAccountsResponseAminoMsg; - fromProtoMsg(message: _8.QueryModuleAccountsResponseProtoMsg): _8.QueryModuleAccountsResponse; - toProto(message: _8.QueryModuleAccountsResponse): Uint8Array; - toProtoMsg(message: _8.QueryModuleAccountsResponse): _8.QueryModuleAccountsResponseProtoMsg; - }; - QueryModuleAccountByNameRequest: { - encode(message: _8.QueryModuleAccountByNameRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryModuleAccountByNameRequest; - fromJSON(object: any): _8.QueryModuleAccountByNameRequest; - toJSON(message: _8.QueryModuleAccountByNameRequest): unknown; - fromPartial(object: Partial<_8.QueryModuleAccountByNameRequest>): _8.QueryModuleAccountByNameRequest; - fromAmino(object: _8.QueryModuleAccountByNameRequestAmino): _8.QueryModuleAccountByNameRequest; - toAmino(message: _8.QueryModuleAccountByNameRequest): _8.QueryModuleAccountByNameRequestAmino; - fromAminoMsg(object: _8.QueryModuleAccountByNameRequestAminoMsg): _8.QueryModuleAccountByNameRequest; - toAminoMsg(message: _8.QueryModuleAccountByNameRequest): _8.QueryModuleAccountByNameRequestAminoMsg; - fromProtoMsg(message: _8.QueryModuleAccountByNameRequestProtoMsg): _8.QueryModuleAccountByNameRequest; - toProto(message: _8.QueryModuleAccountByNameRequest): Uint8Array; - toProtoMsg(message: _8.QueryModuleAccountByNameRequest): _8.QueryModuleAccountByNameRequestProtoMsg; - }; - QueryModuleAccountByNameResponse: { - encode(message: _8.QueryModuleAccountByNameResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryModuleAccountByNameResponse; - fromJSON(object: any): _8.QueryModuleAccountByNameResponse; - toJSON(message: _8.QueryModuleAccountByNameResponse): unknown; - fromPartial(object: Partial<_8.QueryModuleAccountByNameResponse>): _8.QueryModuleAccountByNameResponse; - fromAmino(object: _8.QueryModuleAccountByNameResponseAmino): _8.QueryModuleAccountByNameResponse; - toAmino(message: _8.QueryModuleAccountByNameResponse): _8.QueryModuleAccountByNameResponseAmino; - fromAminoMsg(object: _8.QueryModuleAccountByNameResponseAminoMsg): _8.QueryModuleAccountByNameResponse; - toAminoMsg(message: _8.QueryModuleAccountByNameResponse): _8.QueryModuleAccountByNameResponseAminoMsg; - fromProtoMsg(message: _8.QueryModuleAccountByNameResponseProtoMsg): _8.QueryModuleAccountByNameResponse; - toProto(message: _8.QueryModuleAccountByNameResponse): Uint8Array; - toProtoMsg(message: _8.QueryModuleAccountByNameResponse): _8.QueryModuleAccountByNameResponseProtoMsg; - }; - Bech32PrefixRequest: { - encode(_: _8.Bech32PrefixRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.Bech32PrefixRequest; - fromJSON(_: any): _8.Bech32PrefixRequest; - toJSON(_: _8.Bech32PrefixRequest): unknown; - fromPartial(_: Partial<_8.Bech32PrefixRequest>): _8.Bech32PrefixRequest; - fromAmino(_: _8.Bech32PrefixRequestAmino): _8.Bech32PrefixRequest; - toAmino(_: _8.Bech32PrefixRequest): _8.Bech32PrefixRequestAmino; - fromAminoMsg(object: _8.Bech32PrefixRequestAminoMsg): _8.Bech32PrefixRequest; - toAminoMsg(message: _8.Bech32PrefixRequest): _8.Bech32PrefixRequestAminoMsg; - fromProtoMsg(message: _8.Bech32PrefixRequestProtoMsg): _8.Bech32PrefixRequest; - toProto(message: _8.Bech32PrefixRequest): Uint8Array; - toProtoMsg(message: _8.Bech32PrefixRequest): _8.Bech32PrefixRequestProtoMsg; - }; - Bech32PrefixResponse: { - encode(message: _8.Bech32PrefixResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.Bech32PrefixResponse; - fromJSON(object: any): _8.Bech32PrefixResponse; - toJSON(message: _8.Bech32PrefixResponse): unknown; - fromPartial(object: Partial<_8.Bech32PrefixResponse>): _8.Bech32PrefixResponse; - fromAmino(object: _8.Bech32PrefixResponseAmino): _8.Bech32PrefixResponse; - toAmino(message: _8.Bech32PrefixResponse): _8.Bech32PrefixResponseAmino; - fromAminoMsg(object: _8.Bech32PrefixResponseAminoMsg): _8.Bech32PrefixResponse; - toAminoMsg(message: _8.Bech32PrefixResponse): _8.Bech32PrefixResponseAminoMsg; - fromProtoMsg(message: _8.Bech32PrefixResponseProtoMsg): _8.Bech32PrefixResponse; - toProto(message: _8.Bech32PrefixResponse): Uint8Array; - toProtoMsg(message: _8.Bech32PrefixResponse): _8.Bech32PrefixResponseProtoMsg; - }; - AddressBytesToStringRequest: { - encode(message: _8.AddressBytesToStringRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.AddressBytesToStringRequest; - fromJSON(object: any): _8.AddressBytesToStringRequest; - toJSON(message: _8.AddressBytesToStringRequest): unknown; - fromPartial(object: Partial<_8.AddressBytesToStringRequest>): _8.AddressBytesToStringRequest; - fromAmino(object: _8.AddressBytesToStringRequestAmino): _8.AddressBytesToStringRequest; - toAmino(message: _8.AddressBytesToStringRequest): _8.AddressBytesToStringRequestAmino; - fromAminoMsg(object: _8.AddressBytesToStringRequestAminoMsg): _8.AddressBytesToStringRequest; - toAminoMsg(message: _8.AddressBytesToStringRequest): _8.AddressBytesToStringRequestAminoMsg; - fromProtoMsg(message: _8.AddressBytesToStringRequestProtoMsg): _8.AddressBytesToStringRequest; - toProto(message: _8.AddressBytesToStringRequest): Uint8Array; - toProtoMsg(message: _8.AddressBytesToStringRequest): _8.AddressBytesToStringRequestProtoMsg; - }; - AddressBytesToStringResponse: { - encode(message: _8.AddressBytesToStringResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.AddressBytesToStringResponse; - fromJSON(object: any): _8.AddressBytesToStringResponse; - toJSON(message: _8.AddressBytesToStringResponse): unknown; - fromPartial(object: Partial<_8.AddressBytesToStringResponse>): _8.AddressBytesToStringResponse; - fromAmino(object: _8.AddressBytesToStringResponseAmino): _8.AddressBytesToStringResponse; - toAmino(message: _8.AddressBytesToStringResponse): _8.AddressBytesToStringResponseAmino; - fromAminoMsg(object: _8.AddressBytesToStringResponseAminoMsg): _8.AddressBytesToStringResponse; - toAminoMsg(message: _8.AddressBytesToStringResponse): _8.AddressBytesToStringResponseAminoMsg; - fromProtoMsg(message: _8.AddressBytesToStringResponseProtoMsg): _8.AddressBytesToStringResponse; - toProto(message: _8.AddressBytesToStringResponse): Uint8Array; - toProtoMsg(message: _8.AddressBytesToStringResponse): _8.AddressBytesToStringResponseProtoMsg; - }; - AddressStringToBytesRequest: { - encode(message: _8.AddressStringToBytesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.AddressStringToBytesRequest; - fromJSON(object: any): _8.AddressStringToBytesRequest; - toJSON(message: _8.AddressStringToBytesRequest): unknown; - fromPartial(object: Partial<_8.AddressStringToBytesRequest>): _8.AddressStringToBytesRequest; - fromAmino(object: _8.AddressStringToBytesRequestAmino): _8.AddressStringToBytesRequest; - toAmino(message: _8.AddressStringToBytesRequest): _8.AddressStringToBytesRequestAmino; - fromAminoMsg(object: _8.AddressStringToBytesRequestAminoMsg): _8.AddressStringToBytesRequest; - toAminoMsg(message: _8.AddressStringToBytesRequest): _8.AddressStringToBytesRequestAminoMsg; - fromProtoMsg(message: _8.AddressStringToBytesRequestProtoMsg): _8.AddressStringToBytesRequest; - toProto(message: _8.AddressStringToBytesRequest): Uint8Array; - toProtoMsg(message: _8.AddressStringToBytesRequest): _8.AddressStringToBytesRequestProtoMsg; - }; - AddressStringToBytesResponse: { - encode(message: _8.AddressStringToBytesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.AddressStringToBytesResponse; - fromJSON(object: any): _8.AddressStringToBytesResponse; - toJSON(message: _8.AddressStringToBytesResponse): unknown; - fromPartial(object: Partial<_8.AddressStringToBytesResponse>): _8.AddressStringToBytesResponse; - fromAmino(object: _8.AddressStringToBytesResponseAmino): _8.AddressStringToBytesResponse; - toAmino(message: _8.AddressStringToBytesResponse): _8.AddressStringToBytesResponseAmino; - fromAminoMsg(object: _8.AddressStringToBytesResponseAminoMsg): _8.AddressStringToBytesResponse; - toAminoMsg(message: _8.AddressStringToBytesResponse): _8.AddressStringToBytesResponseAminoMsg; - fromProtoMsg(message: _8.AddressStringToBytesResponseProtoMsg): _8.AddressStringToBytesResponse; - toProto(message: _8.AddressStringToBytesResponse): Uint8Array; - toProtoMsg(message: _8.AddressStringToBytesResponse): _8.AddressStringToBytesResponseProtoMsg; - }; - QueryAccountAddressByIDRequest: { - encode(message: _8.QueryAccountAddressByIDRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryAccountAddressByIDRequest; - fromJSON(object: any): _8.QueryAccountAddressByIDRequest; - toJSON(message: _8.QueryAccountAddressByIDRequest): unknown; - fromPartial(object: Partial<_8.QueryAccountAddressByIDRequest>): _8.QueryAccountAddressByIDRequest; - fromAmino(object: _8.QueryAccountAddressByIDRequestAmino): _8.QueryAccountAddressByIDRequest; - toAmino(message: _8.QueryAccountAddressByIDRequest): _8.QueryAccountAddressByIDRequestAmino; - fromAminoMsg(object: _8.QueryAccountAddressByIDRequestAminoMsg): _8.QueryAccountAddressByIDRequest; - toAminoMsg(message: _8.QueryAccountAddressByIDRequest): _8.QueryAccountAddressByIDRequestAminoMsg; - fromProtoMsg(message: _8.QueryAccountAddressByIDRequestProtoMsg): _8.QueryAccountAddressByIDRequest; - toProto(message: _8.QueryAccountAddressByIDRequest): Uint8Array; - toProtoMsg(message: _8.QueryAccountAddressByIDRequest): _8.QueryAccountAddressByIDRequestProtoMsg; - }; - QueryAccountAddressByIDResponse: { - encode(message: _8.QueryAccountAddressByIDResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _8.QueryAccountAddressByIDResponse; - fromJSON(object: any): _8.QueryAccountAddressByIDResponse; - toJSON(message: _8.QueryAccountAddressByIDResponse): unknown; - fromPartial(object: Partial<_8.QueryAccountAddressByIDResponse>): _8.QueryAccountAddressByIDResponse; - fromAmino(object: _8.QueryAccountAddressByIDResponseAmino): _8.QueryAccountAddressByIDResponse; - toAmino(message: _8.QueryAccountAddressByIDResponse): _8.QueryAccountAddressByIDResponseAmino; - fromAminoMsg(object: _8.QueryAccountAddressByIDResponseAminoMsg): _8.QueryAccountAddressByIDResponse; - toAminoMsg(message: _8.QueryAccountAddressByIDResponse): _8.QueryAccountAddressByIDResponseAminoMsg; - fromProtoMsg(message: _8.QueryAccountAddressByIDResponseProtoMsg): _8.QueryAccountAddressByIDResponse; - toProto(message: _8.QueryAccountAddressByIDResponse): Uint8Array; - toProtoMsg(message: _8.QueryAccountAddressByIDResponse): _8.QueryAccountAddressByIDResponseProtoMsg; - }; - AccountI_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any | _6.BaseAccount; - AccountI_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - AccountI_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - ModuleAccountI_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any | _6.ModuleAccount; - ModuleAccountI_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - ModuleAccountI_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - GenesisState: { - encode(message: _7.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _7.GenesisState; - fromJSON(object: any): _7.GenesisState; - toJSON(message: _7.GenesisState): unknown; - fromPartial(object: Partial<_7.GenesisState>): _7.GenesisState; - fromAmino(object: _7.GenesisStateAmino): _7.GenesisState; - toAmino(message: _7.GenesisState): _7.GenesisStateAmino; - fromAminoMsg(object: _7.GenesisStateAminoMsg): _7.GenesisState; - toAminoMsg(message: _7.GenesisState): _7.GenesisStateAminoMsg; - fromProtoMsg(message: _7.GenesisStateProtoMsg): _7.GenesisState; - toProto(message: _7.GenesisState): Uint8Array; - toProtoMsg(message: _7.GenesisState): _7.GenesisStateProtoMsg; - }; - BaseAccount: { - encode(message: _6.BaseAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _6.BaseAccount; - fromJSON(object: any): _6.BaseAccount; - toJSON(message: _6.BaseAccount): unknown; - fromPartial(object: Partial<_6.BaseAccount>): _6.BaseAccount; - fromAmino(object: _6.BaseAccountAmino): _6.BaseAccount; - toAmino(message: _6.BaseAccount): _6.BaseAccountAmino; - fromAminoMsg(object: _6.BaseAccountAminoMsg): _6.BaseAccount; - toAminoMsg(message: _6.BaseAccount): _6.BaseAccountAminoMsg; - fromProtoMsg(message: _6.BaseAccountProtoMsg): _6.BaseAccount; - toProto(message: _6.BaseAccount): Uint8Array; - toProtoMsg(message: _6.BaseAccount): _6.BaseAccountProtoMsg; - }; - ModuleAccount: { - encode(message: _6.ModuleAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _6.ModuleAccount; - fromJSON(object: any): _6.ModuleAccount; - toJSON(message: _6.ModuleAccount): unknown; - fromPartial(object: Partial<_6.ModuleAccount>): _6.ModuleAccount; - fromAmino(object: _6.ModuleAccountAmino): _6.ModuleAccount; - toAmino(message: _6.ModuleAccount): _6.ModuleAccountAmino; - fromAminoMsg(object: _6.ModuleAccountAminoMsg): _6.ModuleAccount; - toAminoMsg(message: _6.ModuleAccount): _6.ModuleAccountAminoMsg; - fromProtoMsg(message: _6.ModuleAccountProtoMsg): _6.ModuleAccount; - toProto(message: _6.ModuleAccount): Uint8Array; - toProtoMsg(message: _6.ModuleAccount): _6.ModuleAccountProtoMsg; - }; - Params: { - encode(message: _6.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _6.Params; - fromJSON(object: any): _6.Params; - toJSON(message: _6.Params): unknown; - fromPartial(object: Partial<_6.Params>): _6.Params; - fromAmino(object: _6.ParamsAmino): _6.Params; - toAmino(message: _6.Params): _6.ParamsAmino; - fromAminoMsg(object: _6.ParamsAminoMsg): _6.Params; - toAminoMsg(message: _6.Params): _6.ParamsAminoMsg; - fromProtoMsg(message: _6.ParamsProtoMsg): _6.Params; - toProto(message: _6.Params): Uint8Array; - toProtoMsg(message: _6.Params): _6.ParamsProtoMsg; - }; - }; - } - namespace authz { - const v1beta1: { - MsgClientImpl: typeof _216.MsgClientImpl; - QueryClientImpl: typeof _199.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - grants(request: _12.QueryGrantsRequest): Promise<_12.QueryGrantsResponse>; - granterGrants(request: _12.QueryGranterGrantsRequest): Promise<_12.QueryGranterGrantsResponse>; - granteeGrants(request: _12.QueryGranteeGrantsRequest): Promise<_12.QueryGranteeGrantsResponse>; - }; - LCDQueryClient: typeof _180.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - grant(value: _13.MsgGrant): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: _13.MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - revoke(value: _13.MsgRevoke): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grant(value: _13.MsgGrant): { - typeUrl: string; - value: _13.MsgGrant; - }; - exec(value: _13.MsgExec): { - typeUrl: string; - value: _13.MsgExec; - }; - revoke(value: _13.MsgRevoke): { - typeUrl: string; - value: _13.MsgRevoke; - }; - }; - toJSON: { - grant(value: _13.MsgGrant): { - typeUrl: string; - value: unknown; - }; - exec(value: _13.MsgExec): { - typeUrl: string; - value: unknown; - }; - revoke(value: _13.MsgRevoke): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grant(value: any): { - typeUrl: string; - value: _13.MsgGrant; - }; - exec(value: any): { - typeUrl: string; - value: _13.MsgExec; - }; - revoke(value: any): { - typeUrl: string; - value: _13.MsgRevoke; - }; - }; - fromPartial: { - grant(value: _13.MsgGrant): { - typeUrl: string; - value: _13.MsgGrant; - }; - exec(value: _13.MsgExec): { - typeUrl: string; - value: _13.MsgExec; - }; - revoke(value: _13.MsgRevoke): { - typeUrl: string; - value: _13.MsgRevoke; - }; - }; - }; - AminoConverter: { - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: string; - toAmino: (message: _13.MsgGrant) => _13.MsgGrantAmino; - fromAmino: (object: _13.MsgGrantAmino) => _13.MsgGrant; - }; - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: string; - toAmino: (message: _13.MsgExec) => _13.MsgExecAmino; - fromAmino: (object: _13.MsgExecAmino) => _13.MsgExec; - }; - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: string; - toAmino: (message: _13.MsgRevoke) => _13.MsgRevokeAmino; - fromAmino: (object: _13.MsgRevokeAmino) => _13.MsgRevoke; - }; - }; - MsgGrant: { - encode(message: _13.MsgGrant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _13.MsgGrant; - fromJSON(object: any): _13.MsgGrant; - toJSON(message: _13.MsgGrant): unknown; - fromPartial(object: Partial<_13.MsgGrant>): _13.MsgGrant; - fromAmino(object: _13.MsgGrantAmino): _13.MsgGrant; - toAmino(message: _13.MsgGrant): _13.MsgGrantAmino; - fromAminoMsg(object: _13.MsgGrantAminoMsg): _13.MsgGrant; - toAminoMsg(message: _13.MsgGrant): _13.MsgGrantAminoMsg; - fromProtoMsg(message: _13.MsgGrantProtoMsg): _13.MsgGrant; - toProto(message: _13.MsgGrant): Uint8Array; - toProtoMsg(message: _13.MsgGrant): _13.MsgGrantProtoMsg; - }; - MsgExecResponse: { - encode(message: _13.MsgExecResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _13.MsgExecResponse; - fromJSON(object: any): _13.MsgExecResponse; - toJSON(message: _13.MsgExecResponse): unknown; - fromPartial(object: Partial<_13.MsgExecResponse>): _13.MsgExecResponse; - fromAmino(object: _13.MsgExecResponseAmino): _13.MsgExecResponse; - toAmino(message: _13.MsgExecResponse): _13.MsgExecResponseAmino; - fromAminoMsg(object: _13.MsgExecResponseAminoMsg): _13.MsgExecResponse; - toAminoMsg(message: _13.MsgExecResponse): _13.MsgExecResponseAminoMsg; - fromProtoMsg(message: _13.MsgExecResponseProtoMsg): _13.MsgExecResponse; - toProto(message: _13.MsgExecResponse): Uint8Array; - toProtoMsg(message: _13.MsgExecResponse): _13.MsgExecResponseProtoMsg; - }; - MsgExec: { - encode(message: _13.MsgExec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _13.MsgExec; - fromJSON(object: any): _13.MsgExec; - toJSON(message: _13.MsgExec): unknown; - fromPartial(object: Partial<_13.MsgExec>): _13.MsgExec; - fromAmino(object: _13.MsgExecAmino): _13.MsgExec; - toAmino(message: _13.MsgExec): _13.MsgExecAmino; - fromAminoMsg(object: _13.MsgExecAminoMsg): _13.MsgExec; - toAminoMsg(message: _13.MsgExec): _13.MsgExecAminoMsg; - fromProtoMsg(message: _13.MsgExecProtoMsg): _13.MsgExec; - toProto(message: _13.MsgExec): Uint8Array; - toProtoMsg(message: _13.MsgExec): _13.MsgExecProtoMsg; - }; - MsgGrantResponse: { - encode(_: _13.MsgGrantResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _13.MsgGrantResponse; - fromJSON(_: any): _13.MsgGrantResponse; - toJSON(_: _13.MsgGrantResponse): unknown; - fromPartial(_: Partial<_13.MsgGrantResponse>): _13.MsgGrantResponse; - fromAmino(_: _13.MsgGrantResponseAmino): _13.MsgGrantResponse; - toAmino(_: _13.MsgGrantResponse): _13.MsgGrantResponseAmino; - fromAminoMsg(object: _13.MsgGrantResponseAminoMsg): _13.MsgGrantResponse; - toAminoMsg(message: _13.MsgGrantResponse): _13.MsgGrantResponseAminoMsg; - fromProtoMsg(message: _13.MsgGrantResponseProtoMsg): _13.MsgGrantResponse; - toProto(message: _13.MsgGrantResponse): Uint8Array; - toProtoMsg(message: _13.MsgGrantResponse): _13.MsgGrantResponseProtoMsg; - }; - MsgRevoke: { - encode(message: _13.MsgRevoke, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _13.MsgRevoke; - fromJSON(object: any): _13.MsgRevoke; - toJSON(message: _13.MsgRevoke): unknown; - fromPartial(object: Partial<_13.MsgRevoke>): _13.MsgRevoke; - fromAmino(object: _13.MsgRevokeAmino): _13.MsgRevoke; - toAmino(message: _13.MsgRevoke): _13.MsgRevokeAmino; - fromAminoMsg(object: _13.MsgRevokeAminoMsg): _13.MsgRevoke; - toAminoMsg(message: _13.MsgRevoke): _13.MsgRevokeAminoMsg; - fromProtoMsg(message: _13.MsgRevokeProtoMsg): _13.MsgRevoke; - toProto(message: _13.MsgRevoke): Uint8Array; - toProtoMsg(message: _13.MsgRevoke): _13.MsgRevokeProtoMsg; - }; - MsgRevokeResponse: { - encode(_: _13.MsgRevokeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _13.MsgRevokeResponse; - fromJSON(_: any): _13.MsgRevokeResponse; - toJSON(_: _13.MsgRevokeResponse): unknown; - fromPartial(_: Partial<_13.MsgRevokeResponse>): _13.MsgRevokeResponse; - fromAmino(_: _13.MsgRevokeResponseAmino): _13.MsgRevokeResponse; - toAmino(_: _13.MsgRevokeResponse): _13.MsgRevokeResponseAmino; - fromAminoMsg(object: _13.MsgRevokeResponseAminoMsg): _13.MsgRevokeResponse; - toAminoMsg(message: _13.MsgRevokeResponse): _13.MsgRevokeResponseAminoMsg; - fromProtoMsg(message: _13.MsgRevokeResponseProtoMsg): _13.MsgRevokeResponse; - toProto(message: _13.MsgRevokeResponse): Uint8Array; - toProtoMsg(message: _13.MsgRevokeResponse): _13.MsgRevokeResponseProtoMsg; - }; - Sdk_Msg_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any; - Sdk_Msg_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - Sdk_Msg_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - Authz_Authorization_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any; - Authz_Authorization_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - Authz_Authorization_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - QueryGrantsRequest: { - encode(message: _12.QueryGrantsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _12.QueryGrantsRequest; - fromJSON(object: any): _12.QueryGrantsRequest; - toJSON(message: _12.QueryGrantsRequest): unknown; - fromPartial(object: Partial<_12.QueryGrantsRequest>): _12.QueryGrantsRequest; - fromAmino(object: _12.QueryGrantsRequestAmino): _12.QueryGrantsRequest; - toAmino(message: _12.QueryGrantsRequest): _12.QueryGrantsRequestAmino; - fromAminoMsg(object: _12.QueryGrantsRequestAminoMsg): _12.QueryGrantsRequest; - toAminoMsg(message: _12.QueryGrantsRequest): _12.QueryGrantsRequestAminoMsg; - fromProtoMsg(message: _12.QueryGrantsRequestProtoMsg): _12.QueryGrantsRequest; - toProto(message: _12.QueryGrantsRequest): Uint8Array; - toProtoMsg(message: _12.QueryGrantsRequest): _12.QueryGrantsRequestProtoMsg; - }; - QueryGrantsResponse: { - encode(message: _12.QueryGrantsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _12.QueryGrantsResponse; - fromJSON(object: any): _12.QueryGrantsResponse; - toJSON(message: _12.QueryGrantsResponse): unknown; - fromPartial(object: Partial<_12.QueryGrantsResponse>): _12.QueryGrantsResponse; - fromAmino(object: _12.QueryGrantsResponseAmino): _12.QueryGrantsResponse; - toAmino(message: _12.QueryGrantsResponse): _12.QueryGrantsResponseAmino; - fromAminoMsg(object: _12.QueryGrantsResponseAminoMsg): _12.QueryGrantsResponse; - toAminoMsg(message: _12.QueryGrantsResponse): _12.QueryGrantsResponseAminoMsg; - fromProtoMsg(message: _12.QueryGrantsResponseProtoMsg): _12.QueryGrantsResponse; - toProto(message: _12.QueryGrantsResponse): Uint8Array; - toProtoMsg(message: _12.QueryGrantsResponse): _12.QueryGrantsResponseProtoMsg; - }; - QueryGranterGrantsRequest: { - encode(message: _12.QueryGranterGrantsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _12.QueryGranterGrantsRequest; - fromJSON(object: any): _12.QueryGranterGrantsRequest; - toJSON(message: _12.QueryGranterGrantsRequest): unknown; - fromPartial(object: Partial<_12.QueryGranterGrantsRequest>): _12.QueryGranterGrantsRequest; - fromAmino(object: _12.QueryGranterGrantsRequestAmino): _12.QueryGranterGrantsRequest; - toAmino(message: _12.QueryGranterGrantsRequest): _12.QueryGranterGrantsRequestAmino; - fromAminoMsg(object: _12.QueryGranterGrantsRequestAminoMsg): _12.QueryGranterGrantsRequest; - toAminoMsg(message: _12.QueryGranterGrantsRequest): _12.QueryGranterGrantsRequestAminoMsg; - fromProtoMsg(message: _12.QueryGranterGrantsRequestProtoMsg): _12.QueryGranterGrantsRequest; - toProto(message: _12.QueryGranterGrantsRequest): Uint8Array; - toProtoMsg(message: _12.QueryGranterGrantsRequest): _12.QueryGranterGrantsRequestProtoMsg; - }; - QueryGranterGrantsResponse: { - encode(message: _12.QueryGranterGrantsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _12.QueryGranterGrantsResponse; - fromJSON(object: any): _12.QueryGranterGrantsResponse; - toJSON(message: _12.QueryGranterGrantsResponse): unknown; - fromPartial(object: Partial<_12.QueryGranterGrantsResponse>): _12.QueryGranterGrantsResponse; - fromAmino(object: _12.QueryGranterGrantsResponseAmino): _12.QueryGranterGrantsResponse; - toAmino(message: _12.QueryGranterGrantsResponse): _12.QueryGranterGrantsResponseAmino; - fromAminoMsg(object: _12.QueryGranterGrantsResponseAminoMsg): _12.QueryGranterGrantsResponse; - toAminoMsg(message: _12.QueryGranterGrantsResponse): _12.QueryGranterGrantsResponseAminoMsg; - fromProtoMsg(message: _12.QueryGranterGrantsResponseProtoMsg): _12.QueryGranterGrantsResponse; - toProto(message: _12.QueryGranterGrantsResponse): Uint8Array; - toProtoMsg(message: _12.QueryGranterGrantsResponse): _12.QueryGranterGrantsResponseProtoMsg; - }; - QueryGranteeGrantsRequest: { - encode(message: _12.QueryGranteeGrantsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _12.QueryGranteeGrantsRequest; - fromJSON(object: any): _12.QueryGranteeGrantsRequest; - toJSON(message: _12.QueryGranteeGrantsRequest): unknown; - fromPartial(object: Partial<_12.QueryGranteeGrantsRequest>): _12.QueryGranteeGrantsRequest; - fromAmino(object: _12.QueryGranteeGrantsRequestAmino): _12.QueryGranteeGrantsRequest; - toAmino(message: _12.QueryGranteeGrantsRequest): _12.QueryGranteeGrantsRequestAmino; - fromAminoMsg(object: _12.QueryGranteeGrantsRequestAminoMsg): _12.QueryGranteeGrantsRequest; - toAminoMsg(message: _12.QueryGranteeGrantsRequest): _12.QueryGranteeGrantsRequestAminoMsg; - fromProtoMsg(message: _12.QueryGranteeGrantsRequestProtoMsg): _12.QueryGranteeGrantsRequest; - toProto(message: _12.QueryGranteeGrantsRequest): Uint8Array; - toProtoMsg(message: _12.QueryGranteeGrantsRequest): _12.QueryGranteeGrantsRequestProtoMsg; - }; - QueryGranteeGrantsResponse: { - encode(message: _12.QueryGranteeGrantsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _12.QueryGranteeGrantsResponse; - fromJSON(object: any): _12.QueryGranteeGrantsResponse; - toJSON(message: _12.QueryGranteeGrantsResponse): unknown; - fromPartial(object: Partial<_12.QueryGranteeGrantsResponse>): _12.QueryGranteeGrantsResponse; - fromAmino(object: _12.QueryGranteeGrantsResponseAmino): _12.QueryGranteeGrantsResponse; - toAmino(message: _12.QueryGranteeGrantsResponse): _12.QueryGranteeGrantsResponseAmino; - fromAminoMsg(object: _12.QueryGranteeGrantsResponseAminoMsg): _12.QueryGranteeGrantsResponse; - toAminoMsg(message: _12.QueryGranteeGrantsResponse): _12.QueryGranteeGrantsResponseAminoMsg; - fromProtoMsg(message: _12.QueryGranteeGrantsResponseProtoMsg): _12.QueryGranteeGrantsResponse; - toProto(message: _12.QueryGranteeGrantsResponse): Uint8Array; - toProtoMsg(message: _12.QueryGranteeGrantsResponse): _12.QueryGranteeGrantsResponseProtoMsg; - }; - GenesisState: { - encode(message: _11.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _11.GenesisState; - fromJSON(object: any): _11.GenesisState; - toJSON(message: _11.GenesisState): unknown; - fromPartial(object: Partial<_11.GenesisState>): _11.GenesisState; - fromAmino(object: _11.GenesisStateAmino): _11.GenesisState; - toAmino(message: _11.GenesisState): _11.GenesisStateAmino; - fromAminoMsg(object: _11.GenesisStateAminoMsg): _11.GenesisState; - toAminoMsg(message: _11.GenesisState): _11.GenesisStateAminoMsg; - fromProtoMsg(message: _11.GenesisStateProtoMsg): _11.GenesisState; - toProto(message: _11.GenesisState): Uint8Array; - toProtoMsg(message: _11.GenesisState): _11.GenesisStateProtoMsg; - }; - EventGrant: { - encode(message: _10.EventGrant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _10.EventGrant; - fromJSON(object: any): _10.EventGrant; - toJSON(message: _10.EventGrant): unknown; - fromPartial(object: Partial<_10.EventGrant>): _10.EventGrant; - fromAmino(object: _10.EventGrantAmino): _10.EventGrant; - toAmino(message: _10.EventGrant): _10.EventGrantAmino; - fromAminoMsg(object: _10.EventGrantAminoMsg): _10.EventGrant; - toAminoMsg(message: _10.EventGrant): _10.EventGrantAminoMsg; - fromProtoMsg(message: _10.EventGrantProtoMsg): _10.EventGrant; - toProto(message: _10.EventGrant): Uint8Array; - toProtoMsg(message: _10.EventGrant): _10.EventGrantProtoMsg; - }; - EventRevoke: { - encode(message: _10.EventRevoke, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _10.EventRevoke; - fromJSON(object: any): _10.EventRevoke; - toJSON(message: _10.EventRevoke): unknown; - fromPartial(object: Partial<_10.EventRevoke>): _10.EventRevoke; - fromAmino(object: _10.EventRevokeAmino): _10.EventRevoke; - toAmino(message: _10.EventRevoke): _10.EventRevokeAmino; - fromAminoMsg(object: _10.EventRevokeAminoMsg): _10.EventRevoke; - toAminoMsg(message: _10.EventRevoke): _10.EventRevokeAminoMsg; - fromProtoMsg(message: _10.EventRevokeProtoMsg): _10.EventRevoke; - toProto(message: _10.EventRevoke): Uint8Array; - toProtoMsg(message: _10.EventRevoke): _10.EventRevokeProtoMsg; - }; - GenericAuthorization: { - encode(message: _9.GenericAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _9.GenericAuthorization; - fromJSON(object: any): _9.GenericAuthorization; - toJSON(message: _9.GenericAuthorization): unknown; - fromPartial(object: Partial<_9.GenericAuthorization>): _9.GenericAuthorization; - fromAmino(object: _9.GenericAuthorizationAmino): _9.GenericAuthorization; - toAmino(message: _9.GenericAuthorization): _9.GenericAuthorizationAmino; - fromAminoMsg(object: _9.GenericAuthorizationAminoMsg): _9.GenericAuthorization; - toAminoMsg(message: _9.GenericAuthorization): _9.GenericAuthorizationAminoMsg; - fromProtoMsg(message: _9.GenericAuthorizationProtoMsg): _9.GenericAuthorization; - toProto(message: _9.GenericAuthorization): Uint8Array; - toProtoMsg(message: _9.GenericAuthorization): _9.GenericAuthorizationProtoMsg; - }; - Grant: { - encode(message: _9.Grant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _9.Grant; - fromJSON(object: any): _9.Grant; - toJSON(message: _9.Grant): unknown; - fromPartial(object: Partial<_9.Grant>): _9.Grant; - fromAmino(object: _9.GrantAmino): _9.Grant; - toAmino(message: _9.Grant): _9.GrantAmino; - fromAminoMsg(object: _9.GrantAminoMsg): _9.Grant; - toAminoMsg(message: _9.Grant): _9.GrantAminoMsg; - fromProtoMsg(message: _9.GrantProtoMsg): _9.Grant; - toProto(message: _9.Grant): Uint8Array; - toProtoMsg(message: _9.Grant): _9.GrantProtoMsg; - }; - GrantAuthorization: { - encode(message: _9.GrantAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _9.GrantAuthorization; - fromJSON(object: any): _9.GrantAuthorization; - toJSON(message: _9.GrantAuthorization): unknown; - fromPartial(object: Partial<_9.GrantAuthorization>): _9.GrantAuthorization; - fromAmino(object: _9.GrantAuthorizationAmino): _9.GrantAuthorization; - toAmino(message: _9.GrantAuthorization): _9.GrantAuthorizationAmino; - fromAminoMsg(object: _9.GrantAuthorizationAminoMsg): _9.GrantAuthorization; - toAminoMsg(message: _9.GrantAuthorization): _9.GrantAuthorizationAminoMsg; - fromProtoMsg(message: _9.GrantAuthorizationProtoMsg): _9.GrantAuthorization; - toProto(message: _9.GrantAuthorization): Uint8Array; - toProtoMsg(message: _9.GrantAuthorization): _9.GrantAuthorizationProtoMsg; - }; - GrantQueueItem: { - encode(message: _9.GrantQueueItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _9.GrantQueueItem; - fromJSON(object: any): _9.GrantQueueItem; - toJSON(message: _9.GrantQueueItem): unknown; - fromPartial(object: Partial<_9.GrantQueueItem>): _9.GrantQueueItem; - fromAmino(object: _9.GrantQueueItemAmino): _9.GrantQueueItem; - toAmino(message: _9.GrantQueueItem): _9.GrantQueueItemAmino; - fromAminoMsg(object: _9.GrantQueueItemAminoMsg): _9.GrantQueueItem; - toAminoMsg(message: _9.GrantQueueItem): _9.GrantQueueItemAminoMsg; - fromProtoMsg(message: _9.GrantQueueItemProtoMsg): _9.GrantQueueItem; - toProto(message: _9.GrantQueueItem): Uint8Array; - toProtoMsg(message: _9.GrantQueueItem): _9.GrantQueueItemProtoMsg; - }; - Authorization_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any | _14.SendAuthorization | _85.StakeAuthorization | _9.GenericAuthorization; - Authorization_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - Authorization_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - }; - } - namespace bank { - const v1beta1: { - MsgClientImpl: typeof _217.MsgClientImpl; - QueryClientImpl: typeof _200.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - balance(request: _17.QueryBalanceRequest): Promise<_17.QueryBalanceResponse>; - allBalances(request: _17.QueryAllBalancesRequest): Promise<_17.QueryAllBalancesResponse>; - spendableBalances(request: _17.QuerySpendableBalancesRequest): Promise<_17.QuerySpendableBalancesResponse>; - totalSupply(request?: _17.QueryTotalSupplyRequest | undefined): Promise<_17.QueryTotalSupplyResponse>; - supplyOf(request: _17.QuerySupplyOfRequest): Promise<_17.QuerySupplyOfResponse>; - params(request?: _17.QueryParamsRequest | undefined): Promise<_17.QueryParamsResponse>; - denomMetadata(request: _17.QueryDenomMetadataRequest): Promise<_17.QueryDenomMetadataResponse>; - denomsMetadata(request?: _17.QueryDenomsMetadataRequest | undefined): Promise<_17.QueryDenomsMetadataResponse>; - denomOwners(request: _17.QueryDenomOwnersRequest): Promise<_17.QueryDenomOwnersResponse>; - }; - LCDQueryClient: typeof _181.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - send(value: _18.MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - multiSend(value: _18.MsgMultiSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: _18.MsgSend): { - typeUrl: string; - value: _18.MsgSend; - }; - multiSend(value: _18.MsgMultiSend): { - typeUrl: string; - value: _18.MsgMultiSend; - }; - }; - toJSON: { - send(value: _18.MsgSend): { - typeUrl: string; - value: unknown; - }; - multiSend(value: _18.MsgMultiSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: _18.MsgSend; - }; - multiSend(value: any): { - typeUrl: string; - value: _18.MsgMultiSend; - }; - }; - fromPartial: { - send(value: _18.MsgSend): { - typeUrl: string; - value: _18.MsgSend; - }; - multiSend(value: _18.MsgMultiSend): { - typeUrl: string; - value: _18.MsgMultiSend; - }; - }; - }; - AminoConverter: { - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: _18.MsgSend) => _18.MsgSendAmino; - fromAmino: (object: _18.MsgSendAmino) => _18.MsgSend; - }; - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: string; - toAmino: (message: _18.MsgMultiSend) => _18.MsgMultiSendAmino; - fromAmino: (object: _18.MsgMultiSendAmino) => _18.MsgMultiSend; - }; - }; - MsgSend: { - encode(message: _18.MsgSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _18.MsgSend; - fromJSON(object: any): _18.MsgSend; - toJSON(message: _18.MsgSend): unknown; - fromPartial(object: Partial<_18.MsgSend>): _18.MsgSend; - fromAmino(object: _18.MsgSendAmino): _18.MsgSend; - toAmino(message: _18.MsgSend): _18.MsgSendAmino; - fromAminoMsg(object: _18.MsgSendAminoMsg): _18.MsgSend; - toAminoMsg(message: _18.MsgSend): _18.MsgSendAminoMsg; - fromProtoMsg(message: _18.MsgSendProtoMsg): _18.MsgSend; - toProto(message: _18.MsgSend): Uint8Array; - toProtoMsg(message: _18.MsgSend): _18.MsgSendProtoMsg; - }; - MsgSendResponse: { - encode(_: _18.MsgSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _18.MsgSendResponse; - fromJSON(_: any): _18.MsgSendResponse; - toJSON(_: _18.MsgSendResponse): unknown; - fromPartial(_: Partial<_18.MsgSendResponse>): _18.MsgSendResponse; - fromAmino(_: _18.MsgSendResponseAmino): _18.MsgSendResponse; - toAmino(_: _18.MsgSendResponse): _18.MsgSendResponseAmino; - fromAminoMsg(object: _18.MsgSendResponseAminoMsg): _18.MsgSendResponse; - toAminoMsg(message: _18.MsgSendResponse): _18.MsgSendResponseAminoMsg; - fromProtoMsg(message: _18.MsgSendResponseProtoMsg): _18.MsgSendResponse; - toProto(message: _18.MsgSendResponse): Uint8Array; - toProtoMsg(message: _18.MsgSendResponse): _18.MsgSendResponseProtoMsg; - }; - MsgMultiSend: { - encode(message: _18.MsgMultiSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _18.MsgMultiSend; - fromJSON(object: any): _18.MsgMultiSend; - toJSON(message: _18.MsgMultiSend): unknown; - fromPartial(object: Partial<_18.MsgMultiSend>): _18.MsgMultiSend; - fromAmino(object: _18.MsgMultiSendAmino): _18.MsgMultiSend; - toAmino(message: _18.MsgMultiSend): _18.MsgMultiSendAmino; - fromAminoMsg(object: _18.MsgMultiSendAminoMsg): _18.MsgMultiSend; - toAminoMsg(message: _18.MsgMultiSend): _18.MsgMultiSendAminoMsg; - fromProtoMsg(message: _18.MsgMultiSendProtoMsg): _18.MsgMultiSend; - toProto(message: _18.MsgMultiSend): Uint8Array; - toProtoMsg(message: _18.MsgMultiSend): _18.MsgMultiSendProtoMsg; - }; - MsgMultiSendResponse: { - encode(_: _18.MsgMultiSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _18.MsgMultiSendResponse; - fromJSON(_: any): _18.MsgMultiSendResponse; - toJSON(_: _18.MsgMultiSendResponse): unknown; - fromPartial(_: Partial<_18.MsgMultiSendResponse>): _18.MsgMultiSendResponse; - fromAmino(_: _18.MsgMultiSendResponseAmino): _18.MsgMultiSendResponse; - toAmino(_: _18.MsgMultiSendResponse): _18.MsgMultiSendResponseAmino; - fromAminoMsg(object: _18.MsgMultiSendResponseAminoMsg): _18.MsgMultiSendResponse; - toAminoMsg(message: _18.MsgMultiSendResponse): _18.MsgMultiSendResponseAminoMsg; - fromProtoMsg(message: _18.MsgMultiSendResponseProtoMsg): _18.MsgMultiSendResponse; - toProto(message: _18.MsgMultiSendResponse): Uint8Array; - toProtoMsg(message: _18.MsgMultiSendResponse): _18.MsgMultiSendResponseProtoMsg; - }; - QueryBalanceRequest: { - encode(message: _17.QueryBalanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryBalanceRequest; - fromJSON(object: any): _17.QueryBalanceRequest; - toJSON(message: _17.QueryBalanceRequest): unknown; - fromPartial(object: Partial<_17.QueryBalanceRequest>): _17.QueryBalanceRequest; - fromAmino(object: _17.QueryBalanceRequestAmino): _17.QueryBalanceRequest; - toAmino(message: _17.QueryBalanceRequest): _17.QueryBalanceRequestAmino; - fromAminoMsg(object: _17.QueryBalanceRequestAminoMsg): _17.QueryBalanceRequest; - toAminoMsg(message: _17.QueryBalanceRequest): _17.QueryBalanceRequestAminoMsg; - fromProtoMsg(message: _17.QueryBalanceRequestProtoMsg): _17.QueryBalanceRequest; - toProto(message: _17.QueryBalanceRequest): Uint8Array; - toProtoMsg(message: _17.QueryBalanceRequest): _17.QueryBalanceRequestProtoMsg; - }; - QueryBalanceResponse: { - encode(message: _17.QueryBalanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryBalanceResponse; - fromJSON(object: any): _17.QueryBalanceResponse; - toJSON(message: _17.QueryBalanceResponse): unknown; - fromPartial(object: Partial<_17.QueryBalanceResponse>): _17.QueryBalanceResponse; - fromAmino(object: _17.QueryBalanceResponseAmino): _17.QueryBalanceResponse; - toAmino(message: _17.QueryBalanceResponse): _17.QueryBalanceResponseAmino; - fromAminoMsg(object: _17.QueryBalanceResponseAminoMsg): _17.QueryBalanceResponse; - toAminoMsg(message: _17.QueryBalanceResponse): _17.QueryBalanceResponseAminoMsg; - fromProtoMsg(message: _17.QueryBalanceResponseProtoMsg): _17.QueryBalanceResponse; - toProto(message: _17.QueryBalanceResponse): Uint8Array; - toProtoMsg(message: _17.QueryBalanceResponse): _17.QueryBalanceResponseProtoMsg; - }; - QueryAllBalancesRequest: { - encode(message: _17.QueryAllBalancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryAllBalancesRequest; - fromJSON(object: any): _17.QueryAllBalancesRequest; - toJSON(message: _17.QueryAllBalancesRequest): unknown; - fromPartial(object: Partial<_17.QueryAllBalancesRequest>): _17.QueryAllBalancesRequest; - fromAmino(object: _17.QueryAllBalancesRequestAmino): _17.QueryAllBalancesRequest; - toAmino(message: _17.QueryAllBalancesRequest): _17.QueryAllBalancesRequestAmino; - fromAminoMsg(object: _17.QueryAllBalancesRequestAminoMsg): _17.QueryAllBalancesRequest; - toAminoMsg(message: _17.QueryAllBalancesRequest): _17.QueryAllBalancesRequestAminoMsg; - fromProtoMsg(message: _17.QueryAllBalancesRequestProtoMsg): _17.QueryAllBalancesRequest; - toProto(message: _17.QueryAllBalancesRequest): Uint8Array; - toProtoMsg(message: _17.QueryAllBalancesRequest): _17.QueryAllBalancesRequestProtoMsg; - }; - QueryAllBalancesResponse: { - encode(message: _17.QueryAllBalancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryAllBalancesResponse; - fromJSON(object: any): _17.QueryAllBalancesResponse; - toJSON(message: _17.QueryAllBalancesResponse): unknown; - fromPartial(object: Partial<_17.QueryAllBalancesResponse>): _17.QueryAllBalancesResponse; - fromAmino(object: _17.QueryAllBalancesResponseAmino): _17.QueryAllBalancesResponse; - toAmino(message: _17.QueryAllBalancesResponse): _17.QueryAllBalancesResponseAmino; - fromAminoMsg(object: _17.QueryAllBalancesResponseAminoMsg): _17.QueryAllBalancesResponse; - toAminoMsg(message: _17.QueryAllBalancesResponse): _17.QueryAllBalancesResponseAminoMsg; - fromProtoMsg(message: _17.QueryAllBalancesResponseProtoMsg): _17.QueryAllBalancesResponse; - toProto(message: _17.QueryAllBalancesResponse): Uint8Array; - toProtoMsg(message: _17.QueryAllBalancesResponse): _17.QueryAllBalancesResponseProtoMsg; - }; - QuerySpendableBalancesRequest: { - encode(message: _17.QuerySpendableBalancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QuerySpendableBalancesRequest; - fromJSON(object: any): _17.QuerySpendableBalancesRequest; - toJSON(message: _17.QuerySpendableBalancesRequest): unknown; - fromPartial(object: Partial<_17.QuerySpendableBalancesRequest>): _17.QuerySpendableBalancesRequest; - fromAmino(object: _17.QuerySpendableBalancesRequestAmino): _17.QuerySpendableBalancesRequest; - toAmino(message: _17.QuerySpendableBalancesRequest): _17.QuerySpendableBalancesRequestAmino; - fromAminoMsg(object: _17.QuerySpendableBalancesRequestAminoMsg): _17.QuerySpendableBalancesRequest; - toAminoMsg(message: _17.QuerySpendableBalancesRequest): _17.QuerySpendableBalancesRequestAminoMsg; - fromProtoMsg(message: _17.QuerySpendableBalancesRequestProtoMsg): _17.QuerySpendableBalancesRequest; - toProto(message: _17.QuerySpendableBalancesRequest): Uint8Array; - toProtoMsg(message: _17.QuerySpendableBalancesRequest): _17.QuerySpendableBalancesRequestProtoMsg; - }; - QuerySpendableBalancesResponse: { - encode(message: _17.QuerySpendableBalancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QuerySpendableBalancesResponse; - fromJSON(object: any): _17.QuerySpendableBalancesResponse; - toJSON(message: _17.QuerySpendableBalancesResponse): unknown; - fromPartial(object: Partial<_17.QuerySpendableBalancesResponse>): _17.QuerySpendableBalancesResponse; - fromAmino(object: _17.QuerySpendableBalancesResponseAmino): _17.QuerySpendableBalancesResponse; - toAmino(message: _17.QuerySpendableBalancesResponse): _17.QuerySpendableBalancesResponseAmino; - fromAminoMsg(object: _17.QuerySpendableBalancesResponseAminoMsg): _17.QuerySpendableBalancesResponse; - toAminoMsg(message: _17.QuerySpendableBalancesResponse): _17.QuerySpendableBalancesResponseAminoMsg; - fromProtoMsg(message: _17.QuerySpendableBalancesResponseProtoMsg): _17.QuerySpendableBalancesResponse; - toProto(message: _17.QuerySpendableBalancesResponse): Uint8Array; - toProtoMsg(message: _17.QuerySpendableBalancesResponse): _17.QuerySpendableBalancesResponseProtoMsg; - }; - QueryTotalSupplyRequest: { - encode(message: _17.QueryTotalSupplyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryTotalSupplyRequest; - fromJSON(object: any): _17.QueryTotalSupplyRequest; - toJSON(message: _17.QueryTotalSupplyRequest): unknown; - fromPartial(object: Partial<_17.QueryTotalSupplyRequest>): _17.QueryTotalSupplyRequest; - fromAmino(object: _17.QueryTotalSupplyRequestAmino): _17.QueryTotalSupplyRequest; - toAmino(message: _17.QueryTotalSupplyRequest): _17.QueryTotalSupplyRequestAmino; - fromAminoMsg(object: _17.QueryTotalSupplyRequestAminoMsg): _17.QueryTotalSupplyRequest; - toAminoMsg(message: _17.QueryTotalSupplyRequest): _17.QueryTotalSupplyRequestAminoMsg; - fromProtoMsg(message: _17.QueryTotalSupplyRequestProtoMsg): _17.QueryTotalSupplyRequest; - toProto(message: _17.QueryTotalSupplyRequest): Uint8Array; - toProtoMsg(message: _17.QueryTotalSupplyRequest): _17.QueryTotalSupplyRequestProtoMsg; - }; - QueryTotalSupplyResponse: { - encode(message: _17.QueryTotalSupplyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryTotalSupplyResponse; - fromJSON(object: any): _17.QueryTotalSupplyResponse; - toJSON(message: _17.QueryTotalSupplyResponse): unknown; - fromPartial(object: Partial<_17.QueryTotalSupplyResponse>): _17.QueryTotalSupplyResponse; - fromAmino(object: _17.QueryTotalSupplyResponseAmino): _17.QueryTotalSupplyResponse; - toAmino(message: _17.QueryTotalSupplyResponse): _17.QueryTotalSupplyResponseAmino; - fromAminoMsg(object: _17.QueryTotalSupplyResponseAminoMsg): _17.QueryTotalSupplyResponse; - toAminoMsg(message: _17.QueryTotalSupplyResponse): _17.QueryTotalSupplyResponseAminoMsg; - fromProtoMsg(message: _17.QueryTotalSupplyResponseProtoMsg): _17.QueryTotalSupplyResponse; - toProto(message: _17.QueryTotalSupplyResponse): Uint8Array; - toProtoMsg(message: _17.QueryTotalSupplyResponse): _17.QueryTotalSupplyResponseProtoMsg; - }; - QuerySupplyOfRequest: { - encode(message: _17.QuerySupplyOfRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QuerySupplyOfRequest; - fromJSON(object: any): _17.QuerySupplyOfRequest; - toJSON(message: _17.QuerySupplyOfRequest): unknown; - fromPartial(object: Partial<_17.QuerySupplyOfRequest>): _17.QuerySupplyOfRequest; - fromAmino(object: _17.QuerySupplyOfRequestAmino): _17.QuerySupplyOfRequest; - toAmino(message: _17.QuerySupplyOfRequest): _17.QuerySupplyOfRequestAmino; - fromAminoMsg(object: _17.QuerySupplyOfRequestAminoMsg): _17.QuerySupplyOfRequest; - toAminoMsg(message: _17.QuerySupplyOfRequest): _17.QuerySupplyOfRequestAminoMsg; - fromProtoMsg(message: _17.QuerySupplyOfRequestProtoMsg): _17.QuerySupplyOfRequest; - toProto(message: _17.QuerySupplyOfRequest): Uint8Array; - toProtoMsg(message: _17.QuerySupplyOfRequest): _17.QuerySupplyOfRequestProtoMsg; - }; - QuerySupplyOfResponse: { - encode(message: _17.QuerySupplyOfResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QuerySupplyOfResponse; - fromJSON(object: any): _17.QuerySupplyOfResponse; - toJSON(message: _17.QuerySupplyOfResponse): unknown; - fromPartial(object: Partial<_17.QuerySupplyOfResponse>): _17.QuerySupplyOfResponse; - fromAmino(object: _17.QuerySupplyOfResponseAmino): _17.QuerySupplyOfResponse; - toAmino(message: _17.QuerySupplyOfResponse): _17.QuerySupplyOfResponseAmino; - fromAminoMsg(object: _17.QuerySupplyOfResponseAminoMsg): _17.QuerySupplyOfResponse; - toAminoMsg(message: _17.QuerySupplyOfResponse): _17.QuerySupplyOfResponseAminoMsg; - fromProtoMsg(message: _17.QuerySupplyOfResponseProtoMsg): _17.QuerySupplyOfResponse; - toProto(message: _17.QuerySupplyOfResponse): Uint8Array; - toProtoMsg(message: _17.QuerySupplyOfResponse): _17.QuerySupplyOfResponseProtoMsg; - }; - QueryParamsRequest: { - encode(_: _17.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryParamsRequest; - fromJSON(_: any): _17.QueryParamsRequest; - toJSON(_: _17.QueryParamsRequest): unknown; - fromPartial(_: Partial<_17.QueryParamsRequest>): _17.QueryParamsRequest; - fromAmino(_: _17.QueryParamsRequestAmino): _17.QueryParamsRequest; - toAmino(_: _17.QueryParamsRequest): _17.QueryParamsRequestAmino; - fromAminoMsg(object: _17.QueryParamsRequestAminoMsg): _17.QueryParamsRequest; - toAminoMsg(message: _17.QueryParamsRequest): _17.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _17.QueryParamsRequestProtoMsg): _17.QueryParamsRequest; - toProto(message: _17.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _17.QueryParamsRequest): _17.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _17.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryParamsResponse; - fromJSON(object: any): _17.QueryParamsResponse; - toJSON(message: _17.QueryParamsResponse): unknown; - fromPartial(object: Partial<_17.QueryParamsResponse>): _17.QueryParamsResponse; - fromAmino(object: _17.QueryParamsResponseAmino): _17.QueryParamsResponse; - toAmino(message: _17.QueryParamsResponse): _17.QueryParamsResponseAmino; - fromAminoMsg(object: _17.QueryParamsResponseAminoMsg): _17.QueryParamsResponse; - toAminoMsg(message: _17.QueryParamsResponse): _17.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _17.QueryParamsResponseProtoMsg): _17.QueryParamsResponse; - toProto(message: _17.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _17.QueryParamsResponse): _17.QueryParamsResponseProtoMsg; - }; - QueryDenomsMetadataRequest: { - encode(message: _17.QueryDenomsMetadataRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryDenomsMetadataRequest; - fromJSON(object: any): _17.QueryDenomsMetadataRequest; - toJSON(message: _17.QueryDenomsMetadataRequest): unknown; - fromPartial(object: Partial<_17.QueryDenomsMetadataRequest>): _17.QueryDenomsMetadataRequest; - fromAmino(object: _17.QueryDenomsMetadataRequestAmino): _17.QueryDenomsMetadataRequest; - toAmino(message: _17.QueryDenomsMetadataRequest): _17.QueryDenomsMetadataRequestAmino; - fromAminoMsg(object: _17.QueryDenomsMetadataRequestAminoMsg): _17.QueryDenomsMetadataRequest; - toAminoMsg(message: _17.QueryDenomsMetadataRequest): _17.QueryDenomsMetadataRequestAminoMsg; - fromProtoMsg(message: _17.QueryDenomsMetadataRequestProtoMsg): _17.QueryDenomsMetadataRequest; - toProto(message: _17.QueryDenomsMetadataRequest): Uint8Array; - toProtoMsg(message: _17.QueryDenomsMetadataRequest): _17.QueryDenomsMetadataRequestProtoMsg; - }; - QueryDenomsMetadataResponse: { - encode(message: _17.QueryDenomsMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryDenomsMetadataResponse; - fromJSON(object: any): _17.QueryDenomsMetadataResponse; - toJSON(message: _17.QueryDenomsMetadataResponse): unknown; - fromPartial(object: Partial<_17.QueryDenomsMetadataResponse>): _17.QueryDenomsMetadataResponse; - fromAmino(object: _17.QueryDenomsMetadataResponseAmino): _17.QueryDenomsMetadataResponse; - toAmino(message: _17.QueryDenomsMetadataResponse): _17.QueryDenomsMetadataResponseAmino; - fromAminoMsg(object: _17.QueryDenomsMetadataResponseAminoMsg): _17.QueryDenomsMetadataResponse; - toAminoMsg(message: _17.QueryDenomsMetadataResponse): _17.QueryDenomsMetadataResponseAminoMsg; - fromProtoMsg(message: _17.QueryDenomsMetadataResponseProtoMsg): _17.QueryDenomsMetadataResponse; - toProto(message: _17.QueryDenomsMetadataResponse): Uint8Array; - toProtoMsg(message: _17.QueryDenomsMetadataResponse): _17.QueryDenomsMetadataResponseProtoMsg; - }; - QueryDenomMetadataRequest: { - encode(message: _17.QueryDenomMetadataRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryDenomMetadataRequest; - fromJSON(object: any): _17.QueryDenomMetadataRequest; - toJSON(message: _17.QueryDenomMetadataRequest): unknown; - fromPartial(object: Partial<_17.QueryDenomMetadataRequest>): _17.QueryDenomMetadataRequest; - fromAmino(object: _17.QueryDenomMetadataRequestAmino): _17.QueryDenomMetadataRequest; - toAmino(message: _17.QueryDenomMetadataRequest): _17.QueryDenomMetadataRequestAmino; - fromAminoMsg(object: _17.QueryDenomMetadataRequestAminoMsg): _17.QueryDenomMetadataRequest; - toAminoMsg(message: _17.QueryDenomMetadataRequest): _17.QueryDenomMetadataRequestAminoMsg; - fromProtoMsg(message: _17.QueryDenomMetadataRequestProtoMsg): _17.QueryDenomMetadataRequest; - toProto(message: _17.QueryDenomMetadataRequest): Uint8Array; - toProtoMsg(message: _17.QueryDenomMetadataRequest): _17.QueryDenomMetadataRequestProtoMsg; - }; - QueryDenomMetadataResponse: { - encode(message: _17.QueryDenomMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryDenomMetadataResponse; - fromJSON(object: any): _17.QueryDenomMetadataResponse; - toJSON(message: _17.QueryDenomMetadataResponse): unknown; - fromPartial(object: Partial<_17.QueryDenomMetadataResponse>): _17.QueryDenomMetadataResponse; - fromAmino(object: _17.QueryDenomMetadataResponseAmino): _17.QueryDenomMetadataResponse; - toAmino(message: _17.QueryDenomMetadataResponse): _17.QueryDenomMetadataResponseAmino; - fromAminoMsg(object: _17.QueryDenomMetadataResponseAminoMsg): _17.QueryDenomMetadataResponse; - toAminoMsg(message: _17.QueryDenomMetadataResponse): _17.QueryDenomMetadataResponseAminoMsg; - fromProtoMsg(message: _17.QueryDenomMetadataResponseProtoMsg): _17.QueryDenomMetadataResponse; - toProto(message: _17.QueryDenomMetadataResponse): Uint8Array; - toProtoMsg(message: _17.QueryDenomMetadataResponse): _17.QueryDenomMetadataResponseProtoMsg; - }; - QueryDenomOwnersRequest: { - encode(message: _17.QueryDenomOwnersRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryDenomOwnersRequest; - fromJSON(object: any): _17.QueryDenomOwnersRequest; - toJSON(message: _17.QueryDenomOwnersRequest): unknown; - fromPartial(object: Partial<_17.QueryDenomOwnersRequest>): _17.QueryDenomOwnersRequest; - fromAmino(object: _17.QueryDenomOwnersRequestAmino): _17.QueryDenomOwnersRequest; - toAmino(message: _17.QueryDenomOwnersRequest): _17.QueryDenomOwnersRequestAmino; - fromAminoMsg(object: _17.QueryDenomOwnersRequestAminoMsg): _17.QueryDenomOwnersRequest; - toAminoMsg(message: _17.QueryDenomOwnersRequest): _17.QueryDenomOwnersRequestAminoMsg; - fromProtoMsg(message: _17.QueryDenomOwnersRequestProtoMsg): _17.QueryDenomOwnersRequest; - toProto(message: _17.QueryDenomOwnersRequest): Uint8Array; - toProtoMsg(message: _17.QueryDenomOwnersRequest): _17.QueryDenomOwnersRequestProtoMsg; - }; - DenomOwner: { - encode(message: _17.DenomOwner, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.DenomOwner; - fromJSON(object: any): _17.DenomOwner; - toJSON(message: _17.DenomOwner): unknown; - fromPartial(object: Partial<_17.DenomOwner>): _17.DenomOwner; - fromAmino(object: _17.DenomOwnerAmino): _17.DenomOwner; - toAmino(message: _17.DenomOwner): _17.DenomOwnerAmino; - fromAminoMsg(object: _17.DenomOwnerAminoMsg): _17.DenomOwner; - toAminoMsg(message: _17.DenomOwner): _17.DenomOwnerAminoMsg; - fromProtoMsg(message: _17.DenomOwnerProtoMsg): _17.DenomOwner; - toProto(message: _17.DenomOwner): Uint8Array; - toProtoMsg(message: _17.DenomOwner): _17.DenomOwnerProtoMsg; - }; - QueryDenomOwnersResponse: { - encode(message: _17.QueryDenomOwnersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _17.QueryDenomOwnersResponse; - fromJSON(object: any): _17.QueryDenomOwnersResponse; - toJSON(message: _17.QueryDenomOwnersResponse): unknown; - fromPartial(object: Partial<_17.QueryDenomOwnersResponse>): _17.QueryDenomOwnersResponse; - fromAmino(object: _17.QueryDenomOwnersResponseAmino): _17.QueryDenomOwnersResponse; - toAmino(message: _17.QueryDenomOwnersResponse): _17.QueryDenomOwnersResponseAmino; - fromAminoMsg(object: _17.QueryDenomOwnersResponseAminoMsg): _17.QueryDenomOwnersResponse; - toAminoMsg(message: _17.QueryDenomOwnersResponse): _17.QueryDenomOwnersResponseAminoMsg; - fromProtoMsg(message: _17.QueryDenomOwnersResponseProtoMsg): _17.QueryDenomOwnersResponse; - toProto(message: _17.QueryDenomOwnersResponse): Uint8Array; - toProtoMsg(message: _17.QueryDenomOwnersResponse): _17.QueryDenomOwnersResponseProtoMsg; - }; - GenesisState: { - encode(message: _16.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _16.GenesisState; - fromJSON(object: any): _16.GenesisState; - toJSON(message: _16.GenesisState): unknown; - fromPartial(object: Partial<_16.GenesisState>): _16.GenesisState; - fromAmino(object: _16.GenesisStateAmino): _16.GenesisState; - toAmino(message: _16.GenesisState): _16.GenesisStateAmino; - fromAminoMsg(object: _16.GenesisStateAminoMsg): _16.GenesisState; - toAminoMsg(message: _16.GenesisState): _16.GenesisStateAminoMsg; - fromProtoMsg(message: _16.GenesisStateProtoMsg): _16.GenesisState; - toProto(message: _16.GenesisState): Uint8Array; - toProtoMsg(message: _16.GenesisState): _16.GenesisStateProtoMsg; - }; - Balance: { - encode(message: _16.Balance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _16.Balance; - fromJSON(object: any): _16.Balance; - toJSON(message: _16.Balance): unknown; - fromPartial(object: Partial<_16.Balance>): _16.Balance; - fromAmino(object: _16.BalanceAmino): _16.Balance; - toAmino(message: _16.Balance): _16.BalanceAmino; - fromAminoMsg(object: _16.BalanceAminoMsg): _16.Balance; - toAminoMsg(message: _16.Balance): _16.BalanceAminoMsg; - fromProtoMsg(message: _16.BalanceProtoMsg): _16.Balance; - toProto(message: _16.Balance): Uint8Array; - toProtoMsg(message: _16.Balance): _16.BalanceProtoMsg; - }; - Params: { - encode(message: _15.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _15.Params; - fromJSON(object: any): _15.Params; - toJSON(message: _15.Params): unknown; - fromPartial(object: Partial<_15.Params>): _15.Params; - fromAmino(object: _15.ParamsAmino): _15.Params; - toAmino(message: _15.Params): _15.ParamsAmino; - fromAminoMsg(object: _15.ParamsAminoMsg): _15.Params; - toAminoMsg(message: _15.Params): _15.ParamsAminoMsg; - fromProtoMsg(message: _15.ParamsProtoMsg): _15.Params; - toProto(message: _15.Params): Uint8Array; - toProtoMsg(message: _15.Params): _15.ParamsProtoMsg; - }; - SendEnabled: { - encode(message: _15.SendEnabled, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _15.SendEnabled; - fromJSON(object: any): _15.SendEnabled; - toJSON(message: _15.SendEnabled): unknown; - fromPartial(object: Partial<_15.SendEnabled>): _15.SendEnabled; - fromAmino(object: _15.SendEnabledAmino): _15.SendEnabled; - toAmino(message: _15.SendEnabled): _15.SendEnabledAmino; - fromAminoMsg(object: _15.SendEnabledAminoMsg): _15.SendEnabled; - toAminoMsg(message: _15.SendEnabled): _15.SendEnabledAminoMsg; - fromProtoMsg(message: _15.SendEnabledProtoMsg): _15.SendEnabled; - toProto(message: _15.SendEnabled): Uint8Array; - toProtoMsg(message: _15.SendEnabled): _15.SendEnabledProtoMsg; - }; - Input: { - encode(message: _15.Input, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _15.Input; - fromJSON(object: any): _15.Input; - toJSON(message: _15.Input): unknown; - fromPartial(object: Partial<_15.Input>): _15.Input; - fromAmino(object: _15.InputAmino): _15.Input; - toAmino(message: _15.Input): _15.InputAmino; - fromAminoMsg(object: _15.InputAminoMsg): _15.Input; - toAminoMsg(message: _15.Input): _15.InputAminoMsg; - fromProtoMsg(message: _15.InputProtoMsg): _15.Input; - toProto(message: _15.Input): Uint8Array; - toProtoMsg(message: _15.Input): _15.InputProtoMsg; - }; - Output: { - encode(message: _15.Output, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _15.Output; - fromJSON(object: any): _15.Output; - toJSON(message: _15.Output): unknown; - fromPartial(object: Partial<_15.Output>): _15.Output; - fromAmino(object: _15.OutputAmino): _15.Output; - toAmino(message: _15.Output): _15.OutputAmino; - fromAminoMsg(object: _15.OutputAminoMsg): _15.Output; - toAminoMsg(message: _15.Output): _15.OutputAminoMsg; - fromProtoMsg(message: _15.OutputProtoMsg): _15.Output; - toProto(message: _15.Output): Uint8Array; - toProtoMsg(message: _15.Output): _15.OutputProtoMsg; - }; - Supply: { - encode(message: _15.Supply, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _15.Supply; - fromJSON(object: any): _15.Supply; - toJSON(message: _15.Supply): unknown; - fromPartial(object: Partial<_15.Supply>): _15.Supply; - fromAmino(object: _15.SupplyAmino): _15.Supply; - toAmino(message: _15.Supply): _15.SupplyAmino; - fromAminoMsg(object: _15.SupplyAminoMsg): _15.Supply; - toAminoMsg(message: _15.Supply): _15.SupplyAminoMsg; - fromProtoMsg(message: _15.SupplyProtoMsg): _15.Supply; - toProto(message: _15.Supply): Uint8Array; - toProtoMsg(message: _15.Supply): _15.SupplyProtoMsg; - }; - DenomUnit: { - encode(message: _15.DenomUnit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _15.DenomUnit; - fromJSON(object: any): _15.DenomUnit; - toJSON(message: _15.DenomUnit): unknown; - fromPartial(object: Partial<_15.DenomUnit>): _15.DenomUnit; - fromAmino(object: _15.DenomUnitAmino): _15.DenomUnit; - toAmino(message: _15.DenomUnit): _15.DenomUnitAmino; - fromAminoMsg(object: _15.DenomUnitAminoMsg): _15.DenomUnit; - toAminoMsg(message: _15.DenomUnit): _15.DenomUnitAminoMsg; - fromProtoMsg(message: _15.DenomUnitProtoMsg): _15.DenomUnit; - toProto(message: _15.DenomUnit): Uint8Array; - toProtoMsg(message: _15.DenomUnit): _15.DenomUnitProtoMsg; - }; - Metadata: { - encode(message: _15.Metadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _15.Metadata; - fromJSON(object: any): _15.Metadata; - toJSON(message: _15.Metadata): unknown; - fromPartial(object: Partial<_15.Metadata>): _15.Metadata; - fromAmino(object: _15.MetadataAmino): _15.Metadata; - toAmino(message: _15.Metadata): _15.MetadataAmino; - fromAminoMsg(object: _15.MetadataAminoMsg): _15.Metadata; - toAminoMsg(message: _15.Metadata): _15.MetadataAminoMsg; - fromProtoMsg(message: _15.MetadataProtoMsg): _15.Metadata; - toProto(message: _15.Metadata): Uint8Array; - toProtoMsg(message: _15.Metadata): _15.MetadataProtoMsg; - }; - SendAuthorization: { - encode(message: _14.SendAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _14.SendAuthorization; - fromJSON(object: any): _14.SendAuthorization; - toJSON(message: _14.SendAuthorization): unknown; - fromPartial(object: Partial<_14.SendAuthorization>): _14.SendAuthorization; - fromAmino(object: _14.SendAuthorizationAmino): _14.SendAuthorization; - toAmino(message: _14.SendAuthorization): _14.SendAuthorizationAmino; - fromAminoMsg(object: _14.SendAuthorizationAminoMsg): _14.SendAuthorization; - toAminoMsg(message: _14.SendAuthorization): _14.SendAuthorizationAminoMsg; - fromProtoMsg(message: _14.SendAuthorizationProtoMsg): _14.SendAuthorization; - toProto(message: _14.SendAuthorization): Uint8Array; - toProtoMsg(message: _14.SendAuthorization): _14.SendAuthorizationProtoMsg; - }; - }; - } - namespace base { - namespace abci { - const v1beta1: { - TxResponse: { - encode(message: _19.TxResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.TxResponse; - fromJSON(object: any): _19.TxResponse; - toJSON(message: _19.TxResponse): unknown; - fromPartial(object: Partial<_19.TxResponse>): _19.TxResponse; - fromAmino(object: _19.TxResponseAmino): _19.TxResponse; - toAmino(message: _19.TxResponse): _19.TxResponseAmino; - fromAminoMsg(object: _19.TxResponseAminoMsg): _19.TxResponse; - toAminoMsg(message: _19.TxResponse): _19.TxResponseAminoMsg; - fromProtoMsg(message: _19.TxResponseProtoMsg): _19.TxResponse; - toProto(message: _19.TxResponse): Uint8Array; - toProtoMsg(message: _19.TxResponse): _19.TxResponseProtoMsg; - }; - ABCIMessageLog: { - encode(message: _19.ABCIMessageLog, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.ABCIMessageLog; - fromJSON(object: any): _19.ABCIMessageLog; - toJSON(message: _19.ABCIMessageLog): unknown; - fromPartial(object: Partial<_19.ABCIMessageLog>): _19.ABCIMessageLog; - fromAmino(object: _19.ABCIMessageLogAmino): _19.ABCIMessageLog; - toAmino(message: _19.ABCIMessageLog): _19.ABCIMessageLogAmino; - fromAminoMsg(object: _19.ABCIMessageLogAminoMsg): _19.ABCIMessageLog; - toAminoMsg(message: _19.ABCIMessageLog): _19.ABCIMessageLogAminoMsg; - fromProtoMsg(message: _19.ABCIMessageLogProtoMsg): _19.ABCIMessageLog; - toProto(message: _19.ABCIMessageLog): Uint8Array; - toProtoMsg(message: _19.ABCIMessageLog): _19.ABCIMessageLogProtoMsg; - }; - StringEvent: { - encode(message: _19.StringEvent, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.StringEvent; - fromJSON(object: any): _19.StringEvent; - toJSON(message: _19.StringEvent): unknown; - fromPartial(object: Partial<_19.StringEvent>): _19.StringEvent; - fromAmino(object: _19.StringEventAmino): _19.StringEvent; - toAmino(message: _19.StringEvent): _19.StringEventAmino; - fromAminoMsg(object: _19.StringEventAminoMsg): _19.StringEvent; - toAminoMsg(message: _19.StringEvent): _19.StringEventAminoMsg; - fromProtoMsg(message: _19.StringEventProtoMsg): _19.StringEvent; - toProto(message: _19.StringEvent): Uint8Array; - toProtoMsg(message: _19.StringEvent): _19.StringEventProtoMsg; - }; - Attribute: { - encode(message: _19.Attribute, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.Attribute; - fromJSON(object: any): _19.Attribute; - toJSON(message: _19.Attribute): unknown; - fromPartial(object: Partial<_19.Attribute>): _19.Attribute; - fromAmino(object: _19.AttributeAmino): _19.Attribute; - toAmino(message: _19.Attribute): _19.AttributeAmino; - fromAminoMsg(object: _19.AttributeAminoMsg): _19.Attribute; - toAminoMsg(message: _19.Attribute): _19.AttributeAminoMsg; - fromProtoMsg(message: _19.AttributeProtoMsg): _19.Attribute; - toProto(message: _19.Attribute): Uint8Array; - toProtoMsg(message: _19.Attribute): _19.AttributeProtoMsg; - }; - GasInfo: { - encode(message: _19.GasInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.GasInfo; - fromJSON(object: any): _19.GasInfo; - toJSON(message: _19.GasInfo): unknown; - fromPartial(object: Partial<_19.GasInfo>): _19.GasInfo; - fromAmino(object: _19.GasInfoAmino): _19.GasInfo; - toAmino(message: _19.GasInfo): _19.GasInfoAmino; - fromAminoMsg(object: _19.GasInfoAminoMsg): _19.GasInfo; - toAminoMsg(message: _19.GasInfo): _19.GasInfoAminoMsg; - fromProtoMsg(message: _19.GasInfoProtoMsg): _19.GasInfo; - toProto(message: _19.GasInfo): Uint8Array; - toProtoMsg(message: _19.GasInfo): _19.GasInfoProtoMsg; - }; - Result: { - encode(message: _19.Result, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.Result; - fromJSON(object: any): _19.Result; - toJSON(message: _19.Result): unknown; - fromPartial(object: Partial<_19.Result>): _19.Result; - fromAmino(object: _19.ResultAmino): _19.Result; - toAmino(message: _19.Result): _19.ResultAmino; - fromAminoMsg(object: _19.ResultAminoMsg): _19.Result; - toAminoMsg(message: _19.Result): _19.ResultAminoMsg; - fromProtoMsg(message: _19.ResultProtoMsg): _19.Result; - toProto(message: _19.Result): Uint8Array; - toProtoMsg(message: _19.Result): _19.ResultProtoMsg; - }; - SimulationResponse: { - encode(message: _19.SimulationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.SimulationResponse; - fromJSON(object: any): _19.SimulationResponse; - toJSON(message: _19.SimulationResponse): unknown; - fromPartial(object: Partial<_19.SimulationResponse>): _19.SimulationResponse; - fromAmino(object: _19.SimulationResponseAmino): _19.SimulationResponse; - toAmino(message: _19.SimulationResponse): _19.SimulationResponseAmino; - fromAminoMsg(object: _19.SimulationResponseAminoMsg): _19.SimulationResponse; - toAminoMsg(message: _19.SimulationResponse): _19.SimulationResponseAminoMsg; - fromProtoMsg(message: _19.SimulationResponseProtoMsg): _19.SimulationResponse; - toProto(message: _19.SimulationResponse): Uint8Array; - toProtoMsg(message: _19.SimulationResponse): _19.SimulationResponseProtoMsg; - }; - MsgData: { - encode(message: _19.MsgData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.MsgData; - fromJSON(object: any): _19.MsgData; - toJSON(message: _19.MsgData): unknown; - fromPartial(object: Partial<_19.MsgData>): _19.MsgData; - fromAmino(object: _19.MsgDataAmino): _19.MsgData; - toAmino(message: _19.MsgData): _19.MsgDataAmino; - fromAminoMsg(object: _19.MsgDataAminoMsg): _19.MsgData; - toAminoMsg(message: _19.MsgData): _19.MsgDataAminoMsg; - fromProtoMsg(message: _19.MsgDataProtoMsg): _19.MsgData; - toProto(message: _19.MsgData): Uint8Array; - toProtoMsg(message: _19.MsgData): _19.MsgDataProtoMsg; - }; - TxMsgData: { - encode(message: _19.TxMsgData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.TxMsgData; - fromJSON(object: any): _19.TxMsgData; - toJSON(message: _19.TxMsgData): unknown; - fromPartial(object: Partial<_19.TxMsgData>): _19.TxMsgData; - fromAmino(object: _19.TxMsgDataAmino): _19.TxMsgData; - toAmino(message: _19.TxMsgData): _19.TxMsgDataAmino; - fromAminoMsg(object: _19.TxMsgDataAminoMsg): _19.TxMsgData; - toAminoMsg(message: _19.TxMsgData): _19.TxMsgDataAminoMsg; - fromProtoMsg(message: _19.TxMsgDataProtoMsg): _19.TxMsgData; - toProto(message: _19.TxMsgData): Uint8Array; - toProtoMsg(message: _19.TxMsgData): _19.TxMsgDataProtoMsg; - }; - SearchTxsResult: { - encode(message: _19.SearchTxsResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _19.SearchTxsResult; - fromJSON(object: any): _19.SearchTxsResult; - toJSON(message: _19.SearchTxsResult): unknown; - fromPartial(object: Partial<_19.SearchTxsResult>): _19.SearchTxsResult; - fromAmino(object: _19.SearchTxsResultAmino): _19.SearchTxsResult; - toAmino(message: _19.SearchTxsResult): _19.SearchTxsResultAmino; - fromAminoMsg(object: _19.SearchTxsResultAminoMsg): _19.SearchTxsResult; - toAminoMsg(message: _19.SearchTxsResult): _19.SearchTxsResultAminoMsg; - fromProtoMsg(message: _19.SearchTxsResultProtoMsg): _19.SearchTxsResult; - toProto(message: _19.SearchTxsResult): Uint8Array; - toProtoMsg(message: _19.SearchTxsResult): _19.SearchTxsResultProtoMsg; - }; - }; - } - namespace kv { - const v1beta1: { - Pairs: { - encode(message: _20.Pairs, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _20.Pairs; - fromJSON(object: any): _20.Pairs; - toJSON(message: _20.Pairs): unknown; - fromPartial(object: Partial<_20.Pairs>): _20.Pairs; - fromAmino(object: _20.PairsAmino): _20.Pairs; - toAmino(message: _20.Pairs): _20.PairsAmino; - fromAminoMsg(object: _20.PairsAminoMsg): _20.Pairs; - toAminoMsg(message: _20.Pairs): _20.PairsAminoMsg; - fromProtoMsg(message: _20.PairsProtoMsg): _20.Pairs; - toProto(message: _20.Pairs): Uint8Array; - toProtoMsg(message: _20.Pairs): _20.PairsProtoMsg; - }; - Pair: { - encode(message: _20.Pair, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _20.Pair; - fromJSON(object: any): _20.Pair; - toJSON(message: _20.Pair): unknown; - fromPartial(object: Partial<_20.Pair>): _20.Pair; - fromAmino(object: _20.PairAmino): _20.Pair; - toAmino(message: _20.Pair): _20.PairAmino; - fromAminoMsg(object: _20.PairAminoMsg): _20.Pair; - toAminoMsg(message: _20.Pair): _20.PairAminoMsg; - fromProtoMsg(message: _20.PairProtoMsg): _20.Pair; - toProto(message: _20.Pair): Uint8Array; - toProtoMsg(message: _20.Pair): _20.PairProtoMsg; - }; - }; - } - namespace node { - const v1beta1: { - ServiceClientImpl: typeof _201.ServiceClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - config(request?: _21.ConfigRequest | undefined): Promise<_21.ConfigResponse>; - }; - LCDQueryClient: typeof _182.LCDQueryClient; - ConfigRequest: { - encode(_: _21.ConfigRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _21.ConfigRequest; - fromJSON(_: any): _21.ConfigRequest; - toJSON(_: _21.ConfigRequest): unknown; - fromPartial(_: Partial<_21.ConfigRequest>): _21.ConfigRequest; - fromAmino(_: _21.ConfigRequestAmino): _21.ConfigRequest; - toAmino(_: _21.ConfigRequest): _21.ConfigRequestAmino; - fromAminoMsg(object: _21.ConfigRequestAminoMsg): _21.ConfigRequest; - toAminoMsg(message: _21.ConfigRequest): _21.ConfigRequestAminoMsg; - fromProtoMsg(message: _21.ConfigRequestProtoMsg): _21.ConfigRequest; - toProto(message: _21.ConfigRequest): Uint8Array; - toProtoMsg(message: _21.ConfigRequest): _21.ConfigRequestProtoMsg; - }; - ConfigResponse: { - encode(message: _21.ConfigResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _21.ConfigResponse; - fromJSON(object: any): _21.ConfigResponse; - toJSON(message: _21.ConfigResponse): unknown; - fromPartial(object: Partial<_21.ConfigResponse>): _21.ConfigResponse; - fromAmino(object: _21.ConfigResponseAmino): _21.ConfigResponse; - toAmino(message: _21.ConfigResponse): _21.ConfigResponseAmino; - fromAminoMsg(object: _21.ConfigResponseAminoMsg): _21.ConfigResponse; - toAminoMsg(message: _21.ConfigResponse): _21.ConfigResponseAminoMsg; - fromProtoMsg(message: _21.ConfigResponseProtoMsg): _21.ConfigResponse; - toProto(message: _21.ConfigResponse): Uint8Array; - toProtoMsg(message: _21.ConfigResponse): _21.ConfigResponseProtoMsg; - }; - }; - } - namespace query { - const v1beta1: { - PageRequest: { - encode(message: _22.PageRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _22.PageRequest; - fromJSON(object: any): _22.PageRequest; - toJSON(message: _22.PageRequest): unknown; - fromPartial(object: Partial<_22.PageRequest>): _22.PageRequest; - fromAmino(object: _22.PageRequestAmino): _22.PageRequest; - toAmino(message: _22.PageRequest): _22.PageRequestAmino; - fromAminoMsg(object: _22.PageRequestAminoMsg): _22.PageRequest; - toAminoMsg(message: _22.PageRequest): _22.PageRequestAminoMsg; - fromProtoMsg(message: _22.PageRequestProtoMsg): _22.PageRequest; - toProto(message: _22.PageRequest): Uint8Array; - toProtoMsg(message: _22.PageRequest): _22.PageRequestProtoMsg; - }; - PageResponse: { - encode(message: _22.PageResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _22.PageResponse; - fromJSON(object: any): _22.PageResponse; - toJSON(message: _22.PageResponse): unknown; - fromPartial(object: Partial<_22.PageResponse>): _22.PageResponse; - fromAmino(object: _22.PageResponseAmino): _22.PageResponse; - toAmino(message: _22.PageResponse): _22.PageResponseAmino; - fromAminoMsg(object: _22.PageResponseAminoMsg): _22.PageResponse; - toAminoMsg(message: _22.PageResponse): _22.PageResponseAminoMsg; - fromProtoMsg(message: _22.PageResponseProtoMsg): _22.PageResponse; - toProto(message: _22.PageResponse): Uint8Array; - toProtoMsg(message: _22.PageResponse): _22.PageResponseProtoMsg; - }; - }; - } - namespace reflection { - const v1beta1: { - ListAllInterfacesRequest: { - encode(_: _23.ListAllInterfacesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _23.ListAllInterfacesRequest; - fromJSON(_: any): _23.ListAllInterfacesRequest; - toJSON(_: _23.ListAllInterfacesRequest): unknown; - fromPartial(_: Partial<_23.ListAllInterfacesRequest>): _23.ListAllInterfacesRequest; - fromAmino(_: _23.ListAllInterfacesRequestAmino): _23.ListAllInterfacesRequest; - toAmino(_: _23.ListAllInterfacesRequest): _23.ListAllInterfacesRequestAmino; - fromAminoMsg(object: _23.ListAllInterfacesRequestAminoMsg): _23.ListAllInterfacesRequest; - toAminoMsg(message: _23.ListAllInterfacesRequest): _23.ListAllInterfacesRequestAminoMsg; - fromProtoMsg(message: _23.ListAllInterfacesRequestProtoMsg): _23.ListAllInterfacesRequest; - toProto(message: _23.ListAllInterfacesRequest): Uint8Array; - toProtoMsg(message: _23.ListAllInterfacesRequest): _23.ListAllInterfacesRequestProtoMsg; - }; - ListAllInterfacesResponse: { - encode(message: _23.ListAllInterfacesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _23.ListAllInterfacesResponse; - fromJSON(object: any): _23.ListAllInterfacesResponse; - toJSON(message: _23.ListAllInterfacesResponse): unknown; - fromPartial(object: Partial<_23.ListAllInterfacesResponse>): _23.ListAllInterfacesResponse; - fromAmino(object: _23.ListAllInterfacesResponseAmino): _23.ListAllInterfacesResponse; - toAmino(message: _23.ListAllInterfacesResponse): _23.ListAllInterfacesResponseAmino; - fromAminoMsg(object: _23.ListAllInterfacesResponseAminoMsg): _23.ListAllInterfacesResponse; - toAminoMsg(message: _23.ListAllInterfacesResponse): _23.ListAllInterfacesResponseAminoMsg; - fromProtoMsg(message: _23.ListAllInterfacesResponseProtoMsg): _23.ListAllInterfacesResponse; - toProto(message: _23.ListAllInterfacesResponse): Uint8Array; - toProtoMsg(message: _23.ListAllInterfacesResponse): _23.ListAllInterfacesResponseProtoMsg; - }; - ListImplementationsRequest: { - encode(message: _23.ListImplementationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _23.ListImplementationsRequest; - fromJSON(object: any): _23.ListImplementationsRequest; - toJSON(message: _23.ListImplementationsRequest): unknown; - fromPartial(object: Partial<_23.ListImplementationsRequest>): _23.ListImplementationsRequest; - fromAmino(object: _23.ListImplementationsRequestAmino): _23.ListImplementationsRequest; - toAmino(message: _23.ListImplementationsRequest): _23.ListImplementationsRequestAmino; - fromAminoMsg(object: _23.ListImplementationsRequestAminoMsg): _23.ListImplementationsRequest; - toAminoMsg(message: _23.ListImplementationsRequest): _23.ListImplementationsRequestAminoMsg; - fromProtoMsg(message: _23.ListImplementationsRequestProtoMsg): _23.ListImplementationsRequest; - toProto(message: _23.ListImplementationsRequest): Uint8Array; - toProtoMsg(message: _23.ListImplementationsRequest): _23.ListImplementationsRequestProtoMsg; - }; - ListImplementationsResponse: { - encode(message: _23.ListImplementationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _23.ListImplementationsResponse; - fromJSON(object: any): _23.ListImplementationsResponse; - toJSON(message: _23.ListImplementationsResponse): unknown; - fromPartial(object: Partial<_23.ListImplementationsResponse>): _23.ListImplementationsResponse; - fromAmino(object: _23.ListImplementationsResponseAmino): _23.ListImplementationsResponse; - toAmino(message: _23.ListImplementationsResponse): _23.ListImplementationsResponseAmino; - fromAminoMsg(object: _23.ListImplementationsResponseAminoMsg): _23.ListImplementationsResponse; - toAminoMsg(message: _23.ListImplementationsResponse): _23.ListImplementationsResponseAminoMsg; - fromProtoMsg(message: _23.ListImplementationsResponseProtoMsg): _23.ListImplementationsResponse; - toProto(message: _23.ListImplementationsResponse): Uint8Array; - toProtoMsg(message: _23.ListImplementationsResponse): _23.ListImplementationsResponseProtoMsg; - }; - }; - const v2alpha1: { - AppDescriptor: { - encode(message: _24.AppDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.AppDescriptor; - fromJSON(object: any): _24.AppDescriptor; - toJSON(message: _24.AppDescriptor): unknown; - fromPartial(object: Partial<_24.AppDescriptor>): _24.AppDescriptor; - fromAmino(object: _24.AppDescriptorAmino): _24.AppDescriptor; - toAmino(message: _24.AppDescriptor): _24.AppDescriptorAmino; - fromAminoMsg(object: _24.AppDescriptorAminoMsg): _24.AppDescriptor; - toAminoMsg(message: _24.AppDescriptor): _24.AppDescriptorAminoMsg; - fromProtoMsg(message: _24.AppDescriptorProtoMsg): _24.AppDescriptor; - toProto(message: _24.AppDescriptor): Uint8Array; - toProtoMsg(message: _24.AppDescriptor): _24.AppDescriptorProtoMsg; - }; - TxDescriptor: { - encode(message: _24.TxDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.TxDescriptor; - fromJSON(object: any): _24.TxDescriptor; - toJSON(message: _24.TxDescriptor): unknown; - fromPartial(object: Partial<_24.TxDescriptor>): _24.TxDescriptor; - fromAmino(object: _24.TxDescriptorAmino): _24.TxDescriptor; - toAmino(message: _24.TxDescriptor): _24.TxDescriptorAmino; - fromAminoMsg(object: _24.TxDescriptorAminoMsg): _24.TxDescriptor; - toAminoMsg(message: _24.TxDescriptor): _24.TxDescriptorAminoMsg; - fromProtoMsg(message: _24.TxDescriptorProtoMsg): _24.TxDescriptor; - toProto(message: _24.TxDescriptor): Uint8Array; - toProtoMsg(message: _24.TxDescriptor): _24.TxDescriptorProtoMsg; - }; - AuthnDescriptor: { - encode(message: _24.AuthnDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.AuthnDescriptor; - fromJSON(object: any): _24.AuthnDescriptor; - toJSON(message: _24.AuthnDescriptor): unknown; - fromPartial(object: Partial<_24.AuthnDescriptor>): _24.AuthnDescriptor; - fromAmino(object: _24.AuthnDescriptorAmino): _24.AuthnDescriptor; - toAmino(message: _24.AuthnDescriptor): _24.AuthnDescriptorAmino; - fromAminoMsg(object: _24.AuthnDescriptorAminoMsg): _24.AuthnDescriptor; - toAminoMsg(message: _24.AuthnDescriptor): _24.AuthnDescriptorAminoMsg; - fromProtoMsg(message: _24.AuthnDescriptorProtoMsg): _24.AuthnDescriptor; - toProto(message: _24.AuthnDescriptor): Uint8Array; - toProtoMsg(message: _24.AuthnDescriptor): _24.AuthnDescriptorProtoMsg; - }; - SigningModeDescriptor: { - encode(message: _24.SigningModeDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.SigningModeDescriptor; - fromJSON(object: any): _24.SigningModeDescriptor; - toJSON(message: _24.SigningModeDescriptor): unknown; - fromPartial(object: Partial<_24.SigningModeDescriptor>): _24.SigningModeDescriptor; - fromAmino(object: _24.SigningModeDescriptorAmino): _24.SigningModeDescriptor; - toAmino(message: _24.SigningModeDescriptor): _24.SigningModeDescriptorAmino; - fromAminoMsg(object: _24.SigningModeDescriptorAminoMsg): _24.SigningModeDescriptor; - toAminoMsg(message: _24.SigningModeDescriptor): _24.SigningModeDescriptorAminoMsg; - fromProtoMsg(message: _24.SigningModeDescriptorProtoMsg): _24.SigningModeDescriptor; - toProto(message: _24.SigningModeDescriptor): Uint8Array; - toProtoMsg(message: _24.SigningModeDescriptor): _24.SigningModeDescriptorProtoMsg; - }; - ChainDescriptor: { - encode(message: _24.ChainDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.ChainDescriptor; - fromJSON(object: any): _24.ChainDescriptor; - toJSON(message: _24.ChainDescriptor): unknown; - fromPartial(object: Partial<_24.ChainDescriptor>): _24.ChainDescriptor; - fromAmino(object: _24.ChainDescriptorAmino): _24.ChainDescriptor; - toAmino(message: _24.ChainDescriptor): _24.ChainDescriptorAmino; - fromAminoMsg(object: _24.ChainDescriptorAminoMsg): _24.ChainDescriptor; - toAminoMsg(message: _24.ChainDescriptor): _24.ChainDescriptorAminoMsg; - fromProtoMsg(message: _24.ChainDescriptorProtoMsg): _24.ChainDescriptor; - toProto(message: _24.ChainDescriptor): Uint8Array; - toProtoMsg(message: _24.ChainDescriptor): _24.ChainDescriptorProtoMsg; - }; - CodecDescriptor: { - encode(message: _24.CodecDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.CodecDescriptor; - fromJSON(object: any): _24.CodecDescriptor; - toJSON(message: _24.CodecDescriptor): unknown; - fromPartial(object: Partial<_24.CodecDescriptor>): _24.CodecDescriptor; - fromAmino(object: _24.CodecDescriptorAmino): _24.CodecDescriptor; - toAmino(message: _24.CodecDescriptor): _24.CodecDescriptorAmino; - fromAminoMsg(object: _24.CodecDescriptorAminoMsg): _24.CodecDescriptor; - toAminoMsg(message: _24.CodecDescriptor): _24.CodecDescriptorAminoMsg; - fromProtoMsg(message: _24.CodecDescriptorProtoMsg): _24.CodecDescriptor; - toProto(message: _24.CodecDescriptor): Uint8Array; - toProtoMsg(message: _24.CodecDescriptor): _24.CodecDescriptorProtoMsg; - }; - InterfaceDescriptor: { - encode(message: _24.InterfaceDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.InterfaceDescriptor; - fromJSON(object: any): _24.InterfaceDescriptor; - toJSON(message: _24.InterfaceDescriptor): unknown; - fromPartial(object: Partial<_24.InterfaceDescriptor>): _24.InterfaceDescriptor; - fromAmino(object: _24.InterfaceDescriptorAmino): _24.InterfaceDescriptor; - toAmino(message: _24.InterfaceDescriptor): _24.InterfaceDescriptorAmino; - fromAminoMsg(object: _24.InterfaceDescriptorAminoMsg): _24.InterfaceDescriptor; - toAminoMsg(message: _24.InterfaceDescriptor): _24.InterfaceDescriptorAminoMsg; - fromProtoMsg(message: _24.InterfaceDescriptorProtoMsg): _24.InterfaceDescriptor; - toProto(message: _24.InterfaceDescriptor): Uint8Array; - toProtoMsg(message: _24.InterfaceDescriptor): _24.InterfaceDescriptorProtoMsg; - }; - InterfaceImplementerDescriptor: { - encode(message: _24.InterfaceImplementerDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.InterfaceImplementerDescriptor; - fromJSON(object: any): _24.InterfaceImplementerDescriptor; - toJSON(message: _24.InterfaceImplementerDescriptor): unknown; - fromPartial(object: Partial<_24.InterfaceImplementerDescriptor>): _24.InterfaceImplementerDescriptor; - fromAmino(object: _24.InterfaceImplementerDescriptorAmino): _24.InterfaceImplementerDescriptor; - toAmino(message: _24.InterfaceImplementerDescriptor): _24.InterfaceImplementerDescriptorAmino; - fromAminoMsg(object: _24.InterfaceImplementerDescriptorAminoMsg): _24.InterfaceImplementerDescriptor; - toAminoMsg(message: _24.InterfaceImplementerDescriptor): _24.InterfaceImplementerDescriptorAminoMsg; - fromProtoMsg(message: _24.InterfaceImplementerDescriptorProtoMsg): _24.InterfaceImplementerDescriptor; - toProto(message: _24.InterfaceImplementerDescriptor): Uint8Array; - toProtoMsg(message: _24.InterfaceImplementerDescriptor): _24.InterfaceImplementerDescriptorProtoMsg; - }; - InterfaceAcceptingMessageDescriptor: { - encode(message: _24.InterfaceAcceptingMessageDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.InterfaceAcceptingMessageDescriptor; - fromJSON(object: any): _24.InterfaceAcceptingMessageDescriptor; - toJSON(message: _24.InterfaceAcceptingMessageDescriptor): unknown; - fromPartial(object: Partial<_24.InterfaceAcceptingMessageDescriptor>): _24.InterfaceAcceptingMessageDescriptor; - fromAmino(object: _24.InterfaceAcceptingMessageDescriptorAmino): _24.InterfaceAcceptingMessageDescriptor; - toAmino(message: _24.InterfaceAcceptingMessageDescriptor): _24.InterfaceAcceptingMessageDescriptorAmino; - fromAminoMsg(object: _24.InterfaceAcceptingMessageDescriptorAminoMsg): _24.InterfaceAcceptingMessageDescriptor; - toAminoMsg(message: _24.InterfaceAcceptingMessageDescriptor): _24.InterfaceAcceptingMessageDescriptorAminoMsg; - fromProtoMsg(message: _24.InterfaceAcceptingMessageDescriptorProtoMsg): _24.InterfaceAcceptingMessageDescriptor; - toProto(message: _24.InterfaceAcceptingMessageDescriptor): Uint8Array; - toProtoMsg(message: _24.InterfaceAcceptingMessageDescriptor): _24.InterfaceAcceptingMessageDescriptorProtoMsg; - }; - ConfigurationDescriptor: { - encode(message: _24.ConfigurationDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.ConfigurationDescriptor; - fromJSON(object: any): _24.ConfigurationDescriptor; - toJSON(message: _24.ConfigurationDescriptor): unknown; - fromPartial(object: Partial<_24.ConfigurationDescriptor>): _24.ConfigurationDescriptor; - fromAmino(object: _24.ConfigurationDescriptorAmino): _24.ConfigurationDescriptor; - toAmino(message: _24.ConfigurationDescriptor): _24.ConfigurationDescriptorAmino; - fromAminoMsg(object: _24.ConfigurationDescriptorAminoMsg): _24.ConfigurationDescriptor; - toAminoMsg(message: _24.ConfigurationDescriptor): _24.ConfigurationDescriptorAminoMsg; - fromProtoMsg(message: _24.ConfigurationDescriptorProtoMsg): _24.ConfigurationDescriptor; - toProto(message: _24.ConfigurationDescriptor): Uint8Array; - toProtoMsg(message: _24.ConfigurationDescriptor): _24.ConfigurationDescriptorProtoMsg; - }; - MsgDescriptor: { - encode(message: _24.MsgDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.MsgDescriptor; - fromJSON(object: any): _24.MsgDescriptor; - toJSON(message: _24.MsgDescriptor): unknown; - fromPartial(object: Partial<_24.MsgDescriptor>): _24.MsgDescriptor; - fromAmino(object: _24.MsgDescriptorAmino): _24.MsgDescriptor; - toAmino(message: _24.MsgDescriptor): _24.MsgDescriptorAmino; - fromAminoMsg(object: _24.MsgDescriptorAminoMsg): _24.MsgDescriptor; - toAminoMsg(message: _24.MsgDescriptor): _24.MsgDescriptorAminoMsg; - fromProtoMsg(message: _24.MsgDescriptorProtoMsg): _24.MsgDescriptor; - toProto(message: _24.MsgDescriptor): Uint8Array; - toProtoMsg(message: _24.MsgDescriptor): _24.MsgDescriptorProtoMsg; - }; - GetAuthnDescriptorRequest: { - encode(_: _24.GetAuthnDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetAuthnDescriptorRequest; - fromJSON(_: any): _24.GetAuthnDescriptorRequest; - toJSON(_: _24.GetAuthnDescriptorRequest): unknown; - fromPartial(_: Partial<_24.GetAuthnDescriptorRequest>): _24.GetAuthnDescriptorRequest; - fromAmino(_: _24.GetAuthnDescriptorRequestAmino): _24.GetAuthnDescriptorRequest; - toAmino(_: _24.GetAuthnDescriptorRequest): _24.GetAuthnDescriptorRequestAmino; - fromAminoMsg(object: _24.GetAuthnDescriptorRequestAminoMsg): _24.GetAuthnDescriptorRequest; - toAminoMsg(message: _24.GetAuthnDescriptorRequest): _24.GetAuthnDescriptorRequestAminoMsg; - fromProtoMsg(message: _24.GetAuthnDescriptorRequestProtoMsg): _24.GetAuthnDescriptorRequest; - toProto(message: _24.GetAuthnDescriptorRequest): Uint8Array; - toProtoMsg(message: _24.GetAuthnDescriptorRequest): _24.GetAuthnDescriptorRequestProtoMsg; - }; - GetAuthnDescriptorResponse: { - encode(message: _24.GetAuthnDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetAuthnDescriptorResponse; - fromJSON(object: any): _24.GetAuthnDescriptorResponse; - toJSON(message: _24.GetAuthnDescriptorResponse): unknown; - fromPartial(object: Partial<_24.GetAuthnDescriptorResponse>): _24.GetAuthnDescriptorResponse; - fromAmino(object: _24.GetAuthnDescriptorResponseAmino): _24.GetAuthnDescriptorResponse; - toAmino(message: _24.GetAuthnDescriptorResponse): _24.GetAuthnDescriptorResponseAmino; - fromAminoMsg(object: _24.GetAuthnDescriptorResponseAminoMsg): _24.GetAuthnDescriptorResponse; - toAminoMsg(message: _24.GetAuthnDescriptorResponse): _24.GetAuthnDescriptorResponseAminoMsg; - fromProtoMsg(message: _24.GetAuthnDescriptorResponseProtoMsg): _24.GetAuthnDescriptorResponse; - toProto(message: _24.GetAuthnDescriptorResponse): Uint8Array; - toProtoMsg(message: _24.GetAuthnDescriptorResponse): _24.GetAuthnDescriptorResponseProtoMsg; - }; - GetChainDescriptorRequest: { - encode(_: _24.GetChainDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetChainDescriptorRequest; - fromJSON(_: any): _24.GetChainDescriptorRequest; - toJSON(_: _24.GetChainDescriptorRequest): unknown; - fromPartial(_: Partial<_24.GetChainDescriptorRequest>): _24.GetChainDescriptorRequest; - fromAmino(_: _24.GetChainDescriptorRequestAmino): _24.GetChainDescriptorRequest; - toAmino(_: _24.GetChainDescriptorRequest): _24.GetChainDescriptorRequestAmino; - fromAminoMsg(object: _24.GetChainDescriptorRequestAminoMsg): _24.GetChainDescriptorRequest; - toAminoMsg(message: _24.GetChainDescriptorRequest): _24.GetChainDescriptorRequestAminoMsg; - fromProtoMsg(message: _24.GetChainDescriptorRequestProtoMsg): _24.GetChainDescriptorRequest; - toProto(message: _24.GetChainDescriptorRequest): Uint8Array; - toProtoMsg(message: _24.GetChainDescriptorRequest): _24.GetChainDescriptorRequestProtoMsg; - }; - GetChainDescriptorResponse: { - encode(message: _24.GetChainDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetChainDescriptorResponse; - fromJSON(object: any): _24.GetChainDescriptorResponse; - toJSON(message: _24.GetChainDescriptorResponse): unknown; - fromPartial(object: Partial<_24.GetChainDescriptorResponse>): _24.GetChainDescriptorResponse; - fromAmino(object: _24.GetChainDescriptorResponseAmino): _24.GetChainDescriptorResponse; - toAmino(message: _24.GetChainDescriptorResponse): _24.GetChainDescriptorResponseAmino; - fromAminoMsg(object: _24.GetChainDescriptorResponseAminoMsg): _24.GetChainDescriptorResponse; - toAminoMsg(message: _24.GetChainDescriptorResponse): _24.GetChainDescriptorResponseAminoMsg; - fromProtoMsg(message: _24.GetChainDescriptorResponseProtoMsg): _24.GetChainDescriptorResponse; - toProto(message: _24.GetChainDescriptorResponse): Uint8Array; - toProtoMsg(message: _24.GetChainDescriptorResponse): _24.GetChainDescriptorResponseProtoMsg; - }; - GetCodecDescriptorRequest: { - encode(_: _24.GetCodecDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetCodecDescriptorRequest; - fromJSON(_: any): _24.GetCodecDescriptorRequest; - toJSON(_: _24.GetCodecDescriptorRequest): unknown; - fromPartial(_: Partial<_24.GetCodecDescriptorRequest>): _24.GetCodecDescriptorRequest; - fromAmino(_: _24.GetCodecDescriptorRequestAmino): _24.GetCodecDescriptorRequest; - toAmino(_: _24.GetCodecDescriptorRequest): _24.GetCodecDescriptorRequestAmino; - fromAminoMsg(object: _24.GetCodecDescriptorRequestAminoMsg): _24.GetCodecDescriptorRequest; - toAminoMsg(message: _24.GetCodecDescriptorRequest): _24.GetCodecDescriptorRequestAminoMsg; - fromProtoMsg(message: _24.GetCodecDescriptorRequestProtoMsg): _24.GetCodecDescriptorRequest; - toProto(message: _24.GetCodecDescriptorRequest): Uint8Array; - toProtoMsg(message: _24.GetCodecDescriptorRequest): _24.GetCodecDescriptorRequestProtoMsg; - }; - GetCodecDescriptorResponse: { - encode(message: _24.GetCodecDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetCodecDescriptorResponse; - fromJSON(object: any): _24.GetCodecDescriptorResponse; - toJSON(message: _24.GetCodecDescriptorResponse): unknown; - fromPartial(object: Partial<_24.GetCodecDescriptorResponse>): _24.GetCodecDescriptorResponse; - fromAmino(object: _24.GetCodecDescriptorResponseAmino): _24.GetCodecDescriptorResponse; - toAmino(message: _24.GetCodecDescriptorResponse): _24.GetCodecDescriptorResponseAmino; - fromAminoMsg(object: _24.GetCodecDescriptorResponseAminoMsg): _24.GetCodecDescriptorResponse; - toAminoMsg(message: _24.GetCodecDescriptorResponse): _24.GetCodecDescriptorResponseAminoMsg; - fromProtoMsg(message: _24.GetCodecDescriptorResponseProtoMsg): _24.GetCodecDescriptorResponse; - toProto(message: _24.GetCodecDescriptorResponse): Uint8Array; - toProtoMsg(message: _24.GetCodecDescriptorResponse): _24.GetCodecDescriptorResponseProtoMsg; - }; - GetConfigurationDescriptorRequest: { - encode(_: _24.GetConfigurationDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetConfigurationDescriptorRequest; - fromJSON(_: any): _24.GetConfigurationDescriptorRequest; - toJSON(_: _24.GetConfigurationDescriptorRequest): unknown; - fromPartial(_: Partial<_24.GetConfigurationDescriptorRequest>): _24.GetConfigurationDescriptorRequest; - fromAmino(_: _24.GetConfigurationDescriptorRequestAmino): _24.GetConfigurationDescriptorRequest; - toAmino(_: _24.GetConfigurationDescriptorRequest): _24.GetConfigurationDescriptorRequestAmino; - fromAminoMsg(object: _24.GetConfigurationDescriptorRequestAminoMsg): _24.GetConfigurationDescriptorRequest; - toAminoMsg(message: _24.GetConfigurationDescriptorRequest): _24.GetConfigurationDescriptorRequestAminoMsg; - fromProtoMsg(message: _24.GetConfigurationDescriptorRequestProtoMsg): _24.GetConfigurationDescriptorRequest; - toProto(message: _24.GetConfigurationDescriptorRequest): Uint8Array; - toProtoMsg(message: _24.GetConfigurationDescriptorRequest): _24.GetConfigurationDescriptorRequestProtoMsg; - }; - GetConfigurationDescriptorResponse: { - encode(message: _24.GetConfigurationDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetConfigurationDescriptorResponse; - fromJSON(object: any): _24.GetConfigurationDescriptorResponse; - toJSON(message: _24.GetConfigurationDescriptorResponse): unknown; - fromPartial(object: Partial<_24.GetConfigurationDescriptorResponse>): _24.GetConfigurationDescriptorResponse; - fromAmino(object: _24.GetConfigurationDescriptorResponseAmino): _24.GetConfigurationDescriptorResponse; - toAmino(message: _24.GetConfigurationDescriptorResponse): _24.GetConfigurationDescriptorResponseAmino; - fromAminoMsg(object: _24.GetConfigurationDescriptorResponseAminoMsg): _24.GetConfigurationDescriptorResponse; - toAminoMsg(message: _24.GetConfigurationDescriptorResponse): _24.GetConfigurationDescriptorResponseAminoMsg; - fromProtoMsg(message: _24.GetConfigurationDescriptorResponseProtoMsg): _24.GetConfigurationDescriptorResponse; - toProto(message: _24.GetConfigurationDescriptorResponse): Uint8Array; - toProtoMsg(message: _24.GetConfigurationDescriptorResponse): _24.GetConfigurationDescriptorResponseProtoMsg; - }; - GetQueryServicesDescriptorRequest: { - encode(_: _24.GetQueryServicesDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetQueryServicesDescriptorRequest; - fromJSON(_: any): _24.GetQueryServicesDescriptorRequest; - toJSON(_: _24.GetQueryServicesDescriptorRequest): unknown; - fromPartial(_: Partial<_24.GetQueryServicesDescriptorRequest>): _24.GetQueryServicesDescriptorRequest; - fromAmino(_: _24.GetQueryServicesDescriptorRequestAmino): _24.GetQueryServicesDescriptorRequest; - toAmino(_: _24.GetQueryServicesDescriptorRequest): _24.GetQueryServicesDescriptorRequestAmino; - fromAminoMsg(object: _24.GetQueryServicesDescriptorRequestAminoMsg): _24.GetQueryServicesDescriptorRequest; - toAminoMsg(message: _24.GetQueryServicesDescriptorRequest): _24.GetQueryServicesDescriptorRequestAminoMsg; - fromProtoMsg(message: _24.GetQueryServicesDescriptorRequestProtoMsg): _24.GetQueryServicesDescriptorRequest; - toProto(message: _24.GetQueryServicesDescriptorRequest): Uint8Array; - toProtoMsg(message: _24.GetQueryServicesDescriptorRequest): _24.GetQueryServicesDescriptorRequestProtoMsg; - }; - GetQueryServicesDescriptorResponse: { - encode(message: _24.GetQueryServicesDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetQueryServicesDescriptorResponse; - fromJSON(object: any): _24.GetQueryServicesDescriptorResponse; - toJSON(message: _24.GetQueryServicesDescriptorResponse): unknown; - fromPartial(object: Partial<_24.GetQueryServicesDescriptorResponse>): _24.GetQueryServicesDescriptorResponse; - fromAmino(object: _24.GetQueryServicesDescriptorResponseAmino): _24.GetQueryServicesDescriptorResponse; - toAmino(message: _24.GetQueryServicesDescriptorResponse): _24.GetQueryServicesDescriptorResponseAmino; - fromAminoMsg(object: _24.GetQueryServicesDescriptorResponseAminoMsg): _24.GetQueryServicesDescriptorResponse; - toAminoMsg(message: _24.GetQueryServicesDescriptorResponse): _24.GetQueryServicesDescriptorResponseAminoMsg; - fromProtoMsg(message: _24.GetQueryServicesDescriptorResponseProtoMsg): _24.GetQueryServicesDescriptorResponse; - toProto(message: _24.GetQueryServicesDescriptorResponse): Uint8Array; - toProtoMsg(message: _24.GetQueryServicesDescriptorResponse): _24.GetQueryServicesDescriptorResponseProtoMsg; - }; - GetTxDescriptorRequest: { - encode(_: _24.GetTxDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetTxDescriptorRequest; - fromJSON(_: any): _24.GetTxDescriptorRequest; - toJSON(_: _24.GetTxDescriptorRequest): unknown; - fromPartial(_: Partial<_24.GetTxDescriptorRequest>): _24.GetTxDescriptorRequest; - fromAmino(_: _24.GetTxDescriptorRequestAmino): _24.GetTxDescriptorRequest; - toAmino(_: _24.GetTxDescriptorRequest): _24.GetTxDescriptorRequestAmino; - fromAminoMsg(object: _24.GetTxDescriptorRequestAminoMsg): _24.GetTxDescriptorRequest; - toAminoMsg(message: _24.GetTxDescriptorRequest): _24.GetTxDescriptorRequestAminoMsg; - fromProtoMsg(message: _24.GetTxDescriptorRequestProtoMsg): _24.GetTxDescriptorRequest; - toProto(message: _24.GetTxDescriptorRequest): Uint8Array; - toProtoMsg(message: _24.GetTxDescriptorRequest): _24.GetTxDescriptorRequestProtoMsg; - }; - GetTxDescriptorResponse: { - encode(message: _24.GetTxDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.GetTxDescriptorResponse; - fromJSON(object: any): _24.GetTxDescriptorResponse; - toJSON(message: _24.GetTxDescriptorResponse): unknown; - fromPartial(object: Partial<_24.GetTxDescriptorResponse>): _24.GetTxDescriptorResponse; - fromAmino(object: _24.GetTxDescriptorResponseAmino): _24.GetTxDescriptorResponse; - toAmino(message: _24.GetTxDescriptorResponse): _24.GetTxDescriptorResponseAmino; - fromAminoMsg(object: _24.GetTxDescriptorResponseAminoMsg): _24.GetTxDescriptorResponse; - toAminoMsg(message: _24.GetTxDescriptorResponse): _24.GetTxDescriptorResponseAminoMsg; - fromProtoMsg(message: _24.GetTxDescriptorResponseProtoMsg): _24.GetTxDescriptorResponse; - toProto(message: _24.GetTxDescriptorResponse): Uint8Array; - toProtoMsg(message: _24.GetTxDescriptorResponse): _24.GetTxDescriptorResponseProtoMsg; - }; - QueryServicesDescriptor: { - encode(message: _24.QueryServicesDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.QueryServicesDescriptor; - fromJSON(object: any): _24.QueryServicesDescriptor; - toJSON(message: _24.QueryServicesDescriptor): unknown; - fromPartial(object: Partial<_24.QueryServicesDescriptor>): _24.QueryServicesDescriptor; - fromAmino(object: _24.QueryServicesDescriptorAmino): _24.QueryServicesDescriptor; - toAmino(message: _24.QueryServicesDescriptor): _24.QueryServicesDescriptorAmino; - fromAminoMsg(object: _24.QueryServicesDescriptorAminoMsg): _24.QueryServicesDescriptor; - toAminoMsg(message: _24.QueryServicesDescriptor): _24.QueryServicesDescriptorAminoMsg; - fromProtoMsg(message: _24.QueryServicesDescriptorProtoMsg): _24.QueryServicesDescriptor; - toProto(message: _24.QueryServicesDescriptor): Uint8Array; - toProtoMsg(message: _24.QueryServicesDescriptor): _24.QueryServicesDescriptorProtoMsg; - }; - QueryServiceDescriptor: { - encode(message: _24.QueryServiceDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.QueryServiceDescriptor; - fromJSON(object: any): _24.QueryServiceDescriptor; - toJSON(message: _24.QueryServiceDescriptor): unknown; - fromPartial(object: Partial<_24.QueryServiceDescriptor>): _24.QueryServiceDescriptor; - fromAmino(object: _24.QueryServiceDescriptorAmino): _24.QueryServiceDescriptor; - toAmino(message: _24.QueryServiceDescriptor): _24.QueryServiceDescriptorAmino; - fromAminoMsg(object: _24.QueryServiceDescriptorAminoMsg): _24.QueryServiceDescriptor; - toAminoMsg(message: _24.QueryServiceDescriptor): _24.QueryServiceDescriptorAminoMsg; - fromProtoMsg(message: _24.QueryServiceDescriptorProtoMsg): _24.QueryServiceDescriptor; - toProto(message: _24.QueryServiceDescriptor): Uint8Array; - toProtoMsg(message: _24.QueryServiceDescriptor): _24.QueryServiceDescriptorProtoMsg; - }; - QueryMethodDescriptor: { - encode(message: _24.QueryMethodDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _24.QueryMethodDescriptor; - fromJSON(object: any): _24.QueryMethodDescriptor; - toJSON(message: _24.QueryMethodDescriptor): unknown; - fromPartial(object: Partial<_24.QueryMethodDescriptor>): _24.QueryMethodDescriptor; - fromAmino(object: _24.QueryMethodDescriptorAmino): _24.QueryMethodDescriptor; - toAmino(message: _24.QueryMethodDescriptor): _24.QueryMethodDescriptorAmino; - fromAminoMsg(object: _24.QueryMethodDescriptorAminoMsg): _24.QueryMethodDescriptor; - toAminoMsg(message: _24.QueryMethodDescriptor): _24.QueryMethodDescriptorAminoMsg; - fromProtoMsg(message: _24.QueryMethodDescriptorProtoMsg): _24.QueryMethodDescriptor; - toProto(message: _24.QueryMethodDescriptor): Uint8Array; - toProtoMsg(message: _24.QueryMethodDescriptor): _24.QueryMethodDescriptorProtoMsg; - }; - }; - } - namespace snapshots { - const v1beta1: { - Snapshot: { - encode(message: _25.Snapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.Snapshot; - fromJSON(object: any): _25.Snapshot; - toJSON(message: _25.Snapshot): unknown; - fromPartial(object: Partial<_25.Snapshot>): _25.Snapshot; - fromAmino(object: _25.SnapshotAmino): _25.Snapshot; - toAmino(message: _25.Snapshot): _25.SnapshotAmino; - fromAminoMsg(object: _25.SnapshotAminoMsg): _25.Snapshot; - toAminoMsg(message: _25.Snapshot): _25.SnapshotAminoMsg; - fromProtoMsg(message: _25.SnapshotProtoMsg): _25.Snapshot; - toProto(message: _25.Snapshot): Uint8Array; - toProtoMsg(message: _25.Snapshot): _25.SnapshotProtoMsg; - }; - Metadata: { - encode(message: _25.Metadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.Metadata; - fromJSON(object: any): _25.Metadata; - toJSON(message: _25.Metadata): unknown; - fromPartial(object: Partial<_25.Metadata>): _25.Metadata; - fromAmino(object: _25.MetadataAmino): _25.Metadata; - toAmino(message: _25.Metadata): _25.MetadataAmino; - fromAminoMsg(object: _25.MetadataAminoMsg): _25.Metadata; - toAminoMsg(message: _25.Metadata): _25.MetadataAminoMsg; - fromProtoMsg(message: _25.MetadataProtoMsg): _25.Metadata; - toProto(message: _25.Metadata): Uint8Array; - toProtoMsg(message: _25.Metadata): _25.MetadataProtoMsg; - }; - SnapshotItem: { - encode(message: _25.SnapshotItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.SnapshotItem; - fromJSON(object: any): _25.SnapshotItem; - toJSON(message: _25.SnapshotItem): unknown; - fromPartial(object: Partial<_25.SnapshotItem>): _25.SnapshotItem; - fromAmino(object: _25.SnapshotItemAmino): _25.SnapshotItem; - toAmino(message: _25.SnapshotItem): _25.SnapshotItemAmino; - fromAminoMsg(object: _25.SnapshotItemAminoMsg): _25.SnapshotItem; - toAminoMsg(message: _25.SnapshotItem): _25.SnapshotItemAminoMsg; - fromProtoMsg(message: _25.SnapshotItemProtoMsg): _25.SnapshotItem; - toProto(message: _25.SnapshotItem): Uint8Array; - toProtoMsg(message: _25.SnapshotItem): _25.SnapshotItemProtoMsg; - }; - SnapshotStoreItem: { - encode(message: _25.SnapshotStoreItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.SnapshotStoreItem; - fromJSON(object: any): _25.SnapshotStoreItem; - toJSON(message: _25.SnapshotStoreItem): unknown; - fromPartial(object: Partial<_25.SnapshotStoreItem>): _25.SnapshotStoreItem; - fromAmino(object: _25.SnapshotStoreItemAmino): _25.SnapshotStoreItem; - toAmino(message: _25.SnapshotStoreItem): _25.SnapshotStoreItemAmino; - fromAminoMsg(object: _25.SnapshotStoreItemAminoMsg): _25.SnapshotStoreItem; - toAminoMsg(message: _25.SnapshotStoreItem): _25.SnapshotStoreItemAminoMsg; - fromProtoMsg(message: _25.SnapshotStoreItemProtoMsg): _25.SnapshotStoreItem; - toProto(message: _25.SnapshotStoreItem): Uint8Array; - toProtoMsg(message: _25.SnapshotStoreItem): _25.SnapshotStoreItemProtoMsg; - }; - SnapshotIAVLItem: { - encode(message: _25.SnapshotIAVLItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.SnapshotIAVLItem; - fromJSON(object: any): _25.SnapshotIAVLItem; - toJSON(message: _25.SnapshotIAVLItem): unknown; - fromPartial(object: Partial<_25.SnapshotIAVLItem>): _25.SnapshotIAVLItem; - fromAmino(object: _25.SnapshotIAVLItemAmino): _25.SnapshotIAVLItem; - toAmino(message: _25.SnapshotIAVLItem): _25.SnapshotIAVLItemAmino; - fromAminoMsg(object: _25.SnapshotIAVLItemAminoMsg): _25.SnapshotIAVLItem; - toAminoMsg(message: _25.SnapshotIAVLItem): _25.SnapshotIAVLItemAminoMsg; - fromProtoMsg(message: _25.SnapshotIAVLItemProtoMsg): _25.SnapshotIAVLItem; - toProto(message: _25.SnapshotIAVLItem): Uint8Array; - toProtoMsg(message: _25.SnapshotIAVLItem): _25.SnapshotIAVLItemProtoMsg; - }; - SnapshotExtensionMeta: { - encode(message: _25.SnapshotExtensionMeta, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.SnapshotExtensionMeta; - fromJSON(object: any): _25.SnapshotExtensionMeta; - toJSON(message: _25.SnapshotExtensionMeta): unknown; - fromPartial(object: Partial<_25.SnapshotExtensionMeta>): _25.SnapshotExtensionMeta; - fromAmino(object: _25.SnapshotExtensionMetaAmino): _25.SnapshotExtensionMeta; - toAmino(message: _25.SnapshotExtensionMeta): _25.SnapshotExtensionMetaAmino; - fromAminoMsg(object: _25.SnapshotExtensionMetaAminoMsg): _25.SnapshotExtensionMeta; - toAminoMsg(message: _25.SnapshotExtensionMeta): _25.SnapshotExtensionMetaAminoMsg; - fromProtoMsg(message: _25.SnapshotExtensionMetaProtoMsg): _25.SnapshotExtensionMeta; - toProto(message: _25.SnapshotExtensionMeta): Uint8Array; - toProtoMsg(message: _25.SnapshotExtensionMeta): _25.SnapshotExtensionMetaProtoMsg; - }; - SnapshotExtensionPayload: { - encode(message: _25.SnapshotExtensionPayload, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.SnapshotExtensionPayload; - fromJSON(object: any): _25.SnapshotExtensionPayload; - toJSON(message: _25.SnapshotExtensionPayload): unknown; - fromPartial(object: Partial<_25.SnapshotExtensionPayload>): _25.SnapshotExtensionPayload; - fromAmino(object: _25.SnapshotExtensionPayloadAmino): _25.SnapshotExtensionPayload; - toAmino(message: _25.SnapshotExtensionPayload): _25.SnapshotExtensionPayloadAmino; - fromAminoMsg(object: _25.SnapshotExtensionPayloadAminoMsg): _25.SnapshotExtensionPayload; - toAminoMsg(message: _25.SnapshotExtensionPayload): _25.SnapshotExtensionPayloadAminoMsg; - fromProtoMsg(message: _25.SnapshotExtensionPayloadProtoMsg): _25.SnapshotExtensionPayload; - toProto(message: _25.SnapshotExtensionPayload): Uint8Array; - toProtoMsg(message: _25.SnapshotExtensionPayload): _25.SnapshotExtensionPayloadProtoMsg; - }; - SnapshotKVItem: { - encode(message: _25.SnapshotKVItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.SnapshotKVItem; - fromJSON(object: any): _25.SnapshotKVItem; - toJSON(message: _25.SnapshotKVItem): unknown; - fromPartial(object: Partial<_25.SnapshotKVItem>): _25.SnapshotKVItem; - fromAmino(object: _25.SnapshotKVItemAmino): _25.SnapshotKVItem; - toAmino(message: _25.SnapshotKVItem): _25.SnapshotKVItemAmino; - fromAminoMsg(object: _25.SnapshotKVItemAminoMsg): _25.SnapshotKVItem; - toAminoMsg(message: _25.SnapshotKVItem): _25.SnapshotKVItemAminoMsg; - fromProtoMsg(message: _25.SnapshotKVItemProtoMsg): _25.SnapshotKVItem; - toProto(message: _25.SnapshotKVItem): Uint8Array; - toProtoMsg(message: _25.SnapshotKVItem): _25.SnapshotKVItemProtoMsg; - }; - SnapshotSchema: { - encode(message: _25.SnapshotSchema, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _25.SnapshotSchema; - fromJSON(object: any): _25.SnapshotSchema; - toJSON(message: _25.SnapshotSchema): unknown; - fromPartial(object: Partial<_25.SnapshotSchema>): _25.SnapshotSchema; - fromAmino(object: _25.SnapshotSchemaAmino): _25.SnapshotSchema; - toAmino(message: _25.SnapshotSchema): _25.SnapshotSchemaAmino; - fromAminoMsg(object: _25.SnapshotSchemaAminoMsg): _25.SnapshotSchema; - toAminoMsg(message: _25.SnapshotSchema): _25.SnapshotSchemaAminoMsg; - fromProtoMsg(message: _25.SnapshotSchemaProtoMsg): _25.SnapshotSchema; - toProto(message: _25.SnapshotSchema): Uint8Array; - toProtoMsg(message: _25.SnapshotSchema): _25.SnapshotSchemaProtoMsg; - }; - }; - } - namespace store { - const v1beta1: { - StoreKVPair: { - encode(message: _27.StoreKVPair, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _27.StoreKVPair; - fromJSON(object: any): _27.StoreKVPair; - toJSON(message: _27.StoreKVPair): unknown; - fromPartial(object: Partial<_27.StoreKVPair>): _27.StoreKVPair; - fromAmino(object: _27.StoreKVPairAmino): _27.StoreKVPair; - toAmino(message: _27.StoreKVPair): _27.StoreKVPairAmino; - fromAminoMsg(object: _27.StoreKVPairAminoMsg): _27.StoreKVPair; - toAminoMsg(message: _27.StoreKVPair): _27.StoreKVPairAminoMsg; - fromProtoMsg(message: _27.StoreKVPairProtoMsg): _27.StoreKVPair; - toProto(message: _27.StoreKVPair): Uint8Array; - toProtoMsg(message: _27.StoreKVPair): _27.StoreKVPairProtoMsg; - }; - BlockMetadata: { - encode(message: _27.BlockMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _27.BlockMetadata; - fromJSON(object: any): _27.BlockMetadata; - toJSON(message: _27.BlockMetadata): unknown; - fromPartial(object: Partial<_27.BlockMetadata>): _27.BlockMetadata; - fromAmino(object: _27.BlockMetadataAmino): _27.BlockMetadata; - toAmino(message: _27.BlockMetadata): _27.BlockMetadataAmino; - fromAminoMsg(object: _27.BlockMetadataAminoMsg): _27.BlockMetadata; - toAminoMsg(message: _27.BlockMetadata): _27.BlockMetadataAminoMsg; - fromProtoMsg(message: _27.BlockMetadataProtoMsg): _27.BlockMetadata; - toProto(message: _27.BlockMetadata): Uint8Array; - toProtoMsg(message: _27.BlockMetadata): _27.BlockMetadataProtoMsg; - }; - BlockMetadata_DeliverTx: { - encode(message: _27.BlockMetadata_DeliverTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _27.BlockMetadata_DeliverTx; - fromJSON(object: any): _27.BlockMetadata_DeliverTx; - toJSON(message: _27.BlockMetadata_DeliverTx): unknown; - fromPartial(object: Partial<_27.BlockMetadata_DeliverTx>): _27.BlockMetadata_DeliverTx; - fromAmino(object: _27.BlockMetadata_DeliverTxAmino): _27.BlockMetadata_DeliverTx; - toAmino(message: _27.BlockMetadata_DeliverTx): _27.BlockMetadata_DeliverTxAmino; - fromAminoMsg(object: _27.BlockMetadata_DeliverTxAminoMsg): _27.BlockMetadata_DeliverTx; - toAminoMsg(message: _27.BlockMetadata_DeliverTx): _27.BlockMetadata_DeliverTxAminoMsg; - fromProtoMsg(message: _27.BlockMetadata_DeliverTxProtoMsg): _27.BlockMetadata_DeliverTx; - toProto(message: _27.BlockMetadata_DeliverTx): Uint8Array; - toProtoMsg(message: _27.BlockMetadata_DeliverTx): _27.BlockMetadata_DeliverTxProtoMsg; - }; - CommitInfo: { - encode(message: _26.CommitInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _26.CommitInfo; - fromJSON(object: any): _26.CommitInfo; - toJSON(message: _26.CommitInfo): unknown; - fromPartial(object: Partial<_26.CommitInfo>): _26.CommitInfo; - fromAmino(object: _26.CommitInfoAmino): _26.CommitInfo; - toAmino(message: _26.CommitInfo): _26.CommitInfoAmino; - fromAminoMsg(object: _26.CommitInfoAminoMsg): _26.CommitInfo; - toAminoMsg(message: _26.CommitInfo): _26.CommitInfoAminoMsg; - fromProtoMsg(message: _26.CommitInfoProtoMsg): _26.CommitInfo; - toProto(message: _26.CommitInfo): Uint8Array; - toProtoMsg(message: _26.CommitInfo): _26.CommitInfoProtoMsg; - }; - StoreInfo: { - encode(message: _26.StoreInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _26.StoreInfo; - fromJSON(object: any): _26.StoreInfo; - toJSON(message: _26.StoreInfo): unknown; - fromPartial(object: Partial<_26.StoreInfo>): _26.StoreInfo; - fromAmino(object: _26.StoreInfoAmino): _26.StoreInfo; - toAmino(message: _26.StoreInfo): _26.StoreInfoAmino; - fromAminoMsg(object: _26.StoreInfoAminoMsg): _26.StoreInfo; - toAminoMsg(message: _26.StoreInfo): _26.StoreInfoAminoMsg; - fromProtoMsg(message: _26.StoreInfoProtoMsg): _26.StoreInfo; - toProto(message: _26.StoreInfo): Uint8Array; - toProtoMsg(message: _26.StoreInfo): _26.StoreInfoProtoMsg; - }; - CommitID: { - encode(message: _26.CommitID, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _26.CommitID; - fromJSON(object: any): _26.CommitID; - toJSON(message: _26.CommitID): unknown; - fromPartial(object: Partial<_26.CommitID>): _26.CommitID; - fromAmino(object: _26.CommitIDAmino): _26.CommitID; - toAmino(message: _26.CommitID): _26.CommitIDAmino; - fromAminoMsg(object: _26.CommitIDAminoMsg): _26.CommitID; - toAminoMsg(message: _26.CommitID): _26.CommitIDAminoMsg; - fromProtoMsg(message: _26.CommitIDProtoMsg): _26.CommitID; - toProto(message: _26.CommitID): Uint8Array; - toProtoMsg(message: _26.CommitID): _26.CommitIDProtoMsg; - }; - }; - } - namespace tendermint { - const v1beta1: { - ServiceClientImpl: typeof _202.ServiceClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - getNodeInfo(request?: _28.GetNodeInfoRequest | undefined): Promise<_28.GetNodeInfoResponse>; - getSyncing(request?: _28.GetSyncingRequest | undefined): Promise<_28.GetSyncingResponse>; - getLatestBlock(request?: _28.GetLatestBlockRequest | undefined): Promise<_28.GetLatestBlockResponse>; - getBlockByHeight(request: _28.GetBlockByHeightRequest): Promise<_28.GetBlockByHeightResponse>; - getLatestValidatorSet(request?: _28.GetLatestValidatorSetRequest | undefined): Promise<_28.GetLatestValidatorSetResponse>; - getValidatorSetByHeight(request: _28.GetValidatorSetByHeightRequest): Promise<_28.GetValidatorSetByHeightResponse>; - aBCIQuery(request: _28.ABCIQueryRequest): Promise<_28.ABCIQueryResponse>; - }; - LCDQueryClient: typeof _183.LCDQueryClient; - Block: { - encode(message: _29.Block, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _29.Block; - fromJSON(object: any): _29.Block; - toJSON(message: _29.Block): unknown; - fromPartial(object: Partial<_29.Block>): _29.Block; - fromAmino(object: _29.BlockAmino): _29.Block; - toAmino(message: _29.Block): _29.BlockAmino; - fromAminoMsg(object: _29.BlockAminoMsg): _29.Block; - toAminoMsg(message: _29.Block): _29.BlockAminoMsg; - fromProtoMsg(message: _29.BlockProtoMsg): _29.Block; - toProto(message: _29.Block): Uint8Array; - toProtoMsg(message: _29.Block): _29.BlockProtoMsg; - }; - Header: { - encode(message: _29.Header, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _29.Header; - fromJSON(object: any): _29.Header; - toJSON(message: _29.Header): unknown; - fromPartial(object: Partial<_29.Header>): _29.Header; - fromAmino(object: _29.HeaderAmino): _29.Header; - toAmino(message: _29.Header): _29.HeaderAmino; - fromAminoMsg(object: _29.HeaderAminoMsg): _29.Header; - toAminoMsg(message: _29.Header): _29.HeaderAminoMsg; - fromProtoMsg(message: _29.HeaderProtoMsg): _29.Header; - toProto(message: _29.Header): Uint8Array; - toProtoMsg(message: _29.Header): _29.HeaderProtoMsg; - }; - GetValidatorSetByHeightRequest: { - encode(message: _28.GetValidatorSetByHeightRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetValidatorSetByHeightRequest; - fromJSON(object: any): _28.GetValidatorSetByHeightRequest; - toJSON(message: _28.GetValidatorSetByHeightRequest): unknown; - fromPartial(object: Partial<_28.GetValidatorSetByHeightRequest>): _28.GetValidatorSetByHeightRequest; - fromAmino(object: _28.GetValidatorSetByHeightRequestAmino): _28.GetValidatorSetByHeightRequest; - toAmino(message: _28.GetValidatorSetByHeightRequest): _28.GetValidatorSetByHeightRequestAmino; - fromAminoMsg(object: _28.GetValidatorSetByHeightRequestAminoMsg): _28.GetValidatorSetByHeightRequest; - toAminoMsg(message: _28.GetValidatorSetByHeightRequest): _28.GetValidatorSetByHeightRequestAminoMsg; - fromProtoMsg(message: _28.GetValidatorSetByHeightRequestProtoMsg): _28.GetValidatorSetByHeightRequest; - toProto(message: _28.GetValidatorSetByHeightRequest): Uint8Array; - toProtoMsg(message: _28.GetValidatorSetByHeightRequest): _28.GetValidatorSetByHeightRequestProtoMsg; - }; - GetValidatorSetByHeightResponse: { - encode(message: _28.GetValidatorSetByHeightResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetValidatorSetByHeightResponse; - fromJSON(object: any): _28.GetValidatorSetByHeightResponse; - toJSON(message: _28.GetValidatorSetByHeightResponse): unknown; - fromPartial(object: Partial<_28.GetValidatorSetByHeightResponse>): _28.GetValidatorSetByHeightResponse; - fromAmino(object: _28.GetValidatorSetByHeightResponseAmino): _28.GetValidatorSetByHeightResponse; - toAmino(message: _28.GetValidatorSetByHeightResponse): _28.GetValidatorSetByHeightResponseAmino; - fromAminoMsg(object: _28.GetValidatorSetByHeightResponseAminoMsg): _28.GetValidatorSetByHeightResponse; - toAminoMsg(message: _28.GetValidatorSetByHeightResponse): _28.GetValidatorSetByHeightResponseAminoMsg; - fromProtoMsg(message: _28.GetValidatorSetByHeightResponseProtoMsg): _28.GetValidatorSetByHeightResponse; - toProto(message: _28.GetValidatorSetByHeightResponse): Uint8Array; - toProtoMsg(message: _28.GetValidatorSetByHeightResponse): _28.GetValidatorSetByHeightResponseProtoMsg; - }; - GetLatestValidatorSetRequest: { - encode(message: _28.GetLatestValidatorSetRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetLatestValidatorSetRequest; - fromJSON(object: any): _28.GetLatestValidatorSetRequest; - toJSON(message: _28.GetLatestValidatorSetRequest): unknown; - fromPartial(object: Partial<_28.GetLatestValidatorSetRequest>): _28.GetLatestValidatorSetRequest; - fromAmino(object: _28.GetLatestValidatorSetRequestAmino): _28.GetLatestValidatorSetRequest; - toAmino(message: _28.GetLatestValidatorSetRequest): _28.GetLatestValidatorSetRequestAmino; - fromAminoMsg(object: _28.GetLatestValidatorSetRequestAminoMsg): _28.GetLatestValidatorSetRequest; - toAminoMsg(message: _28.GetLatestValidatorSetRequest): _28.GetLatestValidatorSetRequestAminoMsg; - fromProtoMsg(message: _28.GetLatestValidatorSetRequestProtoMsg): _28.GetLatestValidatorSetRequest; - toProto(message: _28.GetLatestValidatorSetRequest): Uint8Array; - toProtoMsg(message: _28.GetLatestValidatorSetRequest): _28.GetLatestValidatorSetRequestProtoMsg; - }; - GetLatestValidatorSetResponse: { - encode(message: _28.GetLatestValidatorSetResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetLatestValidatorSetResponse; - fromJSON(object: any): _28.GetLatestValidatorSetResponse; - toJSON(message: _28.GetLatestValidatorSetResponse): unknown; - fromPartial(object: Partial<_28.GetLatestValidatorSetResponse>): _28.GetLatestValidatorSetResponse; - fromAmino(object: _28.GetLatestValidatorSetResponseAmino): _28.GetLatestValidatorSetResponse; - toAmino(message: _28.GetLatestValidatorSetResponse): _28.GetLatestValidatorSetResponseAmino; - fromAminoMsg(object: _28.GetLatestValidatorSetResponseAminoMsg): _28.GetLatestValidatorSetResponse; - toAminoMsg(message: _28.GetLatestValidatorSetResponse): _28.GetLatestValidatorSetResponseAminoMsg; - fromProtoMsg(message: _28.GetLatestValidatorSetResponseProtoMsg): _28.GetLatestValidatorSetResponse; - toProto(message: _28.GetLatestValidatorSetResponse): Uint8Array; - toProtoMsg(message: _28.GetLatestValidatorSetResponse): _28.GetLatestValidatorSetResponseProtoMsg; - }; - Validator: { - encode(message: _28.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.Validator; - fromJSON(object: any): _28.Validator; - toJSON(message: _28.Validator): unknown; - fromPartial(object: Partial<_28.Validator>): _28.Validator; - fromAmino(object: _28.ValidatorAmino): _28.Validator; - toAmino(message: _28.Validator): _28.ValidatorAmino; - fromAminoMsg(object: _28.ValidatorAminoMsg): _28.Validator; - toAminoMsg(message: _28.Validator): _28.ValidatorAminoMsg; - fromProtoMsg(message: _28.ValidatorProtoMsg): _28.Validator; - toProto(message: _28.Validator): Uint8Array; - toProtoMsg(message: _28.Validator): _28.ValidatorProtoMsg; - }; - GetBlockByHeightRequest: { - encode(message: _28.GetBlockByHeightRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetBlockByHeightRequest; - fromJSON(object: any): _28.GetBlockByHeightRequest; - toJSON(message: _28.GetBlockByHeightRequest): unknown; - fromPartial(object: Partial<_28.GetBlockByHeightRequest>): _28.GetBlockByHeightRequest; - fromAmino(object: _28.GetBlockByHeightRequestAmino): _28.GetBlockByHeightRequest; - toAmino(message: _28.GetBlockByHeightRequest): _28.GetBlockByHeightRequestAmino; - fromAminoMsg(object: _28.GetBlockByHeightRequestAminoMsg): _28.GetBlockByHeightRequest; - toAminoMsg(message: _28.GetBlockByHeightRequest): _28.GetBlockByHeightRequestAminoMsg; - fromProtoMsg(message: _28.GetBlockByHeightRequestProtoMsg): _28.GetBlockByHeightRequest; - toProto(message: _28.GetBlockByHeightRequest): Uint8Array; - toProtoMsg(message: _28.GetBlockByHeightRequest): _28.GetBlockByHeightRequestProtoMsg; - }; - GetBlockByHeightResponse: { - encode(message: _28.GetBlockByHeightResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetBlockByHeightResponse; - fromJSON(object: any): _28.GetBlockByHeightResponse; - toJSON(message: _28.GetBlockByHeightResponse): unknown; - fromPartial(object: Partial<_28.GetBlockByHeightResponse>): _28.GetBlockByHeightResponse; - fromAmino(object: _28.GetBlockByHeightResponseAmino): _28.GetBlockByHeightResponse; - toAmino(message: _28.GetBlockByHeightResponse): _28.GetBlockByHeightResponseAmino; - fromAminoMsg(object: _28.GetBlockByHeightResponseAminoMsg): _28.GetBlockByHeightResponse; - toAminoMsg(message: _28.GetBlockByHeightResponse): _28.GetBlockByHeightResponseAminoMsg; - fromProtoMsg(message: _28.GetBlockByHeightResponseProtoMsg): _28.GetBlockByHeightResponse; - toProto(message: _28.GetBlockByHeightResponse): Uint8Array; - toProtoMsg(message: _28.GetBlockByHeightResponse): _28.GetBlockByHeightResponseProtoMsg; - }; - GetLatestBlockRequest: { - encode(_: _28.GetLatestBlockRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetLatestBlockRequest; - fromJSON(_: any): _28.GetLatestBlockRequest; - toJSON(_: _28.GetLatestBlockRequest): unknown; - fromPartial(_: Partial<_28.GetLatestBlockRequest>): _28.GetLatestBlockRequest; - fromAmino(_: _28.GetLatestBlockRequestAmino): _28.GetLatestBlockRequest; - toAmino(_: _28.GetLatestBlockRequest): _28.GetLatestBlockRequestAmino; - fromAminoMsg(object: _28.GetLatestBlockRequestAminoMsg): _28.GetLatestBlockRequest; - toAminoMsg(message: _28.GetLatestBlockRequest): _28.GetLatestBlockRequestAminoMsg; - fromProtoMsg(message: _28.GetLatestBlockRequestProtoMsg): _28.GetLatestBlockRequest; - toProto(message: _28.GetLatestBlockRequest): Uint8Array; - toProtoMsg(message: _28.GetLatestBlockRequest): _28.GetLatestBlockRequestProtoMsg; - }; - GetLatestBlockResponse: { - encode(message: _28.GetLatestBlockResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetLatestBlockResponse; - fromJSON(object: any): _28.GetLatestBlockResponse; - toJSON(message: _28.GetLatestBlockResponse): unknown; - fromPartial(object: Partial<_28.GetLatestBlockResponse>): _28.GetLatestBlockResponse; - fromAmino(object: _28.GetLatestBlockResponseAmino): _28.GetLatestBlockResponse; - toAmino(message: _28.GetLatestBlockResponse): _28.GetLatestBlockResponseAmino; - fromAminoMsg(object: _28.GetLatestBlockResponseAminoMsg): _28.GetLatestBlockResponse; - toAminoMsg(message: _28.GetLatestBlockResponse): _28.GetLatestBlockResponseAminoMsg; - fromProtoMsg(message: _28.GetLatestBlockResponseProtoMsg): _28.GetLatestBlockResponse; - toProto(message: _28.GetLatestBlockResponse): Uint8Array; - toProtoMsg(message: _28.GetLatestBlockResponse): _28.GetLatestBlockResponseProtoMsg; - }; - GetSyncingRequest: { - encode(_: _28.GetSyncingRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetSyncingRequest; - fromJSON(_: any): _28.GetSyncingRequest; - toJSON(_: _28.GetSyncingRequest): unknown; - fromPartial(_: Partial<_28.GetSyncingRequest>): _28.GetSyncingRequest; - fromAmino(_: _28.GetSyncingRequestAmino): _28.GetSyncingRequest; - toAmino(_: _28.GetSyncingRequest): _28.GetSyncingRequestAmino; - fromAminoMsg(object: _28.GetSyncingRequestAminoMsg): _28.GetSyncingRequest; - toAminoMsg(message: _28.GetSyncingRequest): _28.GetSyncingRequestAminoMsg; - fromProtoMsg(message: _28.GetSyncingRequestProtoMsg): _28.GetSyncingRequest; - toProto(message: _28.GetSyncingRequest): Uint8Array; - toProtoMsg(message: _28.GetSyncingRequest): _28.GetSyncingRequestProtoMsg; - }; - GetSyncingResponse: { - encode(message: _28.GetSyncingResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetSyncingResponse; - fromJSON(object: any): _28.GetSyncingResponse; - toJSON(message: _28.GetSyncingResponse): unknown; - fromPartial(object: Partial<_28.GetSyncingResponse>): _28.GetSyncingResponse; - fromAmino(object: _28.GetSyncingResponseAmino): _28.GetSyncingResponse; - toAmino(message: _28.GetSyncingResponse): _28.GetSyncingResponseAmino; - fromAminoMsg(object: _28.GetSyncingResponseAminoMsg): _28.GetSyncingResponse; - toAminoMsg(message: _28.GetSyncingResponse): _28.GetSyncingResponseAminoMsg; - fromProtoMsg(message: _28.GetSyncingResponseProtoMsg): _28.GetSyncingResponse; - toProto(message: _28.GetSyncingResponse): Uint8Array; - toProtoMsg(message: _28.GetSyncingResponse): _28.GetSyncingResponseProtoMsg; - }; - GetNodeInfoRequest: { - encode(_: _28.GetNodeInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetNodeInfoRequest; - fromJSON(_: any): _28.GetNodeInfoRequest; - toJSON(_: _28.GetNodeInfoRequest): unknown; - fromPartial(_: Partial<_28.GetNodeInfoRequest>): _28.GetNodeInfoRequest; - fromAmino(_: _28.GetNodeInfoRequestAmino): _28.GetNodeInfoRequest; - toAmino(_: _28.GetNodeInfoRequest): _28.GetNodeInfoRequestAmino; - fromAminoMsg(object: _28.GetNodeInfoRequestAminoMsg): _28.GetNodeInfoRequest; - toAminoMsg(message: _28.GetNodeInfoRequest): _28.GetNodeInfoRequestAminoMsg; - fromProtoMsg(message: _28.GetNodeInfoRequestProtoMsg): _28.GetNodeInfoRequest; - toProto(message: _28.GetNodeInfoRequest): Uint8Array; - toProtoMsg(message: _28.GetNodeInfoRequest): _28.GetNodeInfoRequestProtoMsg; - }; - GetNodeInfoResponse: { - encode(message: _28.GetNodeInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.GetNodeInfoResponse; - fromJSON(object: any): _28.GetNodeInfoResponse; - toJSON(message: _28.GetNodeInfoResponse): unknown; - fromPartial(object: Partial<_28.GetNodeInfoResponse>): _28.GetNodeInfoResponse; - fromAmino(object: _28.GetNodeInfoResponseAmino): _28.GetNodeInfoResponse; - toAmino(message: _28.GetNodeInfoResponse): _28.GetNodeInfoResponseAmino; - fromAminoMsg(object: _28.GetNodeInfoResponseAminoMsg): _28.GetNodeInfoResponse; - toAminoMsg(message: _28.GetNodeInfoResponse): _28.GetNodeInfoResponseAminoMsg; - fromProtoMsg(message: _28.GetNodeInfoResponseProtoMsg): _28.GetNodeInfoResponse; - toProto(message: _28.GetNodeInfoResponse): Uint8Array; - toProtoMsg(message: _28.GetNodeInfoResponse): _28.GetNodeInfoResponseProtoMsg; - }; - VersionInfo: { - encode(message: _28.VersionInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.VersionInfo; - fromJSON(object: any): _28.VersionInfo; - toJSON(message: _28.VersionInfo): unknown; - fromPartial(object: Partial<_28.VersionInfo>): _28.VersionInfo; - fromAmino(object: _28.VersionInfoAmino): _28.VersionInfo; - toAmino(message: _28.VersionInfo): _28.VersionInfoAmino; - fromAminoMsg(object: _28.VersionInfoAminoMsg): _28.VersionInfo; - toAminoMsg(message: _28.VersionInfo): _28.VersionInfoAminoMsg; - fromProtoMsg(message: _28.VersionInfoProtoMsg): _28.VersionInfo; - toProto(message: _28.VersionInfo): Uint8Array; - toProtoMsg(message: _28.VersionInfo): _28.VersionInfoProtoMsg; - }; - Module: { - encode(message: _28.Module, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.Module; - fromJSON(object: any): _28.Module; - toJSON(message: _28.Module): unknown; - fromPartial(object: Partial<_28.Module>): _28.Module; - fromAmino(object: _28.ModuleAmino): _28.Module; - toAmino(message: _28.Module): _28.ModuleAmino; - fromAminoMsg(object: _28.ModuleAminoMsg): _28.Module; - toAminoMsg(message: _28.Module): _28.ModuleAminoMsg; - fromProtoMsg(message: _28.ModuleProtoMsg): _28.Module; - toProto(message: _28.Module): Uint8Array; - toProtoMsg(message: _28.Module): _28.ModuleProtoMsg; - }; - ABCIQueryRequest: { - encode(message: _28.ABCIQueryRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.ABCIQueryRequest; - fromJSON(object: any): _28.ABCIQueryRequest; - toJSON(message: _28.ABCIQueryRequest): unknown; - fromPartial(object: Partial<_28.ABCIQueryRequest>): _28.ABCIQueryRequest; - fromAmino(object: _28.ABCIQueryRequestAmino): _28.ABCIQueryRequest; - toAmino(message: _28.ABCIQueryRequest): _28.ABCIQueryRequestAmino; - fromAminoMsg(object: _28.ABCIQueryRequestAminoMsg): _28.ABCIQueryRequest; - toAminoMsg(message: _28.ABCIQueryRequest): _28.ABCIQueryRequestAminoMsg; - fromProtoMsg(message: _28.ABCIQueryRequestProtoMsg): _28.ABCIQueryRequest; - toProto(message: _28.ABCIQueryRequest): Uint8Array; - toProtoMsg(message: _28.ABCIQueryRequest): _28.ABCIQueryRequestProtoMsg; - }; - ABCIQueryResponse: { - encode(message: _28.ABCIQueryResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.ABCIQueryResponse; - fromJSON(object: any): _28.ABCIQueryResponse; - toJSON(message: _28.ABCIQueryResponse): unknown; - fromPartial(object: Partial<_28.ABCIQueryResponse>): _28.ABCIQueryResponse; - fromAmino(object: _28.ABCIQueryResponseAmino): _28.ABCIQueryResponse; - toAmino(message: _28.ABCIQueryResponse): _28.ABCIQueryResponseAmino; - fromAminoMsg(object: _28.ABCIQueryResponseAminoMsg): _28.ABCIQueryResponse; - toAminoMsg(message: _28.ABCIQueryResponse): _28.ABCIQueryResponseAminoMsg; - fromProtoMsg(message: _28.ABCIQueryResponseProtoMsg): _28.ABCIQueryResponse; - toProto(message: _28.ABCIQueryResponse): Uint8Array; - toProtoMsg(message: _28.ABCIQueryResponse): _28.ABCIQueryResponseProtoMsg; - }; - ProofOp: { - encode(message: _28.ProofOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.ProofOp; - fromJSON(object: any): _28.ProofOp; - toJSON(message: _28.ProofOp): unknown; - fromPartial(object: Partial<_28.ProofOp>): _28.ProofOp; - fromAmino(object: _28.ProofOpAmino): _28.ProofOp; - toAmino(message: _28.ProofOp): _28.ProofOpAmino; - fromAminoMsg(object: _28.ProofOpAminoMsg): _28.ProofOp; - toAminoMsg(message: _28.ProofOp): _28.ProofOpAminoMsg; - fromProtoMsg(message: _28.ProofOpProtoMsg): _28.ProofOp; - toProto(message: _28.ProofOp): Uint8Array; - toProtoMsg(message: _28.ProofOp): _28.ProofOpProtoMsg; - }; - ProofOps: { - encode(message: _28.ProofOps, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _28.ProofOps; - fromJSON(object: any): _28.ProofOps; - toJSON(message: _28.ProofOps): unknown; - fromPartial(object: Partial<_28.ProofOps>): _28.ProofOps; - fromAmino(object: _28.ProofOpsAmino): _28.ProofOps; - toAmino(message: _28.ProofOps): _28.ProofOpsAmino; - fromAminoMsg(object: _28.ProofOpsAminoMsg): _28.ProofOps; - toAminoMsg(message: _28.ProofOps): _28.ProofOpsAminoMsg; - fromProtoMsg(message: _28.ProofOpsProtoMsg): _28.ProofOps; - toProto(message: _28.ProofOps): Uint8Array; - toProtoMsg(message: _28.ProofOps): _28.ProofOpsProtoMsg; - }; - }; - } - const v1beta1: { - Coin: { - encode(message: _30.Coin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _30.Coin; - fromJSON(object: any): _30.Coin; - toJSON(message: _30.Coin): unknown; - fromPartial(object: Partial<_30.Coin>): _30.Coin; - fromAmino(object: _30.CoinAmino): _30.Coin; - toAmino(message: _30.Coin): _30.CoinAmino; - fromAminoMsg(object: _30.CoinAminoMsg): _30.Coin; - toAminoMsg(message: _30.Coin): _30.CoinAminoMsg; - fromProtoMsg(message: _30.CoinProtoMsg): _30.Coin; - toProto(message: _30.Coin): Uint8Array; - toProtoMsg(message: _30.Coin): _30.CoinProtoMsg; - }; - DecCoin: { - encode(message: _30.DecCoin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _30.DecCoin; - fromJSON(object: any): _30.DecCoin; - toJSON(message: _30.DecCoin): unknown; - fromPartial(object: Partial<_30.DecCoin>): _30.DecCoin; - fromAmino(object: _30.DecCoinAmino): _30.DecCoin; - toAmino(message: _30.DecCoin): _30.DecCoinAmino; - fromAminoMsg(object: _30.DecCoinAminoMsg): _30.DecCoin; - toAminoMsg(message: _30.DecCoin): _30.DecCoinAminoMsg; - fromProtoMsg(message: _30.DecCoinProtoMsg): _30.DecCoin; - toProto(message: _30.DecCoin): Uint8Array; - toProtoMsg(message: _30.DecCoin): _30.DecCoinProtoMsg; - }; - IntProto: { - encode(message: _30.IntProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _30.IntProto; - fromJSON(object: any): _30.IntProto; - toJSON(message: _30.IntProto): unknown; - fromPartial(object: Partial<_30.IntProto>): _30.IntProto; - fromAmino(object: _30.IntProtoAmino): _30.IntProto; - toAmino(message: _30.IntProto): _30.IntProtoAmino; - fromAminoMsg(object: _30.IntProtoAminoMsg): _30.IntProto; - toAminoMsg(message: _30.IntProto): _30.IntProtoAminoMsg; - fromProtoMsg(message: _30.IntProtoProtoMsg): _30.IntProto; - toProto(message: _30.IntProto): Uint8Array; - toProtoMsg(message: _30.IntProto): _30.IntProtoProtoMsg; - }; - DecProto: { - encode(message: _30.DecProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _30.DecProto; - fromJSON(object: any): _30.DecProto; - toJSON(message: _30.DecProto): unknown; - fromPartial(object: Partial<_30.DecProto>): _30.DecProto; - fromAmino(object: _30.DecProtoAmino): _30.DecProto; - toAmino(message: _30.DecProto): _30.DecProtoAmino; - fromAminoMsg(object: _30.DecProtoAminoMsg): _30.DecProto; - toAminoMsg(message: _30.DecProto): _30.DecProtoAminoMsg; - fromProtoMsg(message: _30.DecProtoProtoMsg): _30.DecProto; - toProto(message: _30.DecProto): Uint8Array; - toProtoMsg(message: _30.DecProto): _30.DecProtoProtoMsg; - }; - }; - } - namespace capability { - const v1beta1: { - GenesisOwners: { - encode(message: _32.GenesisOwners, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _32.GenesisOwners; - fromJSON(object: any): _32.GenesisOwners; - toJSON(message: _32.GenesisOwners): unknown; - fromPartial(object: Partial<_32.GenesisOwners>): _32.GenesisOwners; - fromAmino(object: _32.GenesisOwnersAmino): _32.GenesisOwners; - toAmino(message: _32.GenesisOwners): _32.GenesisOwnersAmino; - fromAminoMsg(object: _32.GenesisOwnersAminoMsg): _32.GenesisOwners; - toAminoMsg(message: _32.GenesisOwners): _32.GenesisOwnersAminoMsg; - fromProtoMsg(message: _32.GenesisOwnersProtoMsg): _32.GenesisOwners; - toProto(message: _32.GenesisOwners): Uint8Array; - toProtoMsg(message: _32.GenesisOwners): _32.GenesisOwnersProtoMsg; - }; - GenesisState: { - encode(message: _32.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _32.GenesisState; - fromJSON(object: any): _32.GenesisState; - toJSON(message: _32.GenesisState): unknown; - fromPartial(object: Partial<_32.GenesisState>): _32.GenesisState; - fromAmino(object: _32.GenesisStateAmino): _32.GenesisState; - toAmino(message: _32.GenesisState): _32.GenesisStateAmino; - fromAminoMsg(object: _32.GenesisStateAminoMsg): _32.GenesisState; - toAminoMsg(message: _32.GenesisState): _32.GenesisStateAminoMsg; - fromProtoMsg(message: _32.GenesisStateProtoMsg): _32.GenesisState; - toProto(message: _32.GenesisState): Uint8Array; - toProtoMsg(message: _32.GenesisState): _32.GenesisStateProtoMsg; - }; - Capability: { - encode(message: _31.Capability, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _31.Capability; - fromJSON(object: any): _31.Capability; - toJSON(message: _31.Capability): unknown; - fromPartial(object: Partial<_31.Capability>): _31.Capability; - fromAmino(object: _31.CapabilityAmino): _31.Capability; - toAmino(message: _31.Capability): _31.CapabilityAmino; - fromAminoMsg(object: _31.CapabilityAminoMsg): _31.Capability; - toAminoMsg(message: _31.Capability): _31.CapabilityAminoMsg; - fromProtoMsg(message: _31.CapabilityProtoMsg): _31.Capability; - toProto(message: _31.Capability): Uint8Array; - toProtoMsg(message: _31.Capability): _31.CapabilityProtoMsg; - }; - Owner: { - encode(message: _31.Owner, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _31.Owner; - fromJSON(object: any): _31.Owner; - toJSON(message: _31.Owner): unknown; - fromPartial(object: Partial<_31.Owner>): _31.Owner; - fromAmino(object: _31.OwnerAmino): _31.Owner; - toAmino(message: _31.Owner): _31.OwnerAmino; - fromAminoMsg(object: _31.OwnerAminoMsg): _31.Owner; - toAminoMsg(message: _31.Owner): _31.OwnerAminoMsg; - fromProtoMsg(message: _31.OwnerProtoMsg): _31.Owner; - toProto(message: _31.Owner): Uint8Array; - toProtoMsg(message: _31.Owner): _31.OwnerProtoMsg; - }; - CapabilityOwners: { - encode(message: _31.CapabilityOwners, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _31.CapabilityOwners; - fromJSON(object: any): _31.CapabilityOwners; - toJSON(message: _31.CapabilityOwners): unknown; - fromPartial(object: Partial<_31.CapabilityOwners>): _31.CapabilityOwners; - fromAmino(object: _31.CapabilityOwnersAmino): _31.CapabilityOwners; - toAmino(message: _31.CapabilityOwners): _31.CapabilityOwnersAmino; - fromAminoMsg(object: _31.CapabilityOwnersAminoMsg): _31.CapabilityOwners; - toAminoMsg(message: _31.CapabilityOwners): _31.CapabilityOwnersAminoMsg; - fromProtoMsg(message: _31.CapabilityOwnersProtoMsg): _31.CapabilityOwners; - toProto(message: _31.CapabilityOwners): Uint8Array; - toProtoMsg(message: _31.CapabilityOwners): _31.CapabilityOwnersProtoMsg; - }; - }; - } - namespace crisis { - const v1beta1: { - MsgClientImpl: typeof _218.MsgClientImpl; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - verifyInvariant(value: _34.MsgVerifyInvariant): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - verifyInvariant(value: _34.MsgVerifyInvariant): { - typeUrl: string; - value: _34.MsgVerifyInvariant; - }; - }; - toJSON: { - verifyInvariant(value: _34.MsgVerifyInvariant): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - verifyInvariant(value: any): { - typeUrl: string; - value: _34.MsgVerifyInvariant; - }; - }; - fromPartial: { - verifyInvariant(value: _34.MsgVerifyInvariant): { - typeUrl: string; - value: _34.MsgVerifyInvariant; - }; - }; - }; - AminoConverter: { - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: string; - toAmino: (message: _34.MsgVerifyInvariant) => _34.MsgVerifyInvariantAmino; - fromAmino: (object: _34.MsgVerifyInvariantAmino) => _34.MsgVerifyInvariant; - }; - }; - MsgVerifyInvariant: { - encode(message: _34.MsgVerifyInvariant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _34.MsgVerifyInvariant; - fromJSON(object: any): _34.MsgVerifyInvariant; - toJSON(message: _34.MsgVerifyInvariant): unknown; - fromPartial(object: Partial<_34.MsgVerifyInvariant>): _34.MsgVerifyInvariant; - fromAmino(object: _34.MsgVerifyInvariantAmino): _34.MsgVerifyInvariant; - toAmino(message: _34.MsgVerifyInvariant): _34.MsgVerifyInvariantAmino; - fromAminoMsg(object: _34.MsgVerifyInvariantAminoMsg): _34.MsgVerifyInvariant; - toAminoMsg(message: _34.MsgVerifyInvariant): _34.MsgVerifyInvariantAminoMsg; - fromProtoMsg(message: _34.MsgVerifyInvariantProtoMsg): _34.MsgVerifyInvariant; - toProto(message: _34.MsgVerifyInvariant): Uint8Array; - toProtoMsg(message: _34.MsgVerifyInvariant): _34.MsgVerifyInvariantProtoMsg; - }; - MsgVerifyInvariantResponse: { - encode(_: _34.MsgVerifyInvariantResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _34.MsgVerifyInvariantResponse; - fromJSON(_: any): _34.MsgVerifyInvariantResponse; - toJSON(_: _34.MsgVerifyInvariantResponse): unknown; - fromPartial(_: Partial<_34.MsgVerifyInvariantResponse>): _34.MsgVerifyInvariantResponse; - fromAmino(_: _34.MsgVerifyInvariantResponseAmino): _34.MsgVerifyInvariantResponse; - toAmino(_: _34.MsgVerifyInvariantResponse): _34.MsgVerifyInvariantResponseAmino; - fromAminoMsg(object: _34.MsgVerifyInvariantResponseAminoMsg): _34.MsgVerifyInvariantResponse; - toAminoMsg(message: _34.MsgVerifyInvariantResponse): _34.MsgVerifyInvariantResponseAminoMsg; - fromProtoMsg(message: _34.MsgVerifyInvariantResponseProtoMsg): _34.MsgVerifyInvariantResponse; - toProto(message: _34.MsgVerifyInvariantResponse): Uint8Array; - toProtoMsg(message: _34.MsgVerifyInvariantResponse): _34.MsgVerifyInvariantResponseProtoMsg; - }; - GenesisState: { - encode(message: _33.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _33.GenesisState; - fromJSON(object: any): _33.GenesisState; - toJSON(message: _33.GenesisState): unknown; - fromPartial(object: Partial<_33.GenesisState>): _33.GenesisState; - fromAmino(object: _33.GenesisStateAmino): _33.GenesisState; - toAmino(message: _33.GenesisState): _33.GenesisStateAmino; - fromAminoMsg(object: _33.GenesisStateAminoMsg): _33.GenesisState; - toAminoMsg(message: _33.GenesisState): _33.GenesisStateAminoMsg; - fromProtoMsg(message: _33.GenesisStateProtoMsg): _33.GenesisState; - toProto(message: _33.GenesisState): Uint8Array; - toProtoMsg(message: _33.GenesisState): _33.GenesisStateProtoMsg; - }; - }; - } - namespace crypto { - const ed25519: { - PubKey: { - encode(message: _35.PubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _35.PubKey; - fromJSON(object: any): _35.PubKey; - toJSON(message: _35.PubKey): unknown; - fromPartial(object: Partial<_35.PubKey>): _35.PubKey; - fromAmino(object: _35.PubKeyAmino): _35.PubKey; - toAmino(message: _35.PubKey): _35.PubKeyAmino; - fromAminoMsg(object: _35.PubKeyAminoMsg): _35.PubKey; - toAminoMsg(message: _35.PubKey): _35.PubKeyAminoMsg; - fromProtoMsg(message: _35.PubKeyProtoMsg): _35.PubKey; - toProto(message: _35.PubKey): Uint8Array; - toProtoMsg(message: _35.PubKey): _35.PubKeyProtoMsg; - }; - PrivKey: { - encode(message: _35.PrivKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _35.PrivKey; - fromJSON(object: any): _35.PrivKey; - toJSON(message: _35.PrivKey): unknown; - fromPartial(object: Partial<_35.PrivKey>): _35.PrivKey; - fromAmino(object: _35.PrivKeyAmino): _35.PrivKey; - toAmino(message: _35.PrivKey): _35.PrivKeyAmino; - fromAminoMsg(object: _35.PrivKeyAminoMsg): _35.PrivKey; - toAminoMsg(message: _35.PrivKey): _35.PrivKeyAminoMsg; - fromProtoMsg(message: _35.PrivKeyProtoMsg): _35.PrivKey; - toProto(message: _35.PrivKey): Uint8Array; - toProtoMsg(message: _35.PrivKey): _35.PrivKeyProtoMsg; - }; - }; - namespace hd { - const v1: { - BIP44Params: { - encode(message: _36.BIP44Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _36.BIP44Params; - fromJSON(object: any): _36.BIP44Params; - toJSON(message: _36.BIP44Params): unknown; - fromPartial(object: Partial<_36.BIP44Params>): _36.BIP44Params; - fromAmino(object: _36.BIP44ParamsAmino): _36.BIP44Params; - toAmino(message: _36.BIP44Params): _36.BIP44ParamsAmino; - fromAminoMsg(object: _36.BIP44ParamsAminoMsg): _36.BIP44Params; - toAminoMsg(message: _36.BIP44Params): _36.BIP44ParamsAminoMsg; - fromProtoMsg(message: _36.BIP44ParamsProtoMsg): _36.BIP44Params; - toProto(message: _36.BIP44Params): Uint8Array; - toProtoMsg(message: _36.BIP44Params): _36.BIP44ParamsProtoMsg; - }; - }; - } - namespace keyring { - const v1: { - Record: { - encode(message: _37.Record, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _37.Record; - fromJSON(object: any): _37.Record; - toJSON(message: _37.Record): unknown; - fromPartial(object: Partial<_37.Record>): _37.Record; - fromAmino(object: _37.RecordAmino): _37.Record; - toAmino(message: _37.Record): _37.RecordAmino; - fromAminoMsg(object: _37.RecordAminoMsg): _37.Record; - toAminoMsg(message: _37.Record): _37.RecordAminoMsg; - fromProtoMsg(message: _37.RecordProtoMsg): _37.Record; - toProto(message: _37.Record): Uint8Array; - toProtoMsg(message: _37.Record): _37.RecordProtoMsg; - }; - Record_Local: { - encode(message: _37.Record_Local, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _37.Record_Local; - fromJSON(object: any): _37.Record_Local; - toJSON(message: _37.Record_Local): unknown; - fromPartial(object: Partial<_37.Record_Local>): _37.Record_Local; - fromAmino(object: _37.Record_LocalAmino): _37.Record_Local; - toAmino(message: _37.Record_Local): _37.Record_LocalAmino; - fromAminoMsg(object: _37.Record_LocalAminoMsg): _37.Record_Local; - toAminoMsg(message: _37.Record_Local): _37.Record_LocalAminoMsg; - fromProtoMsg(message: _37.Record_LocalProtoMsg): _37.Record_Local; - toProto(message: _37.Record_Local): Uint8Array; - toProtoMsg(message: _37.Record_Local): _37.Record_LocalProtoMsg; - }; - Record_Ledger: { - encode(message: _37.Record_Ledger, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _37.Record_Ledger; - fromJSON(object: any): _37.Record_Ledger; - toJSON(message: _37.Record_Ledger): unknown; - fromPartial(object: Partial<_37.Record_Ledger>): _37.Record_Ledger; - fromAmino(object: _37.Record_LedgerAmino): _37.Record_Ledger; - toAmino(message: _37.Record_Ledger): _37.Record_LedgerAmino; - fromAminoMsg(object: _37.Record_LedgerAminoMsg): _37.Record_Ledger; - toAminoMsg(message: _37.Record_Ledger): _37.Record_LedgerAminoMsg; - fromProtoMsg(message: _37.Record_LedgerProtoMsg): _37.Record_Ledger; - toProto(message: _37.Record_Ledger): Uint8Array; - toProtoMsg(message: _37.Record_Ledger): _37.Record_LedgerProtoMsg; - }; - Record_Multi: { - encode(_: _37.Record_Multi, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _37.Record_Multi; - fromJSON(_: any): _37.Record_Multi; - toJSON(_: _37.Record_Multi): unknown; - fromPartial(_: Partial<_37.Record_Multi>): _37.Record_Multi; - fromAmino(_: _37.Record_MultiAmino): _37.Record_Multi; - toAmino(_: _37.Record_Multi): _37.Record_MultiAmino; - fromAminoMsg(object: _37.Record_MultiAminoMsg): _37.Record_Multi; - toAminoMsg(message: _37.Record_Multi): _37.Record_MultiAminoMsg; - fromProtoMsg(message: _37.Record_MultiProtoMsg): _37.Record_Multi; - toProto(message: _37.Record_Multi): Uint8Array; - toProtoMsg(message: _37.Record_Multi): _37.Record_MultiProtoMsg; - }; - Record_Offline: { - encode(_: _37.Record_Offline, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _37.Record_Offline; - fromJSON(_: any): _37.Record_Offline; - toJSON(_: _37.Record_Offline): unknown; - fromPartial(_: Partial<_37.Record_Offline>): _37.Record_Offline; - fromAmino(_: _37.Record_OfflineAmino): _37.Record_Offline; - toAmino(_: _37.Record_Offline): _37.Record_OfflineAmino; - fromAminoMsg(object: _37.Record_OfflineAminoMsg): _37.Record_Offline; - toAminoMsg(message: _37.Record_Offline): _37.Record_OfflineAminoMsg; - fromProtoMsg(message: _37.Record_OfflineProtoMsg): _37.Record_Offline; - toProto(message: _37.Record_Offline): Uint8Array; - toProtoMsg(message: _37.Record_Offline): _37.Record_OfflineProtoMsg; - }; - }; - } - const multisig: { - LegacyAminoPubKey: { - encode(message: _38.LegacyAminoPubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _38.LegacyAminoPubKey; - fromJSON(object: any): _38.LegacyAminoPubKey; - toJSON(message: _38.LegacyAminoPubKey): unknown; - fromPartial(object: Partial<_38.LegacyAminoPubKey>): _38.LegacyAminoPubKey; - fromAmino(object: _38.LegacyAminoPubKeyAmino): _38.LegacyAminoPubKey; - toAmino(message: _38.LegacyAminoPubKey): _38.LegacyAminoPubKeyAmino; - fromAminoMsg(object: _38.LegacyAminoPubKeyAminoMsg): _38.LegacyAminoPubKey; - toAminoMsg(message: _38.LegacyAminoPubKey): _38.LegacyAminoPubKeyAminoMsg; - fromProtoMsg(message: _38.LegacyAminoPubKeyProtoMsg): _38.LegacyAminoPubKey; - toProto(message: _38.LegacyAminoPubKey): Uint8Array; - toProtoMsg(message: _38.LegacyAminoPubKey): _38.LegacyAminoPubKeyProtoMsg; - }; - }; - const secp256k1: { - PubKey: { - encode(message: _39.PubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _39.PubKey; - fromJSON(object: any): _39.PubKey; - toJSON(message: _39.PubKey): unknown; - fromPartial(object: Partial<_39.PubKey>): _39.PubKey; - fromAmino(object: _39.PubKeyAmino): _39.PubKey; - toAmino(message: _39.PubKey): _39.PubKeyAmino; - fromAminoMsg(object: _39.PubKeyAminoMsg): _39.PubKey; - toAminoMsg(message: _39.PubKey): _39.PubKeyAminoMsg; - fromProtoMsg(message: _39.PubKeyProtoMsg): _39.PubKey; - toProto(message: _39.PubKey): Uint8Array; - toProtoMsg(message: _39.PubKey): _39.PubKeyProtoMsg; - }; - PrivKey: { - encode(message: _39.PrivKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _39.PrivKey; - fromJSON(object: any): _39.PrivKey; - toJSON(message: _39.PrivKey): unknown; - fromPartial(object: Partial<_39.PrivKey>): _39.PrivKey; - fromAmino(object: _39.PrivKeyAmino): _39.PrivKey; - toAmino(message: _39.PrivKey): _39.PrivKeyAmino; - fromAminoMsg(object: _39.PrivKeyAminoMsg): _39.PrivKey; - toAminoMsg(message: _39.PrivKey): _39.PrivKeyAminoMsg; - fromProtoMsg(message: _39.PrivKeyProtoMsg): _39.PrivKey; - toProto(message: _39.PrivKey): Uint8Array; - toProtoMsg(message: _39.PrivKey): _39.PrivKeyProtoMsg; - }; - }; - const secp256r1: { - PubKey: { - encode(message: _40.PubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _40.PubKey; - fromJSON(object: any): _40.PubKey; - toJSON(message: _40.PubKey): unknown; - fromPartial(object: Partial<_40.PubKey>): _40.PubKey; - fromAmino(object: _40.PubKeyAmino): _40.PubKey; - toAmino(message: _40.PubKey): _40.PubKeyAmino; - fromAminoMsg(object: _40.PubKeyAminoMsg): _40.PubKey; - toAminoMsg(message: _40.PubKey): _40.PubKeyAminoMsg; - fromProtoMsg(message: _40.PubKeyProtoMsg): _40.PubKey; - toProto(message: _40.PubKey): Uint8Array; - toProtoMsg(message: _40.PubKey): _40.PubKeyProtoMsg; - }; - PrivKey: { - encode(message: _40.PrivKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _40.PrivKey; - fromJSON(object: any): _40.PrivKey; - toJSON(message: _40.PrivKey): unknown; - fromPartial(object: Partial<_40.PrivKey>): _40.PrivKey; - fromAmino(object: _40.PrivKeyAmino): _40.PrivKey; - toAmino(message: _40.PrivKey): _40.PrivKeyAmino; - fromAminoMsg(object: _40.PrivKeyAminoMsg): _40.PrivKey; - toAminoMsg(message: _40.PrivKey): _40.PrivKeyAminoMsg; - fromProtoMsg(message: _40.PrivKeyProtoMsg): _40.PrivKey; - toProto(message: _40.PrivKey): Uint8Array; - toProtoMsg(message: _40.PrivKey): _40.PrivKeyProtoMsg; - }; - }; - } - namespace distribution { - const v1beta1: { - MsgClientImpl: typeof _219.MsgClientImpl; - QueryClientImpl: typeof _203.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request?: _43.QueryParamsRequest | undefined): Promise<_43.QueryParamsResponse>; - validatorOutstandingRewards(request: _43.QueryValidatorOutstandingRewardsRequest): Promise<_43.QueryValidatorOutstandingRewardsResponse>; - validatorCommission(request: _43.QueryValidatorCommissionRequest): Promise<_43.QueryValidatorCommissionResponse>; - validatorSlashes(request: _43.QueryValidatorSlashesRequest): Promise<_43.QueryValidatorSlashesResponse>; - delegationRewards(request: _43.QueryDelegationRewardsRequest): Promise<_43.QueryDelegationRewardsResponse>; - delegationTotalRewards(request: _43.QueryDelegationTotalRewardsRequest): Promise<_43.QueryDelegationTotalRewardsResponse>; - delegatorValidators(request: _43.QueryDelegatorValidatorsRequest): Promise<_43.QueryDelegatorValidatorsResponse>; - delegatorWithdrawAddress(request: _43.QueryDelegatorWithdrawAddressRequest): Promise<_43.QueryDelegatorWithdrawAddressResponse>; - communityPool(request?: _43.QueryCommunityPoolRequest | undefined): Promise<_43.QueryCommunityPoolResponse>; - }; - LCDQueryClient: typeof _184.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - setWithdrawAddress(value: _44.MsgSetWithdrawAddress): { - typeUrl: string; - value: Uint8Array; - }; - withdrawDelegatorReward(value: _44.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: Uint8Array; - }; - withdrawValidatorCommission(value: _44.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: Uint8Array; - }; - fundCommunityPool(value: _44.MsgFundCommunityPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - setWithdrawAddress(value: _44.MsgSetWithdrawAddress): { - typeUrl: string; - value: _44.MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: _44.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: _44.MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: _44.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: _44.MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: _44.MsgFundCommunityPool): { - typeUrl: string; - value: _44.MsgFundCommunityPool; - }; - }; - toJSON: { - setWithdrawAddress(value: _44.MsgSetWithdrawAddress): { - typeUrl: string; - value: unknown; - }; - withdrawDelegatorReward(value: _44.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: unknown; - }; - withdrawValidatorCommission(value: _44.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: unknown; - }; - fundCommunityPool(value: _44.MsgFundCommunityPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - setWithdrawAddress(value: any): { - typeUrl: string; - value: _44.MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: any): { - typeUrl: string; - value: _44.MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: any): { - typeUrl: string; - value: _44.MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: any): { - typeUrl: string; - value: _44.MsgFundCommunityPool; - }; - }; - fromPartial: { - setWithdrawAddress(value: _44.MsgSetWithdrawAddress): { - typeUrl: string; - value: _44.MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: _44.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: _44.MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: _44.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: _44.MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: _44.MsgFundCommunityPool): { - typeUrl: string; - value: _44.MsgFundCommunityPool; - }; - }; - }; - AminoConverter: { - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: string; - toAmino: (message: _44.MsgSetWithdrawAddress) => _44.MsgSetWithdrawAddressAmino; - fromAmino: (object: _44.MsgSetWithdrawAddressAmino) => _44.MsgSetWithdrawAddress; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: string; - toAmino: (message: _44.MsgWithdrawDelegatorReward) => _44.MsgWithdrawDelegatorRewardAmino; - fromAmino: (object: _44.MsgWithdrawDelegatorRewardAmino) => _44.MsgWithdrawDelegatorReward; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: string; - toAmino: (message: _44.MsgWithdrawValidatorCommission) => _44.MsgWithdrawValidatorCommissionAmino; - fromAmino: (object: _44.MsgWithdrawValidatorCommissionAmino) => _44.MsgWithdrawValidatorCommission; - }; - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: string; - toAmino: (message: _44.MsgFundCommunityPool) => _44.MsgFundCommunityPoolAmino; - fromAmino: (object: _44.MsgFundCommunityPoolAmino) => _44.MsgFundCommunityPool; - }; - }; - MsgSetWithdrawAddress: { - encode(message: _44.MsgSetWithdrawAddress, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgSetWithdrawAddress; - fromJSON(object: any): _44.MsgSetWithdrawAddress; - toJSON(message: _44.MsgSetWithdrawAddress): unknown; - fromPartial(object: Partial<_44.MsgSetWithdrawAddress>): _44.MsgSetWithdrawAddress; - fromAmino(object: _44.MsgSetWithdrawAddressAmino): _44.MsgSetWithdrawAddress; - toAmino(message: _44.MsgSetWithdrawAddress): _44.MsgSetWithdrawAddressAmino; - fromAminoMsg(object: _44.MsgSetWithdrawAddressAminoMsg): _44.MsgSetWithdrawAddress; - toAminoMsg(message: _44.MsgSetWithdrawAddress): _44.MsgSetWithdrawAddressAminoMsg; - fromProtoMsg(message: _44.MsgSetWithdrawAddressProtoMsg): _44.MsgSetWithdrawAddress; - toProto(message: _44.MsgSetWithdrawAddress): Uint8Array; - toProtoMsg(message: _44.MsgSetWithdrawAddress): _44.MsgSetWithdrawAddressProtoMsg; - }; - MsgSetWithdrawAddressResponse: { - encode(_: _44.MsgSetWithdrawAddressResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgSetWithdrawAddressResponse; - fromJSON(_: any): _44.MsgSetWithdrawAddressResponse; - toJSON(_: _44.MsgSetWithdrawAddressResponse): unknown; - fromPartial(_: Partial<_44.MsgSetWithdrawAddressResponse>): _44.MsgSetWithdrawAddressResponse; - fromAmino(_: _44.MsgSetWithdrawAddressResponseAmino): _44.MsgSetWithdrawAddressResponse; - toAmino(_: _44.MsgSetWithdrawAddressResponse): _44.MsgSetWithdrawAddressResponseAmino; - fromAminoMsg(object: _44.MsgSetWithdrawAddressResponseAminoMsg): _44.MsgSetWithdrawAddressResponse; - toAminoMsg(message: _44.MsgSetWithdrawAddressResponse): _44.MsgSetWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: _44.MsgSetWithdrawAddressResponseProtoMsg): _44.MsgSetWithdrawAddressResponse; - toProto(message: _44.MsgSetWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: _44.MsgSetWithdrawAddressResponse): _44.MsgSetWithdrawAddressResponseProtoMsg; - }; - MsgWithdrawDelegatorReward: { - encode(message: _44.MsgWithdrawDelegatorReward, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgWithdrawDelegatorReward; - fromJSON(object: any): _44.MsgWithdrawDelegatorReward; - toJSON(message: _44.MsgWithdrawDelegatorReward): unknown; - fromPartial(object: Partial<_44.MsgWithdrawDelegatorReward>): _44.MsgWithdrawDelegatorReward; - fromAmino(object: _44.MsgWithdrawDelegatorRewardAmino): _44.MsgWithdrawDelegatorReward; - toAmino(message: _44.MsgWithdrawDelegatorReward): _44.MsgWithdrawDelegatorRewardAmino; - fromAminoMsg(object: _44.MsgWithdrawDelegatorRewardAminoMsg): _44.MsgWithdrawDelegatorReward; - toAminoMsg(message: _44.MsgWithdrawDelegatorReward): _44.MsgWithdrawDelegatorRewardAminoMsg; - fromProtoMsg(message: _44.MsgWithdrawDelegatorRewardProtoMsg): _44.MsgWithdrawDelegatorReward; - toProto(message: _44.MsgWithdrawDelegatorReward): Uint8Array; - toProtoMsg(message: _44.MsgWithdrawDelegatorReward): _44.MsgWithdrawDelegatorRewardProtoMsg; - }; - MsgWithdrawDelegatorRewardResponse: { - encode(message: _44.MsgWithdrawDelegatorRewardResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgWithdrawDelegatorRewardResponse; - fromJSON(object: any): _44.MsgWithdrawDelegatorRewardResponse; - toJSON(message: _44.MsgWithdrawDelegatorRewardResponse): unknown; - fromPartial(object: Partial<_44.MsgWithdrawDelegatorRewardResponse>): _44.MsgWithdrawDelegatorRewardResponse; - fromAmino(object: _44.MsgWithdrawDelegatorRewardResponseAmino): _44.MsgWithdrawDelegatorRewardResponse; - toAmino(message: _44.MsgWithdrawDelegatorRewardResponse): _44.MsgWithdrawDelegatorRewardResponseAmino; - fromAminoMsg(object: _44.MsgWithdrawDelegatorRewardResponseAminoMsg): _44.MsgWithdrawDelegatorRewardResponse; - toAminoMsg(message: _44.MsgWithdrawDelegatorRewardResponse): _44.MsgWithdrawDelegatorRewardResponseAminoMsg; - fromProtoMsg(message: _44.MsgWithdrawDelegatorRewardResponseProtoMsg): _44.MsgWithdrawDelegatorRewardResponse; - toProto(message: _44.MsgWithdrawDelegatorRewardResponse): Uint8Array; - toProtoMsg(message: _44.MsgWithdrawDelegatorRewardResponse): _44.MsgWithdrawDelegatorRewardResponseProtoMsg; - }; - MsgWithdrawValidatorCommission: { - encode(message: _44.MsgWithdrawValidatorCommission, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgWithdrawValidatorCommission; - fromJSON(object: any): _44.MsgWithdrawValidatorCommission; - toJSON(message: _44.MsgWithdrawValidatorCommission): unknown; - fromPartial(object: Partial<_44.MsgWithdrawValidatorCommission>): _44.MsgWithdrawValidatorCommission; - fromAmino(object: _44.MsgWithdrawValidatorCommissionAmino): _44.MsgWithdrawValidatorCommission; - toAmino(message: _44.MsgWithdrawValidatorCommission): _44.MsgWithdrawValidatorCommissionAmino; - fromAminoMsg(object: _44.MsgWithdrawValidatorCommissionAminoMsg): _44.MsgWithdrawValidatorCommission; - toAminoMsg(message: _44.MsgWithdrawValidatorCommission): _44.MsgWithdrawValidatorCommissionAminoMsg; - fromProtoMsg(message: _44.MsgWithdrawValidatorCommissionProtoMsg): _44.MsgWithdrawValidatorCommission; - toProto(message: _44.MsgWithdrawValidatorCommission): Uint8Array; - toProtoMsg(message: _44.MsgWithdrawValidatorCommission): _44.MsgWithdrawValidatorCommissionProtoMsg; - }; - MsgWithdrawValidatorCommissionResponse: { - encode(message: _44.MsgWithdrawValidatorCommissionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgWithdrawValidatorCommissionResponse; - fromJSON(object: any): _44.MsgWithdrawValidatorCommissionResponse; - toJSON(message: _44.MsgWithdrawValidatorCommissionResponse): unknown; - fromPartial(object: Partial<_44.MsgWithdrawValidatorCommissionResponse>): _44.MsgWithdrawValidatorCommissionResponse; - fromAmino(object: _44.MsgWithdrawValidatorCommissionResponseAmino): _44.MsgWithdrawValidatorCommissionResponse; - toAmino(message: _44.MsgWithdrawValidatorCommissionResponse): _44.MsgWithdrawValidatorCommissionResponseAmino; - fromAminoMsg(object: _44.MsgWithdrawValidatorCommissionResponseAminoMsg): _44.MsgWithdrawValidatorCommissionResponse; - toAminoMsg(message: _44.MsgWithdrawValidatorCommissionResponse): _44.MsgWithdrawValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: _44.MsgWithdrawValidatorCommissionResponseProtoMsg): _44.MsgWithdrawValidatorCommissionResponse; - toProto(message: _44.MsgWithdrawValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: _44.MsgWithdrawValidatorCommissionResponse): _44.MsgWithdrawValidatorCommissionResponseProtoMsg; - }; - MsgFundCommunityPool: { - encode(message: _44.MsgFundCommunityPool, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgFundCommunityPool; - fromJSON(object: any): _44.MsgFundCommunityPool; - toJSON(message: _44.MsgFundCommunityPool): unknown; - fromPartial(object: Partial<_44.MsgFundCommunityPool>): _44.MsgFundCommunityPool; - fromAmino(object: _44.MsgFundCommunityPoolAmino): _44.MsgFundCommunityPool; - toAmino(message: _44.MsgFundCommunityPool): _44.MsgFundCommunityPoolAmino; - fromAminoMsg(object: _44.MsgFundCommunityPoolAminoMsg): _44.MsgFundCommunityPool; - toAminoMsg(message: _44.MsgFundCommunityPool): _44.MsgFundCommunityPoolAminoMsg; - fromProtoMsg(message: _44.MsgFundCommunityPoolProtoMsg): _44.MsgFundCommunityPool; - toProto(message: _44.MsgFundCommunityPool): Uint8Array; - toProtoMsg(message: _44.MsgFundCommunityPool): _44.MsgFundCommunityPoolProtoMsg; - }; - MsgFundCommunityPoolResponse: { - encode(_: _44.MsgFundCommunityPoolResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _44.MsgFundCommunityPoolResponse; - fromJSON(_: any): _44.MsgFundCommunityPoolResponse; - toJSON(_: _44.MsgFundCommunityPoolResponse): unknown; - fromPartial(_: Partial<_44.MsgFundCommunityPoolResponse>): _44.MsgFundCommunityPoolResponse; - fromAmino(_: _44.MsgFundCommunityPoolResponseAmino): _44.MsgFundCommunityPoolResponse; - toAmino(_: _44.MsgFundCommunityPoolResponse): _44.MsgFundCommunityPoolResponseAmino; - fromAminoMsg(object: _44.MsgFundCommunityPoolResponseAminoMsg): _44.MsgFundCommunityPoolResponse; - toAminoMsg(message: _44.MsgFundCommunityPoolResponse): _44.MsgFundCommunityPoolResponseAminoMsg; - fromProtoMsg(message: _44.MsgFundCommunityPoolResponseProtoMsg): _44.MsgFundCommunityPoolResponse; - toProto(message: _44.MsgFundCommunityPoolResponse): Uint8Array; - toProtoMsg(message: _44.MsgFundCommunityPoolResponse): _44.MsgFundCommunityPoolResponseProtoMsg; - }; - QueryParamsRequest: { - encode(_: _43.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryParamsRequest; - fromJSON(_: any): _43.QueryParamsRequest; - toJSON(_: _43.QueryParamsRequest): unknown; - fromPartial(_: Partial<_43.QueryParamsRequest>): _43.QueryParamsRequest; - fromAmino(_: _43.QueryParamsRequestAmino): _43.QueryParamsRequest; - toAmino(_: _43.QueryParamsRequest): _43.QueryParamsRequestAmino; - fromAminoMsg(object: _43.QueryParamsRequestAminoMsg): _43.QueryParamsRequest; - toAminoMsg(message: _43.QueryParamsRequest): _43.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _43.QueryParamsRequestProtoMsg): _43.QueryParamsRequest; - toProto(message: _43.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _43.QueryParamsRequest): _43.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _43.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryParamsResponse; - fromJSON(object: any): _43.QueryParamsResponse; - toJSON(message: _43.QueryParamsResponse): unknown; - fromPartial(object: Partial<_43.QueryParamsResponse>): _43.QueryParamsResponse; - fromAmino(object: _43.QueryParamsResponseAmino): _43.QueryParamsResponse; - toAmino(message: _43.QueryParamsResponse): _43.QueryParamsResponseAmino; - fromAminoMsg(object: _43.QueryParamsResponseAminoMsg): _43.QueryParamsResponse; - toAminoMsg(message: _43.QueryParamsResponse): _43.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _43.QueryParamsResponseProtoMsg): _43.QueryParamsResponse; - toProto(message: _43.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _43.QueryParamsResponse): _43.QueryParamsResponseProtoMsg; - }; - QueryValidatorOutstandingRewardsRequest: { - encode(message: _43.QueryValidatorOutstandingRewardsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryValidatorOutstandingRewardsRequest; - fromJSON(object: any): _43.QueryValidatorOutstandingRewardsRequest; - toJSON(message: _43.QueryValidatorOutstandingRewardsRequest): unknown; - fromPartial(object: Partial<_43.QueryValidatorOutstandingRewardsRequest>): _43.QueryValidatorOutstandingRewardsRequest; - fromAmino(object: _43.QueryValidatorOutstandingRewardsRequestAmino): _43.QueryValidatorOutstandingRewardsRequest; - toAmino(message: _43.QueryValidatorOutstandingRewardsRequest): _43.QueryValidatorOutstandingRewardsRequestAmino; - fromAminoMsg(object: _43.QueryValidatorOutstandingRewardsRequestAminoMsg): _43.QueryValidatorOutstandingRewardsRequest; - toAminoMsg(message: _43.QueryValidatorOutstandingRewardsRequest): _43.QueryValidatorOutstandingRewardsRequestAminoMsg; - fromProtoMsg(message: _43.QueryValidatorOutstandingRewardsRequestProtoMsg): _43.QueryValidatorOutstandingRewardsRequest; - toProto(message: _43.QueryValidatorOutstandingRewardsRequest): Uint8Array; - toProtoMsg(message: _43.QueryValidatorOutstandingRewardsRequest): _43.QueryValidatorOutstandingRewardsRequestProtoMsg; - }; - QueryValidatorOutstandingRewardsResponse: { - encode(message: _43.QueryValidatorOutstandingRewardsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryValidatorOutstandingRewardsResponse; - fromJSON(object: any): _43.QueryValidatorOutstandingRewardsResponse; - toJSON(message: _43.QueryValidatorOutstandingRewardsResponse): unknown; - fromPartial(object: Partial<_43.QueryValidatorOutstandingRewardsResponse>): _43.QueryValidatorOutstandingRewardsResponse; - fromAmino(object: _43.QueryValidatorOutstandingRewardsResponseAmino): _43.QueryValidatorOutstandingRewardsResponse; - toAmino(message: _43.QueryValidatorOutstandingRewardsResponse): _43.QueryValidatorOutstandingRewardsResponseAmino; - fromAminoMsg(object: _43.QueryValidatorOutstandingRewardsResponseAminoMsg): _43.QueryValidatorOutstandingRewardsResponse; - toAminoMsg(message: _43.QueryValidatorOutstandingRewardsResponse): _43.QueryValidatorOutstandingRewardsResponseAminoMsg; - fromProtoMsg(message: _43.QueryValidatorOutstandingRewardsResponseProtoMsg): _43.QueryValidatorOutstandingRewardsResponse; - toProto(message: _43.QueryValidatorOutstandingRewardsResponse): Uint8Array; - toProtoMsg(message: _43.QueryValidatorOutstandingRewardsResponse): _43.QueryValidatorOutstandingRewardsResponseProtoMsg; - }; - QueryValidatorCommissionRequest: { - encode(message: _43.QueryValidatorCommissionRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryValidatorCommissionRequest; - fromJSON(object: any): _43.QueryValidatorCommissionRequest; - toJSON(message: _43.QueryValidatorCommissionRequest): unknown; - fromPartial(object: Partial<_43.QueryValidatorCommissionRequest>): _43.QueryValidatorCommissionRequest; - fromAmino(object: _43.QueryValidatorCommissionRequestAmino): _43.QueryValidatorCommissionRequest; - toAmino(message: _43.QueryValidatorCommissionRequest): _43.QueryValidatorCommissionRequestAmino; - fromAminoMsg(object: _43.QueryValidatorCommissionRequestAminoMsg): _43.QueryValidatorCommissionRequest; - toAminoMsg(message: _43.QueryValidatorCommissionRequest): _43.QueryValidatorCommissionRequestAminoMsg; - fromProtoMsg(message: _43.QueryValidatorCommissionRequestProtoMsg): _43.QueryValidatorCommissionRequest; - toProto(message: _43.QueryValidatorCommissionRequest): Uint8Array; - toProtoMsg(message: _43.QueryValidatorCommissionRequest): _43.QueryValidatorCommissionRequestProtoMsg; - }; - QueryValidatorCommissionResponse: { - encode(message: _43.QueryValidatorCommissionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryValidatorCommissionResponse; - fromJSON(object: any): _43.QueryValidatorCommissionResponse; - toJSON(message: _43.QueryValidatorCommissionResponse): unknown; - fromPartial(object: Partial<_43.QueryValidatorCommissionResponse>): _43.QueryValidatorCommissionResponse; - fromAmino(object: _43.QueryValidatorCommissionResponseAmino): _43.QueryValidatorCommissionResponse; - toAmino(message: _43.QueryValidatorCommissionResponse): _43.QueryValidatorCommissionResponseAmino; - fromAminoMsg(object: _43.QueryValidatorCommissionResponseAminoMsg): _43.QueryValidatorCommissionResponse; - toAminoMsg(message: _43.QueryValidatorCommissionResponse): _43.QueryValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: _43.QueryValidatorCommissionResponseProtoMsg): _43.QueryValidatorCommissionResponse; - toProto(message: _43.QueryValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: _43.QueryValidatorCommissionResponse): _43.QueryValidatorCommissionResponseProtoMsg; - }; - QueryValidatorSlashesRequest: { - encode(message: _43.QueryValidatorSlashesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryValidatorSlashesRequest; - fromJSON(object: any): _43.QueryValidatorSlashesRequest; - toJSON(message: _43.QueryValidatorSlashesRequest): unknown; - fromPartial(object: Partial<_43.QueryValidatorSlashesRequest>): _43.QueryValidatorSlashesRequest; - fromAmino(object: _43.QueryValidatorSlashesRequestAmino): _43.QueryValidatorSlashesRequest; - toAmino(message: _43.QueryValidatorSlashesRequest): _43.QueryValidatorSlashesRequestAmino; - fromAminoMsg(object: _43.QueryValidatorSlashesRequestAminoMsg): _43.QueryValidatorSlashesRequest; - toAminoMsg(message: _43.QueryValidatorSlashesRequest): _43.QueryValidatorSlashesRequestAminoMsg; - fromProtoMsg(message: _43.QueryValidatorSlashesRequestProtoMsg): _43.QueryValidatorSlashesRequest; - toProto(message: _43.QueryValidatorSlashesRequest): Uint8Array; - toProtoMsg(message: _43.QueryValidatorSlashesRequest): _43.QueryValidatorSlashesRequestProtoMsg; - }; - QueryValidatorSlashesResponse: { - encode(message: _43.QueryValidatorSlashesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryValidatorSlashesResponse; - fromJSON(object: any): _43.QueryValidatorSlashesResponse; - toJSON(message: _43.QueryValidatorSlashesResponse): unknown; - fromPartial(object: Partial<_43.QueryValidatorSlashesResponse>): _43.QueryValidatorSlashesResponse; - fromAmino(object: _43.QueryValidatorSlashesResponseAmino): _43.QueryValidatorSlashesResponse; - toAmino(message: _43.QueryValidatorSlashesResponse): _43.QueryValidatorSlashesResponseAmino; - fromAminoMsg(object: _43.QueryValidatorSlashesResponseAminoMsg): _43.QueryValidatorSlashesResponse; - toAminoMsg(message: _43.QueryValidatorSlashesResponse): _43.QueryValidatorSlashesResponseAminoMsg; - fromProtoMsg(message: _43.QueryValidatorSlashesResponseProtoMsg): _43.QueryValidatorSlashesResponse; - toProto(message: _43.QueryValidatorSlashesResponse): Uint8Array; - toProtoMsg(message: _43.QueryValidatorSlashesResponse): _43.QueryValidatorSlashesResponseProtoMsg; - }; - QueryDelegationRewardsRequest: { - encode(message: _43.QueryDelegationRewardsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegationRewardsRequest; - fromJSON(object: any): _43.QueryDelegationRewardsRequest; - toJSON(message: _43.QueryDelegationRewardsRequest): unknown; - fromPartial(object: Partial<_43.QueryDelegationRewardsRequest>): _43.QueryDelegationRewardsRequest; - fromAmino(object: _43.QueryDelegationRewardsRequestAmino): _43.QueryDelegationRewardsRequest; - toAmino(message: _43.QueryDelegationRewardsRequest): _43.QueryDelegationRewardsRequestAmino; - fromAminoMsg(object: _43.QueryDelegationRewardsRequestAminoMsg): _43.QueryDelegationRewardsRequest; - toAminoMsg(message: _43.QueryDelegationRewardsRequest): _43.QueryDelegationRewardsRequestAminoMsg; - fromProtoMsg(message: _43.QueryDelegationRewardsRequestProtoMsg): _43.QueryDelegationRewardsRequest; - toProto(message: _43.QueryDelegationRewardsRequest): Uint8Array; - toProtoMsg(message: _43.QueryDelegationRewardsRequest): _43.QueryDelegationRewardsRequestProtoMsg; - }; - QueryDelegationRewardsResponse: { - encode(message: _43.QueryDelegationRewardsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegationRewardsResponse; - fromJSON(object: any): _43.QueryDelegationRewardsResponse; - toJSON(message: _43.QueryDelegationRewardsResponse): unknown; - fromPartial(object: Partial<_43.QueryDelegationRewardsResponse>): _43.QueryDelegationRewardsResponse; - fromAmino(object: _43.QueryDelegationRewardsResponseAmino): _43.QueryDelegationRewardsResponse; - toAmino(message: _43.QueryDelegationRewardsResponse): _43.QueryDelegationRewardsResponseAmino; - fromAminoMsg(object: _43.QueryDelegationRewardsResponseAminoMsg): _43.QueryDelegationRewardsResponse; - toAminoMsg(message: _43.QueryDelegationRewardsResponse): _43.QueryDelegationRewardsResponseAminoMsg; - fromProtoMsg(message: _43.QueryDelegationRewardsResponseProtoMsg): _43.QueryDelegationRewardsResponse; - toProto(message: _43.QueryDelegationRewardsResponse): Uint8Array; - toProtoMsg(message: _43.QueryDelegationRewardsResponse): _43.QueryDelegationRewardsResponseProtoMsg; - }; - QueryDelegationTotalRewardsRequest: { - encode(message: _43.QueryDelegationTotalRewardsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegationTotalRewardsRequest; - fromJSON(object: any): _43.QueryDelegationTotalRewardsRequest; - toJSON(message: _43.QueryDelegationTotalRewardsRequest): unknown; - fromPartial(object: Partial<_43.QueryDelegationTotalRewardsRequest>): _43.QueryDelegationTotalRewardsRequest; - fromAmino(object: _43.QueryDelegationTotalRewardsRequestAmino): _43.QueryDelegationTotalRewardsRequest; - toAmino(message: _43.QueryDelegationTotalRewardsRequest): _43.QueryDelegationTotalRewardsRequestAmino; - fromAminoMsg(object: _43.QueryDelegationTotalRewardsRequestAminoMsg): _43.QueryDelegationTotalRewardsRequest; - toAminoMsg(message: _43.QueryDelegationTotalRewardsRequest): _43.QueryDelegationTotalRewardsRequestAminoMsg; - fromProtoMsg(message: _43.QueryDelegationTotalRewardsRequestProtoMsg): _43.QueryDelegationTotalRewardsRequest; - toProto(message: _43.QueryDelegationTotalRewardsRequest): Uint8Array; - toProtoMsg(message: _43.QueryDelegationTotalRewardsRequest): _43.QueryDelegationTotalRewardsRequestProtoMsg; - }; - QueryDelegationTotalRewardsResponse: { - encode(message: _43.QueryDelegationTotalRewardsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegationTotalRewardsResponse; - fromJSON(object: any): _43.QueryDelegationTotalRewardsResponse; - toJSON(message: _43.QueryDelegationTotalRewardsResponse): unknown; - fromPartial(object: Partial<_43.QueryDelegationTotalRewardsResponse>): _43.QueryDelegationTotalRewardsResponse; - fromAmino(object: _43.QueryDelegationTotalRewardsResponseAmino): _43.QueryDelegationTotalRewardsResponse; - toAmino(message: _43.QueryDelegationTotalRewardsResponse): _43.QueryDelegationTotalRewardsResponseAmino; - fromAminoMsg(object: _43.QueryDelegationTotalRewardsResponseAminoMsg): _43.QueryDelegationTotalRewardsResponse; - toAminoMsg(message: _43.QueryDelegationTotalRewardsResponse): _43.QueryDelegationTotalRewardsResponseAminoMsg; - fromProtoMsg(message: _43.QueryDelegationTotalRewardsResponseProtoMsg): _43.QueryDelegationTotalRewardsResponse; - toProto(message: _43.QueryDelegationTotalRewardsResponse): Uint8Array; - toProtoMsg(message: _43.QueryDelegationTotalRewardsResponse): _43.QueryDelegationTotalRewardsResponseProtoMsg; - }; - QueryDelegatorValidatorsRequest: { - encode(message: _43.QueryDelegatorValidatorsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegatorValidatorsRequest; - fromJSON(object: any): _43.QueryDelegatorValidatorsRequest; - toJSON(message: _43.QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: Partial<_43.QueryDelegatorValidatorsRequest>): _43.QueryDelegatorValidatorsRequest; - fromAmino(object: _43.QueryDelegatorValidatorsRequestAmino): _43.QueryDelegatorValidatorsRequest; - toAmino(message: _43.QueryDelegatorValidatorsRequest): _43.QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: _43.QueryDelegatorValidatorsRequestAminoMsg): _43.QueryDelegatorValidatorsRequest; - toAminoMsg(message: _43.QueryDelegatorValidatorsRequest): _43.QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: _43.QueryDelegatorValidatorsRequestProtoMsg): _43.QueryDelegatorValidatorsRequest; - toProto(message: _43.QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: _43.QueryDelegatorValidatorsRequest): _43.QueryDelegatorValidatorsRequestProtoMsg; - }; - QueryDelegatorValidatorsResponse: { - encode(message: _43.QueryDelegatorValidatorsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegatorValidatorsResponse; - fromJSON(object: any): _43.QueryDelegatorValidatorsResponse; - toJSON(message: _43.QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: Partial<_43.QueryDelegatorValidatorsResponse>): _43.QueryDelegatorValidatorsResponse; - fromAmino(object: _43.QueryDelegatorValidatorsResponseAmino): _43.QueryDelegatorValidatorsResponse; - toAmino(message: _43.QueryDelegatorValidatorsResponse): _43.QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: _43.QueryDelegatorValidatorsResponseAminoMsg): _43.QueryDelegatorValidatorsResponse; - toAminoMsg(message: _43.QueryDelegatorValidatorsResponse): _43.QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: _43.QueryDelegatorValidatorsResponseProtoMsg): _43.QueryDelegatorValidatorsResponse; - toProto(message: _43.QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: _43.QueryDelegatorValidatorsResponse): _43.QueryDelegatorValidatorsResponseProtoMsg; - }; - QueryDelegatorWithdrawAddressRequest: { - encode(message: _43.QueryDelegatorWithdrawAddressRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegatorWithdrawAddressRequest; - fromJSON(object: any): _43.QueryDelegatorWithdrawAddressRequest; - toJSON(message: _43.QueryDelegatorWithdrawAddressRequest): unknown; - fromPartial(object: Partial<_43.QueryDelegatorWithdrawAddressRequest>): _43.QueryDelegatorWithdrawAddressRequest; - fromAmino(object: _43.QueryDelegatorWithdrawAddressRequestAmino): _43.QueryDelegatorWithdrawAddressRequest; - toAmino(message: _43.QueryDelegatorWithdrawAddressRequest): _43.QueryDelegatorWithdrawAddressRequestAmino; - fromAminoMsg(object: _43.QueryDelegatorWithdrawAddressRequestAminoMsg): _43.QueryDelegatorWithdrawAddressRequest; - toAminoMsg(message: _43.QueryDelegatorWithdrawAddressRequest): _43.QueryDelegatorWithdrawAddressRequestAminoMsg; - fromProtoMsg(message: _43.QueryDelegatorWithdrawAddressRequestProtoMsg): _43.QueryDelegatorWithdrawAddressRequest; - toProto(message: _43.QueryDelegatorWithdrawAddressRequest): Uint8Array; - toProtoMsg(message: _43.QueryDelegatorWithdrawAddressRequest): _43.QueryDelegatorWithdrawAddressRequestProtoMsg; - }; - QueryDelegatorWithdrawAddressResponse: { - encode(message: _43.QueryDelegatorWithdrawAddressResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryDelegatorWithdrawAddressResponse; - fromJSON(object: any): _43.QueryDelegatorWithdrawAddressResponse; - toJSON(message: _43.QueryDelegatorWithdrawAddressResponse): unknown; - fromPartial(object: Partial<_43.QueryDelegatorWithdrawAddressResponse>): _43.QueryDelegatorWithdrawAddressResponse; - fromAmino(object: _43.QueryDelegatorWithdrawAddressResponseAmino): _43.QueryDelegatorWithdrawAddressResponse; - toAmino(message: _43.QueryDelegatorWithdrawAddressResponse): _43.QueryDelegatorWithdrawAddressResponseAmino; - fromAminoMsg(object: _43.QueryDelegatorWithdrawAddressResponseAminoMsg): _43.QueryDelegatorWithdrawAddressResponse; - toAminoMsg(message: _43.QueryDelegatorWithdrawAddressResponse): _43.QueryDelegatorWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: _43.QueryDelegatorWithdrawAddressResponseProtoMsg): _43.QueryDelegatorWithdrawAddressResponse; - toProto(message: _43.QueryDelegatorWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: _43.QueryDelegatorWithdrawAddressResponse): _43.QueryDelegatorWithdrawAddressResponseProtoMsg; - }; - QueryCommunityPoolRequest: { - encode(_: _43.QueryCommunityPoolRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryCommunityPoolRequest; - fromJSON(_: any): _43.QueryCommunityPoolRequest; - toJSON(_: _43.QueryCommunityPoolRequest): unknown; - fromPartial(_: Partial<_43.QueryCommunityPoolRequest>): _43.QueryCommunityPoolRequest; - fromAmino(_: _43.QueryCommunityPoolRequestAmino): _43.QueryCommunityPoolRequest; - toAmino(_: _43.QueryCommunityPoolRequest): _43.QueryCommunityPoolRequestAmino; - fromAminoMsg(object: _43.QueryCommunityPoolRequestAminoMsg): _43.QueryCommunityPoolRequest; - toAminoMsg(message: _43.QueryCommunityPoolRequest): _43.QueryCommunityPoolRequestAminoMsg; - fromProtoMsg(message: _43.QueryCommunityPoolRequestProtoMsg): _43.QueryCommunityPoolRequest; - toProto(message: _43.QueryCommunityPoolRequest): Uint8Array; - toProtoMsg(message: _43.QueryCommunityPoolRequest): _43.QueryCommunityPoolRequestProtoMsg; - }; - QueryCommunityPoolResponse: { - encode(message: _43.QueryCommunityPoolResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _43.QueryCommunityPoolResponse; - fromJSON(object: any): _43.QueryCommunityPoolResponse; - toJSON(message: _43.QueryCommunityPoolResponse): unknown; - fromPartial(object: Partial<_43.QueryCommunityPoolResponse>): _43.QueryCommunityPoolResponse; - fromAmino(object: _43.QueryCommunityPoolResponseAmino): _43.QueryCommunityPoolResponse; - toAmino(message: _43.QueryCommunityPoolResponse): _43.QueryCommunityPoolResponseAmino; - fromAminoMsg(object: _43.QueryCommunityPoolResponseAminoMsg): _43.QueryCommunityPoolResponse; - toAminoMsg(message: _43.QueryCommunityPoolResponse): _43.QueryCommunityPoolResponseAminoMsg; - fromProtoMsg(message: _43.QueryCommunityPoolResponseProtoMsg): _43.QueryCommunityPoolResponse; - toProto(message: _43.QueryCommunityPoolResponse): Uint8Array; - toProtoMsg(message: _43.QueryCommunityPoolResponse): _43.QueryCommunityPoolResponseProtoMsg; - }; - DelegatorWithdrawInfo: { - encode(message: _42.DelegatorWithdrawInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.DelegatorWithdrawInfo; - fromJSON(object: any): _42.DelegatorWithdrawInfo; - toJSON(message: _42.DelegatorWithdrawInfo): unknown; - fromPartial(object: Partial<_42.DelegatorWithdrawInfo>): _42.DelegatorWithdrawInfo; - fromAmino(object: _42.DelegatorWithdrawInfoAmino): _42.DelegatorWithdrawInfo; - toAmino(message: _42.DelegatorWithdrawInfo): _42.DelegatorWithdrawInfoAmino; - fromAminoMsg(object: _42.DelegatorWithdrawInfoAminoMsg): _42.DelegatorWithdrawInfo; - toAminoMsg(message: _42.DelegatorWithdrawInfo): _42.DelegatorWithdrawInfoAminoMsg; - fromProtoMsg(message: _42.DelegatorWithdrawInfoProtoMsg): _42.DelegatorWithdrawInfo; - toProto(message: _42.DelegatorWithdrawInfo): Uint8Array; - toProtoMsg(message: _42.DelegatorWithdrawInfo): _42.DelegatorWithdrawInfoProtoMsg; - }; - ValidatorOutstandingRewardsRecord: { - encode(message: _42.ValidatorOutstandingRewardsRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.ValidatorOutstandingRewardsRecord; - fromJSON(object: any): _42.ValidatorOutstandingRewardsRecord; - toJSON(message: _42.ValidatorOutstandingRewardsRecord): unknown; - fromPartial(object: Partial<_42.ValidatorOutstandingRewardsRecord>): _42.ValidatorOutstandingRewardsRecord; - fromAmino(object: _42.ValidatorOutstandingRewardsRecordAmino): _42.ValidatorOutstandingRewardsRecord; - toAmino(message: _42.ValidatorOutstandingRewardsRecord): _42.ValidatorOutstandingRewardsRecordAmino; - fromAminoMsg(object: _42.ValidatorOutstandingRewardsRecordAminoMsg): _42.ValidatorOutstandingRewardsRecord; - toAminoMsg(message: _42.ValidatorOutstandingRewardsRecord): _42.ValidatorOutstandingRewardsRecordAminoMsg; - fromProtoMsg(message: _42.ValidatorOutstandingRewardsRecordProtoMsg): _42.ValidatorOutstandingRewardsRecord; - toProto(message: _42.ValidatorOutstandingRewardsRecord): Uint8Array; - toProtoMsg(message: _42.ValidatorOutstandingRewardsRecord): _42.ValidatorOutstandingRewardsRecordProtoMsg; - }; - ValidatorAccumulatedCommissionRecord: { - encode(message: _42.ValidatorAccumulatedCommissionRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.ValidatorAccumulatedCommissionRecord; - fromJSON(object: any): _42.ValidatorAccumulatedCommissionRecord; - toJSON(message: _42.ValidatorAccumulatedCommissionRecord): unknown; - fromPartial(object: Partial<_42.ValidatorAccumulatedCommissionRecord>): _42.ValidatorAccumulatedCommissionRecord; - fromAmino(object: _42.ValidatorAccumulatedCommissionRecordAmino): _42.ValidatorAccumulatedCommissionRecord; - toAmino(message: _42.ValidatorAccumulatedCommissionRecord): _42.ValidatorAccumulatedCommissionRecordAmino; - fromAminoMsg(object: _42.ValidatorAccumulatedCommissionRecordAminoMsg): _42.ValidatorAccumulatedCommissionRecord; - toAminoMsg(message: _42.ValidatorAccumulatedCommissionRecord): _42.ValidatorAccumulatedCommissionRecordAminoMsg; - fromProtoMsg(message: _42.ValidatorAccumulatedCommissionRecordProtoMsg): _42.ValidatorAccumulatedCommissionRecord; - toProto(message: _42.ValidatorAccumulatedCommissionRecord): Uint8Array; - toProtoMsg(message: _42.ValidatorAccumulatedCommissionRecord): _42.ValidatorAccumulatedCommissionRecordProtoMsg; - }; - ValidatorHistoricalRewardsRecord: { - encode(message: _42.ValidatorHistoricalRewardsRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.ValidatorHistoricalRewardsRecord; - fromJSON(object: any): _42.ValidatorHistoricalRewardsRecord; - toJSON(message: _42.ValidatorHistoricalRewardsRecord): unknown; - fromPartial(object: Partial<_42.ValidatorHistoricalRewardsRecord>): _42.ValidatorHistoricalRewardsRecord; - fromAmino(object: _42.ValidatorHistoricalRewardsRecordAmino): _42.ValidatorHistoricalRewardsRecord; - toAmino(message: _42.ValidatorHistoricalRewardsRecord): _42.ValidatorHistoricalRewardsRecordAmino; - fromAminoMsg(object: _42.ValidatorHistoricalRewardsRecordAminoMsg): _42.ValidatorHistoricalRewardsRecord; - toAminoMsg(message: _42.ValidatorHistoricalRewardsRecord): _42.ValidatorHistoricalRewardsRecordAminoMsg; - fromProtoMsg(message: _42.ValidatorHistoricalRewardsRecordProtoMsg): _42.ValidatorHistoricalRewardsRecord; - toProto(message: _42.ValidatorHistoricalRewardsRecord): Uint8Array; - toProtoMsg(message: _42.ValidatorHistoricalRewardsRecord): _42.ValidatorHistoricalRewardsRecordProtoMsg; - }; - ValidatorCurrentRewardsRecord: { - encode(message: _42.ValidatorCurrentRewardsRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.ValidatorCurrentRewardsRecord; - fromJSON(object: any): _42.ValidatorCurrentRewardsRecord; - toJSON(message: _42.ValidatorCurrentRewardsRecord): unknown; - fromPartial(object: Partial<_42.ValidatorCurrentRewardsRecord>): _42.ValidatorCurrentRewardsRecord; - fromAmino(object: _42.ValidatorCurrentRewardsRecordAmino): _42.ValidatorCurrentRewardsRecord; - toAmino(message: _42.ValidatorCurrentRewardsRecord): _42.ValidatorCurrentRewardsRecordAmino; - fromAminoMsg(object: _42.ValidatorCurrentRewardsRecordAminoMsg): _42.ValidatorCurrentRewardsRecord; - toAminoMsg(message: _42.ValidatorCurrentRewardsRecord): _42.ValidatorCurrentRewardsRecordAminoMsg; - fromProtoMsg(message: _42.ValidatorCurrentRewardsRecordProtoMsg): _42.ValidatorCurrentRewardsRecord; - toProto(message: _42.ValidatorCurrentRewardsRecord): Uint8Array; - toProtoMsg(message: _42.ValidatorCurrentRewardsRecord): _42.ValidatorCurrentRewardsRecordProtoMsg; - }; - DelegatorStartingInfoRecord: { - encode(message: _42.DelegatorStartingInfoRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.DelegatorStartingInfoRecord; - fromJSON(object: any): _42.DelegatorStartingInfoRecord; - toJSON(message: _42.DelegatorStartingInfoRecord): unknown; - fromPartial(object: Partial<_42.DelegatorStartingInfoRecord>): _42.DelegatorStartingInfoRecord; - fromAmino(object: _42.DelegatorStartingInfoRecordAmino): _42.DelegatorStartingInfoRecord; - toAmino(message: _42.DelegatorStartingInfoRecord): _42.DelegatorStartingInfoRecordAmino; - fromAminoMsg(object: _42.DelegatorStartingInfoRecordAminoMsg): _42.DelegatorStartingInfoRecord; - toAminoMsg(message: _42.DelegatorStartingInfoRecord): _42.DelegatorStartingInfoRecordAminoMsg; - fromProtoMsg(message: _42.DelegatorStartingInfoRecordProtoMsg): _42.DelegatorStartingInfoRecord; - toProto(message: _42.DelegatorStartingInfoRecord): Uint8Array; - toProtoMsg(message: _42.DelegatorStartingInfoRecord): _42.DelegatorStartingInfoRecordProtoMsg; - }; - ValidatorSlashEventRecord: { - encode(message: _42.ValidatorSlashEventRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.ValidatorSlashEventRecord; - fromJSON(object: any): _42.ValidatorSlashEventRecord; - toJSON(message: _42.ValidatorSlashEventRecord): unknown; - fromPartial(object: Partial<_42.ValidatorSlashEventRecord>): _42.ValidatorSlashEventRecord; - fromAmino(object: _42.ValidatorSlashEventRecordAmino): _42.ValidatorSlashEventRecord; - toAmino(message: _42.ValidatorSlashEventRecord): _42.ValidatorSlashEventRecordAmino; - fromAminoMsg(object: _42.ValidatorSlashEventRecordAminoMsg): _42.ValidatorSlashEventRecord; - toAminoMsg(message: _42.ValidatorSlashEventRecord): _42.ValidatorSlashEventRecordAminoMsg; - fromProtoMsg(message: _42.ValidatorSlashEventRecordProtoMsg): _42.ValidatorSlashEventRecord; - toProto(message: _42.ValidatorSlashEventRecord): Uint8Array; - toProtoMsg(message: _42.ValidatorSlashEventRecord): _42.ValidatorSlashEventRecordProtoMsg; - }; - GenesisState: { - encode(message: _42.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _42.GenesisState; - fromJSON(object: any): _42.GenesisState; - toJSON(message: _42.GenesisState): unknown; - fromPartial(object: Partial<_42.GenesisState>): _42.GenesisState; - fromAmino(object: _42.GenesisStateAmino): _42.GenesisState; - toAmino(message: _42.GenesisState): _42.GenesisStateAmino; - fromAminoMsg(object: _42.GenesisStateAminoMsg): _42.GenesisState; - toAminoMsg(message: _42.GenesisState): _42.GenesisStateAminoMsg; - fromProtoMsg(message: _42.GenesisStateProtoMsg): _42.GenesisState; - toProto(message: _42.GenesisState): Uint8Array; - toProtoMsg(message: _42.GenesisState): _42.GenesisStateProtoMsg; - }; - Params: { - encode(message: _41.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.Params; - fromJSON(object: any): _41.Params; - toJSON(message: _41.Params): unknown; - fromPartial(object: Partial<_41.Params>): _41.Params; - fromAmino(object: _41.ParamsAmino): _41.Params; - toAmino(message: _41.Params): _41.ParamsAmino; - fromAminoMsg(object: _41.ParamsAminoMsg): _41.Params; - toAminoMsg(message: _41.Params): _41.ParamsAminoMsg; - fromProtoMsg(message: _41.ParamsProtoMsg): _41.Params; - toProto(message: _41.Params): Uint8Array; - toProtoMsg(message: _41.Params): _41.ParamsProtoMsg; - }; - ValidatorHistoricalRewards: { - encode(message: _41.ValidatorHistoricalRewards, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.ValidatorHistoricalRewards; - fromJSON(object: any): _41.ValidatorHistoricalRewards; - toJSON(message: _41.ValidatorHistoricalRewards): unknown; - fromPartial(object: Partial<_41.ValidatorHistoricalRewards>): _41.ValidatorHistoricalRewards; - fromAmino(object: _41.ValidatorHistoricalRewardsAmino): _41.ValidatorHistoricalRewards; - toAmino(message: _41.ValidatorHistoricalRewards): _41.ValidatorHistoricalRewardsAmino; - fromAminoMsg(object: _41.ValidatorHistoricalRewardsAminoMsg): _41.ValidatorHistoricalRewards; - toAminoMsg(message: _41.ValidatorHistoricalRewards): _41.ValidatorHistoricalRewardsAminoMsg; - fromProtoMsg(message: _41.ValidatorHistoricalRewardsProtoMsg): _41.ValidatorHistoricalRewards; - toProto(message: _41.ValidatorHistoricalRewards): Uint8Array; - toProtoMsg(message: _41.ValidatorHistoricalRewards): _41.ValidatorHistoricalRewardsProtoMsg; - }; - ValidatorCurrentRewards: { - encode(message: _41.ValidatorCurrentRewards, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.ValidatorCurrentRewards; - fromJSON(object: any): _41.ValidatorCurrentRewards; - toJSON(message: _41.ValidatorCurrentRewards): unknown; - fromPartial(object: Partial<_41.ValidatorCurrentRewards>): _41.ValidatorCurrentRewards; - fromAmino(object: _41.ValidatorCurrentRewardsAmino): _41.ValidatorCurrentRewards; - toAmino(message: _41.ValidatorCurrentRewards): _41.ValidatorCurrentRewardsAmino; - fromAminoMsg(object: _41.ValidatorCurrentRewardsAminoMsg): _41.ValidatorCurrentRewards; - toAminoMsg(message: _41.ValidatorCurrentRewards): _41.ValidatorCurrentRewardsAminoMsg; - fromProtoMsg(message: _41.ValidatorCurrentRewardsProtoMsg): _41.ValidatorCurrentRewards; - toProto(message: _41.ValidatorCurrentRewards): Uint8Array; - toProtoMsg(message: _41.ValidatorCurrentRewards): _41.ValidatorCurrentRewardsProtoMsg; - }; - ValidatorAccumulatedCommission: { - encode(message: _41.ValidatorAccumulatedCommission, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.ValidatorAccumulatedCommission; - fromJSON(object: any): _41.ValidatorAccumulatedCommission; - toJSON(message: _41.ValidatorAccumulatedCommission): unknown; - fromPartial(object: Partial<_41.ValidatorAccumulatedCommission>): _41.ValidatorAccumulatedCommission; - fromAmino(object: _41.ValidatorAccumulatedCommissionAmino): _41.ValidatorAccumulatedCommission; - toAmino(message: _41.ValidatorAccumulatedCommission): _41.ValidatorAccumulatedCommissionAmino; - fromAminoMsg(object: _41.ValidatorAccumulatedCommissionAminoMsg): _41.ValidatorAccumulatedCommission; - toAminoMsg(message: _41.ValidatorAccumulatedCommission): _41.ValidatorAccumulatedCommissionAminoMsg; - fromProtoMsg(message: _41.ValidatorAccumulatedCommissionProtoMsg): _41.ValidatorAccumulatedCommission; - toProto(message: _41.ValidatorAccumulatedCommission): Uint8Array; - toProtoMsg(message: _41.ValidatorAccumulatedCommission): _41.ValidatorAccumulatedCommissionProtoMsg; - }; - ValidatorOutstandingRewards: { - encode(message: _41.ValidatorOutstandingRewards, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.ValidatorOutstandingRewards; - fromJSON(object: any): _41.ValidatorOutstandingRewards; - toJSON(message: _41.ValidatorOutstandingRewards): unknown; - fromPartial(object: Partial<_41.ValidatorOutstandingRewards>): _41.ValidatorOutstandingRewards; - fromAmino(object: _41.ValidatorOutstandingRewardsAmino): _41.ValidatorOutstandingRewards; - toAmino(message: _41.ValidatorOutstandingRewards): _41.ValidatorOutstandingRewardsAmino; - fromAminoMsg(object: _41.ValidatorOutstandingRewardsAminoMsg): _41.ValidatorOutstandingRewards; - toAminoMsg(message: _41.ValidatorOutstandingRewards): _41.ValidatorOutstandingRewardsAminoMsg; - fromProtoMsg(message: _41.ValidatorOutstandingRewardsProtoMsg): _41.ValidatorOutstandingRewards; - toProto(message: _41.ValidatorOutstandingRewards): Uint8Array; - toProtoMsg(message: _41.ValidatorOutstandingRewards): _41.ValidatorOutstandingRewardsProtoMsg; - }; - ValidatorSlashEvent: { - encode(message: _41.ValidatorSlashEvent, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.ValidatorSlashEvent; - fromJSON(object: any): _41.ValidatorSlashEvent; - toJSON(message: _41.ValidatorSlashEvent): unknown; - fromPartial(object: Partial<_41.ValidatorSlashEvent>): _41.ValidatorSlashEvent; - fromAmino(object: _41.ValidatorSlashEventAmino): _41.ValidatorSlashEvent; - toAmino(message: _41.ValidatorSlashEvent): _41.ValidatorSlashEventAmino; - fromAminoMsg(object: _41.ValidatorSlashEventAminoMsg): _41.ValidatorSlashEvent; - toAminoMsg(message: _41.ValidatorSlashEvent): _41.ValidatorSlashEventAminoMsg; - fromProtoMsg(message: _41.ValidatorSlashEventProtoMsg): _41.ValidatorSlashEvent; - toProto(message: _41.ValidatorSlashEvent): Uint8Array; - toProtoMsg(message: _41.ValidatorSlashEvent): _41.ValidatorSlashEventProtoMsg; - }; - ValidatorSlashEvents: { - encode(message: _41.ValidatorSlashEvents, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.ValidatorSlashEvents; - fromJSON(object: any): _41.ValidatorSlashEvents; - toJSON(message: _41.ValidatorSlashEvents): unknown; - fromPartial(object: Partial<_41.ValidatorSlashEvents>): _41.ValidatorSlashEvents; - fromAmino(object: _41.ValidatorSlashEventsAmino): _41.ValidatorSlashEvents; - toAmino(message: _41.ValidatorSlashEvents): _41.ValidatorSlashEventsAmino; - fromAminoMsg(object: _41.ValidatorSlashEventsAminoMsg): _41.ValidatorSlashEvents; - toAminoMsg(message: _41.ValidatorSlashEvents): _41.ValidatorSlashEventsAminoMsg; - fromProtoMsg(message: _41.ValidatorSlashEventsProtoMsg): _41.ValidatorSlashEvents; - toProto(message: _41.ValidatorSlashEvents): Uint8Array; - toProtoMsg(message: _41.ValidatorSlashEvents): _41.ValidatorSlashEventsProtoMsg; - }; - FeePool: { - encode(message: _41.FeePool, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.FeePool; - fromJSON(object: any): _41.FeePool; - toJSON(message: _41.FeePool): unknown; - fromPartial(object: Partial<_41.FeePool>): _41.FeePool; - fromAmino(object: _41.FeePoolAmino): _41.FeePool; - toAmino(message: _41.FeePool): _41.FeePoolAmino; - fromAminoMsg(object: _41.FeePoolAminoMsg): _41.FeePool; - toAminoMsg(message: _41.FeePool): _41.FeePoolAminoMsg; - fromProtoMsg(message: _41.FeePoolProtoMsg): _41.FeePool; - toProto(message: _41.FeePool): Uint8Array; - toProtoMsg(message: _41.FeePool): _41.FeePoolProtoMsg; - }; - CommunityPoolSpendProposal: { - encode(message: _41.CommunityPoolSpendProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.CommunityPoolSpendProposal; - fromJSON(object: any): _41.CommunityPoolSpendProposal; - toJSON(message: _41.CommunityPoolSpendProposal): unknown; - fromPartial(object: Partial<_41.CommunityPoolSpendProposal>): _41.CommunityPoolSpendProposal; - fromAmino(object: _41.CommunityPoolSpendProposalAmino): _41.CommunityPoolSpendProposal; - toAmino(message: _41.CommunityPoolSpendProposal): _41.CommunityPoolSpendProposalAmino; - fromAminoMsg(object: _41.CommunityPoolSpendProposalAminoMsg): _41.CommunityPoolSpendProposal; - toAminoMsg(message: _41.CommunityPoolSpendProposal): _41.CommunityPoolSpendProposalAminoMsg; - fromProtoMsg(message: _41.CommunityPoolSpendProposalProtoMsg): _41.CommunityPoolSpendProposal; - toProto(message: _41.CommunityPoolSpendProposal): Uint8Array; - toProtoMsg(message: _41.CommunityPoolSpendProposal): _41.CommunityPoolSpendProposalProtoMsg; - }; - DelegatorStartingInfo: { - encode(message: _41.DelegatorStartingInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.DelegatorStartingInfo; - fromJSON(object: any): _41.DelegatorStartingInfo; - toJSON(message: _41.DelegatorStartingInfo): unknown; - fromPartial(object: Partial<_41.DelegatorStartingInfo>): _41.DelegatorStartingInfo; - fromAmino(object: _41.DelegatorStartingInfoAmino): _41.DelegatorStartingInfo; - toAmino(message: _41.DelegatorStartingInfo): _41.DelegatorStartingInfoAmino; - fromAminoMsg(object: _41.DelegatorStartingInfoAminoMsg): _41.DelegatorStartingInfo; - toAminoMsg(message: _41.DelegatorStartingInfo): _41.DelegatorStartingInfoAminoMsg; - fromProtoMsg(message: _41.DelegatorStartingInfoProtoMsg): _41.DelegatorStartingInfo; - toProto(message: _41.DelegatorStartingInfo): Uint8Array; - toProtoMsg(message: _41.DelegatorStartingInfo): _41.DelegatorStartingInfoProtoMsg; - }; - DelegationDelegatorReward: { - encode(message: _41.DelegationDelegatorReward, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.DelegationDelegatorReward; - fromJSON(object: any): _41.DelegationDelegatorReward; - toJSON(message: _41.DelegationDelegatorReward): unknown; - fromPartial(object: Partial<_41.DelegationDelegatorReward>): _41.DelegationDelegatorReward; - fromAmino(object: _41.DelegationDelegatorRewardAmino): _41.DelegationDelegatorReward; - toAmino(message: _41.DelegationDelegatorReward): _41.DelegationDelegatorRewardAmino; - fromAminoMsg(object: _41.DelegationDelegatorRewardAminoMsg): _41.DelegationDelegatorReward; - toAminoMsg(message: _41.DelegationDelegatorReward): _41.DelegationDelegatorRewardAminoMsg; - fromProtoMsg(message: _41.DelegationDelegatorRewardProtoMsg): _41.DelegationDelegatorReward; - toProto(message: _41.DelegationDelegatorReward): Uint8Array; - toProtoMsg(message: _41.DelegationDelegatorReward): _41.DelegationDelegatorRewardProtoMsg; - }; - CommunityPoolSpendProposalWithDeposit: { - encode(message: _41.CommunityPoolSpendProposalWithDeposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _41.CommunityPoolSpendProposalWithDeposit; - fromJSON(object: any): _41.CommunityPoolSpendProposalWithDeposit; - toJSON(message: _41.CommunityPoolSpendProposalWithDeposit): unknown; - fromPartial(object: Partial<_41.CommunityPoolSpendProposalWithDeposit>): _41.CommunityPoolSpendProposalWithDeposit; - fromAmino(object: _41.CommunityPoolSpendProposalWithDepositAmino): _41.CommunityPoolSpendProposalWithDeposit; - toAmino(message: _41.CommunityPoolSpendProposalWithDeposit): _41.CommunityPoolSpendProposalWithDepositAmino; - fromAminoMsg(object: _41.CommunityPoolSpendProposalWithDepositAminoMsg): _41.CommunityPoolSpendProposalWithDeposit; - toAminoMsg(message: _41.CommunityPoolSpendProposalWithDeposit): _41.CommunityPoolSpendProposalWithDepositAminoMsg; - fromProtoMsg(message: _41.CommunityPoolSpendProposalWithDepositProtoMsg): _41.CommunityPoolSpendProposalWithDeposit; - toProto(message: _41.CommunityPoolSpendProposalWithDeposit): Uint8Array; - toProtoMsg(message: _41.CommunityPoolSpendProposalWithDeposit): _41.CommunityPoolSpendProposalWithDepositProtoMsg; - }; - }; - } - namespace evidence { - const v1beta1: { - MsgClientImpl: typeof _220.MsgClientImpl; - QueryClientImpl: typeof _204.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - evidence(request: _47.QueryEvidenceRequest): Promise<_47.QueryEvidenceResponse>; - allEvidence(request?: _47.QueryAllEvidenceRequest | undefined): Promise<_47.QueryAllEvidenceResponse>; - }; - LCDQueryClient: typeof _185.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - submitEvidence(value: _48.MsgSubmitEvidence): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitEvidence(value: _48.MsgSubmitEvidence): { - typeUrl: string; - value: _48.MsgSubmitEvidence; - }; - }; - toJSON: { - submitEvidence(value: _48.MsgSubmitEvidence): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitEvidence(value: any): { - typeUrl: string; - value: _48.MsgSubmitEvidence; - }; - }; - fromPartial: { - submitEvidence(value: _48.MsgSubmitEvidence): { - typeUrl: string; - value: _48.MsgSubmitEvidence; - }; - }; - }; - AminoConverter: { - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: string; - toAmino: (message: _48.MsgSubmitEvidence) => _48.MsgSubmitEvidenceAmino; - fromAmino: (object: _48.MsgSubmitEvidenceAmino) => _48.MsgSubmitEvidence; - }; - }; - MsgSubmitEvidence: { - encode(message: _48.MsgSubmitEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _48.MsgSubmitEvidence; - fromJSON(object: any): _48.MsgSubmitEvidence; - toJSON(message: _48.MsgSubmitEvidence): unknown; - fromPartial(object: Partial<_48.MsgSubmitEvidence>): _48.MsgSubmitEvidence; - fromAmino(object: _48.MsgSubmitEvidenceAmino): _48.MsgSubmitEvidence; - toAmino(message: _48.MsgSubmitEvidence): _48.MsgSubmitEvidenceAmino; - fromAminoMsg(object: _48.MsgSubmitEvidenceAminoMsg): _48.MsgSubmitEvidence; - toAminoMsg(message: _48.MsgSubmitEvidence): _48.MsgSubmitEvidenceAminoMsg; - fromProtoMsg(message: _48.MsgSubmitEvidenceProtoMsg): _48.MsgSubmitEvidence; - toProto(message: _48.MsgSubmitEvidence): Uint8Array; - toProtoMsg(message: _48.MsgSubmitEvidence): _48.MsgSubmitEvidenceProtoMsg; - }; - MsgSubmitEvidenceResponse: { - encode(message: _48.MsgSubmitEvidenceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _48.MsgSubmitEvidenceResponse; - fromJSON(object: any): _48.MsgSubmitEvidenceResponse; - toJSON(message: _48.MsgSubmitEvidenceResponse): unknown; - fromPartial(object: Partial<_48.MsgSubmitEvidenceResponse>): _48.MsgSubmitEvidenceResponse; - fromAmino(object: _48.MsgSubmitEvidenceResponseAmino): _48.MsgSubmitEvidenceResponse; - toAmino(message: _48.MsgSubmitEvidenceResponse): _48.MsgSubmitEvidenceResponseAmino; - fromAminoMsg(object: _48.MsgSubmitEvidenceResponseAminoMsg): _48.MsgSubmitEvidenceResponse; - toAminoMsg(message: _48.MsgSubmitEvidenceResponse): _48.MsgSubmitEvidenceResponseAminoMsg; - fromProtoMsg(message: _48.MsgSubmitEvidenceResponseProtoMsg): _48.MsgSubmitEvidenceResponse; - toProto(message: _48.MsgSubmitEvidenceResponse): Uint8Array; - toProtoMsg(message: _48.MsgSubmitEvidenceResponse): _48.MsgSubmitEvidenceResponseProtoMsg; - }; - Evidence_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any; - Evidence_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - Evidence_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - QueryEvidenceRequest: { - encode(message: _47.QueryEvidenceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _47.QueryEvidenceRequest; - fromJSON(object: any): _47.QueryEvidenceRequest; - toJSON(message: _47.QueryEvidenceRequest): unknown; - fromPartial(object: Partial<_47.QueryEvidenceRequest>): _47.QueryEvidenceRequest; - fromAmino(object: _47.QueryEvidenceRequestAmino): _47.QueryEvidenceRequest; - toAmino(message: _47.QueryEvidenceRequest): _47.QueryEvidenceRequestAmino; - fromAminoMsg(object: _47.QueryEvidenceRequestAminoMsg): _47.QueryEvidenceRequest; - toAminoMsg(message: _47.QueryEvidenceRequest): _47.QueryEvidenceRequestAminoMsg; - fromProtoMsg(message: _47.QueryEvidenceRequestProtoMsg): _47.QueryEvidenceRequest; - toProto(message: _47.QueryEvidenceRequest): Uint8Array; - toProtoMsg(message: _47.QueryEvidenceRequest): _47.QueryEvidenceRequestProtoMsg; - }; - QueryEvidenceResponse: { - encode(message: _47.QueryEvidenceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _47.QueryEvidenceResponse; - fromJSON(object: any): _47.QueryEvidenceResponse; - toJSON(message: _47.QueryEvidenceResponse): unknown; - fromPartial(object: Partial<_47.QueryEvidenceResponse>): _47.QueryEvidenceResponse; - fromAmino(object: _47.QueryEvidenceResponseAmino): _47.QueryEvidenceResponse; - toAmino(message: _47.QueryEvidenceResponse): _47.QueryEvidenceResponseAmino; - fromAminoMsg(object: _47.QueryEvidenceResponseAminoMsg): _47.QueryEvidenceResponse; - toAminoMsg(message: _47.QueryEvidenceResponse): _47.QueryEvidenceResponseAminoMsg; - fromProtoMsg(message: _47.QueryEvidenceResponseProtoMsg): _47.QueryEvidenceResponse; - toProto(message: _47.QueryEvidenceResponse): Uint8Array; - toProtoMsg(message: _47.QueryEvidenceResponse): _47.QueryEvidenceResponseProtoMsg; - }; - QueryAllEvidenceRequest: { - encode(message: _47.QueryAllEvidenceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _47.QueryAllEvidenceRequest; - fromJSON(object: any): _47.QueryAllEvidenceRequest; - toJSON(message: _47.QueryAllEvidenceRequest): unknown; - fromPartial(object: Partial<_47.QueryAllEvidenceRequest>): _47.QueryAllEvidenceRequest; - fromAmino(object: _47.QueryAllEvidenceRequestAmino): _47.QueryAllEvidenceRequest; - toAmino(message: _47.QueryAllEvidenceRequest): _47.QueryAllEvidenceRequestAmino; - fromAminoMsg(object: _47.QueryAllEvidenceRequestAminoMsg): _47.QueryAllEvidenceRequest; - toAminoMsg(message: _47.QueryAllEvidenceRequest): _47.QueryAllEvidenceRequestAminoMsg; - fromProtoMsg(message: _47.QueryAllEvidenceRequestProtoMsg): _47.QueryAllEvidenceRequest; - toProto(message: _47.QueryAllEvidenceRequest): Uint8Array; - toProtoMsg(message: _47.QueryAllEvidenceRequest): _47.QueryAllEvidenceRequestProtoMsg; - }; - QueryAllEvidenceResponse: { - encode(message: _47.QueryAllEvidenceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _47.QueryAllEvidenceResponse; - fromJSON(object: any): _47.QueryAllEvidenceResponse; - toJSON(message: _47.QueryAllEvidenceResponse): unknown; - fromPartial(object: Partial<_47.QueryAllEvidenceResponse>): _47.QueryAllEvidenceResponse; - fromAmino(object: _47.QueryAllEvidenceResponseAmino): _47.QueryAllEvidenceResponse; - toAmino(message: _47.QueryAllEvidenceResponse): _47.QueryAllEvidenceResponseAmino; - fromAminoMsg(object: _47.QueryAllEvidenceResponseAminoMsg): _47.QueryAllEvidenceResponse; - toAminoMsg(message: _47.QueryAllEvidenceResponse): _47.QueryAllEvidenceResponseAminoMsg; - fromProtoMsg(message: _47.QueryAllEvidenceResponseProtoMsg): _47.QueryAllEvidenceResponse; - toProto(message: _47.QueryAllEvidenceResponse): Uint8Array; - toProtoMsg(message: _47.QueryAllEvidenceResponse): _47.QueryAllEvidenceResponseProtoMsg; - }; - GenesisState: { - encode(message: _46.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _46.GenesisState; - fromJSON(object: any): _46.GenesisState; - toJSON(message: _46.GenesisState): unknown; - fromPartial(object: Partial<_46.GenesisState>): _46.GenesisState; - fromAmino(object: _46.GenesisStateAmino): _46.GenesisState; - toAmino(message: _46.GenesisState): _46.GenesisStateAmino; - fromAminoMsg(object: _46.GenesisStateAminoMsg): _46.GenesisState; - toAminoMsg(message: _46.GenesisState): _46.GenesisStateAminoMsg; - fromProtoMsg(message: _46.GenesisStateProtoMsg): _46.GenesisState; - toProto(message: _46.GenesisState): Uint8Array; - toProtoMsg(message: _46.GenesisState): _46.GenesisStateProtoMsg; - }; - Equivocation: { - encode(message: _45.Equivocation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _45.Equivocation; - fromJSON(object: any): _45.Equivocation; - toJSON(message: _45.Equivocation): unknown; - fromPartial(object: Partial<_45.Equivocation>): _45.Equivocation; - fromAmino(object: _45.EquivocationAmino): _45.Equivocation; - toAmino(message: _45.Equivocation): _45.EquivocationAmino; - fromAminoMsg(object: _45.EquivocationAminoMsg): _45.Equivocation; - toAminoMsg(message: _45.Equivocation): _45.EquivocationAminoMsg; - fromProtoMsg(message: _45.EquivocationProtoMsg): _45.Equivocation; - toProto(message: _45.Equivocation): Uint8Array; - toProtoMsg(message: _45.Equivocation): _45.EquivocationProtoMsg; - }; - }; - } - namespace feegrant { - const v1beta1: { - MsgClientImpl: typeof _221.MsgClientImpl; - QueryClientImpl: typeof _205.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - allowance(request: _51.QueryAllowanceRequest): Promise<_51.QueryAllowanceResponse>; - allowances(request: _51.QueryAllowancesRequest): Promise<_51.QueryAllowancesResponse>; - allowancesByGranter(request: _51.QueryAllowancesByGranterRequest): Promise<_51.QueryAllowancesByGranterResponse>; - }; - LCDQueryClient: typeof _186.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - grantAllowance(value: _52.MsgGrantAllowance): { - typeUrl: string; - value: Uint8Array; - }; - revokeAllowance(value: _52.MsgRevokeAllowance): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grantAllowance(value: _52.MsgGrantAllowance): { - typeUrl: string; - value: _52.MsgGrantAllowance; - }; - revokeAllowance(value: _52.MsgRevokeAllowance): { - typeUrl: string; - value: _52.MsgRevokeAllowance; - }; - }; - toJSON: { - grantAllowance(value: _52.MsgGrantAllowance): { - typeUrl: string; - value: unknown; - }; - revokeAllowance(value: _52.MsgRevokeAllowance): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grantAllowance(value: any): { - typeUrl: string; - value: _52.MsgGrantAllowance; - }; - revokeAllowance(value: any): { - typeUrl: string; - value: _52.MsgRevokeAllowance; - }; - }; - fromPartial: { - grantAllowance(value: _52.MsgGrantAllowance): { - typeUrl: string; - value: _52.MsgGrantAllowance; - }; - revokeAllowance(value: _52.MsgRevokeAllowance): { - typeUrl: string; - value: _52.MsgRevokeAllowance; - }; - }; - }; - AminoConverter: { - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: string; - toAmino: (message: _52.MsgGrantAllowance) => _52.MsgGrantAllowanceAmino; - fromAmino: (object: _52.MsgGrantAllowanceAmino) => _52.MsgGrantAllowance; - }; - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: string; - toAmino: (message: _52.MsgRevokeAllowance) => _52.MsgRevokeAllowanceAmino; - fromAmino: (object: _52.MsgRevokeAllowanceAmino) => _52.MsgRevokeAllowance; - }; - }; - MsgGrantAllowance: { - encode(message: _52.MsgGrantAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _52.MsgGrantAllowance; - fromJSON(object: any): _52.MsgGrantAllowance; - toJSON(message: _52.MsgGrantAllowance): unknown; - fromPartial(object: Partial<_52.MsgGrantAllowance>): _52.MsgGrantAllowance; - fromAmino(object: _52.MsgGrantAllowanceAmino): _52.MsgGrantAllowance; - toAmino(message: _52.MsgGrantAllowance): _52.MsgGrantAllowanceAmino; - fromAminoMsg(object: _52.MsgGrantAllowanceAminoMsg): _52.MsgGrantAllowance; - toAminoMsg(message: _52.MsgGrantAllowance): _52.MsgGrantAllowanceAminoMsg; - fromProtoMsg(message: _52.MsgGrantAllowanceProtoMsg): _52.MsgGrantAllowance; - toProto(message: _52.MsgGrantAllowance): Uint8Array; - toProtoMsg(message: _52.MsgGrantAllowance): _52.MsgGrantAllowanceProtoMsg; - }; - MsgGrantAllowanceResponse: { - encode(_: _52.MsgGrantAllowanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _52.MsgGrantAllowanceResponse; - fromJSON(_: any): _52.MsgGrantAllowanceResponse; - toJSON(_: _52.MsgGrantAllowanceResponse): unknown; - fromPartial(_: Partial<_52.MsgGrantAllowanceResponse>): _52.MsgGrantAllowanceResponse; - fromAmino(_: _52.MsgGrantAllowanceResponseAmino): _52.MsgGrantAllowanceResponse; - toAmino(_: _52.MsgGrantAllowanceResponse): _52.MsgGrantAllowanceResponseAmino; - fromAminoMsg(object: _52.MsgGrantAllowanceResponseAminoMsg): _52.MsgGrantAllowanceResponse; - toAminoMsg(message: _52.MsgGrantAllowanceResponse): _52.MsgGrantAllowanceResponseAminoMsg; - fromProtoMsg(message: _52.MsgGrantAllowanceResponseProtoMsg): _52.MsgGrantAllowanceResponse; - toProto(message: _52.MsgGrantAllowanceResponse): Uint8Array; - toProtoMsg(message: _52.MsgGrantAllowanceResponse): _52.MsgGrantAllowanceResponseProtoMsg; - }; - MsgRevokeAllowance: { - encode(message: _52.MsgRevokeAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _52.MsgRevokeAllowance; - fromJSON(object: any): _52.MsgRevokeAllowance; - toJSON(message: _52.MsgRevokeAllowance): unknown; - fromPartial(object: Partial<_52.MsgRevokeAllowance>): _52.MsgRevokeAllowance; - fromAmino(object: _52.MsgRevokeAllowanceAmino): _52.MsgRevokeAllowance; - toAmino(message: _52.MsgRevokeAllowance): _52.MsgRevokeAllowanceAmino; - fromAminoMsg(object: _52.MsgRevokeAllowanceAminoMsg): _52.MsgRevokeAllowance; - toAminoMsg(message: _52.MsgRevokeAllowance): _52.MsgRevokeAllowanceAminoMsg; - fromProtoMsg(message: _52.MsgRevokeAllowanceProtoMsg): _52.MsgRevokeAllowance; - toProto(message: _52.MsgRevokeAllowance): Uint8Array; - toProtoMsg(message: _52.MsgRevokeAllowance): _52.MsgRevokeAllowanceProtoMsg; - }; - MsgRevokeAllowanceResponse: { - encode(_: _52.MsgRevokeAllowanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _52.MsgRevokeAllowanceResponse; - fromJSON(_: any): _52.MsgRevokeAllowanceResponse; - toJSON(_: _52.MsgRevokeAllowanceResponse): unknown; - fromPartial(_: Partial<_52.MsgRevokeAllowanceResponse>): _52.MsgRevokeAllowanceResponse; - fromAmino(_: _52.MsgRevokeAllowanceResponseAmino): _52.MsgRevokeAllowanceResponse; - toAmino(_: _52.MsgRevokeAllowanceResponse): _52.MsgRevokeAllowanceResponseAmino; - fromAminoMsg(object: _52.MsgRevokeAllowanceResponseAminoMsg): _52.MsgRevokeAllowanceResponse; - toAminoMsg(message: _52.MsgRevokeAllowanceResponse): _52.MsgRevokeAllowanceResponseAminoMsg; - fromProtoMsg(message: _52.MsgRevokeAllowanceResponseProtoMsg): _52.MsgRevokeAllowanceResponse; - toProto(message: _52.MsgRevokeAllowanceResponse): Uint8Array; - toProtoMsg(message: _52.MsgRevokeAllowanceResponse): _52.MsgRevokeAllowanceResponseProtoMsg; - }; - FeeAllowanceI_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any | _49.BasicAllowance | _49.PeriodicAllowance | _49.AllowedMsgAllowance; - FeeAllowanceI_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - FeeAllowanceI_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - QueryAllowanceRequest: { - encode(message: _51.QueryAllowanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _51.QueryAllowanceRequest; - fromJSON(object: any): _51.QueryAllowanceRequest; - toJSON(message: _51.QueryAllowanceRequest): unknown; - fromPartial(object: Partial<_51.QueryAllowanceRequest>): _51.QueryAllowanceRequest; - fromAmino(object: _51.QueryAllowanceRequestAmino): _51.QueryAllowanceRequest; - toAmino(message: _51.QueryAllowanceRequest): _51.QueryAllowanceRequestAmino; - fromAminoMsg(object: _51.QueryAllowanceRequestAminoMsg): _51.QueryAllowanceRequest; - toAminoMsg(message: _51.QueryAllowanceRequest): _51.QueryAllowanceRequestAminoMsg; - fromProtoMsg(message: _51.QueryAllowanceRequestProtoMsg): _51.QueryAllowanceRequest; - toProto(message: _51.QueryAllowanceRequest): Uint8Array; - toProtoMsg(message: _51.QueryAllowanceRequest): _51.QueryAllowanceRequestProtoMsg; - }; - QueryAllowanceResponse: { - encode(message: _51.QueryAllowanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _51.QueryAllowanceResponse; - fromJSON(object: any): _51.QueryAllowanceResponse; - toJSON(message: _51.QueryAllowanceResponse): unknown; - fromPartial(object: Partial<_51.QueryAllowanceResponse>): _51.QueryAllowanceResponse; - fromAmino(object: _51.QueryAllowanceResponseAmino): _51.QueryAllowanceResponse; - toAmino(message: _51.QueryAllowanceResponse): _51.QueryAllowanceResponseAmino; - fromAminoMsg(object: _51.QueryAllowanceResponseAminoMsg): _51.QueryAllowanceResponse; - toAminoMsg(message: _51.QueryAllowanceResponse): _51.QueryAllowanceResponseAminoMsg; - fromProtoMsg(message: _51.QueryAllowanceResponseProtoMsg): _51.QueryAllowanceResponse; - toProto(message: _51.QueryAllowanceResponse): Uint8Array; - toProtoMsg(message: _51.QueryAllowanceResponse): _51.QueryAllowanceResponseProtoMsg; - }; - QueryAllowancesRequest: { - encode(message: _51.QueryAllowancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _51.QueryAllowancesRequest; - fromJSON(object: any): _51.QueryAllowancesRequest; - toJSON(message: _51.QueryAllowancesRequest): unknown; - fromPartial(object: Partial<_51.QueryAllowancesRequest>): _51.QueryAllowancesRequest; - fromAmino(object: _51.QueryAllowancesRequestAmino): _51.QueryAllowancesRequest; - toAmino(message: _51.QueryAllowancesRequest): _51.QueryAllowancesRequestAmino; - fromAminoMsg(object: _51.QueryAllowancesRequestAminoMsg): _51.QueryAllowancesRequest; - toAminoMsg(message: _51.QueryAllowancesRequest): _51.QueryAllowancesRequestAminoMsg; - fromProtoMsg(message: _51.QueryAllowancesRequestProtoMsg): _51.QueryAllowancesRequest; - toProto(message: _51.QueryAllowancesRequest): Uint8Array; - toProtoMsg(message: _51.QueryAllowancesRequest): _51.QueryAllowancesRequestProtoMsg; - }; - QueryAllowancesResponse: { - encode(message: _51.QueryAllowancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _51.QueryAllowancesResponse; - fromJSON(object: any): _51.QueryAllowancesResponse; - toJSON(message: _51.QueryAllowancesResponse): unknown; - fromPartial(object: Partial<_51.QueryAllowancesResponse>): _51.QueryAllowancesResponse; - fromAmino(object: _51.QueryAllowancesResponseAmino): _51.QueryAllowancesResponse; - toAmino(message: _51.QueryAllowancesResponse): _51.QueryAllowancesResponseAmino; - fromAminoMsg(object: _51.QueryAllowancesResponseAminoMsg): _51.QueryAllowancesResponse; - toAminoMsg(message: _51.QueryAllowancesResponse): _51.QueryAllowancesResponseAminoMsg; - fromProtoMsg(message: _51.QueryAllowancesResponseProtoMsg): _51.QueryAllowancesResponse; - toProto(message: _51.QueryAllowancesResponse): Uint8Array; - toProtoMsg(message: _51.QueryAllowancesResponse): _51.QueryAllowancesResponseProtoMsg; - }; - QueryAllowancesByGranterRequest: { - encode(message: _51.QueryAllowancesByGranterRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _51.QueryAllowancesByGranterRequest; - fromJSON(object: any): _51.QueryAllowancesByGranterRequest; - toJSON(message: _51.QueryAllowancesByGranterRequest): unknown; - fromPartial(object: Partial<_51.QueryAllowancesByGranterRequest>): _51.QueryAllowancesByGranterRequest; - fromAmino(object: _51.QueryAllowancesByGranterRequestAmino): _51.QueryAllowancesByGranterRequest; - toAmino(message: _51.QueryAllowancesByGranterRequest): _51.QueryAllowancesByGranterRequestAmino; - fromAminoMsg(object: _51.QueryAllowancesByGranterRequestAminoMsg): _51.QueryAllowancesByGranterRequest; - toAminoMsg(message: _51.QueryAllowancesByGranterRequest): _51.QueryAllowancesByGranterRequestAminoMsg; - fromProtoMsg(message: _51.QueryAllowancesByGranterRequestProtoMsg): _51.QueryAllowancesByGranterRequest; - toProto(message: _51.QueryAllowancesByGranterRequest): Uint8Array; - toProtoMsg(message: _51.QueryAllowancesByGranterRequest): _51.QueryAllowancesByGranterRequestProtoMsg; - }; - QueryAllowancesByGranterResponse: { - encode(message: _51.QueryAllowancesByGranterResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _51.QueryAllowancesByGranterResponse; - fromJSON(object: any): _51.QueryAllowancesByGranterResponse; - toJSON(message: _51.QueryAllowancesByGranterResponse): unknown; - fromPartial(object: Partial<_51.QueryAllowancesByGranterResponse>): _51.QueryAllowancesByGranterResponse; - fromAmino(object: _51.QueryAllowancesByGranterResponseAmino): _51.QueryAllowancesByGranterResponse; - toAmino(message: _51.QueryAllowancesByGranterResponse): _51.QueryAllowancesByGranterResponseAmino; - fromAminoMsg(object: _51.QueryAllowancesByGranterResponseAminoMsg): _51.QueryAllowancesByGranterResponse; - toAminoMsg(message: _51.QueryAllowancesByGranterResponse): _51.QueryAllowancesByGranterResponseAminoMsg; - fromProtoMsg(message: _51.QueryAllowancesByGranterResponseProtoMsg): _51.QueryAllowancesByGranterResponse; - toProto(message: _51.QueryAllowancesByGranterResponse): Uint8Array; - toProtoMsg(message: _51.QueryAllowancesByGranterResponse): _51.QueryAllowancesByGranterResponseProtoMsg; - }; - GenesisState: { - encode(message: _50.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _50.GenesisState; - fromJSON(object: any): _50.GenesisState; - toJSON(message: _50.GenesisState): unknown; - fromPartial(object: Partial<_50.GenesisState>): _50.GenesisState; - fromAmino(object: _50.GenesisStateAmino): _50.GenesisState; - toAmino(message: _50.GenesisState): _50.GenesisStateAmino; - fromAminoMsg(object: _50.GenesisStateAminoMsg): _50.GenesisState; - toAminoMsg(message: _50.GenesisState): _50.GenesisStateAminoMsg; - fromProtoMsg(message: _50.GenesisStateProtoMsg): _50.GenesisState; - toProto(message: _50.GenesisState): Uint8Array; - toProtoMsg(message: _50.GenesisState): _50.GenesisStateProtoMsg; - }; - BasicAllowance: { - encode(message: _49.BasicAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _49.BasicAllowance; - fromJSON(object: any): _49.BasicAllowance; - toJSON(message: _49.BasicAllowance): unknown; - fromPartial(object: Partial<_49.BasicAllowance>): _49.BasicAllowance; - fromAmino(object: _49.BasicAllowanceAmino): _49.BasicAllowance; - toAmino(message: _49.BasicAllowance): _49.BasicAllowanceAmino; - fromAminoMsg(object: _49.BasicAllowanceAminoMsg): _49.BasicAllowance; - toAminoMsg(message: _49.BasicAllowance): _49.BasicAllowanceAminoMsg; - fromProtoMsg(message: _49.BasicAllowanceProtoMsg): _49.BasicAllowance; - toProto(message: _49.BasicAllowance): Uint8Array; - toProtoMsg(message: _49.BasicAllowance): _49.BasicAllowanceProtoMsg; - }; - PeriodicAllowance: { - encode(message: _49.PeriodicAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _49.PeriodicAllowance; - fromJSON(object: any): _49.PeriodicAllowance; - toJSON(message: _49.PeriodicAllowance): unknown; - fromPartial(object: Partial<_49.PeriodicAllowance>): _49.PeriodicAllowance; - fromAmino(object: _49.PeriodicAllowanceAmino): _49.PeriodicAllowance; - toAmino(message: _49.PeriodicAllowance): _49.PeriodicAllowanceAmino; - fromAminoMsg(object: _49.PeriodicAllowanceAminoMsg): _49.PeriodicAllowance; - toAminoMsg(message: _49.PeriodicAllowance): _49.PeriodicAllowanceAminoMsg; - fromProtoMsg(message: _49.PeriodicAllowanceProtoMsg): _49.PeriodicAllowance; - toProto(message: _49.PeriodicAllowance): Uint8Array; - toProtoMsg(message: _49.PeriodicAllowance): _49.PeriodicAllowanceProtoMsg; - }; - AllowedMsgAllowance: { - encode(message: _49.AllowedMsgAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _49.AllowedMsgAllowance; - fromJSON(object: any): _49.AllowedMsgAllowance; - toJSON(message: _49.AllowedMsgAllowance): unknown; - fromPartial(object: Partial<_49.AllowedMsgAllowance>): _49.AllowedMsgAllowance; - fromAmino(object: _49.AllowedMsgAllowanceAmino): _49.AllowedMsgAllowance; - toAmino(message: _49.AllowedMsgAllowance): _49.AllowedMsgAllowanceAmino; - fromAminoMsg(object: _49.AllowedMsgAllowanceAminoMsg): _49.AllowedMsgAllowance; - toAminoMsg(message: _49.AllowedMsgAllowance): _49.AllowedMsgAllowanceAminoMsg; - fromProtoMsg(message: _49.AllowedMsgAllowanceProtoMsg): _49.AllowedMsgAllowance; - toProto(message: _49.AllowedMsgAllowance): Uint8Array; - toProtoMsg(message: _49.AllowedMsgAllowance): _49.AllowedMsgAllowanceProtoMsg; - }; - Grant: { - encode(message: _49.Grant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _49.Grant; - fromJSON(object: any): _49.Grant; - toJSON(message: _49.Grant): unknown; - fromPartial(object: Partial<_49.Grant>): _49.Grant; - fromAmino(object: _49.GrantAmino): _49.Grant; - toAmino(message: _49.Grant): _49.GrantAmino; - fromAminoMsg(object: _49.GrantAminoMsg): _49.Grant; - toAminoMsg(message: _49.Grant): _49.GrantAminoMsg; - fromProtoMsg(message: _49.GrantProtoMsg): _49.Grant; - toProto(message: _49.Grant): Uint8Array; - toProtoMsg(message: _49.Grant): _49.GrantProtoMsg; - }; - }; - } - namespace genutil { - const v1beta1: { - GenesisState: { - encode(message: _53.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _53.GenesisState; - fromJSON(object: any): _53.GenesisState; - toJSON(message: _53.GenesisState): unknown; - fromPartial(object: Partial<_53.GenesisState>): _53.GenesisState; - fromAmino(object: _53.GenesisStateAmino): _53.GenesisState; - toAmino(message: _53.GenesisState): _53.GenesisStateAmino; - fromAminoMsg(object: _53.GenesisStateAminoMsg): _53.GenesisState; - toAminoMsg(message: _53.GenesisState): _53.GenesisStateAminoMsg; - fromProtoMsg(message: _53.GenesisStateProtoMsg): _53.GenesisState; - toProto(message: _53.GenesisState): Uint8Array; - toProtoMsg(message: _53.GenesisState): _53.GenesisStateProtoMsg; - }; - }; - } - namespace gov { - const v1: { - MsgClientImpl: typeof _222.MsgClientImpl; - QueryClientImpl: typeof _206.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - proposal(request: _56.QueryProposalRequest): Promise<_56.QueryProposalResponse>; - proposals(request: _56.QueryProposalsRequest): Promise<_56.QueryProposalsResponse>; - vote(request: _56.QueryVoteRequest): Promise<_56.QueryVoteResponse>; - votes(request: _56.QueryVotesRequest): Promise<_56.QueryVotesResponse>; - params(request: _56.QueryParamsRequest): Promise<_56.QueryParamsResponse>; - deposit(request: _56.QueryDepositRequest): Promise<_56.QueryDepositResponse>; - deposits(request: _56.QueryDepositsRequest): Promise<_56.QueryDepositsResponse>; - tallyResult(request: _56.QueryTallyResultRequest): Promise<_56.QueryTallyResultResponse>; - }; - LCDQueryClient: typeof _187.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - submitProposal(value: _57.MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - execLegacyContent(value: _57.MsgExecLegacyContent): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: _57.MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: _57.MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: _57.MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: _57.MsgSubmitProposal): { - typeUrl: string; - value: _57.MsgSubmitProposal; - }; - execLegacyContent(value: _57.MsgExecLegacyContent): { - typeUrl: string; - value: _57.MsgExecLegacyContent; - }; - vote(value: _57.MsgVote): { - typeUrl: string; - value: _57.MsgVote; - }; - voteWeighted(value: _57.MsgVoteWeighted): { - typeUrl: string; - value: _57.MsgVoteWeighted; - }; - deposit(value: _57.MsgDeposit): { - typeUrl: string; - value: _57.MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: _57.MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - execLegacyContent(value: _57.MsgExecLegacyContent): { - typeUrl: string; - value: unknown; - }; - vote(value: _57.MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: _57.MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: _57.MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: _57.MsgSubmitProposal; - }; - execLegacyContent(value: any): { - typeUrl: string; - value: _57.MsgExecLegacyContent; - }; - vote(value: any): { - typeUrl: string; - value: _57.MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: _57.MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: _57.MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: _57.MsgSubmitProposal): { - typeUrl: string; - value: _57.MsgSubmitProposal; - }; - execLegacyContent(value: _57.MsgExecLegacyContent): { - typeUrl: string; - value: _57.MsgExecLegacyContent; - }; - vote(value: _57.MsgVote): { - typeUrl: string; - value: _57.MsgVote; - }; - voteWeighted(value: _57.MsgVoteWeighted): { - typeUrl: string; - value: _57.MsgVoteWeighted; - }; - deposit(value: _57.MsgDeposit): { - typeUrl: string; - value: _57.MsgDeposit; - }; - }; - }; - AminoConverter: { - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: _57.MsgSubmitProposal) => _57.MsgSubmitProposalAmino; - fromAmino: (object: _57.MsgSubmitProposalAmino) => _57.MsgSubmitProposal; - }; - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: string; - toAmino: (message: _57.MsgExecLegacyContent) => _57.MsgExecLegacyContentAmino; - fromAmino: (object: _57.MsgExecLegacyContentAmino) => _57.MsgExecLegacyContent; - }; - "/cosmos.gov.v1.MsgVote": { - aminoType: string; - toAmino: (message: _57.MsgVote) => _57.MsgVoteAmino; - fromAmino: (object: _57.MsgVoteAmino) => _57.MsgVote; - }; - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: _57.MsgVoteWeighted) => _57.MsgVoteWeightedAmino; - fromAmino: (object: _57.MsgVoteWeightedAmino) => _57.MsgVoteWeighted; - }; - "/cosmos.gov.v1.MsgDeposit": { - aminoType: string; - toAmino: (message: _57.MsgDeposit) => _57.MsgDepositAmino; - fromAmino: (object: _57.MsgDepositAmino) => _57.MsgDeposit; - }; - }; - MsgSubmitProposal: { - encode(message: _57.MsgSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgSubmitProposal; - fromJSON(object: any): _57.MsgSubmitProposal; - toJSON(message: _57.MsgSubmitProposal): unknown; - fromPartial(object: Partial<_57.MsgSubmitProposal>): _57.MsgSubmitProposal; - fromAmino(object: _57.MsgSubmitProposalAmino): _57.MsgSubmitProposal; - toAmino(message: _57.MsgSubmitProposal): _57.MsgSubmitProposalAmino; - fromAminoMsg(object: _57.MsgSubmitProposalAminoMsg): _57.MsgSubmitProposal; - toAminoMsg(message: _57.MsgSubmitProposal): _57.MsgSubmitProposalAminoMsg; - fromProtoMsg(message: _57.MsgSubmitProposalProtoMsg): _57.MsgSubmitProposal; - toProto(message: _57.MsgSubmitProposal): Uint8Array; - toProtoMsg(message: _57.MsgSubmitProposal): _57.MsgSubmitProposalProtoMsg; - }; - MsgSubmitProposalResponse: { - encode(message: _57.MsgSubmitProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgSubmitProposalResponse; - fromJSON(object: any): _57.MsgSubmitProposalResponse; - toJSON(message: _57.MsgSubmitProposalResponse): unknown; - fromPartial(object: Partial<_57.MsgSubmitProposalResponse>): _57.MsgSubmitProposalResponse; - fromAmino(object: _57.MsgSubmitProposalResponseAmino): _57.MsgSubmitProposalResponse; - toAmino(message: _57.MsgSubmitProposalResponse): _57.MsgSubmitProposalResponseAmino; - fromAminoMsg(object: _57.MsgSubmitProposalResponseAminoMsg): _57.MsgSubmitProposalResponse; - toAminoMsg(message: _57.MsgSubmitProposalResponse): _57.MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: _57.MsgSubmitProposalResponseProtoMsg): _57.MsgSubmitProposalResponse; - toProto(message: _57.MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: _57.MsgSubmitProposalResponse): _57.MsgSubmitProposalResponseProtoMsg; - }; - MsgExecLegacyContent: { - encode(message: _57.MsgExecLegacyContent, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgExecLegacyContent; - fromJSON(object: any): _57.MsgExecLegacyContent; - toJSON(message: _57.MsgExecLegacyContent): unknown; - fromPartial(object: Partial<_57.MsgExecLegacyContent>): _57.MsgExecLegacyContent; - fromAmino(object: _57.MsgExecLegacyContentAmino): _57.MsgExecLegacyContent; - toAmino(message: _57.MsgExecLegacyContent): _57.MsgExecLegacyContentAmino; - fromAminoMsg(object: _57.MsgExecLegacyContentAminoMsg): _57.MsgExecLegacyContent; - toAminoMsg(message: _57.MsgExecLegacyContent): _57.MsgExecLegacyContentAminoMsg; - fromProtoMsg(message: _57.MsgExecLegacyContentProtoMsg): _57.MsgExecLegacyContent; - toProto(message: _57.MsgExecLegacyContent): Uint8Array; - toProtoMsg(message: _57.MsgExecLegacyContent): _57.MsgExecLegacyContentProtoMsg; - }; - MsgExecLegacyContentResponse: { - encode(_: _57.MsgExecLegacyContentResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgExecLegacyContentResponse; - fromJSON(_: any): _57.MsgExecLegacyContentResponse; - toJSON(_: _57.MsgExecLegacyContentResponse): unknown; - fromPartial(_: Partial<_57.MsgExecLegacyContentResponse>): _57.MsgExecLegacyContentResponse; - fromAmino(_: _57.MsgExecLegacyContentResponseAmino): _57.MsgExecLegacyContentResponse; - toAmino(_: _57.MsgExecLegacyContentResponse): _57.MsgExecLegacyContentResponseAmino; - fromAminoMsg(object: _57.MsgExecLegacyContentResponseAminoMsg): _57.MsgExecLegacyContentResponse; - toAminoMsg(message: _57.MsgExecLegacyContentResponse): _57.MsgExecLegacyContentResponseAminoMsg; - fromProtoMsg(message: _57.MsgExecLegacyContentResponseProtoMsg): _57.MsgExecLegacyContentResponse; - toProto(message: _57.MsgExecLegacyContentResponse): Uint8Array; - toProtoMsg(message: _57.MsgExecLegacyContentResponse): _57.MsgExecLegacyContentResponseProtoMsg; - }; - MsgVote: { - encode(message: _57.MsgVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgVote; - fromJSON(object: any): _57.MsgVote; - toJSON(message: _57.MsgVote): unknown; - fromPartial(object: Partial<_57.MsgVote>): _57.MsgVote; - fromAmino(object: _57.MsgVoteAmino): _57.MsgVote; - toAmino(message: _57.MsgVote): _57.MsgVoteAmino; - fromAminoMsg(object: _57.MsgVoteAminoMsg): _57.MsgVote; - toAminoMsg(message: _57.MsgVote): _57.MsgVoteAminoMsg; - fromProtoMsg(message: _57.MsgVoteProtoMsg): _57.MsgVote; - toProto(message: _57.MsgVote): Uint8Array; - toProtoMsg(message: _57.MsgVote): _57.MsgVoteProtoMsg; - }; - MsgVoteResponse: { - encode(_: _57.MsgVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgVoteResponse; - fromJSON(_: any): _57.MsgVoteResponse; - toJSON(_: _57.MsgVoteResponse): unknown; - fromPartial(_: Partial<_57.MsgVoteResponse>): _57.MsgVoteResponse; - fromAmino(_: _57.MsgVoteResponseAmino): _57.MsgVoteResponse; - toAmino(_: _57.MsgVoteResponse): _57.MsgVoteResponseAmino; - fromAminoMsg(object: _57.MsgVoteResponseAminoMsg): _57.MsgVoteResponse; - toAminoMsg(message: _57.MsgVoteResponse): _57.MsgVoteResponseAminoMsg; - fromProtoMsg(message: _57.MsgVoteResponseProtoMsg): _57.MsgVoteResponse; - toProto(message: _57.MsgVoteResponse): Uint8Array; - toProtoMsg(message: _57.MsgVoteResponse): _57.MsgVoteResponseProtoMsg; - }; - MsgVoteWeighted: { - encode(message: _57.MsgVoteWeighted, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgVoteWeighted; - fromJSON(object: any): _57.MsgVoteWeighted; - toJSON(message: _57.MsgVoteWeighted): unknown; - fromPartial(object: Partial<_57.MsgVoteWeighted>): _57.MsgVoteWeighted; - fromAmino(object: _57.MsgVoteWeightedAmino): _57.MsgVoteWeighted; - toAmino(message: _57.MsgVoteWeighted): _57.MsgVoteWeightedAmino; - fromAminoMsg(object: _57.MsgVoteWeightedAminoMsg): _57.MsgVoteWeighted; - toAminoMsg(message: _57.MsgVoteWeighted): _57.MsgVoteWeightedAminoMsg; - fromProtoMsg(message: _57.MsgVoteWeightedProtoMsg): _57.MsgVoteWeighted; - toProto(message: _57.MsgVoteWeighted): Uint8Array; - toProtoMsg(message: _57.MsgVoteWeighted): _57.MsgVoteWeightedProtoMsg; - }; - MsgVoteWeightedResponse: { - encode(_: _57.MsgVoteWeightedResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgVoteWeightedResponse; - fromJSON(_: any): _57.MsgVoteWeightedResponse; - toJSON(_: _57.MsgVoteWeightedResponse): unknown; - fromPartial(_: Partial<_57.MsgVoteWeightedResponse>): _57.MsgVoteWeightedResponse; - fromAmino(_: _57.MsgVoteWeightedResponseAmino): _57.MsgVoteWeightedResponse; - toAmino(_: _57.MsgVoteWeightedResponse): _57.MsgVoteWeightedResponseAmino; - fromAminoMsg(object: _57.MsgVoteWeightedResponseAminoMsg): _57.MsgVoteWeightedResponse; - toAminoMsg(message: _57.MsgVoteWeightedResponse): _57.MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: _57.MsgVoteWeightedResponseProtoMsg): _57.MsgVoteWeightedResponse; - toProto(message: _57.MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: _57.MsgVoteWeightedResponse): _57.MsgVoteWeightedResponseProtoMsg; - }; - MsgDeposit: { - encode(message: _57.MsgDeposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgDeposit; - fromJSON(object: any): _57.MsgDeposit; - toJSON(message: _57.MsgDeposit): unknown; - fromPartial(object: Partial<_57.MsgDeposit>): _57.MsgDeposit; - fromAmino(object: _57.MsgDepositAmino): _57.MsgDeposit; - toAmino(message: _57.MsgDeposit): _57.MsgDepositAmino; - fromAminoMsg(object: _57.MsgDepositAminoMsg): _57.MsgDeposit; - toAminoMsg(message: _57.MsgDeposit): _57.MsgDepositAminoMsg; - fromProtoMsg(message: _57.MsgDepositProtoMsg): _57.MsgDeposit; - toProto(message: _57.MsgDeposit): Uint8Array; - toProtoMsg(message: _57.MsgDeposit): _57.MsgDepositProtoMsg; - }; - MsgDepositResponse: { - encode(_: _57.MsgDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _57.MsgDepositResponse; - fromJSON(_: any): _57.MsgDepositResponse; - toJSON(_: _57.MsgDepositResponse): unknown; - fromPartial(_: Partial<_57.MsgDepositResponse>): _57.MsgDepositResponse; - fromAmino(_: _57.MsgDepositResponseAmino): _57.MsgDepositResponse; - toAmino(_: _57.MsgDepositResponse): _57.MsgDepositResponseAmino; - fromAminoMsg(object: _57.MsgDepositResponseAminoMsg): _57.MsgDepositResponse; - toAminoMsg(message: _57.MsgDepositResponse): _57.MsgDepositResponseAminoMsg; - fromProtoMsg(message: _57.MsgDepositResponseProtoMsg): _57.MsgDepositResponse; - toProto(message: _57.MsgDepositResponse): Uint8Array; - toProtoMsg(message: _57.MsgDepositResponse): _57.MsgDepositResponseProtoMsg; - }; - Content_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any | _59.TextProposal; - Content_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - Content_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - QueryProposalRequest: { - encode(message: _56.QueryProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryProposalRequest; - fromJSON(object: any): _56.QueryProposalRequest; - toJSON(message: _56.QueryProposalRequest): unknown; - fromPartial(object: Partial<_56.QueryProposalRequest>): _56.QueryProposalRequest; - fromAmino(object: _56.QueryProposalRequestAmino): _56.QueryProposalRequest; - toAmino(message: _56.QueryProposalRequest): _56.QueryProposalRequestAmino; - fromAminoMsg(object: _56.QueryProposalRequestAminoMsg): _56.QueryProposalRequest; - toAminoMsg(message: _56.QueryProposalRequest): _56.QueryProposalRequestAminoMsg; - fromProtoMsg(message: _56.QueryProposalRequestProtoMsg): _56.QueryProposalRequest; - toProto(message: _56.QueryProposalRequest): Uint8Array; - toProtoMsg(message: _56.QueryProposalRequest): _56.QueryProposalRequestProtoMsg; - }; - QueryProposalResponse: { - encode(message: _56.QueryProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryProposalResponse; - fromJSON(object: any): _56.QueryProposalResponse; - toJSON(message: _56.QueryProposalResponse): unknown; - fromPartial(object: Partial<_56.QueryProposalResponse>): _56.QueryProposalResponse; - fromAmino(object: _56.QueryProposalResponseAmino): _56.QueryProposalResponse; - toAmino(message: _56.QueryProposalResponse): _56.QueryProposalResponseAmino; - fromAminoMsg(object: _56.QueryProposalResponseAminoMsg): _56.QueryProposalResponse; - toAminoMsg(message: _56.QueryProposalResponse): _56.QueryProposalResponseAminoMsg; - fromProtoMsg(message: _56.QueryProposalResponseProtoMsg): _56.QueryProposalResponse; - toProto(message: _56.QueryProposalResponse): Uint8Array; - toProtoMsg(message: _56.QueryProposalResponse): _56.QueryProposalResponseProtoMsg; - }; - QueryProposalsRequest: { - encode(message: _56.QueryProposalsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryProposalsRequest; - fromJSON(object: any): _56.QueryProposalsRequest; - toJSON(message: _56.QueryProposalsRequest): unknown; - fromPartial(object: Partial<_56.QueryProposalsRequest>): _56.QueryProposalsRequest; - fromAmino(object: _56.QueryProposalsRequestAmino): _56.QueryProposalsRequest; - toAmino(message: _56.QueryProposalsRequest): _56.QueryProposalsRequestAmino; - fromAminoMsg(object: _56.QueryProposalsRequestAminoMsg): _56.QueryProposalsRequest; - toAminoMsg(message: _56.QueryProposalsRequest): _56.QueryProposalsRequestAminoMsg; - fromProtoMsg(message: _56.QueryProposalsRequestProtoMsg): _56.QueryProposalsRequest; - toProto(message: _56.QueryProposalsRequest): Uint8Array; - toProtoMsg(message: _56.QueryProposalsRequest): _56.QueryProposalsRequestProtoMsg; - }; - QueryProposalsResponse: { - encode(message: _56.QueryProposalsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryProposalsResponse; - fromJSON(object: any): _56.QueryProposalsResponse; - toJSON(message: _56.QueryProposalsResponse): unknown; - fromPartial(object: Partial<_56.QueryProposalsResponse>): _56.QueryProposalsResponse; - fromAmino(object: _56.QueryProposalsResponseAmino): _56.QueryProposalsResponse; - toAmino(message: _56.QueryProposalsResponse): _56.QueryProposalsResponseAmino; - fromAminoMsg(object: _56.QueryProposalsResponseAminoMsg): _56.QueryProposalsResponse; - toAminoMsg(message: _56.QueryProposalsResponse): _56.QueryProposalsResponseAminoMsg; - fromProtoMsg(message: _56.QueryProposalsResponseProtoMsg): _56.QueryProposalsResponse; - toProto(message: _56.QueryProposalsResponse): Uint8Array; - toProtoMsg(message: _56.QueryProposalsResponse): _56.QueryProposalsResponseProtoMsg; - }; - QueryVoteRequest: { - encode(message: _56.QueryVoteRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryVoteRequest; - fromJSON(object: any): _56.QueryVoteRequest; - toJSON(message: _56.QueryVoteRequest): unknown; - fromPartial(object: Partial<_56.QueryVoteRequest>): _56.QueryVoteRequest; - fromAmino(object: _56.QueryVoteRequestAmino): _56.QueryVoteRequest; - toAmino(message: _56.QueryVoteRequest): _56.QueryVoteRequestAmino; - fromAminoMsg(object: _56.QueryVoteRequestAminoMsg): _56.QueryVoteRequest; - toAminoMsg(message: _56.QueryVoteRequest): _56.QueryVoteRequestAminoMsg; - fromProtoMsg(message: _56.QueryVoteRequestProtoMsg): _56.QueryVoteRequest; - toProto(message: _56.QueryVoteRequest): Uint8Array; - toProtoMsg(message: _56.QueryVoteRequest): _56.QueryVoteRequestProtoMsg; - }; - QueryVoteResponse: { - encode(message: _56.QueryVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryVoteResponse; - fromJSON(object: any): _56.QueryVoteResponse; - toJSON(message: _56.QueryVoteResponse): unknown; - fromPartial(object: Partial<_56.QueryVoteResponse>): _56.QueryVoteResponse; - fromAmino(object: _56.QueryVoteResponseAmino): _56.QueryVoteResponse; - toAmino(message: _56.QueryVoteResponse): _56.QueryVoteResponseAmino; - fromAminoMsg(object: _56.QueryVoteResponseAminoMsg): _56.QueryVoteResponse; - toAminoMsg(message: _56.QueryVoteResponse): _56.QueryVoteResponseAminoMsg; - fromProtoMsg(message: _56.QueryVoteResponseProtoMsg): _56.QueryVoteResponse; - toProto(message: _56.QueryVoteResponse): Uint8Array; - toProtoMsg(message: _56.QueryVoteResponse): _56.QueryVoteResponseProtoMsg; - }; - QueryVotesRequest: { - encode(message: _56.QueryVotesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryVotesRequest; - fromJSON(object: any): _56.QueryVotesRequest; - toJSON(message: _56.QueryVotesRequest): unknown; - fromPartial(object: Partial<_56.QueryVotesRequest>): _56.QueryVotesRequest; - fromAmino(object: _56.QueryVotesRequestAmino): _56.QueryVotesRequest; - toAmino(message: _56.QueryVotesRequest): _56.QueryVotesRequestAmino; - fromAminoMsg(object: _56.QueryVotesRequestAminoMsg): _56.QueryVotesRequest; - toAminoMsg(message: _56.QueryVotesRequest): _56.QueryVotesRequestAminoMsg; - fromProtoMsg(message: _56.QueryVotesRequestProtoMsg): _56.QueryVotesRequest; - toProto(message: _56.QueryVotesRequest): Uint8Array; - toProtoMsg(message: _56.QueryVotesRequest): _56.QueryVotesRequestProtoMsg; - }; - QueryVotesResponse: { - encode(message: _56.QueryVotesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryVotesResponse; - fromJSON(object: any): _56.QueryVotesResponse; - toJSON(message: _56.QueryVotesResponse): unknown; - fromPartial(object: Partial<_56.QueryVotesResponse>): _56.QueryVotesResponse; - fromAmino(object: _56.QueryVotesResponseAmino): _56.QueryVotesResponse; - toAmino(message: _56.QueryVotesResponse): _56.QueryVotesResponseAmino; - fromAminoMsg(object: _56.QueryVotesResponseAminoMsg): _56.QueryVotesResponse; - toAminoMsg(message: _56.QueryVotesResponse): _56.QueryVotesResponseAminoMsg; - fromProtoMsg(message: _56.QueryVotesResponseProtoMsg): _56.QueryVotesResponse; - toProto(message: _56.QueryVotesResponse): Uint8Array; - toProtoMsg(message: _56.QueryVotesResponse): _56.QueryVotesResponseProtoMsg; - }; - QueryParamsRequest: { - encode(message: _56.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryParamsRequest; - fromJSON(object: any): _56.QueryParamsRequest; - toJSON(message: _56.QueryParamsRequest): unknown; - fromPartial(object: Partial<_56.QueryParamsRequest>): _56.QueryParamsRequest; - fromAmino(object: _56.QueryParamsRequestAmino): _56.QueryParamsRequest; - toAmino(message: _56.QueryParamsRequest): _56.QueryParamsRequestAmino; - fromAminoMsg(object: _56.QueryParamsRequestAminoMsg): _56.QueryParamsRequest; - toAminoMsg(message: _56.QueryParamsRequest): _56.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _56.QueryParamsRequestProtoMsg): _56.QueryParamsRequest; - toProto(message: _56.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _56.QueryParamsRequest): _56.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _56.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryParamsResponse; - fromJSON(object: any): _56.QueryParamsResponse; - toJSON(message: _56.QueryParamsResponse): unknown; - fromPartial(object: Partial<_56.QueryParamsResponse>): _56.QueryParamsResponse; - fromAmino(object: _56.QueryParamsResponseAmino): _56.QueryParamsResponse; - toAmino(message: _56.QueryParamsResponse): _56.QueryParamsResponseAmino; - fromAminoMsg(object: _56.QueryParamsResponseAminoMsg): _56.QueryParamsResponse; - toAminoMsg(message: _56.QueryParamsResponse): _56.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _56.QueryParamsResponseProtoMsg): _56.QueryParamsResponse; - toProto(message: _56.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _56.QueryParamsResponse): _56.QueryParamsResponseProtoMsg; - }; - QueryDepositRequest: { - encode(message: _56.QueryDepositRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryDepositRequest; - fromJSON(object: any): _56.QueryDepositRequest; - toJSON(message: _56.QueryDepositRequest): unknown; - fromPartial(object: Partial<_56.QueryDepositRequest>): _56.QueryDepositRequest; - fromAmino(object: _56.QueryDepositRequestAmino): _56.QueryDepositRequest; - toAmino(message: _56.QueryDepositRequest): _56.QueryDepositRequestAmino; - fromAminoMsg(object: _56.QueryDepositRequestAminoMsg): _56.QueryDepositRequest; - toAminoMsg(message: _56.QueryDepositRequest): _56.QueryDepositRequestAminoMsg; - fromProtoMsg(message: _56.QueryDepositRequestProtoMsg): _56.QueryDepositRequest; - toProto(message: _56.QueryDepositRequest): Uint8Array; - toProtoMsg(message: _56.QueryDepositRequest): _56.QueryDepositRequestProtoMsg; - }; - QueryDepositResponse: { - encode(message: _56.QueryDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryDepositResponse; - fromJSON(object: any): _56.QueryDepositResponse; - toJSON(message: _56.QueryDepositResponse): unknown; - fromPartial(object: Partial<_56.QueryDepositResponse>): _56.QueryDepositResponse; - fromAmino(object: _56.QueryDepositResponseAmino): _56.QueryDepositResponse; - toAmino(message: _56.QueryDepositResponse): _56.QueryDepositResponseAmino; - fromAminoMsg(object: _56.QueryDepositResponseAminoMsg): _56.QueryDepositResponse; - toAminoMsg(message: _56.QueryDepositResponse): _56.QueryDepositResponseAminoMsg; - fromProtoMsg(message: _56.QueryDepositResponseProtoMsg): _56.QueryDepositResponse; - toProto(message: _56.QueryDepositResponse): Uint8Array; - toProtoMsg(message: _56.QueryDepositResponse): _56.QueryDepositResponseProtoMsg; - }; - QueryDepositsRequest: { - encode(message: _56.QueryDepositsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryDepositsRequest; - fromJSON(object: any): _56.QueryDepositsRequest; - toJSON(message: _56.QueryDepositsRequest): unknown; - fromPartial(object: Partial<_56.QueryDepositsRequest>): _56.QueryDepositsRequest; - fromAmino(object: _56.QueryDepositsRequestAmino): _56.QueryDepositsRequest; - toAmino(message: _56.QueryDepositsRequest): _56.QueryDepositsRequestAmino; - fromAminoMsg(object: _56.QueryDepositsRequestAminoMsg): _56.QueryDepositsRequest; - toAminoMsg(message: _56.QueryDepositsRequest): _56.QueryDepositsRequestAminoMsg; - fromProtoMsg(message: _56.QueryDepositsRequestProtoMsg): _56.QueryDepositsRequest; - toProto(message: _56.QueryDepositsRequest): Uint8Array; - toProtoMsg(message: _56.QueryDepositsRequest): _56.QueryDepositsRequestProtoMsg; - }; - QueryDepositsResponse: { - encode(message: _56.QueryDepositsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryDepositsResponse; - fromJSON(object: any): _56.QueryDepositsResponse; - toJSON(message: _56.QueryDepositsResponse): unknown; - fromPartial(object: Partial<_56.QueryDepositsResponse>): _56.QueryDepositsResponse; - fromAmino(object: _56.QueryDepositsResponseAmino): _56.QueryDepositsResponse; - toAmino(message: _56.QueryDepositsResponse): _56.QueryDepositsResponseAmino; - fromAminoMsg(object: _56.QueryDepositsResponseAminoMsg): _56.QueryDepositsResponse; - toAminoMsg(message: _56.QueryDepositsResponse): _56.QueryDepositsResponseAminoMsg; - fromProtoMsg(message: _56.QueryDepositsResponseProtoMsg): _56.QueryDepositsResponse; - toProto(message: _56.QueryDepositsResponse): Uint8Array; - toProtoMsg(message: _56.QueryDepositsResponse): _56.QueryDepositsResponseProtoMsg; - }; - QueryTallyResultRequest: { - encode(message: _56.QueryTallyResultRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryTallyResultRequest; - fromJSON(object: any): _56.QueryTallyResultRequest; - toJSON(message: _56.QueryTallyResultRequest): unknown; - fromPartial(object: Partial<_56.QueryTallyResultRequest>): _56.QueryTallyResultRequest; - fromAmino(object: _56.QueryTallyResultRequestAmino): _56.QueryTallyResultRequest; - toAmino(message: _56.QueryTallyResultRequest): _56.QueryTallyResultRequestAmino; - fromAminoMsg(object: _56.QueryTallyResultRequestAminoMsg): _56.QueryTallyResultRequest; - toAminoMsg(message: _56.QueryTallyResultRequest): _56.QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: _56.QueryTallyResultRequestProtoMsg): _56.QueryTallyResultRequest; - toProto(message: _56.QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: _56.QueryTallyResultRequest): _56.QueryTallyResultRequestProtoMsg; - }; - QueryTallyResultResponse: { - encode(message: _56.QueryTallyResultResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _56.QueryTallyResultResponse; - fromJSON(object: any): _56.QueryTallyResultResponse; - toJSON(message: _56.QueryTallyResultResponse): unknown; - fromPartial(object: Partial<_56.QueryTallyResultResponse>): _56.QueryTallyResultResponse; - fromAmino(object: _56.QueryTallyResultResponseAmino): _56.QueryTallyResultResponse; - toAmino(message: _56.QueryTallyResultResponse): _56.QueryTallyResultResponseAmino; - fromAminoMsg(object: _56.QueryTallyResultResponseAminoMsg): _56.QueryTallyResultResponse; - toAminoMsg(message: _56.QueryTallyResultResponse): _56.QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: _56.QueryTallyResultResponseProtoMsg): _56.QueryTallyResultResponse; - toProto(message: _56.QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: _56.QueryTallyResultResponse): _56.QueryTallyResultResponseProtoMsg; - }; - voteOptionFromJSON(object: any): _55.VoteOption; - voteOptionToJSON(object: _55.VoteOption): string; - proposalStatusFromJSON(object: any): _55.ProposalStatus; - proposalStatusToJSON(object: _55.ProposalStatus): string; - VoteOption: typeof _55.VoteOption; - VoteOptionSDKType: typeof _55.VoteOption; - VoteOptionAmino: typeof _55.VoteOption; - ProposalStatus: typeof _55.ProposalStatus; - ProposalStatusSDKType: typeof _55.ProposalStatus; - ProposalStatusAmino: typeof _55.ProposalStatus; - WeightedVoteOption: { - encode(message: _55.WeightedVoteOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.WeightedVoteOption; - fromJSON(object: any): _55.WeightedVoteOption; - toJSON(message: _55.WeightedVoteOption): unknown; - fromPartial(object: Partial<_55.WeightedVoteOption>): _55.WeightedVoteOption; - fromAmino(object: _55.WeightedVoteOptionAmino): _55.WeightedVoteOption; - toAmino(message: _55.WeightedVoteOption): _55.WeightedVoteOptionAmino; - fromAminoMsg(object: _55.WeightedVoteOptionAminoMsg): _55.WeightedVoteOption; - toAminoMsg(message: _55.WeightedVoteOption): _55.WeightedVoteOptionAminoMsg; - fromProtoMsg(message: _55.WeightedVoteOptionProtoMsg): _55.WeightedVoteOption; - toProto(message: _55.WeightedVoteOption): Uint8Array; - toProtoMsg(message: _55.WeightedVoteOption): _55.WeightedVoteOptionProtoMsg; - }; - Deposit: { - encode(message: _55.Deposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.Deposit; - fromJSON(object: any): _55.Deposit; - toJSON(message: _55.Deposit): unknown; - fromPartial(object: Partial<_55.Deposit>): _55.Deposit; - fromAmino(object: _55.DepositAmino): _55.Deposit; - toAmino(message: _55.Deposit): _55.DepositAmino; - fromAminoMsg(object: _55.DepositAminoMsg): _55.Deposit; - toAminoMsg(message: _55.Deposit): _55.DepositAminoMsg; - fromProtoMsg(message: _55.DepositProtoMsg): _55.Deposit; - toProto(message: _55.Deposit): Uint8Array; - toProtoMsg(message: _55.Deposit): _55.DepositProtoMsg; - }; - Proposal: { - encode(message: _55.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.Proposal; - fromJSON(object: any): _55.Proposal; - toJSON(message: _55.Proposal): unknown; - fromPartial(object: Partial<_55.Proposal>): _55.Proposal; - fromAmino(object: _55.ProposalAmino): _55.Proposal; - toAmino(message: _55.Proposal): _55.ProposalAmino; - fromAminoMsg(object: _55.ProposalAminoMsg): _55.Proposal; - toAminoMsg(message: _55.Proposal): _55.ProposalAminoMsg; - fromProtoMsg(message: _55.ProposalProtoMsg): _55.Proposal; - toProto(message: _55.Proposal): Uint8Array; - toProtoMsg(message: _55.Proposal): _55.ProposalProtoMsg; - }; - TallyResult: { - encode(message: _55.TallyResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.TallyResult; - fromJSON(object: any): _55.TallyResult; - toJSON(message: _55.TallyResult): unknown; - fromPartial(object: Partial<_55.TallyResult>): _55.TallyResult; - fromAmino(object: _55.TallyResultAmino): _55.TallyResult; - toAmino(message: _55.TallyResult): _55.TallyResultAmino; - fromAminoMsg(object: _55.TallyResultAminoMsg): _55.TallyResult; - toAminoMsg(message: _55.TallyResult): _55.TallyResultAminoMsg; - fromProtoMsg(message: _55.TallyResultProtoMsg): _55.TallyResult; - toProto(message: _55.TallyResult): Uint8Array; - toProtoMsg(message: _55.TallyResult): _55.TallyResultProtoMsg; - }; - Vote: { - encode(message: _55.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.Vote; - fromJSON(object: any): _55.Vote; - toJSON(message: _55.Vote): unknown; - fromPartial(object: Partial<_55.Vote>): _55.Vote; - fromAmino(object: _55.VoteAmino): _55.Vote; - toAmino(message: _55.Vote): _55.VoteAmino; - fromAminoMsg(object: _55.VoteAminoMsg): _55.Vote; - toAminoMsg(message: _55.Vote): _55.VoteAminoMsg; - fromProtoMsg(message: _55.VoteProtoMsg): _55.Vote; - toProto(message: _55.Vote): Uint8Array; - toProtoMsg(message: _55.Vote): _55.VoteProtoMsg; - }; - DepositParams: { - encode(message: _55.DepositParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.DepositParams; - fromJSON(object: any): _55.DepositParams; - toJSON(message: _55.DepositParams): unknown; - fromPartial(object: Partial<_55.DepositParams>): _55.DepositParams; - fromAmino(object: _55.DepositParamsAmino): _55.DepositParams; - toAmino(message: _55.DepositParams): _55.DepositParamsAmino; - fromAminoMsg(object: _55.DepositParamsAminoMsg): _55.DepositParams; - toAminoMsg(message: _55.DepositParams): _55.DepositParamsAminoMsg; - fromProtoMsg(message: _55.DepositParamsProtoMsg): _55.DepositParams; - toProto(message: _55.DepositParams): Uint8Array; - toProtoMsg(message: _55.DepositParams): _55.DepositParamsProtoMsg; - }; - VotingParams: { - encode(message: _55.VotingParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.VotingParams; - fromJSON(object: any): _55.VotingParams; - toJSON(message: _55.VotingParams): unknown; - fromPartial(object: Partial<_55.VotingParams>): _55.VotingParams; - fromAmino(object: _55.VotingParamsAmino): _55.VotingParams; - toAmino(message: _55.VotingParams): _55.VotingParamsAmino; - fromAminoMsg(object: _55.VotingParamsAminoMsg): _55.VotingParams; - toAminoMsg(message: _55.VotingParams): _55.VotingParamsAminoMsg; - fromProtoMsg(message: _55.VotingParamsProtoMsg): _55.VotingParams; - toProto(message: _55.VotingParams): Uint8Array; - toProtoMsg(message: _55.VotingParams): _55.VotingParamsProtoMsg; - }; - TallyParams: { - encode(message: _55.TallyParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _55.TallyParams; - fromJSON(object: any): _55.TallyParams; - toJSON(message: _55.TallyParams): unknown; - fromPartial(object: Partial<_55.TallyParams>): _55.TallyParams; - fromAmino(object: _55.TallyParamsAmino): _55.TallyParams; - toAmino(message: _55.TallyParams): _55.TallyParamsAmino; - fromAminoMsg(object: _55.TallyParamsAminoMsg): _55.TallyParams; - toAminoMsg(message: _55.TallyParams): _55.TallyParamsAminoMsg; - fromProtoMsg(message: _55.TallyParamsProtoMsg): _55.TallyParams; - toProto(message: _55.TallyParams): Uint8Array; - toProtoMsg(message: _55.TallyParams): _55.TallyParamsProtoMsg; - }; - GenesisState: { - encode(message: _54.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _54.GenesisState; - fromJSON(object: any): _54.GenesisState; - toJSON(message: _54.GenesisState): unknown; - fromPartial(object: Partial<_54.GenesisState>): _54.GenesisState; - fromAmino(object: _54.GenesisStateAmino): _54.GenesisState; - toAmino(message: _54.GenesisState): _54.GenesisStateAmino; - fromAminoMsg(object: _54.GenesisStateAminoMsg): _54.GenesisState; - toAminoMsg(message: _54.GenesisState): _54.GenesisStateAminoMsg; - fromProtoMsg(message: _54.GenesisStateProtoMsg): _54.GenesisState; - toProto(message: _54.GenesisState): Uint8Array; - toProtoMsg(message: _54.GenesisState): _54.GenesisStateProtoMsg; - }; - }; - const v1beta1: { - MsgClientImpl: typeof _223.MsgClientImpl; - QueryClientImpl: typeof _207.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - proposal(request: _60.QueryProposalRequest): Promise<_60.QueryProposalResponse>; - proposals(request: _60.QueryProposalsRequest): Promise<_60.QueryProposalsResponse>; - vote(request: _60.QueryVoteRequest): Promise<_60.QueryVoteResponse>; - votes(request: _60.QueryVotesRequest): Promise<_60.QueryVotesResponse>; - params(request: _60.QueryParamsRequest): Promise<_60.QueryParamsResponse>; - deposit(request: _60.QueryDepositRequest): Promise<_60.QueryDepositResponse>; - deposits(request: _60.QueryDepositsRequest): Promise<_60.QueryDepositsResponse>; - tallyResult(request: _60.QueryTallyResultRequest): Promise<_60.QueryTallyResultResponse>; - }; - LCDQueryClient: typeof _188.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - submitProposal(value: _61.MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: _61.MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: _61.MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: _61.MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: _61.MsgSubmitProposal): { - typeUrl: string; - value: _61.MsgSubmitProposal; - }; - vote(value: _61.MsgVote): { - typeUrl: string; - value: _61.MsgVote; - }; - voteWeighted(value: _61.MsgVoteWeighted): { - typeUrl: string; - value: _61.MsgVoteWeighted; - }; - deposit(value: _61.MsgDeposit): { - typeUrl: string; - value: _61.MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: _61.MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: _61.MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: _61.MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: _61.MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: _61.MsgSubmitProposal; - }; - vote(value: any): { - typeUrl: string; - value: _61.MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: _61.MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: _61.MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: _61.MsgSubmitProposal): { - typeUrl: string; - value: _61.MsgSubmitProposal; - }; - vote(value: _61.MsgVote): { - typeUrl: string; - value: _61.MsgVote; - }; - voteWeighted(value: _61.MsgVoteWeighted): { - typeUrl: string; - value: _61.MsgVoteWeighted; - }; - deposit(value: _61.MsgDeposit): { - typeUrl: string; - value: _61.MsgDeposit; - }; - }; - }; - AminoConverter: { - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: _61.MsgSubmitProposal) => _61.MsgSubmitProposalAmino; - fromAmino: (object: _61.MsgSubmitProposalAmino) => _61.MsgSubmitProposal; - }; - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: string; - toAmino: (message: _61.MsgVote) => _61.MsgVoteAmino; - fromAmino: (object: _61.MsgVoteAmino) => _61.MsgVote; - }; - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: _61.MsgVoteWeighted) => _61.MsgVoteWeightedAmino; - fromAmino: (object: _61.MsgVoteWeightedAmino) => _61.MsgVoteWeighted; - }; - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: string; - toAmino: (message: _61.MsgDeposit) => _61.MsgDepositAmino; - fromAmino: (object: _61.MsgDepositAmino) => _61.MsgDeposit; - }; - }; - MsgSubmitProposal: { - encode(message: _61.MsgSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgSubmitProposal; - fromJSON(object: any): _61.MsgSubmitProposal; - toJSON(message: _61.MsgSubmitProposal): unknown; - fromPartial(object: Partial<_61.MsgSubmitProposal>): _61.MsgSubmitProposal; - fromAmino(object: _61.MsgSubmitProposalAmino): _61.MsgSubmitProposal; - toAmino(message: _61.MsgSubmitProposal): _61.MsgSubmitProposalAmino; - fromAminoMsg(object: _61.MsgSubmitProposalAminoMsg): _61.MsgSubmitProposal; - toAminoMsg(message: _61.MsgSubmitProposal): _61.MsgSubmitProposalAminoMsg; - fromProtoMsg(message: _61.MsgSubmitProposalProtoMsg): _61.MsgSubmitProposal; - toProto(message: _61.MsgSubmitProposal): Uint8Array; - toProtoMsg(message: _61.MsgSubmitProposal): _61.MsgSubmitProposalProtoMsg; - }; - MsgSubmitProposalResponse: { - encode(message: _61.MsgSubmitProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgSubmitProposalResponse; - fromJSON(object: any): _61.MsgSubmitProposalResponse; - toJSON(message: _61.MsgSubmitProposalResponse): unknown; - fromPartial(object: Partial<_61.MsgSubmitProposalResponse>): _61.MsgSubmitProposalResponse; - fromAmino(object: _61.MsgSubmitProposalResponseAmino): _61.MsgSubmitProposalResponse; - toAmino(message: _61.MsgSubmitProposalResponse): _61.MsgSubmitProposalResponseAmino; - fromAminoMsg(object: _61.MsgSubmitProposalResponseAminoMsg): _61.MsgSubmitProposalResponse; - toAminoMsg(message: _61.MsgSubmitProposalResponse): _61.MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: _61.MsgSubmitProposalResponseProtoMsg): _61.MsgSubmitProposalResponse; - toProto(message: _61.MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: _61.MsgSubmitProposalResponse): _61.MsgSubmitProposalResponseProtoMsg; - }; - MsgVote: { - encode(message: _61.MsgVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgVote; - fromJSON(object: any): _61.MsgVote; - toJSON(message: _61.MsgVote): unknown; - fromPartial(object: Partial<_61.MsgVote>): _61.MsgVote; - fromAmino(object: _61.MsgVoteAmino): _61.MsgVote; - toAmino(message: _61.MsgVote): _61.MsgVoteAmino; - fromAminoMsg(object: _61.MsgVoteAminoMsg): _61.MsgVote; - toAminoMsg(message: _61.MsgVote): _61.MsgVoteAminoMsg; - fromProtoMsg(message: _61.MsgVoteProtoMsg): _61.MsgVote; - toProto(message: _61.MsgVote): Uint8Array; - toProtoMsg(message: _61.MsgVote): _61.MsgVoteProtoMsg; - }; - MsgVoteResponse: { - encode(_: _61.MsgVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgVoteResponse; - fromJSON(_: any): _61.MsgVoteResponse; - toJSON(_: _61.MsgVoteResponse): unknown; - fromPartial(_: Partial<_61.MsgVoteResponse>): _61.MsgVoteResponse; - fromAmino(_: _61.MsgVoteResponseAmino): _61.MsgVoteResponse; - toAmino(_: _61.MsgVoteResponse): _61.MsgVoteResponseAmino; - fromAminoMsg(object: _61.MsgVoteResponseAminoMsg): _61.MsgVoteResponse; - toAminoMsg(message: _61.MsgVoteResponse): _61.MsgVoteResponseAminoMsg; - fromProtoMsg(message: _61.MsgVoteResponseProtoMsg): _61.MsgVoteResponse; - toProto(message: _61.MsgVoteResponse): Uint8Array; - toProtoMsg(message: _61.MsgVoteResponse): _61.MsgVoteResponseProtoMsg; - }; - MsgVoteWeighted: { - encode(message: _61.MsgVoteWeighted, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgVoteWeighted; - fromJSON(object: any): _61.MsgVoteWeighted; - toJSON(message: _61.MsgVoteWeighted): unknown; - fromPartial(object: Partial<_61.MsgVoteWeighted>): _61.MsgVoteWeighted; - fromAmino(object: _61.MsgVoteWeightedAmino): _61.MsgVoteWeighted; - toAmino(message: _61.MsgVoteWeighted): _61.MsgVoteWeightedAmino; - fromAminoMsg(object: _61.MsgVoteWeightedAminoMsg): _61.MsgVoteWeighted; - toAminoMsg(message: _61.MsgVoteWeighted): _61.MsgVoteWeightedAminoMsg; - fromProtoMsg(message: _61.MsgVoteWeightedProtoMsg): _61.MsgVoteWeighted; - toProto(message: _61.MsgVoteWeighted): Uint8Array; - toProtoMsg(message: _61.MsgVoteWeighted): _61.MsgVoteWeightedProtoMsg; - }; - MsgVoteWeightedResponse: { - encode(_: _61.MsgVoteWeightedResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgVoteWeightedResponse; - fromJSON(_: any): _61.MsgVoteWeightedResponse; - toJSON(_: _61.MsgVoteWeightedResponse): unknown; - fromPartial(_: Partial<_61.MsgVoteWeightedResponse>): _61.MsgVoteWeightedResponse; - fromAmino(_: _61.MsgVoteWeightedResponseAmino): _61.MsgVoteWeightedResponse; - toAmino(_: _61.MsgVoteWeightedResponse): _61.MsgVoteWeightedResponseAmino; - fromAminoMsg(object: _61.MsgVoteWeightedResponseAminoMsg): _61.MsgVoteWeightedResponse; - toAminoMsg(message: _61.MsgVoteWeightedResponse): _61.MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: _61.MsgVoteWeightedResponseProtoMsg): _61.MsgVoteWeightedResponse; - toProto(message: _61.MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: _61.MsgVoteWeightedResponse): _61.MsgVoteWeightedResponseProtoMsg; - }; - MsgDeposit: { - encode(message: _61.MsgDeposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgDeposit; - fromJSON(object: any): _61.MsgDeposit; - toJSON(message: _61.MsgDeposit): unknown; - fromPartial(object: Partial<_61.MsgDeposit>): _61.MsgDeposit; - fromAmino(object: _61.MsgDepositAmino): _61.MsgDeposit; - toAmino(message: _61.MsgDeposit): _61.MsgDepositAmino; - fromAminoMsg(object: _61.MsgDepositAminoMsg): _61.MsgDeposit; - toAminoMsg(message: _61.MsgDeposit): _61.MsgDepositAminoMsg; - fromProtoMsg(message: _61.MsgDepositProtoMsg): _61.MsgDeposit; - toProto(message: _61.MsgDeposit): Uint8Array; - toProtoMsg(message: _61.MsgDeposit): _61.MsgDepositProtoMsg; - }; - MsgDepositResponse: { - encode(_: _61.MsgDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _61.MsgDepositResponse; - fromJSON(_: any): _61.MsgDepositResponse; - toJSON(_: _61.MsgDepositResponse): unknown; - fromPartial(_: Partial<_61.MsgDepositResponse>): _61.MsgDepositResponse; - fromAmino(_: _61.MsgDepositResponseAmino): _61.MsgDepositResponse; - toAmino(_: _61.MsgDepositResponse): _61.MsgDepositResponseAmino; - fromAminoMsg(object: _61.MsgDepositResponseAminoMsg): _61.MsgDepositResponse; - toAminoMsg(message: _61.MsgDepositResponse): _61.MsgDepositResponseAminoMsg; - fromProtoMsg(message: _61.MsgDepositResponseProtoMsg): _61.MsgDepositResponse; - toProto(message: _61.MsgDepositResponse): Uint8Array; - toProtoMsg(message: _61.MsgDepositResponse): _61.MsgDepositResponseProtoMsg; - }; - Content_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any | _59.TextProposal; - Content_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - Content_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - QueryProposalRequest: { - encode(message: _60.QueryProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryProposalRequest; - fromJSON(object: any): _60.QueryProposalRequest; - toJSON(message: _60.QueryProposalRequest): unknown; - fromPartial(object: Partial<_60.QueryProposalRequest>): _60.QueryProposalRequest; - fromAmino(object: _60.QueryProposalRequestAmino): _60.QueryProposalRequest; - toAmino(message: _60.QueryProposalRequest): _60.QueryProposalRequestAmino; - fromAminoMsg(object: _60.QueryProposalRequestAminoMsg): _60.QueryProposalRequest; - toAminoMsg(message: _60.QueryProposalRequest): _60.QueryProposalRequestAminoMsg; - fromProtoMsg(message: _60.QueryProposalRequestProtoMsg): _60.QueryProposalRequest; - toProto(message: _60.QueryProposalRequest): Uint8Array; - toProtoMsg(message: _60.QueryProposalRequest): _60.QueryProposalRequestProtoMsg; - }; - QueryProposalResponse: { - encode(message: _60.QueryProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryProposalResponse; - fromJSON(object: any): _60.QueryProposalResponse; - toJSON(message: _60.QueryProposalResponse): unknown; - fromPartial(object: Partial<_60.QueryProposalResponse>): _60.QueryProposalResponse; - fromAmino(object: _60.QueryProposalResponseAmino): _60.QueryProposalResponse; - toAmino(message: _60.QueryProposalResponse): _60.QueryProposalResponseAmino; - fromAminoMsg(object: _60.QueryProposalResponseAminoMsg): _60.QueryProposalResponse; - toAminoMsg(message: _60.QueryProposalResponse): _60.QueryProposalResponseAminoMsg; - fromProtoMsg(message: _60.QueryProposalResponseProtoMsg): _60.QueryProposalResponse; - toProto(message: _60.QueryProposalResponse): Uint8Array; - toProtoMsg(message: _60.QueryProposalResponse): _60.QueryProposalResponseProtoMsg; - }; - QueryProposalsRequest: { - encode(message: _60.QueryProposalsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryProposalsRequest; - fromJSON(object: any): _60.QueryProposalsRequest; - toJSON(message: _60.QueryProposalsRequest): unknown; - fromPartial(object: Partial<_60.QueryProposalsRequest>): _60.QueryProposalsRequest; - fromAmino(object: _60.QueryProposalsRequestAmino): _60.QueryProposalsRequest; - toAmino(message: _60.QueryProposalsRequest): _60.QueryProposalsRequestAmino; - fromAminoMsg(object: _60.QueryProposalsRequestAminoMsg): _60.QueryProposalsRequest; - toAminoMsg(message: _60.QueryProposalsRequest): _60.QueryProposalsRequestAminoMsg; - fromProtoMsg(message: _60.QueryProposalsRequestProtoMsg): _60.QueryProposalsRequest; - toProto(message: _60.QueryProposalsRequest): Uint8Array; - toProtoMsg(message: _60.QueryProposalsRequest): _60.QueryProposalsRequestProtoMsg; - }; - QueryProposalsResponse: { - encode(message: _60.QueryProposalsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryProposalsResponse; - fromJSON(object: any): _60.QueryProposalsResponse; - toJSON(message: _60.QueryProposalsResponse): unknown; - fromPartial(object: Partial<_60.QueryProposalsResponse>): _60.QueryProposalsResponse; - fromAmino(object: _60.QueryProposalsResponseAmino): _60.QueryProposalsResponse; - toAmino(message: _60.QueryProposalsResponse): _60.QueryProposalsResponseAmino; - fromAminoMsg(object: _60.QueryProposalsResponseAminoMsg): _60.QueryProposalsResponse; - toAminoMsg(message: _60.QueryProposalsResponse): _60.QueryProposalsResponseAminoMsg; - fromProtoMsg(message: _60.QueryProposalsResponseProtoMsg): _60.QueryProposalsResponse; - toProto(message: _60.QueryProposalsResponse): Uint8Array; - toProtoMsg(message: _60.QueryProposalsResponse): _60.QueryProposalsResponseProtoMsg; - }; - QueryVoteRequest: { - encode(message: _60.QueryVoteRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryVoteRequest; - fromJSON(object: any): _60.QueryVoteRequest; - toJSON(message: _60.QueryVoteRequest): unknown; - fromPartial(object: Partial<_60.QueryVoteRequest>): _60.QueryVoteRequest; - fromAmino(object: _60.QueryVoteRequestAmino): _60.QueryVoteRequest; - toAmino(message: _60.QueryVoteRequest): _60.QueryVoteRequestAmino; - fromAminoMsg(object: _60.QueryVoteRequestAminoMsg): _60.QueryVoteRequest; - toAminoMsg(message: _60.QueryVoteRequest): _60.QueryVoteRequestAminoMsg; - fromProtoMsg(message: _60.QueryVoteRequestProtoMsg): _60.QueryVoteRequest; - toProto(message: _60.QueryVoteRequest): Uint8Array; - toProtoMsg(message: _60.QueryVoteRequest): _60.QueryVoteRequestProtoMsg; - }; - QueryVoteResponse: { - encode(message: _60.QueryVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryVoteResponse; - fromJSON(object: any): _60.QueryVoteResponse; - toJSON(message: _60.QueryVoteResponse): unknown; - fromPartial(object: Partial<_60.QueryVoteResponse>): _60.QueryVoteResponse; - fromAmino(object: _60.QueryVoteResponseAmino): _60.QueryVoteResponse; - toAmino(message: _60.QueryVoteResponse): _60.QueryVoteResponseAmino; - fromAminoMsg(object: _60.QueryVoteResponseAminoMsg): _60.QueryVoteResponse; - toAminoMsg(message: _60.QueryVoteResponse): _60.QueryVoteResponseAminoMsg; - fromProtoMsg(message: _60.QueryVoteResponseProtoMsg): _60.QueryVoteResponse; - toProto(message: _60.QueryVoteResponse): Uint8Array; - toProtoMsg(message: _60.QueryVoteResponse): _60.QueryVoteResponseProtoMsg; - }; - QueryVotesRequest: { - encode(message: _60.QueryVotesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryVotesRequest; - fromJSON(object: any): _60.QueryVotesRequest; - toJSON(message: _60.QueryVotesRequest): unknown; - fromPartial(object: Partial<_60.QueryVotesRequest>): _60.QueryVotesRequest; - fromAmino(object: _60.QueryVotesRequestAmino): _60.QueryVotesRequest; - toAmino(message: _60.QueryVotesRequest): _60.QueryVotesRequestAmino; - fromAminoMsg(object: _60.QueryVotesRequestAminoMsg): _60.QueryVotesRequest; - toAminoMsg(message: _60.QueryVotesRequest): _60.QueryVotesRequestAminoMsg; - fromProtoMsg(message: _60.QueryVotesRequestProtoMsg): _60.QueryVotesRequest; - toProto(message: _60.QueryVotesRequest): Uint8Array; - toProtoMsg(message: _60.QueryVotesRequest): _60.QueryVotesRequestProtoMsg; - }; - QueryVotesResponse: { - encode(message: _60.QueryVotesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryVotesResponse; - fromJSON(object: any): _60.QueryVotesResponse; - toJSON(message: _60.QueryVotesResponse): unknown; - fromPartial(object: Partial<_60.QueryVotesResponse>): _60.QueryVotesResponse; - fromAmino(object: _60.QueryVotesResponseAmino): _60.QueryVotesResponse; - toAmino(message: _60.QueryVotesResponse): _60.QueryVotesResponseAmino; - fromAminoMsg(object: _60.QueryVotesResponseAminoMsg): _60.QueryVotesResponse; - toAminoMsg(message: _60.QueryVotesResponse): _60.QueryVotesResponseAminoMsg; - fromProtoMsg(message: _60.QueryVotesResponseProtoMsg): _60.QueryVotesResponse; - toProto(message: _60.QueryVotesResponse): Uint8Array; - toProtoMsg(message: _60.QueryVotesResponse): _60.QueryVotesResponseProtoMsg; - }; - QueryParamsRequest: { - encode(message: _60.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryParamsRequest; - fromJSON(object: any): _60.QueryParamsRequest; - toJSON(message: _60.QueryParamsRequest): unknown; - fromPartial(object: Partial<_60.QueryParamsRequest>): _60.QueryParamsRequest; - fromAmino(object: _60.QueryParamsRequestAmino): _60.QueryParamsRequest; - toAmino(message: _60.QueryParamsRequest): _60.QueryParamsRequestAmino; - fromAminoMsg(object: _60.QueryParamsRequestAminoMsg): _60.QueryParamsRequest; - toAminoMsg(message: _60.QueryParamsRequest): _60.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _60.QueryParamsRequestProtoMsg): _60.QueryParamsRequest; - toProto(message: _60.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _60.QueryParamsRequest): _60.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _60.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryParamsResponse; - fromJSON(object: any): _60.QueryParamsResponse; - toJSON(message: _60.QueryParamsResponse): unknown; - fromPartial(object: Partial<_60.QueryParamsResponse>): _60.QueryParamsResponse; - fromAmino(object: _60.QueryParamsResponseAmino): _60.QueryParamsResponse; - toAmino(message: _60.QueryParamsResponse): _60.QueryParamsResponseAmino; - fromAminoMsg(object: _60.QueryParamsResponseAminoMsg): _60.QueryParamsResponse; - toAminoMsg(message: _60.QueryParamsResponse): _60.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _60.QueryParamsResponseProtoMsg): _60.QueryParamsResponse; - toProto(message: _60.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _60.QueryParamsResponse): _60.QueryParamsResponseProtoMsg; - }; - QueryDepositRequest: { - encode(message: _60.QueryDepositRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryDepositRequest; - fromJSON(object: any): _60.QueryDepositRequest; - toJSON(message: _60.QueryDepositRequest): unknown; - fromPartial(object: Partial<_60.QueryDepositRequest>): _60.QueryDepositRequest; - fromAmino(object: _60.QueryDepositRequestAmino): _60.QueryDepositRequest; - toAmino(message: _60.QueryDepositRequest): _60.QueryDepositRequestAmino; - fromAminoMsg(object: _60.QueryDepositRequestAminoMsg): _60.QueryDepositRequest; - toAminoMsg(message: _60.QueryDepositRequest): _60.QueryDepositRequestAminoMsg; - fromProtoMsg(message: _60.QueryDepositRequestProtoMsg): _60.QueryDepositRequest; - toProto(message: _60.QueryDepositRequest): Uint8Array; - toProtoMsg(message: _60.QueryDepositRequest): _60.QueryDepositRequestProtoMsg; - }; - QueryDepositResponse: { - encode(message: _60.QueryDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryDepositResponse; - fromJSON(object: any): _60.QueryDepositResponse; - toJSON(message: _60.QueryDepositResponse): unknown; - fromPartial(object: Partial<_60.QueryDepositResponse>): _60.QueryDepositResponse; - fromAmino(object: _60.QueryDepositResponseAmino): _60.QueryDepositResponse; - toAmino(message: _60.QueryDepositResponse): _60.QueryDepositResponseAmino; - fromAminoMsg(object: _60.QueryDepositResponseAminoMsg): _60.QueryDepositResponse; - toAminoMsg(message: _60.QueryDepositResponse): _60.QueryDepositResponseAminoMsg; - fromProtoMsg(message: _60.QueryDepositResponseProtoMsg): _60.QueryDepositResponse; - toProto(message: _60.QueryDepositResponse): Uint8Array; - toProtoMsg(message: _60.QueryDepositResponse): _60.QueryDepositResponseProtoMsg; - }; - QueryDepositsRequest: { - encode(message: _60.QueryDepositsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryDepositsRequest; - fromJSON(object: any): _60.QueryDepositsRequest; - toJSON(message: _60.QueryDepositsRequest): unknown; - fromPartial(object: Partial<_60.QueryDepositsRequest>): _60.QueryDepositsRequest; - fromAmino(object: _60.QueryDepositsRequestAmino): _60.QueryDepositsRequest; - toAmino(message: _60.QueryDepositsRequest): _60.QueryDepositsRequestAmino; - fromAminoMsg(object: _60.QueryDepositsRequestAminoMsg): _60.QueryDepositsRequest; - toAminoMsg(message: _60.QueryDepositsRequest): _60.QueryDepositsRequestAminoMsg; - fromProtoMsg(message: _60.QueryDepositsRequestProtoMsg): _60.QueryDepositsRequest; - toProto(message: _60.QueryDepositsRequest): Uint8Array; - toProtoMsg(message: _60.QueryDepositsRequest): _60.QueryDepositsRequestProtoMsg; - }; - QueryDepositsResponse: { - encode(message: _60.QueryDepositsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryDepositsResponse; - fromJSON(object: any): _60.QueryDepositsResponse; - toJSON(message: _60.QueryDepositsResponse): unknown; - fromPartial(object: Partial<_60.QueryDepositsResponse>): _60.QueryDepositsResponse; - fromAmino(object: _60.QueryDepositsResponseAmino): _60.QueryDepositsResponse; - toAmino(message: _60.QueryDepositsResponse): _60.QueryDepositsResponseAmino; - fromAminoMsg(object: _60.QueryDepositsResponseAminoMsg): _60.QueryDepositsResponse; - toAminoMsg(message: _60.QueryDepositsResponse): _60.QueryDepositsResponseAminoMsg; - fromProtoMsg(message: _60.QueryDepositsResponseProtoMsg): _60.QueryDepositsResponse; - toProto(message: _60.QueryDepositsResponse): Uint8Array; - toProtoMsg(message: _60.QueryDepositsResponse): _60.QueryDepositsResponseProtoMsg; - }; - QueryTallyResultRequest: { - encode(message: _60.QueryTallyResultRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryTallyResultRequest; - fromJSON(object: any): _60.QueryTallyResultRequest; - toJSON(message: _60.QueryTallyResultRequest): unknown; - fromPartial(object: Partial<_60.QueryTallyResultRequest>): _60.QueryTallyResultRequest; - fromAmino(object: _60.QueryTallyResultRequestAmino): _60.QueryTallyResultRequest; - toAmino(message: _60.QueryTallyResultRequest): _60.QueryTallyResultRequestAmino; - fromAminoMsg(object: _60.QueryTallyResultRequestAminoMsg): _60.QueryTallyResultRequest; - toAminoMsg(message: _60.QueryTallyResultRequest): _60.QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: _60.QueryTallyResultRequestProtoMsg): _60.QueryTallyResultRequest; - toProto(message: _60.QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: _60.QueryTallyResultRequest): _60.QueryTallyResultRequestProtoMsg; - }; - QueryTallyResultResponse: { - encode(message: _60.QueryTallyResultResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _60.QueryTallyResultResponse; - fromJSON(object: any): _60.QueryTallyResultResponse; - toJSON(message: _60.QueryTallyResultResponse): unknown; - fromPartial(object: Partial<_60.QueryTallyResultResponse>): _60.QueryTallyResultResponse; - fromAmino(object: _60.QueryTallyResultResponseAmino): _60.QueryTallyResultResponse; - toAmino(message: _60.QueryTallyResultResponse): _60.QueryTallyResultResponseAmino; - fromAminoMsg(object: _60.QueryTallyResultResponseAminoMsg): _60.QueryTallyResultResponse; - toAminoMsg(message: _60.QueryTallyResultResponse): _60.QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: _60.QueryTallyResultResponseProtoMsg): _60.QueryTallyResultResponse; - toProto(message: _60.QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: _60.QueryTallyResultResponse): _60.QueryTallyResultResponseProtoMsg; - }; - voteOptionFromJSON(object: any): _59.VoteOption; - voteOptionToJSON(object: _59.VoteOption): string; - proposalStatusFromJSON(object: any): _59.ProposalStatus; - proposalStatusToJSON(object: _59.ProposalStatus): string; - VoteOption: typeof _59.VoteOption; - VoteOptionSDKType: typeof _59.VoteOption; - VoteOptionAmino: typeof _59.VoteOption; - ProposalStatus: typeof _59.ProposalStatus; - ProposalStatusSDKType: typeof _59.ProposalStatus; - ProposalStatusAmino: typeof _59.ProposalStatus; - WeightedVoteOption: { - encode(message: _59.WeightedVoteOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.WeightedVoteOption; - fromJSON(object: any): _59.WeightedVoteOption; - toJSON(message: _59.WeightedVoteOption): unknown; - fromPartial(object: Partial<_59.WeightedVoteOption>): _59.WeightedVoteOption; - fromAmino(object: _59.WeightedVoteOptionAmino): _59.WeightedVoteOption; - toAmino(message: _59.WeightedVoteOption): _59.WeightedVoteOptionAmino; - fromAminoMsg(object: _59.WeightedVoteOptionAminoMsg): _59.WeightedVoteOption; - toAminoMsg(message: _59.WeightedVoteOption): _59.WeightedVoteOptionAminoMsg; - fromProtoMsg(message: _59.WeightedVoteOptionProtoMsg): _59.WeightedVoteOption; - toProto(message: _59.WeightedVoteOption): Uint8Array; - toProtoMsg(message: _59.WeightedVoteOption): _59.WeightedVoteOptionProtoMsg; - }; - TextProposal: { - encode(message: _59.TextProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.TextProposal; - fromJSON(object: any): _59.TextProposal; - toJSON(message: _59.TextProposal): unknown; - fromPartial(object: Partial<_59.TextProposal>): _59.TextProposal; - fromAmino(object: _59.TextProposalAmino): _59.TextProposal; - toAmino(message: _59.TextProposal): _59.TextProposalAmino; - fromAminoMsg(object: _59.TextProposalAminoMsg): _59.TextProposal; - toAminoMsg(message: _59.TextProposal): _59.TextProposalAminoMsg; - fromProtoMsg(message: _59.TextProposalProtoMsg): _59.TextProposal; - toProto(message: _59.TextProposal): Uint8Array; - toProtoMsg(message: _59.TextProposal): _59.TextProposalProtoMsg; - }; - Deposit: { - encode(message: _59.Deposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.Deposit; - fromJSON(object: any): _59.Deposit; - toJSON(message: _59.Deposit): unknown; - fromPartial(object: Partial<_59.Deposit>): _59.Deposit; - fromAmino(object: _59.DepositAmino): _59.Deposit; - toAmino(message: _59.Deposit): _59.DepositAmino; - fromAminoMsg(object: _59.DepositAminoMsg): _59.Deposit; - toAminoMsg(message: _59.Deposit): _59.DepositAminoMsg; - fromProtoMsg(message: _59.DepositProtoMsg): _59.Deposit; - toProto(message: _59.Deposit): Uint8Array; - toProtoMsg(message: _59.Deposit): _59.DepositProtoMsg; - }; - Proposal: { - encode(message: _59.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.Proposal; - fromJSON(object: any): _59.Proposal; - toJSON(message: _59.Proposal): unknown; - fromPartial(object: Partial<_59.Proposal>): _59.Proposal; - fromAmino(object: _59.ProposalAmino): _59.Proposal; - toAmino(message: _59.Proposal): _59.ProposalAmino; - fromAminoMsg(object: _59.ProposalAminoMsg): _59.Proposal; - toAminoMsg(message: _59.Proposal): _59.ProposalAminoMsg; - fromProtoMsg(message: _59.ProposalProtoMsg): _59.Proposal; - toProto(message: _59.Proposal): Uint8Array; - toProtoMsg(message: _59.Proposal): _59.ProposalProtoMsg; - }; - TallyResult: { - encode(message: _59.TallyResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.TallyResult; - fromJSON(object: any): _59.TallyResult; - toJSON(message: _59.TallyResult): unknown; - fromPartial(object: Partial<_59.TallyResult>): _59.TallyResult; - fromAmino(object: _59.TallyResultAmino): _59.TallyResult; - toAmino(message: _59.TallyResult): _59.TallyResultAmino; - fromAminoMsg(object: _59.TallyResultAminoMsg): _59.TallyResult; - toAminoMsg(message: _59.TallyResult): _59.TallyResultAminoMsg; - fromProtoMsg(message: _59.TallyResultProtoMsg): _59.TallyResult; - toProto(message: _59.TallyResult): Uint8Array; - toProtoMsg(message: _59.TallyResult): _59.TallyResultProtoMsg; - }; - Vote: { - encode(message: _59.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.Vote; - fromJSON(object: any): _59.Vote; - toJSON(message: _59.Vote): unknown; - fromPartial(object: Partial<_59.Vote>): _59.Vote; - fromAmino(object: _59.VoteAmino): _59.Vote; - toAmino(message: _59.Vote): _59.VoteAmino; - fromAminoMsg(object: _59.VoteAminoMsg): _59.Vote; - toAminoMsg(message: _59.Vote): _59.VoteAminoMsg; - fromProtoMsg(message: _59.VoteProtoMsg): _59.Vote; - toProto(message: _59.Vote): Uint8Array; - toProtoMsg(message: _59.Vote): _59.VoteProtoMsg; - }; - DepositParams: { - encode(message: _59.DepositParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.DepositParams; - fromJSON(object: any): _59.DepositParams; - toJSON(message: _59.DepositParams): unknown; - fromPartial(object: Partial<_59.DepositParams>): _59.DepositParams; - fromAmino(object: _59.DepositParamsAmino): _59.DepositParams; - toAmino(message: _59.DepositParams): _59.DepositParamsAmino; - fromAminoMsg(object: _59.DepositParamsAminoMsg): _59.DepositParams; - toAminoMsg(message: _59.DepositParams): _59.DepositParamsAminoMsg; - fromProtoMsg(message: _59.DepositParamsProtoMsg): _59.DepositParams; - toProto(message: _59.DepositParams): Uint8Array; - toProtoMsg(message: _59.DepositParams): _59.DepositParamsProtoMsg; - }; - VotingParams: { - encode(message: _59.VotingParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.VotingParams; - fromJSON(object: any): _59.VotingParams; - toJSON(message: _59.VotingParams): unknown; - fromPartial(object: Partial<_59.VotingParams>): _59.VotingParams; - fromAmino(object: _59.VotingParamsAmino): _59.VotingParams; - toAmino(message: _59.VotingParams): _59.VotingParamsAmino; - fromAminoMsg(object: _59.VotingParamsAminoMsg): _59.VotingParams; - toAminoMsg(message: _59.VotingParams): _59.VotingParamsAminoMsg; - fromProtoMsg(message: _59.VotingParamsProtoMsg): _59.VotingParams; - toProto(message: _59.VotingParams): Uint8Array; - toProtoMsg(message: _59.VotingParams): _59.VotingParamsProtoMsg; - }; - TallyParams: { - encode(message: _59.TallyParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _59.TallyParams; - fromJSON(object: any): _59.TallyParams; - toJSON(message: _59.TallyParams): unknown; - fromPartial(object: Partial<_59.TallyParams>): _59.TallyParams; - fromAmino(object: _59.TallyParamsAmino): _59.TallyParams; - toAmino(message: _59.TallyParams): _59.TallyParamsAmino; - fromAminoMsg(object: _59.TallyParamsAminoMsg): _59.TallyParams; - toAminoMsg(message: _59.TallyParams): _59.TallyParamsAminoMsg; - fromProtoMsg(message: _59.TallyParamsProtoMsg): _59.TallyParams; - toProto(message: _59.TallyParams): Uint8Array; - toProtoMsg(message: _59.TallyParams): _59.TallyParamsProtoMsg; - }; - GenesisState: { - encode(message: _58.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _58.GenesisState; - fromJSON(object: any): _58.GenesisState; - toJSON(message: _58.GenesisState): unknown; - fromPartial(object: Partial<_58.GenesisState>): _58.GenesisState; - fromAmino(object: _58.GenesisStateAmino): _58.GenesisState; - toAmino(message: _58.GenesisState): _58.GenesisStateAmino; - fromAminoMsg(object: _58.GenesisStateAminoMsg): _58.GenesisState; - toAminoMsg(message: _58.GenesisState): _58.GenesisStateAminoMsg; - fromProtoMsg(message: _58.GenesisStateProtoMsg): _58.GenesisState; - toProto(message: _58.GenesisState): Uint8Array; - toProtoMsg(message: _58.GenesisState): _58.GenesisStateProtoMsg; - }; - }; - } - namespace group { - const v1: { - MsgClientImpl: typeof _224.MsgClientImpl; - QueryClientImpl: typeof _208.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - groupInfo(request: _64.QueryGroupInfoRequest): Promise<_64.QueryGroupInfoResponse>; - groupPolicyInfo(request: _64.QueryGroupPolicyInfoRequest): Promise<_64.QueryGroupPolicyInfoResponse>; - groupMembers(request: _64.QueryGroupMembersRequest): Promise<_64.QueryGroupMembersResponse>; - groupsByAdmin(request: _64.QueryGroupsByAdminRequest): Promise<_64.QueryGroupsByAdminResponse>; - groupPoliciesByGroup(request: _64.QueryGroupPoliciesByGroupRequest): Promise<_64.QueryGroupPoliciesByGroupResponse>; - groupPoliciesByAdmin(request: _64.QueryGroupPoliciesByAdminRequest): Promise<_64.QueryGroupPoliciesByAdminResponse>; - proposal(request: _64.QueryProposalRequest): Promise<_64.QueryProposalResponse>; - proposalsByGroupPolicy(request: _64.QueryProposalsByGroupPolicyRequest): Promise<_64.QueryProposalsByGroupPolicyResponse>; - voteByProposalVoter(request: _64.QueryVoteByProposalVoterRequest): Promise<_64.QueryVoteByProposalVoterResponse>; - votesByProposal(request: _64.QueryVotesByProposalRequest): Promise<_64.QueryVotesByProposalResponse>; - votesByVoter(request: _64.QueryVotesByVoterRequest): Promise<_64.QueryVotesByVoterResponse>; - groupsByMember(request: _64.QueryGroupsByMemberRequest): Promise<_64.QueryGroupsByMemberResponse>; - tallyResult(request: _64.QueryTallyResultRequest): Promise<_64.QueryTallyResultResponse>; - }; - LCDQueryClient: typeof _189.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createGroup(value: _65.MsgCreateGroup): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMembers(value: _65.MsgUpdateGroupMembers): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupAdmin(value: _65.MsgUpdateGroupAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMetadata(value: _65.MsgUpdateGroupMetadata): { - typeUrl: string; - value: Uint8Array; - }; - createGroupPolicy(value: _65.MsgCreateGroupPolicy): { - typeUrl: string; - value: Uint8Array; - }; - createGroupWithPolicy(value: _65.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyAdmin(value: _65.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyDecisionPolicy(value: _65.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyMetadata(value: _65.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: Uint8Array; - }; - submitProposal(value: _65.MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - withdrawProposal(value: _65.MsgWithdrawProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: _65.MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: _65.MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - leaveGroup(value: _65.MsgLeaveGroup): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createGroup(value: _65.MsgCreateGroup): { - typeUrl: string; - value: _65.MsgCreateGroup; - }; - updateGroupMembers(value: _65.MsgUpdateGroupMembers): { - typeUrl: string; - value: _65.MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: _65.MsgUpdateGroupAdmin): { - typeUrl: string; - value: _65.MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: _65.MsgUpdateGroupMetadata): { - typeUrl: string; - value: _65.MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: _65.MsgCreateGroupPolicy): { - typeUrl: string; - value: _65.MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: _65.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: _65.MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: _65.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: _65.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: _65.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: _65.MsgSubmitProposal): { - typeUrl: string; - value: _65.MsgSubmitProposal; - }; - withdrawProposal(value: _65.MsgWithdrawProposal): { - typeUrl: string; - value: _65.MsgWithdrawProposal; - }; - vote(value: _65.MsgVote): { - typeUrl: string; - value: _65.MsgVote; - }; - exec(value: _65.MsgExec): { - typeUrl: string; - value: _65.MsgExec; - }; - leaveGroup(value: _65.MsgLeaveGroup): { - typeUrl: string; - value: _65.MsgLeaveGroup; - }; - }; - toJSON: { - createGroup(value: _65.MsgCreateGroup): { - typeUrl: string; - value: unknown; - }; - updateGroupMembers(value: _65.MsgUpdateGroupMembers): { - typeUrl: string; - value: unknown; - }; - updateGroupAdmin(value: _65.MsgUpdateGroupAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupMetadata(value: _65.MsgUpdateGroupMetadata): { - typeUrl: string; - value: unknown; - }; - createGroupPolicy(value: _65.MsgCreateGroupPolicy): { - typeUrl: string; - value: unknown; - }; - createGroupWithPolicy(value: _65.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyAdmin(value: _65.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyDecisionPolicy(value: _65.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyMetadata(value: _65.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: unknown; - }; - submitProposal(value: _65.MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - withdrawProposal(value: _65.MsgWithdrawProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: _65.MsgVote): { - typeUrl: string; - value: unknown; - }; - exec(value: _65.MsgExec): { - typeUrl: string; - value: unknown; - }; - leaveGroup(value: _65.MsgLeaveGroup): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createGroup(value: any): { - typeUrl: string; - value: _65.MsgCreateGroup; - }; - updateGroupMembers(value: any): { - typeUrl: string; - value: _65.MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: any): { - typeUrl: string; - value: _65.MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: any): { - typeUrl: string; - value: _65.MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: any): { - typeUrl: string; - value: _65.MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: any): { - typeUrl: string; - value: _65.MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: any): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: any): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: any): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: any): { - typeUrl: string; - value: _65.MsgSubmitProposal; - }; - withdrawProposal(value: any): { - typeUrl: string; - value: _65.MsgWithdrawProposal; - }; - vote(value: any): { - typeUrl: string; - value: _65.MsgVote; - }; - exec(value: any): { - typeUrl: string; - value: _65.MsgExec; - }; - leaveGroup(value: any): { - typeUrl: string; - value: _65.MsgLeaveGroup; - }; - }; - fromPartial: { - createGroup(value: _65.MsgCreateGroup): { - typeUrl: string; - value: _65.MsgCreateGroup; - }; - updateGroupMembers(value: _65.MsgUpdateGroupMembers): { - typeUrl: string; - value: _65.MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: _65.MsgUpdateGroupAdmin): { - typeUrl: string; - value: _65.MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: _65.MsgUpdateGroupMetadata): { - typeUrl: string; - value: _65.MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: _65.MsgCreateGroupPolicy): { - typeUrl: string; - value: _65.MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: _65.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: _65.MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: _65.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: _65.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: _65.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: _65.MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: _65.MsgSubmitProposal): { - typeUrl: string; - value: _65.MsgSubmitProposal; - }; - withdrawProposal(value: _65.MsgWithdrawProposal): { - typeUrl: string; - value: _65.MsgWithdrawProposal; - }; - vote(value: _65.MsgVote): { - typeUrl: string; - value: _65.MsgVote; - }; - exec(value: _65.MsgExec): { - typeUrl: string; - value: _65.MsgExec; - }; - leaveGroup(value: _65.MsgLeaveGroup): { - typeUrl: string; - value: _65.MsgLeaveGroup; - }; - }; - }; - AminoConverter: { - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: string; - toAmino: (message: _65.MsgCreateGroup) => _65.MsgCreateGroupAmino; - fromAmino: (object: _65.MsgCreateGroupAmino) => _65.MsgCreateGroup; - }; - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: string; - toAmino: (message: _65.MsgUpdateGroupMembers) => _65.MsgUpdateGroupMembersAmino; - fromAmino: (object: _65.MsgUpdateGroupMembersAmino) => _65.MsgUpdateGroupMembers; - }; - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: string; - toAmino: (message: _65.MsgUpdateGroupAdmin) => _65.MsgUpdateGroupAdminAmino; - fromAmino: (object: _65.MsgUpdateGroupAdminAmino) => _65.MsgUpdateGroupAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: string; - toAmino: (message: _65.MsgUpdateGroupMetadata) => _65.MsgUpdateGroupMetadataAmino; - fromAmino: (object: _65.MsgUpdateGroupMetadataAmino) => _65.MsgUpdateGroupMetadata; - }; - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: string; - toAmino: (message: _65.MsgCreateGroupPolicy) => _65.MsgCreateGroupPolicyAmino; - fromAmino: (object: _65.MsgCreateGroupPolicyAmino) => _65.MsgCreateGroupPolicy; - }; - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: string; - toAmino: (message: _65.MsgCreateGroupWithPolicy) => _65.MsgCreateGroupWithPolicyAmino; - fromAmino: (object: _65.MsgCreateGroupWithPolicyAmino) => _65.MsgCreateGroupWithPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: string; - toAmino: (message: _65.MsgUpdateGroupPolicyAdmin) => _65.MsgUpdateGroupPolicyAdminAmino; - fromAmino: (object: _65.MsgUpdateGroupPolicyAdminAmino) => _65.MsgUpdateGroupPolicyAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: string; - toAmino: (message: _65.MsgUpdateGroupPolicyDecisionPolicy) => _65.MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAmino: (object: _65.MsgUpdateGroupPolicyDecisionPolicyAmino) => _65.MsgUpdateGroupPolicyDecisionPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: string; - toAmino: (message: _65.MsgUpdateGroupPolicyMetadata) => _65.MsgUpdateGroupPolicyMetadataAmino; - fromAmino: (object: _65.MsgUpdateGroupPolicyMetadataAmino) => _65.MsgUpdateGroupPolicyMetadata; - }; - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: _65.MsgSubmitProposal) => _65.MsgSubmitProposalAmino; - fromAmino: (object: _65.MsgSubmitProposalAmino) => _65.MsgSubmitProposal; - }; - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: string; - toAmino: (message: _65.MsgWithdrawProposal) => _65.MsgWithdrawProposalAmino; - fromAmino: (object: _65.MsgWithdrawProposalAmino) => _65.MsgWithdrawProposal; - }; - "/cosmos.group.v1.MsgVote": { - aminoType: string; - toAmino: (message: _65.MsgVote) => _65.MsgVoteAmino; - fromAmino: (object: _65.MsgVoteAmino) => _65.MsgVote; - }; - "/cosmos.group.v1.MsgExec": { - aminoType: string; - toAmino: (message: _65.MsgExec) => _65.MsgExecAmino; - fromAmino: (object: _65.MsgExecAmino) => _65.MsgExec; - }; - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: string; - toAmino: (message: _65.MsgLeaveGroup) => _65.MsgLeaveGroupAmino; - fromAmino: (object: _65.MsgLeaveGroupAmino) => _65.MsgLeaveGroup; - }; - }; - voteOptionFromJSON(object: any): _66.VoteOption; - voteOptionToJSON(object: _66.VoteOption): string; - proposalStatusFromJSON(object: any): _66.ProposalStatus; - proposalStatusToJSON(object: _66.ProposalStatus): string; - proposalExecutorResultFromJSON(object: any): _66.ProposalExecutorResult; - proposalExecutorResultToJSON(object: _66.ProposalExecutorResult): string; - VoteOption: typeof _66.VoteOption; - VoteOptionSDKType: typeof _66.VoteOption; - VoteOptionAmino: typeof _66.VoteOption; - ProposalStatus: typeof _66.ProposalStatus; - ProposalStatusSDKType: typeof _66.ProposalStatus; - ProposalStatusAmino: typeof _66.ProposalStatus; - ProposalExecutorResult: typeof _66.ProposalExecutorResult; - ProposalExecutorResultSDKType: typeof _66.ProposalExecutorResult; - ProposalExecutorResultAmino: typeof _66.ProposalExecutorResult; - Member: { - encode(message: _66.Member, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.Member; - fromJSON(object: any): _66.Member; - toJSON(message: _66.Member): unknown; - fromPartial(object: Partial<_66.Member>): _66.Member; - fromAmino(object: _66.MemberAmino): _66.Member; - toAmino(message: _66.Member): _66.MemberAmino; - fromAminoMsg(object: _66.MemberAminoMsg): _66.Member; - toAminoMsg(message: _66.Member): _66.MemberAminoMsg; - fromProtoMsg(message: _66.MemberProtoMsg): _66.Member; - toProto(message: _66.Member): Uint8Array; - toProtoMsg(message: _66.Member): _66.MemberProtoMsg; - }; - MemberRequest: { - encode(message: _66.MemberRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.MemberRequest; - fromJSON(object: any): _66.MemberRequest; - toJSON(message: _66.MemberRequest): unknown; - fromPartial(object: Partial<_66.MemberRequest>): _66.MemberRequest; - fromAmino(object: _66.MemberRequestAmino): _66.MemberRequest; - toAmino(message: _66.MemberRequest): _66.MemberRequestAmino; - fromAminoMsg(object: _66.MemberRequestAminoMsg): _66.MemberRequest; - toAminoMsg(message: _66.MemberRequest): _66.MemberRequestAminoMsg; - fromProtoMsg(message: _66.MemberRequestProtoMsg): _66.MemberRequest; - toProto(message: _66.MemberRequest): Uint8Array; - toProtoMsg(message: _66.MemberRequest): _66.MemberRequestProtoMsg; - }; - ThresholdDecisionPolicy: { - encode(message: _66.ThresholdDecisionPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.ThresholdDecisionPolicy; - fromJSON(object: any): _66.ThresholdDecisionPolicy; - toJSON(message: _66.ThresholdDecisionPolicy): unknown; - fromPartial(object: Partial<_66.ThresholdDecisionPolicy>): _66.ThresholdDecisionPolicy; - fromAmino(object: _66.ThresholdDecisionPolicyAmino): _66.ThresholdDecisionPolicy; - toAmino(message: _66.ThresholdDecisionPolicy): _66.ThresholdDecisionPolicyAmino; - fromAminoMsg(object: _66.ThresholdDecisionPolicyAminoMsg): _66.ThresholdDecisionPolicy; - toAminoMsg(message: _66.ThresholdDecisionPolicy): _66.ThresholdDecisionPolicyAminoMsg; - fromProtoMsg(message: _66.ThresholdDecisionPolicyProtoMsg): _66.ThresholdDecisionPolicy; - toProto(message: _66.ThresholdDecisionPolicy): Uint8Array; - toProtoMsg(message: _66.ThresholdDecisionPolicy): _66.ThresholdDecisionPolicyProtoMsg; - }; - PercentageDecisionPolicy: { - encode(message: _66.PercentageDecisionPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.PercentageDecisionPolicy; - fromJSON(object: any): _66.PercentageDecisionPolicy; - toJSON(message: _66.PercentageDecisionPolicy): unknown; - fromPartial(object: Partial<_66.PercentageDecisionPolicy>): _66.PercentageDecisionPolicy; - fromAmino(object: _66.PercentageDecisionPolicyAmino): _66.PercentageDecisionPolicy; - toAmino(message: _66.PercentageDecisionPolicy): _66.PercentageDecisionPolicyAmino; - fromAminoMsg(object: _66.PercentageDecisionPolicyAminoMsg): _66.PercentageDecisionPolicy; - toAminoMsg(message: _66.PercentageDecisionPolicy): _66.PercentageDecisionPolicyAminoMsg; - fromProtoMsg(message: _66.PercentageDecisionPolicyProtoMsg): _66.PercentageDecisionPolicy; - toProto(message: _66.PercentageDecisionPolicy): Uint8Array; - toProtoMsg(message: _66.PercentageDecisionPolicy): _66.PercentageDecisionPolicyProtoMsg; - }; - DecisionPolicyWindows: { - encode(message: _66.DecisionPolicyWindows, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.DecisionPolicyWindows; - fromJSON(object: any): _66.DecisionPolicyWindows; - toJSON(message: _66.DecisionPolicyWindows): unknown; - fromPartial(object: Partial<_66.DecisionPolicyWindows>): _66.DecisionPolicyWindows; - fromAmino(object: _66.DecisionPolicyWindowsAmino): _66.DecisionPolicyWindows; - toAmino(message: _66.DecisionPolicyWindows): _66.DecisionPolicyWindowsAmino; - fromAminoMsg(object: _66.DecisionPolicyWindowsAminoMsg): _66.DecisionPolicyWindows; - toAminoMsg(message: _66.DecisionPolicyWindows): _66.DecisionPolicyWindowsAminoMsg; - fromProtoMsg(message: _66.DecisionPolicyWindowsProtoMsg): _66.DecisionPolicyWindows; - toProto(message: _66.DecisionPolicyWindows): Uint8Array; - toProtoMsg(message: _66.DecisionPolicyWindows): _66.DecisionPolicyWindowsProtoMsg; - }; - GroupInfo: { - encode(message: _66.GroupInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.GroupInfo; - fromJSON(object: any): _66.GroupInfo; - toJSON(message: _66.GroupInfo): unknown; - fromPartial(object: Partial<_66.GroupInfo>): _66.GroupInfo; - fromAmino(object: _66.GroupInfoAmino): _66.GroupInfo; - toAmino(message: _66.GroupInfo): _66.GroupInfoAmino; - fromAminoMsg(object: _66.GroupInfoAminoMsg): _66.GroupInfo; - toAminoMsg(message: _66.GroupInfo): _66.GroupInfoAminoMsg; - fromProtoMsg(message: _66.GroupInfoProtoMsg): _66.GroupInfo; - toProto(message: _66.GroupInfo): Uint8Array; - toProtoMsg(message: _66.GroupInfo): _66.GroupInfoProtoMsg; - }; - GroupMember: { - encode(message: _66.GroupMember, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.GroupMember; - fromJSON(object: any): _66.GroupMember; - toJSON(message: _66.GroupMember): unknown; - fromPartial(object: Partial<_66.GroupMember>): _66.GroupMember; - fromAmino(object: _66.GroupMemberAmino): _66.GroupMember; - toAmino(message: _66.GroupMember): _66.GroupMemberAmino; - fromAminoMsg(object: _66.GroupMemberAminoMsg): _66.GroupMember; - toAminoMsg(message: _66.GroupMember): _66.GroupMemberAminoMsg; - fromProtoMsg(message: _66.GroupMemberProtoMsg): _66.GroupMember; - toProto(message: _66.GroupMember): Uint8Array; - toProtoMsg(message: _66.GroupMember): _66.GroupMemberProtoMsg; - }; - GroupPolicyInfo: { - encode(message: _66.GroupPolicyInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.GroupPolicyInfo; - fromJSON(object: any): _66.GroupPolicyInfo; - toJSON(message: _66.GroupPolicyInfo): unknown; - fromPartial(object: Partial<_66.GroupPolicyInfo>): _66.GroupPolicyInfo; - fromAmino(object: _66.GroupPolicyInfoAmino): _66.GroupPolicyInfo; - toAmino(message: _66.GroupPolicyInfo): _66.GroupPolicyInfoAmino; - fromAminoMsg(object: _66.GroupPolicyInfoAminoMsg): _66.GroupPolicyInfo; - toAminoMsg(message: _66.GroupPolicyInfo): _66.GroupPolicyInfoAminoMsg; - fromProtoMsg(message: _66.GroupPolicyInfoProtoMsg): _66.GroupPolicyInfo; - toProto(message: _66.GroupPolicyInfo): Uint8Array; - toProtoMsg(message: _66.GroupPolicyInfo): _66.GroupPolicyInfoProtoMsg; - }; - Proposal: { - encode(message: _66.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.Proposal; - fromJSON(object: any): _66.Proposal; - toJSON(message: _66.Proposal): unknown; - fromPartial(object: Partial<_66.Proposal>): _66.Proposal; - fromAmino(object: _66.ProposalAmino): _66.Proposal; - toAmino(message: _66.Proposal): _66.ProposalAmino; - fromAminoMsg(object: _66.ProposalAminoMsg): _66.Proposal; - toAminoMsg(message: _66.Proposal): _66.ProposalAminoMsg; - fromProtoMsg(message: _66.ProposalProtoMsg): _66.Proposal; - toProto(message: _66.Proposal): Uint8Array; - toProtoMsg(message: _66.Proposal): _66.ProposalProtoMsg; - }; - TallyResult: { - encode(message: _66.TallyResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.TallyResult; - fromJSON(object: any): _66.TallyResult; - toJSON(message: _66.TallyResult): unknown; - fromPartial(object: Partial<_66.TallyResult>): _66.TallyResult; - fromAmino(object: _66.TallyResultAmino): _66.TallyResult; - toAmino(message: _66.TallyResult): _66.TallyResultAmino; - fromAminoMsg(object: _66.TallyResultAminoMsg): _66.TallyResult; - toAminoMsg(message: _66.TallyResult): _66.TallyResultAminoMsg; - fromProtoMsg(message: _66.TallyResultProtoMsg): _66.TallyResult; - toProto(message: _66.TallyResult): Uint8Array; - toProtoMsg(message: _66.TallyResult): _66.TallyResultProtoMsg; - }; - Vote: { - encode(message: _66.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _66.Vote; - fromJSON(object: any): _66.Vote; - toJSON(message: _66.Vote): unknown; - fromPartial(object: Partial<_66.Vote>): _66.Vote; - fromAmino(object: _66.VoteAmino): _66.Vote; - toAmino(message: _66.Vote): _66.VoteAmino; - fromAminoMsg(object: _66.VoteAminoMsg): _66.Vote; - toAminoMsg(message: _66.Vote): _66.VoteAminoMsg; - fromProtoMsg(message: _66.VoteProtoMsg): _66.Vote; - toProto(message: _66.Vote): Uint8Array; - toProtoMsg(message: _66.Vote): _66.VoteProtoMsg; - }; - DecisionPolicy_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any | _66.ThresholdDecisionPolicy | _66.PercentageDecisionPolicy; - DecisionPolicy_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => import("../google/protobuf/any").Any; - DecisionPolicy_ToAmino: (content: import("../google/protobuf/any").Any) => import("../google/protobuf/any").AnyAmino; - execFromJSON(object: any): _65.Exec; - execToJSON(object: _65.Exec): string; - Exec: typeof _65.Exec; - ExecSDKType: typeof _65.Exec; - ExecAmino: typeof _65.Exec; - MsgCreateGroup: { - encode(message: _65.MsgCreateGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgCreateGroup; - fromJSON(object: any): _65.MsgCreateGroup; - toJSON(message: _65.MsgCreateGroup): unknown; - fromPartial(object: Partial<_65.MsgCreateGroup>): _65.MsgCreateGroup; - fromAmino(object: _65.MsgCreateGroupAmino): _65.MsgCreateGroup; - toAmino(message: _65.MsgCreateGroup): _65.MsgCreateGroupAmino; - fromAminoMsg(object: _65.MsgCreateGroupAminoMsg): _65.MsgCreateGroup; - toAminoMsg(message: _65.MsgCreateGroup): _65.MsgCreateGroupAminoMsg; - fromProtoMsg(message: _65.MsgCreateGroupProtoMsg): _65.MsgCreateGroup; - toProto(message: _65.MsgCreateGroup): Uint8Array; - toProtoMsg(message: _65.MsgCreateGroup): _65.MsgCreateGroupProtoMsg; - }; - MsgCreateGroupResponse: { - encode(message: _65.MsgCreateGroupResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgCreateGroupResponse; - fromJSON(object: any): _65.MsgCreateGroupResponse; - toJSON(message: _65.MsgCreateGroupResponse): unknown; - fromPartial(object: Partial<_65.MsgCreateGroupResponse>): _65.MsgCreateGroupResponse; - fromAmino(object: _65.MsgCreateGroupResponseAmino): _65.MsgCreateGroupResponse; - toAmino(message: _65.MsgCreateGroupResponse): _65.MsgCreateGroupResponseAmino; - fromAminoMsg(object: _65.MsgCreateGroupResponseAminoMsg): _65.MsgCreateGroupResponse; - toAminoMsg(message: _65.MsgCreateGroupResponse): _65.MsgCreateGroupResponseAminoMsg; - fromProtoMsg(message: _65.MsgCreateGroupResponseProtoMsg): _65.MsgCreateGroupResponse; - toProto(message: _65.MsgCreateGroupResponse): Uint8Array; - toProtoMsg(message: _65.MsgCreateGroupResponse): _65.MsgCreateGroupResponseProtoMsg; - }; - MsgUpdateGroupMembers: { - encode(message: _65.MsgUpdateGroupMembers, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupMembers; - fromJSON(object: any): _65.MsgUpdateGroupMembers; - toJSON(message: _65.MsgUpdateGroupMembers): unknown; - fromPartial(object: Partial<_65.MsgUpdateGroupMembers>): _65.MsgUpdateGroupMembers; - fromAmino(object: _65.MsgUpdateGroupMembersAmino): _65.MsgUpdateGroupMembers; - toAmino(message: _65.MsgUpdateGroupMembers): _65.MsgUpdateGroupMembersAmino; - fromAminoMsg(object: _65.MsgUpdateGroupMembersAminoMsg): _65.MsgUpdateGroupMembers; - toAminoMsg(message: _65.MsgUpdateGroupMembers): _65.MsgUpdateGroupMembersAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupMembersProtoMsg): _65.MsgUpdateGroupMembers; - toProto(message: _65.MsgUpdateGroupMembers): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupMembers): _65.MsgUpdateGroupMembersProtoMsg; - }; - MsgUpdateGroupMembersResponse: { - encode(_: _65.MsgUpdateGroupMembersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupMembersResponse; - fromJSON(_: any): _65.MsgUpdateGroupMembersResponse; - toJSON(_: _65.MsgUpdateGroupMembersResponse): unknown; - fromPartial(_: Partial<_65.MsgUpdateGroupMembersResponse>): _65.MsgUpdateGroupMembersResponse; - fromAmino(_: _65.MsgUpdateGroupMembersResponseAmino): _65.MsgUpdateGroupMembersResponse; - toAmino(_: _65.MsgUpdateGroupMembersResponse): _65.MsgUpdateGroupMembersResponseAmino; - fromAminoMsg(object: _65.MsgUpdateGroupMembersResponseAminoMsg): _65.MsgUpdateGroupMembersResponse; - toAminoMsg(message: _65.MsgUpdateGroupMembersResponse): _65.MsgUpdateGroupMembersResponseAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupMembersResponseProtoMsg): _65.MsgUpdateGroupMembersResponse; - toProto(message: _65.MsgUpdateGroupMembersResponse): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupMembersResponse): _65.MsgUpdateGroupMembersResponseProtoMsg; - }; - MsgUpdateGroupAdmin: { - encode(message: _65.MsgUpdateGroupAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupAdmin; - fromJSON(object: any): _65.MsgUpdateGroupAdmin; - toJSON(message: _65.MsgUpdateGroupAdmin): unknown; - fromPartial(object: Partial<_65.MsgUpdateGroupAdmin>): _65.MsgUpdateGroupAdmin; - fromAmino(object: _65.MsgUpdateGroupAdminAmino): _65.MsgUpdateGroupAdmin; - toAmino(message: _65.MsgUpdateGroupAdmin): _65.MsgUpdateGroupAdminAmino; - fromAminoMsg(object: _65.MsgUpdateGroupAdminAminoMsg): _65.MsgUpdateGroupAdmin; - toAminoMsg(message: _65.MsgUpdateGroupAdmin): _65.MsgUpdateGroupAdminAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupAdminProtoMsg): _65.MsgUpdateGroupAdmin; - toProto(message: _65.MsgUpdateGroupAdmin): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupAdmin): _65.MsgUpdateGroupAdminProtoMsg; - }; - MsgUpdateGroupAdminResponse: { - encode(_: _65.MsgUpdateGroupAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupAdminResponse; - fromJSON(_: any): _65.MsgUpdateGroupAdminResponse; - toJSON(_: _65.MsgUpdateGroupAdminResponse): unknown; - fromPartial(_: Partial<_65.MsgUpdateGroupAdminResponse>): _65.MsgUpdateGroupAdminResponse; - fromAmino(_: _65.MsgUpdateGroupAdminResponseAmino): _65.MsgUpdateGroupAdminResponse; - toAmino(_: _65.MsgUpdateGroupAdminResponse): _65.MsgUpdateGroupAdminResponseAmino; - fromAminoMsg(object: _65.MsgUpdateGroupAdminResponseAminoMsg): _65.MsgUpdateGroupAdminResponse; - toAminoMsg(message: _65.MsgUpdateGroupAdminResponse): _65.MsgUpdateGroupAdminResponseAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupAdminResponseProtoMsg): _65.MsgUpdateGroupAdminResponse; - toProto(message: _65.MsgUpdateGroupAdminResponse): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupAdminResponse): _65.MsgUpdateGroupAdminResponseProtoMsg; - }; - MsgUpdateGroupMetadata: { - encode(message: _65.MsgUpdateGroupMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupMetadata; - fromJSON(object: any): _65.MsgUpdateGroupMetadata; - toJSON(message: _65.MsgUpdateGroupMetadata): unknown; - fromPartial(object: Partial<_65.MsgUpdateGroupMetadata>): _65.MsgUpdateGroupMetadata; - fromAmino(object: _65.MsgUpdateGroupMetadataAmino): _65.MsgUpdateGroupMetadata; - toAmino(message: _65.MsgUpdateGroupMetadata): _65.MsgUpdateGroupMetadataAmino; - fromAminoMsg(object: _65.MsgUpdateGroupMetadataAminoMsg): _65.MsgUpdateGroupMetadata; - toAminoMsg(message: _65.MsgUpdateGroupMetadata): _65.MsgUpdateGroupMetadataAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupMetadataProtoMsg): _65.MsgUpdateGroupMetadata; - toProto(message: _65.MsgUpdateGroupMetadata): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupMetadata): _65.MsgUpdateGroupMetadataProtoMsg; - }; - MsgUpdateGroupMetadataResponse: { - encode(_: _65.MsgUpdateGroupMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupMetadataResponse; - fromJSON(_: any): _65.MsgUpdateGroupMetadataResponse; - toJSON(_: _65.MsgUpdateGroupMetadataResponse): unknown; - fromPartial(_: Partial<_65.MsgUpdateGroupMetadataResponse>): _65.MsgUpdateGroupMetadataResponse; - fromAmino(_: _65.MsgUpdateGroupMetadataResponseAmino): _65.MsgUpdateGroupMetadataResponse; - toAmino(_: _65.MsgUpdateGroupMetadataResponse): _65.MsgUpdateGroupMetadataResponseAmino; - fromAminoMsg(object: _65.MsgUpdateGroupMetadataResponseAminoMsg): _65.MsgUpdateGroupMetadataResponse; - toAminoMsg(message: _65.MsgUpdateGroupMetadataResponse): _65.MsgUpdateGroupMetadataResponseAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupMetadataResponseProtoMsg): _65.MsgUpdateGroupMetadataResponse; - toProto(message: _65.MsgUpdateGroupMetadataResponse): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupMetadataResponse): _65.MsgUpdateGroupMetadataResponseProtoMsg; - }; - MsgCreateGroupPolicy: { - encode(message: _65.MsgCreateGroupPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgCreateGroupPolicy; - fromJSON(object: any): _65.MsgCreateGroupPolicy; - toJSON(message: _65.MsgCreateGroupPolicy): unknown; - fromPartial(object: Partial<_65.MsgCreateGroupPolicy>): _65.MsgCreateGroupPolicy; - fromAmino(object: _65.MsgCreateGroupPolicyAmino): _65.MsgCreateGroupPolicy; - toAmino(message: _65.MsgCreateGroupPolicy): _65.MsgCreateGroupPolicyAmino; - fromAminoMsg(object: _65.MsgCreateGroupPolicyAminoMsg): _65.MsgCreateGroupPolicy; - toAminoMsg(message: _65.MsgCreateGroupPolicy): _65.MsgCreateGroupPolicyAminoMsg; - fromProtoMsg(message: _65.MsgCreateGroupPolicyProtoMsg): _65.MsgCreateGroupPolicy; - toProto(message: _65.MsgCreateGroupPolicy): Uint8Array; - toProtoMsg(message: _65.MsgCreateGroupPolicy): _65.MsgCreateGroupPolicyProtoMsg; - }; - MsgCreateGroupPolicyResponse: { - encode(message: _65.MsgCreateGroupPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgCreateGroupPolicyResponse; - fromJSON(object: any): _65.MsgCreateGroupPolicyResponse; - toJSON(message: _65.MsgCreateGroupPolicyResponse): unknown; - fromPartial(object: Partial<_65.MsgCreateGroupPolicyResponse>): _65.MsgCreateGroupPolicyResponse; - fromAmino(object: _65.MsgCreateGroupPolicyResponseAmino): _65.MsgCreateGroupPolicyResponse; - toAmino(message: _65.MsgCreateGroupPolicyResponse): _65.MsgCreateGroupPolicyResponseAmino; - fromAminoMsg(object: _65.MsgCreateGroupPolicyResponseAminoMsg): _65.MsgCreateGroupPolicyResponse; - toAminoMsg(message: _65.MsgCreateGroupPolicyResponse): _65.MsgCreateGroupPolicyResponseAminoMsg; - fromProtoMsg(message: _65.MsgCreateGroupPolicyResponseProtoMsg): _65.MsgCreateGroupPolicyResponse; - toProto(message: _65.MsgCreateGroupPolicyResponse): Uint8Array; - toProtoMsg(message: _65.MsgCreateGroupPolicyResponse): _65.MsgCreateGroupPolicyResponseProtoMsg; - }; - MsgUpdateGroupPolicyAdmin: { - encode(message: _65.MsgUpdateGroupPolicyAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupPolicyAdmin; - fromJSON(object: any): _65.MsgUpdateGroupPolicyAdmin; - toJSON(message: _65.MsgUpdateGroupPolicyAdmin): unknown; - fromPartial(object: Partial<_65.MsgUpdateGroupPolicyAdmin>): _65.MsgUpdateGroupPolicyAdmin; - fromAmino(object: _65.MsgUpdateGroupPolicyAdminAmino): _65.MsgUpdateGroupPolicyAdmin; - toAmino(message: _65.MsgUpdateGroupPolicyAdmin): _65.MsgUpdateGroupPolicyAdminAmino; - fromAminoMsg(object: _65.MsgUpdateGroupPolicyAdminAminoMsg): _65.MsgUpdateGroupPolicyAdmin; - toAminoMsg(message: _65.MsgUpdateGroupPolicyAdmin): _65.MsgUpdateGroupPolicyAdminAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupPolicyAdminProtoMsg): _65.MsgUpdateGroupPolicyAdmin; - toProto(message: _65.MsgUpdateGroupPolicyAdmin): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupPolicyAdmin): _65.MsgUpdateGroupPolicyAdminProtoMsg; - }; - MsgUpdateGroupPolicyAdminResponse: { - encode(_: _65.MsgUpdateGroupPolicyAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupPolicyAdminResponse; - fromJSON(_: any): _65.MsgUpdateGroupPolicyAdminResponse; - toJSON(_: _65.MsgUpdateGroupPolicyAdminResponse): unknown; - fromPartial(_: Partial<_65.MsgUpdateGroupPolicyAdminResponse>): _65.MsgUpdateGroupPolicyAdminResponse; - fromAmino(_: _65.MsgUpdateGroupPolicyAdminResponseAmino): _65.MsgUpdateGroupPolicyAdminResponse; - toAmino(_: _65.MsgUpdateGroupPolicyAdminResponse): _65.MsgUpdateGroupPolicyAdminResponseAmino; - fromAminoMsg(object: _65.MsgUpdateGroupPolicyAdminResponseAminoMsg): _65.MsgUpdateGroupPolicyAdminResponse; - toAminoMsg(message: _65.MsgUpdateGroupPolicyAdminResponse): _65.MsgUpdateGroupPolicyAdminResponseAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupPolicyAdminResponseProtoMsg): _65.MsgUpdateGroupPolicyAdminResponse; - toProto(message: _65.MsgUpdateGroupPolicyAdminResponse): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupPolicyAdminResponse): _65.MsgUpdateGroupPolicyAdminResponseProtoMsg; - }; - MsgCreateGroupWithPolicy: { - encode(message: _65.MsgCreateGroupWithPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgCreateGroupWithPolicy; - fromJSON(object: any): _65.MsgCreateGroupWithPolicy; - toJSON(message: _65.MsgCreateGroupWithPolicy): unknown; - fromPartial(object: Partial<_65.MsgCreateGroupWithPolicy>): _65.MsgCreateGroupWithPolicy; - fromAmino(object: _65.MsgCreateGroupWithPolicyAmino): _65.MsgCreateGroupWithPolicy; - toAmino(message: _65.MsgCreateGroupWithPolicy): _65.MsgCreateGroupWithPolicyAmino; - fromAminoMsg(object: _65.MsgCreateGroupWithPolicyAminoMsg): _65.MsgCreateGroupWithPolicy; - toAminoMsg(message: _65.MsgCreateGroupWithPolicy): _65.MsgCreateGroupWithPolicyAminoMsg; - fromProtoMsg(message: _65.MsgCreateGroupWithPolicyProtoMsg): _65.MsgCreateGroupWithPolicy; - toProto(message: _65.MsgCreateGroupWithPolicy): Uint8Array; - toProtoMsg(message: _65.MsgCreateGroupWithPolicy): _65.MsgCreateGroupWithPolicyProtoMsg; - }; - MsgCreateGroupWithPolicyResponse: { - encode(message: _65.MsgCreateGroupWithPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgCreateGroupWithPolicyResponse; - fromJSON(object: any): _65.MsgCreateGroupWithPolicyResponse; - toJSON(message: _65.MsgCreateGroupWithPolicyResponse): unknown; - fromPartial(object: Partial<_65.MsgCreateGroupWithPolicyResponse>): _65.MsgCreateGroupWithPolicyResponse; - fromAmino(object: _65.MsgCreateGroupWithPolicyResponseAmino): _65.MsgCreateGroupWithPolicyResponse; - toAmino(message: _65.MsgCreateGroupWithPolicyResponse): _65.MsgCreateGroupWithPolicyResponseAmino; - fromAminoMsg(object: _65.MsgCreateGroupWithPolicyResponseAminoMsg): _65.MsgCreateGroupWithPolicyResponse; - toAminoMsg(message: _65.MsgCreateGroupWithPolicyResponse): _65.MsgCreateGroupWithPolicyResponseAminoMsg; - fromProtoMsg(message: _65.MsgCreateGroupWithPolicyResponseProtoMsg): _65.MsgCreateGroupWithPolicyResponse; - toProto(message: _65.MsgCreateGroupWithPolicyResponse): Uint8Array; - toProtoMsg(message: _65.MsgCreateGroupWithPolicyResponse): _65.MsgCreateGroupWithPolicyResponseProtoMsg; - }; - MsgUpdateGroupPolicyDecisionPolicy: { - encode(message: _65.MsgUpdateGroupPolicyDecisionPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupPolicyDecisionPolicy; - fromJSON(object: any): _65.MsgUpdateGroupPolicyDecisionPolicy; - toJSON(message: _65.MsgUpdateGroupPolicyDecisionPolicy): unknown; - fromPartial(object: Partial<_65.MsgUpdateGroupPolicyDecisionPolicy>): _65.MsgUpdateGroupPolicyDecisionPolicy; - fromAmino(object: _65.MsgUpdateGroupPolicyDecisionPolicyAmino): _65.MsgUpdateGroupPolicyDecisionPolicy; - toAmino(message: _65.MsgUpdateGroupPolicyDecisionPolicy): _65.MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAminoMsg(object: _65.MsgUpdateGroupPolicyDecisionPolicyAminoMsg): _65.MsgUpdateGroupPolicyDecisionPolicy; - toAminoMsg(message: _65.MsgUpdateGroupPolicyDecisionPolicy): _65.MsgUpdateGroupPolicyDecisionPolicyAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupPolicyDecisionPolicyProtoMsg): _65.MsgUpdateGroupPolicyDecisionPolicy; - toProto(message: _65.MsgUpdateGroupPolicyDecisionPolicy): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupPolicyDecisionPolicy): _65.MsgUpdateGroupPolicyDecisionPolicyProtoMsg; - }; - MsgUpdateGroupPolicyDecisionPolicyResponse: { - encode(_: _65.MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupPolicyDecisionPolicyResponse; - fromJSON(_: any): _65.MsgUpdateGroupPolicyDecisionPolicyResponse; - toJSON(_: _65.MsgUpdateGroupPolicyDecisionPolicyResponse): unknown; - fromPartial(_: Partial<_65.MsgUpdateGroupPolicyDecisionPolicyResponse>): _65.MsgUpdateGroupPolicyDecisionPolicyResponse; - fromAmino(_: _65.MsgUpdateGroupPolicyDecisionPolicyResponseAmino): _65.MsgUpdateGroupPolicyDecisionPolicyResponse; - toAmino(_: _65.MsgUpdateGroupPolicyDecisionPolicyResponse): _65.MsgUpdateGroupPolicyDecisionPolicyResponseAmino; - fromAminoMsg(object: _65.MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg): _65.MsgUpdateGroupPolicyDecisionPolicyResponse; - toAminoMsg(message: _65.MsgUpdateGroupPolicyDecisionPolicyResponse): _65.MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg): _65.MsgUpdateGroupPolicyDecisionPolicyResponse; - toProto(message: _65.MsgUpdateGroupPolicyDecisionPolicyResponse): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupPolicyDecisionPolicyResponse): _65.MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg; - }; - MsgUpdateGroupPolicyMetadata: { - encode(message: _65.MsgUpdateGroupPolicyMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupPolicyMetadata; - fromJSON(object: any): _65.MsgUpdateGroupPolicyMetadata; - toJSON(message: _65.MsgUpdateGroupPolicyMetadata): unknown; - fromPartial(object: Partial<_65.MsgUpdateGroupPolicyMetadata>): _65.MsgUpdateGroupPolicyMetadata; - fromAmino(object: _65.MsgUpdateGroupPolicyMetadataAmino): _65.MsgUpdateGroupPolicyMetadata; - toAmino(message: _65.MsgUpdateGroupPolicyMetadata): _65.MsgUpdateGroupPolicyMetadataAmino; - fromAminoMsg(object: _65.MsgUpdateGroupPolicyMetadataAminoMsg): _65.MsgUpdateGroupPolicyMetadata; - toAminoMsg(message: _65.MsgUpdateGroupPolicyMetadata): _65.MsgUpdateGroupPolicyMetadataAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupPolicyMetadataProtoMsg): _65.MsgUpdateGroupPolicyMetadata; - toProto(message: _65.MsgUpdateGroupPolicyMetadata): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupPolicyMetadata): _65.MsgUpdateGroupPolicyMetadataProtoMsg; - }; - MsgUpdateGroupPolicyMetadataResponse: { - encode(_: _65.MsgUpdateGroupPolicyMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgUpdateGroupPolicyMetadataResponse; - fromJSON(_: any): _65.MsgUpdateGroupPolicyMetadataResponse; - toJSON(_: _65.MsgUpdateGroupPolicyMetadataResponse): unknown; - fromPartial(_: Partial<_65.MsgUpdateGroupPolicyMetadataResponse>): _65.MsgUpdateGroupPolicyMetadataResponse; - fromAmino(_: _65.MsgUpdateGroupPolicyMetadataResponseAmino): _65.MsgUpdateGroupPolicyMetadataResponse; - toAmino(_: _65.MsgUpdateGroupPolicyMetadataResponse): _65.MsgUpdateGroupPolicyMetadataResponseAmino; - fromAminoMsg(object: _65.MsgUpdateGroupPolicyMetadataResponseAminoMsg): _65.MsgUpdateGroupPolicyMetadataResponse; - toAminoMsg(message: _65.MsgUpdateGroupPolicyMetadataResponse): _65.MsgUpdateGroupPolicyMetadataResponseAminoMsg; - fromProtoMsg(message: _65.MsgUpdateGroupPolicyMetadataResponseProtoMsg): _65.MsgUpdateGroupPolicyMetadataResponse; - toProto(message: _65.MsgUpdateGroupPolicyMetadataResponse): Uint8Array; - toProtoMsg(message: _65.MsgUpdateGroupPolicyMetadataResponse): _65.MsgUpdateGroupPolicyMetadataResponseProtoMsg; - }; - MsgSubmitProposal: { - encode(message: _65.MsgSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgSubmitProposal; - fromJSON(object: any): _65.MsgSubmitProposal; - toJSON(message: _65.MsgSubmitProposal): unknown; - fromPartial(object: Partial<_65.MsgSubmitProposal>): _65.MsgSubmitProposal; - fromAmino(object: _65.MsgSubmitProposalAmino): _65.MsgSubmitProposal; - toAmino(message: _65.MsgSubmitProposal): _65.MsgSubmitProposalAmino; - fromAminoMsg(object: _65.MsgSubmitProposalAminoMsg): _65.MsgSubmitProposal; - toAminoMsg(message: _65.MsgSubmitProposal): _65.MsgSubmitProposalAminoMsg; - fromProtoMsg(message: _65.MsgSubmitProposalProtoMsg): _65.MsgSubmitProposal; - toProto(message: _65.MsgSubmitProposal): Uint8Array; - toProtoMsg(message: _65.MsgSubmitProposal): _65.MsgSubmitProposalProtoMsg; - }; - MsgSubmitProposalResponse: { - encode(message: _65.MsgSubmitProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgSubmitProposalResponse; - fromJSON(object: any): _65.MsgSubmitProposalResponse; - toJSON(message: _65.MsgSubmitProposalResponse): unknown; - fromPartial(object: Partial<_65.MsgSubmitProposalResponse>): _65.MsgSubmitProposalResponse; - fromAmino(object: _65.MsgSubmitProposalResponseAmino): _65.MsgSubmitProposalResponse; - toAmino(message: _65.MsgSubmitProposalResponse): _65.MsgSubmitProposalResponseAmino; - fromAminoMsg(object: _65.MsgSubmitProposalResponseAminoMsg): _65.MsgSubmitProposalResponse; - toAminoMsg(message: _65.MsgSubmitProposalResponse): _65.MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: _65.MsgSubmitProposalResponseProtoMsg): _65.MsgSubmitProposalResponse; - toProto(message: _65.MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: _65.MsgSubmitProposalResponse): _65.MsgSubmitProposalResponseProtoMsg; - }; - MsgWithdrawProposal: { - encode(message: _65.MsgWithdrawProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgWithdrawProposal; - fromJSON(object: any): _65.MsgWithdrawProposal; - toJSON(message: _65.MsgWithdrawProposal): unknown; - fromPartial(object: Partial<_65.MsgWithdrawProposal>): _65.MsgWithdrawProposal; - fromAmino(object: _65.MsgWithdrawProposalAmino): _65.MsgWithdrawProposal; - toAmino(message: _65.MsgWithdrawProposal): _65.MsgWithdrawProposalAmino; - fromAminoMsg(object: _65.MsgWithdrawProposalAminoMsg): _65.MsgWithdrawProposal; - toAminoMsg(message: _65.MsgWithdrawProposal): _65.MsgWithdrawProposalAminoMsg; - fromProtoMsg(message: _65.MsgWithdrawProposalProtoMsg): _65.MsgWithdrawProposal; - toProto(message: _65.MsgWithdrawProposal): Uint8Array; - toProtoMsg(message: _65.MsgWithdrawProposal): _65.MsgWithdrawProposalProtoMsg; - }; - MsgWithdrawProposalResponse: { - encode(_: _65.MsgWithdrawProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgWithdrawProposalResponse; - fromJSON(_: any): _65.MsgWithdrawProposalResponse; - toJSON(_: _65.MsgWithdrawProposalResponse): unknown; - fromPartial(_: Partial<_65.MsgWithdrawProposalResponse>): _65.MsgWithdrawProposalResponse; - fromAmino(_: _65.MsgWithdrawProposalResponseAmino): _65.MsgWithdrawProposalResponse; - toAmino(_: _65.MsgWithdrawProposalResponse): _65.MsgWithdrawProposalResponseAmino; - fromAminoMsg(object: _65.MsgWithdrawProposalResponseAminoMsg): _65.MsgWithdrawProposalResponse; - toAminoMsg(message: _65.MsgWithdrawProposalResponse): _65.MsgWithdrawProposalResponseAminoMsg; - fromProtoMsg(message: _65.MsgWithdrawProposalResponseProtoMsg): _65.MsgWithdrawProposalResponse; - toProto(message: _65.MsgWithdrawProposalResponse): Uint8Array; - toProtoMsg(message: _65.MsgWithdrawProposalResponse): _65.MsgWithdrawProposalResponseProtoMsg; - }; - MsgVote: { - encode(message: _65.MsgVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgVote; - fromJSON(object: any): _65.MsgVote; - toJSON(message: _65.MsgVote): unknown; - fromPartial(object: Partial<_65.MsgVote>): _65.MsgVote; - fromAmino(object: _65.MsgVoteAmino): _65.MsgVote; - toAmino(message: _65.MsgVote): _65.MsgVoteAmino; - fromAminoMsg(object: _65.MsgVoteAminoMsg): _65.MsgVote; - toAminoMsg(message: _65.MsgVote): _65.MsgVoteAminoMsg; - fromProtoMsg(message: _65.MsgVoteProtoMsg): _65.MsgVote; - toProto(message: _65.MsgVote): Uint8Array; - toProtoMsg(message: _65.MsgVote): _65.MsgVoteProtoMsg; - }; - MsgVoteResponse: { - encode(_: _65.MsgVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgVoteResponse; - fromJSON(_: any): _65.MsgVoteResponse; - toJSON(_: _65.MsgVoteResponse): unknown; - fromPartial(_: Partial<_65.MsgVoteResponse>): _65.MsgVoteResponse; - fromAmino(_: _65.MsgVoteResponseAmino): _65.MsgVoteResponse; - toAmino(_: _65.MsgVoteResponse): _65.MsgVoteResponseAmino; - fromAminoMsg(object: _65.MsgVoteResponseAminoMsg): _65.MsgVoteResponse; - toAminoMsg(message: _65.MsgVoteResponse): _65.MsgVoteResponseAminoMsg; - fromProtoMsg(message: _65.MsgVoteResponseProtoMsg): _65.MsgVoteResponse; - toProto(message: _65.MsgVoteResponse): Uint8Array; - toProtoMsg(message: _65.MsgVoteResponse): _65.MsgVoteResponseProtoMsg; - }; - MsgExec: { - encode(message: _65.MsgExec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgExec; - fromJSON(object: any): _65.MsgExec; - toJSON(message: _65.MsgExec): unknown; - fromPartial(object: Partial<_65.MsgExec>): _65.MsgExec; - fromAmino(object: _65.MsgExecAmino): _65.MsgExec; - toAmino(message: _65.MsgExec): _65.MsgExecAmino; - fromAminoMsg(object: _65.MsgExecAminoMsg): _65.MsgExec; - toAminoMsg(message: _65.MsgExec): _65.MsgExecAminoMsg; - fromProtoMsg(message: _65.MsgExecProtoMsg): _65.MsgExec; - toProto(message: _65.MsgExec): Uint8Array; - toProtoMsg(message: _65.MsgExec): _65.MsgExecProtoMsg; - }; - MsgExecResponse: { - encode(message: _65.MsgExecResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgExecResponse; - fromJSON(object: any): _65.MsgExecResponse; - toJSON(message: _65.MsgExecResponse): unknown; - fromPartial(object: Partial<_65.MsgExecResponse>): _65.MsgExecResponse; - fromAmino(object: _65.MsgExecResponseAmino): _65.MsgExecResponse; - toAmino(message: _65.MsgExecResponse): _65.MsgExecResponseAmino; - fromAminoMsg(object: _65.MsgExecResponseAminoMsg): _65.MsgExecResponse; - toAminoMsg(message: _65.MsgExecResponse): _65.MsgExecResponseAminoMsg; - fromProtoMsg(message: _65.MsgExecResponseProtoMsg): _65.MsgExecResponse; - toProto(message: _65.MsgExecResponse): Uint8Array; - toProtoMsg(message: _65.MsgExecResponse): _65.MsgExecResponseProtoMsg; - }; - MsgLeaveGroup: { - encode(message: _65.MsgLeaveGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgLeaveGroup; - fromJSON(object: any): _65.MsgLeaveGroup; - toJSON(message: _65.MsgLeaveGroup): unknown; - fromPartial(object: Partial<_65.MsgLeaveGroup>): _65.MsgLeaveGroup; - fromAmino(object: _65.MsgLeaveGroupAmino): _65.MsgLeaveGroup; - toAmino(message: _65.MsgLeaveGroup): _65.MsgLeaveGroupAmino; - fromAminoMsg(object: _65.MsgLeaveGroupAminoMsg): _65.MsgLeaveGroup; - toAminoMsg(message: _65.MsgLeaveGroup): _65.MsgLeaveGroupAminoMsg; - fromProtoMsg(message: _65.MsgLeaveGroupProtoMsg): _65.MsgLeaveGroup; - toProto(message: _65.MsgLeaveGroup): Uint8Array; - toProtoMsg(message: _65.MsgLeaveGroup): _65.MsgLeaveGroupProtoMsg; - }; - MsgLeaveGroupResponse: { - encode(_: _65.MsgLeaveGroupResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _65.MsgLeaveGroupResponse; - fromJSON(_: any): _65.MsgLeaveGroupResponse; - toJSON(_: _65.MsgLeaveGroupResponse): unknown; - fromPartial(_: Partial<_65.MsgLeaveGroupResponse>): _65.MsgLeaveGroupResponse; - fromAmino(_: _65.MsgLeaveGroupResponseAmino): _65.MsgLeaveGroupResponse; - toAmino(_: _65.MsgLeaveGroupResponse): _65.MsgLeaveGroupResponseAmino; - fromAminoMsg(object: _65.MsgLeaveGroupResponseAminoMsg): _65.MsgLeaveGroupResponse; - toAminoMsg(message: _65.MsgLeaveGroupResponse): _65.MsgLeaveGroupResponseAminoMsg; - fromProtoMsg(message: _65.MsgLeaveGroupResponseProtoMsg): _65.MsgLeaveGroupResponse; - toProto(message: _65.MsgLeaveGroupResponse): Uint8Array; - toProtoMsg(message: _65.MsgLeaveGroupResponse): _65.MsgLeaveGroupResponseProtoMsg; - }; - QueryGroupInfoRequest: { - encode(message: _64.QueryGroupInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupInfoRequest; - fromJSON(object: any): _64.QueryGroupInfoRequest; - toJSON(message: _64.QueryGroupInfoRequest): unknown; - fromPartial(object: Partial<_64.QueryGroupInfoRequest>): _64.QueryGroupInfoRequest; - fromAmino(object: _64.QueryGroupInfoRequestAmino): _64.QueryGroupInfoRequest; - toAmino(message: _64.QueryGroupInfoRequest): _64.QueryGroupInfoRequestAmino; - fromAminoMsg(object: _64.QueryGroupInfoRequestAminoMsg): _64.QueryGroupInfoRequest; - toAminoMsg(message: _64.QueryGroupInfoRequest): _64.QueryGroupInfoRequestAminoMsg; - fromProtoMsg(message: _64.QueryGroupInfoRequestProtoMsg): _64.QueryGroupInfoRequest; - toProto(message: _64.QueryGroupInfoRequest): Uint8Array; - toProtoMsg(message: _64.QueryGroupInfoRequest): _64.QueryGroupInfoRequestProtoMsg; - }; - QueryGroupInfoResponse: { - encode(message: _64.QueryGroupInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupInfoResponse; - fromJSON(object: any): _64.QueryGroupInfoResponse; - toJSON(message: _64.QueryGroupInfoResponse): unknown; - fromPartial(object: Partial<_64.QueryGroupInfoResponse>): _64.QueryGroupInfoResponse; - fromAmino(object: _64.QueryGroupInfoResponseAmino): _64.QueryGroupInfoResponse; - toAmino(message: _64.QueryGroupInfoResponse): _64.QueryGroupInfoResponseAmino; - fromAminoMsg(object: _64.QueryGroupInfoResponseAminoMsg): _64.QueryGroupInfoResponse; - toAminoMsg(message: _64.QueryGroupInfoResponse): _64.QueryGroupInfoResponseAminoMsg; - fromProtoMsg(message: _64.QueryGroupInfoResponseProtoMsg): _64.QueryGroupInfoResponse; - toProto(message: _64.QueryGroupInfoResponse): Uint8Array; - toProtoMsg(message: _64.QueryGroupInfoResponse): _64.QueryGroupInfoResponseProtoMsg; - }; - QueryGroupPolicyInfoRequest: { - encode(message: _64.QueryGroupPolicyInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupPolicyInfoRequest; - fromJSON(object: any): _64.QueryGroupPolicyInfoRequest; - toJSON(message: _64.QueryGroupPolicyInfoRequest): unknown; - fromPartial(object: Partial<_64.QueryGroupPolicyInfoRequest>): _64.QueryGroupPolicyInfoRequest; - fromAmino(object: _64.QueryGroupPolicyInfoRequestAmino): _64.QueryGroupPolicyInfoRequest; - toAmino(message: _64.QueryGroupPolicyInfoRequest): _64.QueryGroupPolicyInfoRequestAmino; - fromAminoMsg(object: _64.QueryGroupPolicyInfoRequestAminoMsg): _64.QueryGroupPolicyInfoRequest; - toAminoMsg(message: _64.QueryGroupPolicyInfoRequest): _64.QueryGroupPolicyInfoRequestAminoMsg; - fromProtoMsg(message: _64.QueryGroupPolicyInfoRequestProtoMsg): _64.QueryGroupPolicyInfoRequest; - toProto(message: _64.QueryGroupPolicyInfoRequest): Uint8Array; - toProtoMsg(message: _64.QueryGroupPolicyInfoRequest): _64.QueryGroupPolicyInfoRequestProtoMsg; - }; - QueryGroupPolicyInfoResponse: { - encode(message: _64.QueryGroupPolicyInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupPolicyInfoResponse; - fromJSON(object: any): _64.QueryGroupPolicyInfoResponse; - toJSON(message: _64.QueryGroupPolicyInfoResponse): unknown; - fromPartial(object: Partial<_64.QueryGroupPolicyInfoResponse>): _64.QueryGroupPolicyInfoResponse; - fromAmino(object: _64.QueryGroupPolicyInfoResponseAmino): _64.QueryGroupPolicyInfoResponse; - toAmino(message: _64.QueryGroupPolicyInfoResponse): _64.QueryGroupPolicyInfoResponseAmino; - fromAminoMsg(object: _64.QueryGroupPolicyInfoResponseAminoMsg): _64.QueryGroupPolicyInfoResponse; - toAminoMsg(message: _64.QueryGroupPolicyInfoResponse): _64.QueryGroupPolicyInfoResponseAminoMsg; - fromProtoMsg(message: _64.QueryGroupPolicyInfoResponseProtoMsg): _64.QueryGroupPolicyInfoResponse; - toProto(message: _64.QueryGroupPolicyInfoResponse): Uint8Array; - toProtoMsg(message: _64.QueryGroupPolicyInfoResponse): _64.QueryGroupPolicyInfoResponseProtoMsg; - }; - QueryGroupMembersRequest: { - encode(message: _64.QueryGroupMembersRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupMembersRequest; - fromJSON(object: any): _64.QueryGroupMembersRequest; - toJSON(message: _64.QueryGroupMembersRequest): unknown; - fromPartial(object: Partial<_64.QueryGroupMembersRequest>): _64.QueryGroupMembersRequest; - fromAmino(object: _64.QueryGroupMembersRequestAmino): _64.QueryGroupMembersRequest; - toAmino(message: _64.QueryGroupMembersRequest): _64.QueryGroupMembersRequestAmino; - fromAminoMsg(object: _64.QueryGroupMembersRequestAminoMsg): _64.QueryGroupMembersRequest; - toAminoMsg(message: _64.QueryGroupMembersRequest): _64.QueryGroupMembersRequestAminoMsg; - fromProtoMsg(message: _64.QueryGroupMembersRequestProtoMsg): _64.QueryGroupMembersRequest; - toProto(message: _64.QueryGroupMembersRequest): Uint8Array; - toProtoMsg(message: _64.QueryGroupMembersRequest): _64.QueryGroupMembersRequestProtoMsg; - }; - QueryGroupMembersResponse: { - encode(message: _64.QueryGroupMembersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupMembersResponse; - fromJSON(object: any): _64.QueryGroupMembersResponse; - toJSON(message: _64.QueryGroupMembersResponse): unknown; - fromPartial(object: Partial<_64.QueryGroupMembersResponse>): _64.QueryGroupMembersResponse; - fromAmino(object: _64.QueryGroupMembersResponseAmino): _64.QueryGroupMembersResponse; - toAmino(message: _64.QueryGroupMembersResponse): _64.QueryGroupMembersResponseAmino; - fromAminoMsg(object: _64.QueryGroupMembersResponseAminoMsg): _64.QueryGroupMembersResponse; - toAminoMsg(message: _64.QueryGroupMembersResponse): _64.QueryGroupMembersResponseAminoMsg; - fromProtoMsg(message: _64.QueryGroupMembersResponseProtoMsg): _64.QueryGroupMembersResponse; - toProto(message: _64.QueryGroupMembersResponse): Uint8Array; - toProtoMsg(message: _64.QueryGroupMembersResponse): _64.QueryGroupMembersResponseProtoMsg; - }; - QueryGroupsByAdminRequest: { - encode(message: _64.QueryGroupsByAdminRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupsByAdminRequest; - fromJSON(object: any): _64.QueryGroupsByAdminRequest; - toJSON(message: _64.QueryGroupsByAdminRequest): unknown; - fromPartial(object: Partial<_64.QueryGroupsByAdminRequest>): _64.QueryGroupsByAdminRequest; - fromAmino(object: _64.QueryGroupsByAdminRequestAmino): _64.QueryGroupsByAdminRequest; - toAmino(message: _64.QueryGroupsByAdminRequest): _64.QueryGroupsByAdminRequestAmino; - fromAminoMsg(object: _64.QueryGroupsByAdminRequestAminoMsg): _64.QueryGroupsByAdminRequest; - toAminoMsg(message: _64.QueryGroupsByAdminRequest): _64.QueryGroupsByAdminRequestAminoMsg; - fromProtoMsg(message: _64.QueryGroupsByAdminRequestProtoMsg): _64.QueryGroupsByAdminRequest; - toProto(message: _64.QueryGroupsByAdminRequest): Uint8Array; - toProtoMsg(message: _64.QueryGroupsByAdminRequest): _64.QueryGroupsByAdminRequestProtoMsg; - }; - QueryGroupsByAdminResponse: { - encode(message: _64.QueryGroupsByAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupsByAdminResponse; - fromJSON(object: any): _64.QueryGroupsByAdminResponse; - toJSON(message: _64.QueryGroupsByAdminResponse): unknown; - fromPartial(object: Partial<_64.QueryGroupsByAdminResponse>): _64.QueryGroupsByAdminResponse; - fromAmino(object: _64.QueryGroupsByAdminResponseAmino): _64.QueryGroupsByAdminResponse; - toAmino(message: _64.QueryGroupsByAdminResponse): _64.QueryGroupsByAdminResponseAmino; - fromAminoMsg(object: _64.QueryGroupsByAdminResponseAminoMsg): _64.QueryGroupsByAdminResponse; - toAminoMsg(message: _64.QueryGroupsByAdminResponse): _64.QueryGroupsByAdminResponseAminoMsg; - fromProtoMsg(message: _64.QueryGroupsByAdminResponseProtoMsg): _64.QueryGroupsByAdminResponse; - toProto(message: _64.QueryGroupsByAdminResponse): Uint8Array; - toProtoMsg(message: _64.QueryGroupsByAdminResponse): _64.QueryGroupsByAdminResponseProtoMsg; - }; - QueryGroupPoliciesByGroupRequest: { - encode(message: _64.QueryGroupPoliciesByGroupRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupPoliciesByGroupRequest; - fromJSON(object: any): _64.QueryGroupPoliciesByGroupRequest; - toJSON(message: _64.QueryGroupPoliciesByGroupRequest): unknown; - fromPartial(object: Partial<_64.QueryGroupPoliciesByGroupRequest>): _64.QueryGroupPoliciesByGroupRequest; - fromAmino(object: _64.QueryGroupPoliciesByGroupRequestAmino): _64.QueryGroupPoliciesByGroupRequest; - toAmino(message: _64.QueryGroupPoliciesByGroupRequest): _64.QueryGroupPoliciesByGroupRequestAmino; - fromAminoMsg(object: _64.QueryGroupPoliciesByGroupRequestAminoMsg): _64.QueryGroupPoliciesByGroupRequest; - toAminoMsg(message: _64.QueryGroupPoliciesByGroupRequest): _64.QueryGroupPoliciesByGroupRequestAminoMsg; - fromProtoMsg(message: _64.QueryGroupPoliciesByGroupRequestProtoMsg): _64.QueryGroupPoliciesByGroupRequest; - toProto(message: _64.QueryGroupPoliciesByGroupRequest): Uint8Array; - toProtoMsg(message: _64.QueryGroupPoliciesByGroupRequest): _64.QueryGroupPoliciesByGroupRequestProtoMsg; - }; - QueryGroupPoliciesByGroupResponse: { - encode(message: _64.QueryGroupPoliciesByGroupResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupPoliciesByGroupResponse; - fromJSON(object: any): _64.QueryGroupPoliciesByGroupResponse; - toJSON(message: _64.QueryGroupPoliciesByGroupResponse): unknown; - fromPartial(object: Partial<_64.QueryGroupPoliciesByGroupResponse>): _64.QueryGroupPoliciesByGroupResponse; - fromAmino(object: _64.QueryGroupPoliciesByGroupResponseAmino): _64.QueryGroupPoliciesByGroupResponse; - toAmino(message: _64.QueryGroupPoliciesByGroupResponse): _64.QueryGroupPoliciesByGroupResponseAmino; - fromAminoMsg(object: _64.QueryGroupPoliciesByGroupResponseAminoMsg): _64.QueryGroupPoliciesByGroupResponse; - toAminoMsg(message: _64.QueryGroupPoliciesByGroupResponse): _64.QueryGroupPoliciesByGroupResponseAminoMsg; - fromProtoMsg(message: _64.QueryGroupPoliciesByGroupResponseProtoMsg): _64.QueryGroupPoliciesByGroupResponse; - toProto(message: _64.QueryGroupPoliciesByGroupResponse): Uint8Array; - toProtoMsg(message: _64.QueryGroupPoliciesByGroupResponse): _64.QueryGroupPoliciesByGroupResponseProtoMsg; - }; - QueryGroupPoliciesByAdminRequest: { - encode(message: _64.QueryGroupPoliciesByAdminRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupPoliciesByAdminRequest; - fromJSON(object: any): _64.QueryGroupPoliciesByAdminRequest; - toJSON(message: _64.QueryGroupPoliciesByAdminRequest): unknown; - fromPartial(object: Partial<_64.QueryGroupPoliciesByAdminRequest>): _64.QueryGroupPoliciesByAdminRequest; - fromAmino(object: _64.QueryGroupPoliciesByAdminRequestAmino): _64.QueryGroupPoliciesByAdminRequest; - toAmino(message: _64.QueryGroupPoliciesByAdminRequest): _64.QueryGroupPoliciesByAdminRequestAmino; - fromAminoMsg(object: _64.QueryGroupPoliciesByAdminRequestAminoMsg): _64.QueryGroupPoliciesByAdminRequest; - toAminoMsg(message: _64.QueryGroupPoliciesByAdminRequest): _64.QueryGroupPoliciesByAdminRequestAminoMsg; - fromProtoMsg(message: _64.QueryGroupPoliciesByAdminRequestProtoMsg): _64.QueryGroupPoliciesByAdminRequest; - toProto(message: _64.QueryGroupPoliciesByAdminRequest): Uint8Array; - toProtoMsg(message: _64.QueryGroupPoliciesByAdminRequest): _64.QueryGroupPoliciesByAdminRequestProtoMsg; - }; - QueryGroupPoliciesByAdminResponse: { - encode(message: _64.QueryGroupPoliciesByAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupPoliciesByAdminResponse; - fromJSON(object: any): _64.QueryGroupPoliciesByAdminResponse; - toJSON(message: _64.QueryGroupPoliciesByAdminResponse): unknown; - fromPartial(object: Partial<_64.QueryGroupPoliciesByAdminResponse>): _64.QueryGroupPoliciesByAdminResponse; - fromAmino(object: _64.QueryGroupPoliciesByAdminResponseAmino): _64.QueryGroupPoliciesByAdminResponse; - toAmino(message: _64.QueryGroupPoliciesByAdminResponse): _64.QueryGroupPoliciesByAdminResponseAmino; - fromAminoMsg(object: _64.QueryGroupPoliciesByAdminResponseAminoMsg): _64.QueryGroupPoliciesByAdminResponse; - toAminoMsg(message: _64.QueryGroupPoliciesByAdminResponse): _64.QueryGroupPoliciesByAdminResponseAminoMsg; - fromProtoMsg(message: _64.QueryGroupPoliciesByAdminResponseProtoMsg): _64.QueryGroupPoliciesByAdminResponse; - toProto(message: _64.QueryGroupPoliciesByAdminResponse): Uint8Array; - toProtoMsg(message: _64.QueryGroupPoliciesByAdminResponse): _64.QueryGroupPoliciesByAdminResponseProtoMsg; - }; - QueryProposalRequest: { - encode(message: _64.QueryProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryProposalRequest; - fromJSON(object: any): _64.QueryProposalRequest; - toJSON(message: _64.QueryProposalRequest): unknown; - fromPartial(object: Partial<_64.QueryProposalRequest>): _64.QueryProposalRequest; - fromAmino(object: _64.QueryProposalRequestAmino): _64.QueryProposalRequest; - toAmino(message: _64.QueryProposalRequest): _64.QueryProposalRequestAmino; - fromAminoMsg(object: _64.QueryProposalRequestAminoMsg): _64.QueryProposalRequest; - toAminoMsg(message: _64.QueryProposalRequest): _64.QueryProposalRequestAminoMsg; - fromProtoMsg(message: _64.QueryProposalRequestProtoMsg): _64.QueryProposalRequest; - toProto(message: _64.QueryProposalRequest): Uint8Array; - toProtoMsg(message: _64.QueryProposalRequest): _64.QueryProposalRequestProtoMsg; - }; - QueryProposalResponse: { - encode(message: _64.QueryProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryProposalResponse; - fromJSON(object: any): _64.QueryProposalResponse; - toJSON(message: _64.QueryProposalResponse): unknown; - fromPartial(object: Partial<_64.QueryProposalResponse>): _64.QueryProposalResponse; - fromAmino(object: _64.QueryProposalResponseAmino): _64.QueryProposalResponse; - toAmino(message: _64.QueryProposalResponse): _64.QueryProposalResponseAmino; - fromAminoMsg(object: _64.QueryProposalResponseAminoMsg): _64.QueryProposalResponse; - toAminoMsg(message: _64.QueryProposalResponse): _64.QueryProposalResponseAminoMsg; - fromProtoMsg(message: _64.QueryProposalResponseProtoMsg): _64.QueryProposalResponse; - toProto(message: _64.QueryProposalResponse): Uint8Array; - toProtoMsg(message: _64.QueryProposalResponse): _64.QueryProposalResponseProtoMsg; - }; - QueryProposalsByGroupPolicyRequest: { - encode(message: _64.QueryProposalsByGroupPolicyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryProposalsByGroupPolicyRequest; - fromJSON(object: any): _64.QueryProposalsByGroupPolicyRequest; - toJSON(message: _64.QueryProposalsByGroupPolicyRequest): unknown; - fromPartial(object: Partial<_64.QueryProposalsByGroupPolicyRequest>): _64.QueryProposalsByGroupPolicyRequest; - fromAmino(object: _64.QueryProposalsByGroupPolicyRequestAmino): _64.QueryProposalsByGroupPolicyRequest; - toAmino(message: _64.QueryProposalsByGroupPolicyRequest): _64.QueryProposalsByGroupPolicyRequestAmino; - fromAminoMsg(object: _64.QueryProposalsByGroupPolicyRequestAminoMsg): _64.QueryProposalsByGroupPolicyRequest; - toAminoMsg(message: _64.QueryProposalsByGroupPolicyRequest): _64.QueryProposalsByGroupPolicyRequestAminoMsg; - fromProtoMsg(message: _64.QueryProposalsByGroupPolicyRequestProtoMsg): _64.QueryProposalsByGroupPolicyRequest; - toProto(message: _64.QueryProposalsByGroupPolicyRequest): Uint8Array; - toProtoMsg(message: _64.QueryProposalsByGroupPolicyRequest): _64.QueryProposalsByGroupPolicyRequestProtoMsg; - }; - QueryProposalsByGroupPolicyResponse: { - encode(message: _64.QueryProposalsByGroupPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryProposalsByGroupPolicyResponse; - fromJSON(object: any): _64.QueryProposalsByGroupPolicyResponse; - toJSON(message: _64.QueryProposalsByGroupPolicyResponse): unknown; - fromPartial(object: Partial<_64.QueryProposalsByGroupPolicyResponse>): _64.QueryProposalsByGroupPolicyResponse; - fromAmino(object: _64.QueryProposalsByGroupPolicyResponseAmino): _64.QueryProposalsByGroupPolicyResponse; - toAmino(message: _64.QueryProposalsByGroupPolicyResponse): _64.QueryProposalsByGroupPolicyResponseAmino; - fromAminoMsg(object: _64.QueryProposalsByGroupPolicyResponseAminoMsg): _64.QueryProposalsByGroupPolicyResponse; - toAminoMsg(message: _64.QueryProposalsByGroupPolicyResponse): _64.QueryProposalsByGroupPolicyResponseAminoMsg; - fromProtoMsg(message: _64.QueryProposalsByGroupPolicyResponseProtoMsg): _64.QueryProposalsByGroupPolicyResponse; - toProto(message: _64.QueryProposalsByGroupPolicyResponse): Uint8Array; - toProtoMsg(message: _64.QueryProposalsByGroupPolicyResponse): _64.QueryProposalsByGroupPolicyResponseProtoMsg; - }; - QueryVoteByProposalVoterRequest: { - encode(message: _64.QueryVoteByProposalVoterRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryVoteByProposalVoterRequest; - fromJSON(object: any): _64.QueryVoteByProposalVoterRequest; - toJSON(message: _64.QueryVoteByProposalVoterRequest): unknown; - fromPartial(object: Partial<_64.QueryVoteByProposalVoterRequest>): _64.QueryVoteByProposalVoterRequest; - fromAmino(object: _64.QueryVoteByProposalVoterRequestAmino): _64.QueryVoteByProposalVoterRequest; - toAmino(message: _64.QueryVoteByProposalVoterRequest): _64.QueryVoteByProposalVoterRequestAmino; - fromAminoMsg(object: _64.QueryVoteByProposalVoterRequestAminoMsg): _64.QueryVoteByProposalVoterRequest; - toAminoMsg(message: _64.QueryVoteByProposalVoterRequest): _64.QueryVoteByProposalVoterRequestAminoMsg; - fromProtoMsg(message: _64.QueryVoteByProposalVoterRequestProtoMsg): _64.QueryVoteByProposalVoterRequest; - toProto(message: _64.QueryVoteByProposalVoterRequest): Uint8Array; - toProtoMsg(message: _64.QueryVoteByProposalVoterRequest): _64.QueryVoteByProposalVoterRequestProtoMsg; - }; - QueryVoteByProposalVoterResponse: { - encode(message: _64.QueryVoteByProposalVoterResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryVoteByProposalVoterResponse; - fromJSON(object: any): _64.QueryVoteByProposalVoterResponse; - toJSON(message: _64.QueryVoteByProposalVoterResponse): unknown; - fromPartial(object: Partial<_64.QueryVoteByProposalVoterResponse>): _64.QueryVoteByProposalVoterResponse; - fromAmino(object: _64.QueryVoteByProposalVoterResponseAmino): _64.QueryVoteByProposalVoterResponse; - toAmino(message: _64.QueryVoteByProposalVoterResponse): _64.QueryVoteByProposalVoterResponseAmino; - fromAminoMsg(object: _64.QueryVoteByProposalVoterResponseAminoMsg): _64.QueryVoteByProposalVoterResponse; - toAminoMsg(message: _64.QueryVoteByProposalVoterResponse): _64.QueryVoteByProposalVoterResponseAminoMsg; - fromProtoMsg(message: _64.QueryVoteByProposalVoterResponseProtoMsg): _64.QueryVoteByProposalVoterResponse; - toProto(message: _64.QueryVoteByProposalVoterResponse): Uint8Array; - toProtoMsg(message: _64.QueryVoteByProposalVoterResponse): _64.QueryVoteByProposalVoterResponseProtoMsg; - }; - QueryVotesByProposalRequest: { - encode(message: _64.QueryVotesByProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryVotesByProposalRequest; - fromJSON(object: any): _64.QueryVotesByProposalRequest; - toJSON(message: _64.QueryVotesByProposalRequest): unknown; - fromPartial(object: Partial<_64.QueryVotesByProposalRequest>): _64.QueryVotesByProposalRequest; - fromAmino(object: _64.QueryVotesByProposalRequestAmino): _64.QueryVotesByProposalRequest; - toAmino(message: _64.QueryVotesByProposalRequest): _64.QueryVotesByProposalRequestAmino; - fromAminoMsg(object: _64.QueryVotesByProposalRequestAminoMsg): _64.QueryVotesByProposalRequest; - toAminoMsg(message: _64.QueryVotesByProposalRequest): _64.QueryVotesByProposalRequestAminoMsg; - fromProtoMsg(message: _64.QueryVotesByProposalRequestProtoMsg): _64.QueryVotesByProposalRequest; - toProto(message: _64.QueryVotesByProposalRequest): Uint8Array; - toProtoMsg(message: _64.QueryVotesByProposalRequest): _64.QueryVotesByProposalRequestProtoMsg; - }; - QueryVotesByProposalResponse: { - encode(message: _64.QueryVotesByProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryVotesByProposalResponse; - fromJSON(object: any): _64.QueryVotesByProposalResponse; - toJSON(message: _64.QueryVotesByProposalResponse): unknown; - fromPartial(object: Partial<_64.QueryVotesByProposalResponse>): _64.QueryVotesByProposalResponse; - fromAmino(object: _64.QueryVotesByProposalResponseAmino): _64.QueryVotesByProposalResponse; - toAmino(message: _64.QueryVotesByProposalResponse): _64.QueryVotesByProposalResponseAmino; - fromAminoMsg(object: _64.QueryVotesByProposalResponseAminoMsg): _64.QueryVotesByProposalResponse; - toAminoMsg(message: _64.QueryVotesByProposalResponse): _64.QueryVotesByProposalResponseAminoMsg; - fromProtoMsg(message: _64.QueryVotesByProposalResponseProtoMsg): _64.QueryVotesByProposalResponse; - toProto(message: _64.QueryVotesByProposalResponse): Uint8Array; - toProtoMsg(message: _64.QueryVotesByProposalResponse): _64.QueryVotesByProposalResponseProtoMsg; - }; - QueryVotesByVoterRequest: { - encode(message: _64.QueryVotesByVoterRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryVotesByVoterRequest; - fromJSON(object: any): _64.QueryVotesByVoterRequest; - toJSON(message: _64.QueryVotesByVoterRequest): unknown; - fromPartial(object: Partial<_64.QueryVotesByVoterRequest>): _64.QueryVotesByVoterRequest; - fromAmino(object: _64.QueryVotesByVoterRequestAmino): _64.QueryVotesByVoterRequest; - toAmino(message: _64.QueryVotesByVoterRequest): _64.QueryVotesByVoterRequestAmino; - fromAminoMsg(object: _64.QueryVotesByVoterRequestAminoMsg): _64.QueryVotesByVoterRequest; - toAminoMsg(message: _64.QueryVotesByVoterRequest): _64.QueryVotesByVoterRequestAminoMsg; - fromProtoMsg(message: _64.QueryVotesByVoterRequestProtoMsg): _64.QueryVotesByVoterRequest; - toProto(message: _64.QueryVotesByVoterRequest): Uint8Array; - toProtoMsg(message: _64.QueryVotesByVoterRequest): _64.QueryVotesByVoterRequestProtoMsg; - }; - QueryVotesByVoterResponse: { - encode(message: _64.QueryVotesByVoterResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryVotesByVoterResponse; - fromJSON(object: any): _64.QueryVotesByVoterResponse; - toJSON(message: _64.QueryVotesByVoterResponse): unknown; - fromPartial(object: Partial<_64.QueryVotesByVoterResponse>): _64.QueryVotesByVoterResponse; - fromAmino(object: _64.QueryVotesByVoterResponseAmino): _64.QueryVotesByVoterResponse; - toAmino(message: _64.QueryVotesByVoterResponse): _64.QueryVotesByVoterResponseAmino; - fromAminoMsg(object: _64.QueryVotesByVoterResponseAminoMsg): _64.QueryVotesByVoterResponse; - toAminoMsg(message: _64.QueryVotesByVoterResponse): _64.QueryVotesByVoterResponseAminoMsg; - fromProtoMsg(message: _64.QueryVotesByVoterResponseProtoMsg): _64.QueryVotesByVoterResponse; - toProto(message: _64.QueryVotesByVoterResponse): Uint8Array; - toProtoMsg(message: _64.QueryVotesByVoterResponse): _64.QueryVotesByVoterResponseProtoMsg; - }; - QueryGroupsByMemberRequest: { - encode(message: _64.QueryGroupsByMemberRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupsByMemberRequest; - fromJSON(object: any): _64.QueryGroupsByMemberRequest; - toJSON(message: _64.QueryGroupsByMemberRequest): unknown; - fromPartial(object: Partial<_64.QueryGroupsByMemberRequest>): _64.QueryGroupsByMemberRequest; - fromAmino(object: _64.QueryGroupsByMemberRequestAmino): _64.QueryGroupsByMemberRequest; - toAmino(message: _64.QueryGroupsByMemberRequest): _64.QueryGroupsByMemberRequestAmino; - fromAminoMsg(object: _64.QueryGroupsByMemberRequestAminoMsg): _64.QueryGroupsByMemberRequest; - toAminoMsg(message: _64.QueryGroupsByMemberRequest): _64.QueryGroupsByMemberRequestAminoMsg; - fromProtoMsg(message: _64.QueryGroupsByMemberRequestProtoMsg): _64.QueryGroupsByMemberRequest; - toProto(message: _64.QueryGroupsByMemberRequest): Uint8Array; - toProtoMsg(message: _64.QueryGroupsByMemberRequest): _64.QueryGroupsByMemberRequestProtoMsg; - }; - QueryGroupsByMemberResponse: { - encode(message: _64.QueryGroupsByMemberResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryGroupsByMemberResponse; - fromJSON(object: any): _64.QueryGroupsByMemberResponse; - toJSON(message: _64.QueryGroupsByMemberResponse): unknown; - fromPartial(object: Partial<_64.QueryGroupsByMemberResponse>): _64.QueryGroupsByMemberResponse; - fromAmino(object: _64.QueryGroupsByMemberResponseAmino): _64.QueryGroupsByMemberResponse; - toAmino(message: _64.QueryGroupsByMemberResponse): _64.QueryGroupsByMemberResponseAmino; - fromAminoMsg(object: _64.QueryGroupsByMemberResponseAminoMsg): _64.QueryGroupsByMemberResponse; - toAminoMsg(message: _64.QueryGroupsByMemberResponse): _64.QueryGroupsByMemberResponseAminoMsg; - fromProtoMsg(message: _64.QueryGroupsByMemberResponseProtoMsg): _64.QueryGroupsByMemberResponse; - toProto(message: _64.QueryGroupsByMemberResponse): Uint8Array; - toProtoMsg(message: _64.QueryGroupsByMemberResponse): _64.QueryGroupsByMemberResponseProtoMsg; - }; - QueryTallyResultRequest: { - encode(message: _64.QueryTallyResultRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryTallyResultRequest; - fromJSON(object: any): _64.QueryTallyResultRequest; - toJSON(message: _64.QueryTallyResultRequest): unknown; - fromPartial(object: Partial<_64.QueryTallyResultRequest>): _64.QueryTallyResultRequest; - fromAmino(object: _64.QueryTallyResultRequestAmino): _64.QueryTallyResultRequest; - toAmino(message: _64.QueryTallyResultRequest): _64.QueryTallyResultRequestAmino; - fromAminoMsg(object: _64.QueryTallyResultRequestAminoMsg): _64.QueryTallyResultRequest; - toAminoMsg(message: _64.QueryTallyResultRequest): _64.QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: _64.QueryTallyResultRequestProtoMsg): _64.QueryTallyResultRequest; - toProto(message: _64.QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: _64.QueryTallyResultRequest): _64.QueryTallyResultRequestProtoMsg; - }; - QueryTallyResultResponse: { - encode(message: _64.QueryTallyResultResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _64.QueryTallyResultResponse; - fromJSON(object: any): _64.QueryTallyResultResponse; - toJSON(message: _64.QueryTallyResultResponse): unknown; - fromPartial(object: Partial<_64.QueryTallyResultResponse>): _64.QueryTallyResultResponse; - fromAmino(object: _64.QueryTallyResultResponseAmino): _64.QueryTallyResultResponse; - toAmino(message: _64.QueryTallyResultResponse): _64.QueryTallyResultResponseAmino; - fromAminoMsg(object: _64.QueryTallyResultResponseAminoMsg): _64.QueryTallyResultResponse; - toAminoMsg(message: _64.QueryTallyResultResponse): _64.QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: _64.QueryTallyResultResponseProtoMsg): _64.QueryTallyResultResponse; - toProto(message: _64.QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: _64.QueryTallyResultResponse): _64.QueryTallyResultResponseProtoMsg; - }; - GenesisState: { - encode(message: _63.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _63.GenesisState; - fromJSON(object: any): _63.GenesisState; - toJSON(message: _63.GenesisState): unknown; - fromPartial(object: Partial<_63.GenesisState>): _63.GenesisState; - fromAmino(object: _63.GenesisStateAmino): _63.GenesisState; - toAmino(message: _63.GenesisState): _63.GenesisStateAmino; - fromAminoMsg(object: _63.GenesisStateAminoMsg): _63.GenesisState; - toAminoMsg(message: _63.GenesisState): _63.GenesisStateAminoMsg; - fromProtoMsg(message: _63.GenesisStateProtoMsg): _63.GenesisState; - toProto(message: _63.GenesisState): Uint8Array; - toProtoMsg(message: _63.GenesisState): _63.GenesisStateProtoMsg; - }; - EventCreateGroup: { - encode(message: _62.EventCreateGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventCreateGroup; - fromJSON(object: any): _62.EventCreateGroup; - toJSON(message: _62.EventCreateGroup): unknown; - fromPartial(object: Partial<_62.EventCreateGroup>): _62.EventCreateGroup; - fromAmino(object: _62.EventCreateGroupAmino): _62.EventCreateGroup; - toAmino(message: _62.EventCreateGroup): _62.EventCreateGroupAmino; - fromAminoMsg(object: _62.EventCreateGroupAminoMsg): _62.EventCreateGroup; - toAminoMsg(message: _62.EventCreateGroup): _62.EventCreateGroupAminoMsg; - fromProtoMsg(message: _62.EventCreateGroupProtoMsg): _62.EventCreateGroup; - toProto(message: _62.EventCreateGroup): Uint8Array; - toProtoMsg(message: _62.EventCreateGroup): _62.EventCreateGroupProtoMsg; - }; - EventUpdateGroup: { - encode(message: _62.EventUpdateGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventUpdateGroup; - fromJSON(object: any): _62.EventUpdateGroup; - toJSON(message: _62.EventUpdateGroup): unknown; - fromPartial(object: Partial<_62.EventUpdateGroup>): _62.EventUpdateGroup; - fromAmino(object: _62.EventUpdateGroupAmino): _62.EventUpdateGroup; - toAmino(message: _62.EventUpdateGroup): _62.EventUpdateGroupAmino; - fromAminoMsg(object: _62.EventUpdateGroupAminoMsg): _62.EventUpdateGroup; - toAminoMsg(message: _62.EventUpdateGroup): _62.EventUpdateGroupAminoMsg; - fromProtoMsg(message: _62.EventUpdateGroupProtoMsg): _62.EventUpdateGroup; - toProto(message: _62.EventUpdateGroup): Uint8Array; - toProtoMsg(message: _62.EventUpdateGroup): _62.EventUpdateGroupProtoMsg; - }; - EventCreateGroupPolicy: { - encode(message: _62.EventCreateGroupPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventCreateGroupPolicy; - fromJSON(object: any): _62.EventCreateGroupPolicy; - toJSON(message: _62.EventCreateGroupPolicy): unknown; - fromPartial(object: Partial<_62.EventCreateGroupPolicy>): _62.EventCreateGroupPolicy; - fromAmino(object: _62.EventCreateGroupPolicyAmino): _62.EventCreateGroupPolicy; - toAmino(message: _62.EventCreateGroupPolicy): _62.EventCreateGroupPolicyAmino; - fromAminoMsg(object: _62.EventCreateGroupPolicyAminoMsg): _62.EventCreateGroupPolicy; - toAminoMsg(message: _62.EventCreateGroupPolicy): _62.EventCreateGroupPolicyAminoMsg; - fromProtoMsg(message: _62.EventCreateGroupPolicyProtoMsg): _62.EventCreateGroupPolicy; - toProto(message: _62.EventCreateGroupPolicy): Uint8Array; - toProtoMsg(message: _62.EventCreateGroupPolicy): _62.EventCreateGroupPolicyProtoMsg; - }; - EventUpdateGroupPolicy: { - encode(message: _62.EventUpdateGroupPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventUpdateGroupPolicy; - fromJSON(object: any): _62.EventUpdateGroupPolicy; - toJSON(message: _62.EventUpdateGroupPolicy): unknown; - fromPartial(object: Partial<_62.EventUpdateGroupPolicy>): _62.EventUpdateGroupPolicy; - fromAmino(object: _62.EventUpdateGroupPolicyAmino): _62.EventUpdateGroupPolicy; - toAmino(message: _62.EventUpdateGroupPolicy): _62.EventUpdateGroupPolicyAmino; - fromAminoMsg(object: _62.EventUpdateGroupPolicyAminoMsg): _62.EventUpdateGroupPolicy; - toAminoMsg(message: _62.EventUpdateGroupPolicy): _62.EventUpdateGroupPolicyAminoMsg; - fromProtoMsg(message: _62.EventUpdateGroupPolicyProtoMsg): _62.EventUpdateGroupPolicy; - toProto(message: _62.EventUpdateGroupPolicy): Uint8Array; - toProtoMsg(message: _62.EventUpdateGroupPolicy): _62.EventUpdateGroupPolicyProtoMsg; - }; - EventSubmitProposal: { - encode(message: _62.EventSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventSubmitProposal; - fromJSON(object: any): _62.EventSubmitProposal; - toJSON(message: _62.EventSubmitProposal): unknown; - fromPartial(object: Partial<_62.EventSubmitProposal>): _62.EventSubmitProposal; - fromAmino(object: _62.EventSubmitProposalAmino): _62.EventSubmitProposal; - toAmino(message: _62.EventSubmitProposal): _62.EventSubmitProposalAmino; - fromAminoMsg(object: _62.EventSubmitProposalAminoMsg): _62.EventSubmitProposal; - toAminoMsg(message: _62.EventSubmitProposal): _62.EventSubmitProposalAminoMsg; - fromProtoMsg(message: _62.EventSubmitProposalProtoMsg): _62.EventSubmitProposal; - toProto(message: _62.EventSubmitProposal): Uint8Array; - toProtoMsg(message: _62.EventSubmitProposal): _62.EventSubmitProposalProtoMsg; - }; - EventWithdrawProposal: { - encode(message: _62.EventWithdrawProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventWithdrawProposal; - fromJSON(object: any): _62.EventWithdrawProposal; - toJSON(message: _62.EventWithdrawProposal): unknown; - fromPartial(object: Partial<_62.EventWithdrawProposal>): _62.EventWithdrawProposal; - fromAmino(object: _62.EventWithdrawProposalAmino): _62.EventWithdrawProposal; - toAmino(message: _62.EventWithdrawProposal): _62.EventWithdrawProposalAmino; - fromAminoMsg(object: _62.EventWithdrawProposalAminoMsg): _62.EventWithdrawProposal; - toAminoMsg(message: _62.EventWithdrawProposal): _62.EventWithdrawProposalAminoMsg; - fromProtoMsg(message: _62.EventWithdrawProposalProtoMsg): _62.EventWithdrawProposal; - toProto(message: _62.EventWithdrawProposal): Uint8Array; - toProtoMsg(message: _62.EventWithdrawProposal): _62.EventWithdrawProposalProtoMsg; - }; - EventVote: { - encode(message: _62.EventVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventVote; - fromJSON(object: any): _62.EventVote; - toJSON(message: _62.EventVote): unknown; - fromPartial(object: Partial<_62.EventVote>): _62.EventVote; - fromAmino(object: _62.EventVoteAmino): _62.EventVote; - toAmino(message: _62.EventVote): _62.EventVoteAmino; - fromAminoMsg(object: _62.EventVoteAminoMsg): _62.EventVote; - toAminoMsg(message: _62.EventVote): _62.EventVoteAminoMsg; - fromProtoMsg(message: _62.EventVoteProtoMsg): _62.EventVote; - toProto(message: _62.EventVote): Uint8Array; - toProtoMsg(message: _62.EventVote): _62.EventVoteProtoMsg; - }; - EventExec: { - encode(message: _62.EventExec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventExec; - fromJSON(object: any): _62.EventExec; - toJSON(message: _62.EventExec): unknown; - fromPartial(object: Partial<_62.EventExec>): _62.EventExec; - fromAmino(object: _62.EventExecAmino): _62.EventExec; - toAmino(message: _62.EventExec): _62.EventExecAmino; - fromAminoMsg(object: _62.EventExecAminoMsg): _62.EventExec; - toAminoMsg(message: _62.EventExec): _62.EventExecAminoMsg; - fromProtoMsg(message: _62.EventExecProtoMsg): _62.EventExec; - toProto(message: _62.EventExec): Uint8Array; - toProtoMsg(message: _62.EventExec): _62.EventExecProtoMsg; - }; - EventLeaveGroup: { - encode(message: _62.EventLeaveGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _62.EventLeaveGroup; - fromJSON(object: any): _62.EventLeaveGroup; - toJSON(message: _62.EventLeaveGroup): unknown; - fromPartial(object: Partial<_62.EventLeaveGroup>): _62.EventLeaveGroup; - fromAmino(object: _62.EventLeaveGroupAmino): _62.EventLeaveGroup; - toAmino(message: _62.EventLeaveGroup): _62.EventLeaveGroupAmino; - fromAminoMsg(object: _62.EventLeaveGroupAminoMsg): _62.EventLeaveGroup; - toAminoMsg(message: _62.EventLeaveGroup): _62.EventLeaveGroupAminoMsg; - fromProtoMsg(message: _62.EventLeaveGroupProtoMsg): _62.EventLeaveGroup; - toProto(message: _62.EventLeaveGroup): Uint8Array; - toProtoMsg(message: _62.EventLeaveGroup): _62.EventLeaveGroupProtoMsg; - }; - }; - } - namespace mint { - const v1beta1: { - QueryClientImpl: typeof _209.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request?: _69.QueryParamsRequest | undefined): Promise<_69.QueryParamsResponse>; - inflation(request?: _69.QueryInflationRequest | undefined): Promise<_69.QueryInflationResponse>; - annualProvisions(request?: _69.QueryAnnualProvisionsRequest | undefined): Promise<_69.QueryAnnualProvisionsResponse>; - }; - LCDQueryClient: typeof _190.LCDQueryClient; - QueryParamsRequest: { - encode(_: _69.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _69.QueryParamsRequest; - fromJSON(_: any): _69.QueryParamsRequest; - toJSON(_: _69.QueryParamsRequest): unknown; - fromPartial(_: Partial<_69.QueryParamsRequest>): _69.QueryParamsRequest; - fromAmino(_: _69.QueryParamsRequestAmino): _69.QueryParamsRequest; - toAmino(_: _69.QueryParamsRequest): _69.QueryParamsRequestAmino; - fromAminoMsg(object: _69.QueryParamsRequestAminoMsg): _69.QueryParamsRequest; - toAminoMsg(message: _69.QueryParamsRequest): _69.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _69.QueryParamsRequestProtoMsg): _69.QueryParamsRequest; - toProto(message: _69.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _69.QueryParamsRequest): _69.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _69.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _69.QueryParamsResponse; - fromJSON(object: any): _69.QueryParamsResponse; - toJSON(message: _69.QueryParamsResponse): unknown; - fromPartial(object: Partial<_69.QueryParamsResponse>): _69.QueryParamsResponse; - fromAmino(object: _69.QueryParamsResponseAmino): _69.QueryParamsResponse; - toAmino(message: _69.QueryParamsResponse): _69.QueryParamsResponseAmino; - fromAminoMsg(object: _69.QueryParamsResponseAminoMsg): _69.QueryParamsResponse; - toAminoMsg(message: _69.QueryParamsResponse): _69.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _69.QueryParamsResponseProtoMsg): _69.QueryParamsResponse; - toProto(message: _69.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _69.QueryParamsResponse): _69.QueryParamsResponseProtoMsg; - }; - QueryInflationRequest: { - encode(_: _69.QueryInflationRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _69.QueryInflationRequest; - fromJSON(_: any): _69.QueryInflationRequest; - toJSON(_: _69.QueryInflationRequest): unknown; - fromPartial(_: Partial<_69.QueryInflationRequest>): _69.QueryInflationRequest; - fromAmino(_: _69.QueryInflationRequestAmino): _69.QueryInflationRequest; - toAmino(_: _69.QueryInflationRequest): _69.QueryInflationRequestAmino; - fromAminoMsg(object: _69.QueryInflationRequestAminoMsg): _69.QueryInflationRequest; - toAminoMsg(message: _69.QueryInflationRequest): _69.QueryInflationRequestAminoMsg; - fromProtoMsg(message: _69.QueryInflationRequestProtoMsg): _69.QueryInflationRequest; - toProto(message: _69.QueryInflationRequest): Uint8Array; - toProtoMsg(message: _69.QueryInflationRequest): _69.QueryInflationRequestProtoMsg; - }; - QueryInflationResponse: { - encode(message: _69.QueryInflationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _69.QueryInflationResponse; - fromJSON(object: any): _69.QueryInflationResponse; - toJSON(message: _69.QueryInflationResponse): unknown; - fromPartial(object: Partial<_69.QueryInflationResponse>): _69.QueryInflationResponse; - fromAmino(object: _69.QueryInflationResponseAmino): _69.QueryInflationResponse; - toAmino(message: _69.QueryInflationResponse): _69.QueryInflationResponseAmino; - fromAminoMsg(object: _69.QueryInflationResponseAminoMsg): _69.QueryInflationResponse; - toAminoMsg(message: _69.QueryInflationResponse): _69.QueryInflationResponseAminoMsg; - fromProtoMsg(message: _69.QueryInflationResponseProtoMsg): _69.QueryInflationResponse; - toProto(message: _69.QueryInflationResponse): Uint8Array; - toProtoMsg(message: _69.QueryInflationResponse): _69.QueryInflationResponseProtoMsg; - }; - QueryAnnualProvisionsRequest: { - encode(_: _69.QueryAnnualProvisionsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _69.QueryAnnualProvisionsRequest; - fromJSON(_: any): _69.QueryAnnualProvisionsRequest; - toJSON(_: _69.QueryAnnualProvisionsRequest): unknown; - fromPartial(_: Partial<_69.QueryAnnualProvisionsRequest>): _69.QueryAnnualProvisionsRequest; - fromAmino(_: _69.QueryAnnualProvisionsRequestAmino): _69.QueryAnnualProvisionsRequest; - toAmino(_: _69.QueryAnnualProvisionsRequest): _69.QueryAnnualProvisionsRequestAmino; - fromAminoMsg(object: _69.QueryAnnualProvisionsRequestAminoMsg): _69.QueryAnnualProvisionsRequest; - toAminoMsg(message: _69.QueryAnnualProvisionsRequest): _69.QueryAnnualProvisionsRequestAminoMsg; - fromProtoMsg(message: _69.QueryAnnualProvisionsRequestProtoMsg): _69.QueryAnnualProvisionsRequest; - toProto(message: _69.QueryAnnualProvisionsRequest): Uint8Array; - toProtoMsg(message: _69.QueryAnnualProvisionsRequest): _69.QueryAnnualProvisionsRequestProtoMsg; - }; - QueryAnnualProvisionsResponse: { - encode(message: _69.QueryAnnualProvisionsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _69.QueryAnnualProvisionsResponse; - fromJSON(object: any): _69.QueryAnnualProvisionsResponse; - toJSON(message: _69.QueryAnnualProvisionsResponse): unknown; - fromPartial(object: Partial<_69.QueryAnnualProvisionsResponse>): _69.QueryAnnualProvisionsResponse; - fromAmino(object: _69.QueryAnnualProvisionsResponseAmino): _69.QueryAnnualProvisionsResponse; - toAmino(message: _69.QueryAnnualProvisionsResponse): _69.QueryAnnualProvisionsResponseAmino; - fromAminoMsg(object: _69.QueryAnnualProvisionsResponseAminoMsg): _69.QueryAnnualProvisionsResponse; - toAminoMsg(message: _69.QueryAnnualProvisionsResponse): _69.QueryAnnualProvisionsResponseAminoMsg; - fromProtoMsg(message: _69.QueryAnnualProvisionsResponseProtoMsg): _69.QueryAnnualProvisionsResponse; - toProto(message: _69.QueryAnnualProvisionsResponse): Uint8Array; - toProtoMsg(message: _69.QueryAnnualProvisionsResponse): _69.QueryAnnualProvisionsResponseProtoMsg; - }; - Minter: { - encode(message: _68.Minter, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _68.Minter; - fromJSON(object: any): _68.Minter; - toJSON(message: _68.Minter): unknown; - fromPartial(object: Partial<_68.Minter>): _68.Minter; - fromAmino(object: _68.MinterAmino): _68.Minter; - toAmino(message: _68.Minter): _68.MinterAmino; - fromAminoMsg(object: _68.MinterAminoMsg): _68.Minter; - toAminoMsg(message: _68.Minter): _68.MinterAminoMsg; - fromProtoMsg(message: _68.MinterProtoMsg): _68.Minter; - toProto(message: _68.Minter): Uint8Array; - toProtoMsg(message: _68.Minter): _68.MinterProtoMsg; - }; - Params: { - encode(message: _68.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _68.Params; - fromJSON(object: any): _68.Params; - toJSON(message: _68.Params): unknown; - fromPartial(object: Partial<_68.Params>): _68.Params; - fromAmino(object: _68.ParamsAmino): _68.Params; - toAmino(message: _68.Params): _68.ParamsAmino; - fromAminoMsg(object: _68.ParamsAminoMsg): _68.Params; - toAminoMsg(message: _68.Params): _68.ParamsAminoMsg; - fromProtoMsg(message: _68.ParamsProtoMsg): _68.Params; - toProto(message: _68.Params): Uint8Array; - toProtoMsg(message: _68.Params): _68.ParamsProtoMsg; - }; - GenesisState: { - encode(message: _67.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _67.GenesisState; - fromJSON(object: any): _67.GenesisState; - toJSON(message: _67.GenesisState): unknown; - fromPartial(object: Partial<_67.GenesisState>): _67.GenesisState; - fromAmino(object: _67.GenesisStateAmino): _67.GenesisState; - toAmino(message: _67.GenesisState): _67.GenesisStateAmino; - fromAminoMsg(object: _67.GenesisStateAminoMsg): _67.GenesisState; - toAminoMsg(message: _67.GenesisState): _67.GenesisStateAminoMsg; - fromProtoMsg(message: _67.GenesisStateProtoMsg): _67.GenesisState; - toProto(message: _67.GenesisState): Uint8Array; - toProtoMsg(message: _67.GenesisState): _67.GenesisStateProtoMsg; - }; - }; - } - namespace msg { - const v1: {}; - } - namespace nft { - const v1beta1: { - MsgClientImpl: typeof _225.MsgClientImpl; - QueryClientImpl: typeof _210.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - balance(request: _74.QueryBalanceRequest): Promise<_74.QueryBalanceResponse>; - owner(request: _74.QueryOwnerRequest): Promise<_74.QueryOwnerResponse>; - supply(request: _74.QuerySupplyRequest): Promise<_74.QuerySupplyResponse>; - nFTs(request: _74.QueryNFTsRequest): Promise<_74.QueryNFTsResponse>; - nFT(request: _74.QueryNFTRequest): Promise<_74.QueryNFTResponse>; - class(request: _74.QueryClassRequest): Promise<_74.QueryClassResponse>; - classes(request?: _74.QueryClassesRequest | undefined): Promise<_74.QueryClassesResponse>; - }; - LCDQueryClient: typeof _191.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - send(value: _75.MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: _75.MsgSend): { - typeUrl: string; - value: _75.MsgSend; - }; - }; - toJSON: { - send(value: _75.MsgSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: _75.MsgSend; - }; - }; - fromPartial: { - send(value: _75.MsgSend): { - typeUrl: string; - value: _75.MsgSend; - }; - }; - }; - AminoConverter: { - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: _75.MsgSend) => _75.MsgSendAmino; - fromAmino: (object: _75.MsgSendAmino) => _75.MsgSend; - }; - }; - MsgSend: { - encode(message: _75.MsgSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _75.MsgSend; - fromJSON(object: any): _75.MsgSend; - toJSON(message: _75.MsgSend): unknown; - fromPartial(object: Partial<_75.MsgSend>): _75.MsgSend; - fromAmino(object: _75.MsgSendAmino): _75.MsgSend; - toAmino(message: _75.MsgSend): _75.MsgSendAmino; - fromAminoMsg(object: _75.MsgSendAminoMsg): _75.MsgSend; - toAminoMsg(message: _75.MsgSend): _75.MsgSendAminoMsg; - fromProtoMsg(message: _75.MsgSendProtoMsg): _75.MsgSend; - toProto(message: _75.MsgSend): Uint8Array; - toProtoMsg(message: _75.MsgSend): _75.MsgSendProtoMsg; - }; - MsgSendResponse: { - encode(_: _75.MsgSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _75.MsgSendResponse; - fromJSON(_: any): _75.MsgSendResponse; - toJSON(_: _75.MsgSendResponse): unknown; - fromPartial(_: Partial<_75.MsgSendResponse>): _75.MsgSendResponse; - fromAmino(_: _75.MsgSendResponseAmino): _75.MsgSendResponse; - toAmino(_: _75.MsgSendResponse): _75.MsgSendResponseAmino; - fromAminoMsg(object: _75.MsgSendResponseAminoMsg): _75.MsgSendResponse; - toAminoMsg(message: _75.MsgSendResponse): _75.MsgSendResponseAminoMsg; - fromProtoMsg(message: _75.MsgSendResponseProtoMsg): _75.MsgSendResponse; - toProto(message: _75.MsgSendResponse): Uint8Array; - toProtoMsg(message: _75.MsgSendResponse): _75.MsgSendResponseProtoMsg; - }; - QueryBalanceRequest: { - encode(message: _74.QueryBalanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryBalanceRequest; - fromJSON(object: any): _74.QueryBalanceRequest; - toJSON(message: _74.QueryBalanceRequest): unknown; - fromPartial(object: Partial<_74.QueryBalanceRequest>): _74.QueryBalanceRequest; - fromAmino(object: _74.QueryBalanceRequestAmino): _74.QueryBalanceRequest; - toAmino(message: _74.QueryBalanceRequest): _74.QueryBalanceRequestAmino; - fromAminoMsg(object: _74.QueryBalanceRequestAminoMsg): _74.QueryBalanceRequest; - toAminoMsg(message: _74.QueryBalanceRequest): _74.QueryBalanceRequestAminoMsg; - fromProtoMsg(message: _74.QueryBalanceRequestProtoMsg): _74.QueryBalanceRequest; - toProto(message: _74.QueryBalanceRequest): Uint8Array; - toProtoMsg(message: _74.QueryBalanceRequest): _74.QueryBalanceRequestProtoMsg; - }; - QueryBalanceResponse: { - encode(message: _74.QueryBalanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryBalanceResponse; - fromJSON(object: any): _74.QueryBalanceResponse; - toJSON(message: _74.QueryBalanceResponse): unknown; - fromPartial(object: Partial<_74.QueryBalanceResponse>): _74.QueryBalanceResponse; - fromAmino(object: _74.QueryBalanceResponseAmino): _74.QueryBalanceResponse; - toAmino(message: _74.QueryBalanceResponse): _74.QueryBalanceResponseAmino; - fromAminoMsg(object: _74.QueryBalanceResponseAminoMsg): _74.QueryBalanceResponse; - toAminoMsg(message: _74.QueryBalanceResponse): _74.QueryBalanceResponseAminoMsg; - fromProtoMsg(message: _74.QueryBalanceResponseProtoMsg): _74.QueryBalanceResponse; - toProto(message: _74.QueryBalanceResponse): Uint8Array; - toProtoMsg(message: _74.QueryBalanceResponse): _74.QueryBalanceResponseProtoMsg; - }; - QueryOwnerRequest: { - encode(message: _74.QueryOwnerRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryOwnerRequest; - fromJSON(object: any): _74.QueryOwnerRequest; - toJSON(message: _74.QueryOwnerRequest): unknown; - fromPartial(object: Partial<_74.QueryOwnerRequest>): _74.QueryOwnerRequest; - fromAmino(object: _74.QueryOwnerRequestAmino): _74.QueryOwnerRequest; - toAmino(message: _74.QueryOwnerRequest): _74.QueryOwnerRequestAmino; - fromAminoMsg(object: _74.QueryOwnerRequestAminoMsg): _74.QueryOwnerRequest; - toAminoMsg(message: _74.QueryOwnerRequest): _74.QueryOwnerRequestAminoMsg; - fromProtoMsg(message: _74.QueryOwnerRequestProtoMsg): _74.QueryOwnerRequest; - toProto(message: _74.QueryOwnerRequest): Uint8Array; - toProtoMsg(message: _74.QueryOwnerRequest): _74.QueryOwnerRequestProtoMsg; - }; - QueryOwnerResponse: { - encode(message: _74.QueryOwnerResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryOwnerResponse; - fromJSON(object: any): _74.QueryOwnerResponse; - toJSON(message: _74.QueryOwnerResponse): unknown; - fromPartial(object: Partial<_74.QueryOwnerResponse>): _74.QueryOwnerResponse; - fromAmino(object: _74.QueryOwnerResponseAmino): _74.QueryOwnerResponse; - toAmino(message: _74.QueryOwnerResponse): _74.QueryOwnerResponseAmino; - fromAminoMsg(object: _74.QueryOwnerResponseAminoMsg): _74.QueryOwnerResponse; - toAminoMsg(message: _74.QueryOwnerResponse): _74.QueryOwnerResponseAminoMsg; - fromProtoMsg(message: _74.QueryOwnerResponseProtoMsg): _74.QueryOwnerResponse; - toProto(message: _74.QueryOwnerResponse): Uint8Array; - toProtoMsg(message: _74.QueryOwnerResponse): _74.QueryOwnerResponseProtoMsg; - }; - QuerySupplyRequest: { - encode(message: _74.QuerySupplyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QuerySupplyRequest; - fromJSON(object: any): _74.QuerySupplyRequest; - toJSON(message: _74.QuerySupplyRequest): unknown; - fromPartial(object: Partial<_74.QuerySupplyRequest>): _74.QuerySupplyRequest; - fromAmino(object: _74.QuerySupplyRequestAmino): _74.QuerySupplyRequest; - toAmino(message: _74.QuerySupplyRequest): _74.QuerySupplyRequestAmino; - fromAminoMsg(object: _74.QuerySupplyRequestAminoMsg): _74.QuerySupplyRequest; - toAminoMsg(message: _74.QuerySupplyRequest): _74.QuerySupplyRequestAminoMsg; - fromProtoMsg(message: _74.QuerySupplyRequestProtoMsg): _74.QuerySupplyRequest; - toProto(message: _74.QuerySupplyRequest): Uint8Array; - toProtoMsg(message: _74.QuerySupplyRequest): _74.QuerySupplyRequestProtoMsg; - }; - QuerySupplyResponse: { - encode(message: _74.QuerySupplyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QuerySupplyResponse; - fromJSON(object: any): _74.QuerySupplyResponse; - toJSON(message: _74.QuerySupplyResponse): unknown; - fromPartial(object: Partial<_74.QuerySupplyResponse>): _74.QuerySupplyResponse; - fromAmino(object: _74.QuerySupplyResponseAmino): _74.QuerySupplyResponse; - toAmino(message: _74.QuerySupplyResponse): _74.QuerySupplyResponseAmino; - fromAminoMsg(object: _74.QuerySupplyResponseAminoMsg): _74.QuerySupplyResponse; - toAminoMsg(message: _74.QuerySupplyResponse): _74.QuerySupplyResponseAminoMsg; - fromProtoMsg(message: _74.QuerySupplyResponseProtoMsg): _74.QuerySupplyResponse; - toProto(message: _74.QuerySupplyResponse): Uint8Array; - toProtoMsg(message: _74.QuerySupplyResponse): _74.QuerySupplyResponseProtoMsg; - }; - QueryNFTsRequest: { - encode(message: _74.QueryNFTsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryNFTsRequest; - fromJSON(object: any): _74.QueryNFTsRequest; - toJSON(message: _74.QueryNFTsRequest): unknown; - fromPartial(object: Partial<_74.QueryNFTsRequest>): _74.QueryNFTsRequest; - fromAmino(object: _74.QueryNFTsRequestAmino): _74.QueryNFTsRequest; - toAmino(message: _74.QueryNFTsRequest): _74.QueryNFTsRequestAmino; - fromAminoMsg(object: _74.QueryNFTsRequestAminoMsg): _74.QueryNFTsRequest; - toAminoMsg(message: _74.QueryNFTsRequest): _74.QueryNFTsRequestAminoMsg; - fromProtoMsg(message: _74.QueryNFTsRequestProtoMsg): _74.QueryNFTsRequest; - toProto(message: _74.QueryNFTsRequest): Uint8Array; - toProtoMsg(message: _74.QueryNFTsRequest): _74.QueryNFTsRequestProtoMsg; - }; - QueryNFTsResponse: { - encode(message: _74.QueryNFTsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryNFTsResponse; - fromJSON(object: any): _74.QueryNFTsResponse; - toJSON(message: _74.QueryNFTsResponse): unknown; - fromPartial(object: Partial<_74.QueryNFTsResponse>): _74.QueryNFTsResponse; - fromAmino(object: _74.QueryNFTsResponseAmino): _74.QueryNFTsResponse; - toAmino(message: _74.QueryNFTsResponse): _74.QueryNFTsResponseAmino; - fromAminoMsg(object: _74.QueryNFTsResponseAminoMsg): _74.QueryNFTsResponse; - toAminoMsg(message: _74.QueryNFTsResponse): _74.QueryNFTsResponseAminoMsg; - fromProtoMsg(message: _74.QueryNFTsResponseProtoMsg): _74.QueryNFTsResponse; - toProto(message: _74.QueryNFTsResponse): Uint8Array; - toProtoMsg(message: _74.QueryNFTsResponse): _74.QueryNFTsResponseProtoMsg; - }; - QueryNFTRequest: { - encode(message: _74.QueryNFTRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryNFTRequest; - fromJSON(object: any): _74.QueryNFTRequest; - toJSON(message: _74.QueryNFTRequest): unknown; - fromPartial(object: Partial<_74.QueryNFTRequest>): _74.QueryNFTRequest; - fromAmino(object: _74.QueryNFTRequestAmino): _74.QueryNFTRequest; - toAmino(message: _74.QueryNFTRequest): _74.QueryNFTRequestAmino; - fromAminoMsg(object: _74.QueryNFTRequestAminoMsg): _74.QueryNFTRequest; - toAminoMsg(message: _74.QueryNFTRequest): _74.QueryNFTRequestAminoMsg; - fromProtoMsg(message: _74.QueryNFTRequestProtoMsg): _74.QueryNFTRequest; - toProto(message: _74.QueryNFTRequest): Uint8Array; - toProtoMsg(message: _74.QueryNFTRequest): _74.QueryNFTRequestProtoMsg; - }; - QueryNFTResponse: { - encode(message: _74.QueryNFTResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryNFTResponse; - fromJSON(object: any): _74.QueryNFTResponse; - toJSON(message: _74.QueryNFTResponse): unknown; - fromPartial(object: Partial<_74.QueryNFTResponse>): _74.QueryNFTResponse; - fromAmino(object: _74.QueryNFTResponseAmino): _74.QueryNFTResponse; - toAmino(message: _74.QueryNFTResponse): _74.QueryNFTResponseAmino; - fromAminoMsg(object: _74.QueryNFTResponseAminoMsg): _74.QueryNFTResponse; - toAminoMsg(message: _74.QueryNFTResponse): _74.QueryNFTResponseAminoMsg; - fromProtoMsg(message: _74.QueryNFTResponseProtoMsg): _74.QueryNFTResponse; - toProto(message: _74.QueryNFTResponse): Uint8Array; - toProtoMsg(message: _74.QueryNFTResponse): _74.QueryNFTResponseProtoMsg; - }; - QueryClassRequest: { - encode(message: _74.QueryClassRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryClassRequest; - fromJSON(object: any): _74.QueryClassRequest; - toJSON(message: _74.QueryClassRequest): unknown; - fromPartial(object: Partial<_74.QueryClassRequest>): _74.QueryClassRequest; - fromAmino(object: _74.QueryClassRequestAmino): _74.QueryClassRequest; - toAmino(message: _74.QueryClassRequest): _74.QueryClassRequestAmino; - fromAminoMsg(object: _74.QueryClassRequestAminoMsg): _74.QueryClassRequest; - toAminoMsg(message: _74.QueryClassRequest): _74.QueryClassRequestAminoMsg; - fromProtoMsg(message: _74.QueryClassRequestProtoMsg): _74.QueryClassRequest; - toProto(message: _74.QueryClassRequest): Uint8Array; - toProtoMsg(message: _74.QueryClassRequest): _74.QueryClassRequestProtoMsg; - }; - QueryClassResponse: { - encode(message: _74.QueryClassResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryClassResponse; - fromJSON(object: any): _74.QueryClassResponse; - toJSON(message: _74.QueryClassResponse): unknown; - fromPartial(object: Partial<_74.QueryClassResponse>): _74.QueryClassResponse; - fromAmino(object: _74.QueryClassResponseAmino): _74.QueryClassResponse; - toAmino(message: _74.QueryClassResponse): _74.QueryClassResponseAmino; - fromAminoMsg(object: _74.QueryClassResponseAminoMsg): _74.QueryClassResponse; - toAminoMsg(message: _74.QueryClassResponse): _74.QueryClassResponseAminoMsg; - fromProtoMsg(message: _74.QueryClassResponseProtoMsg): _74.QueryClassResponse; - toProto(message: _74.QueryClassResponse): Uint8Array; - toProtoMsg(message: _74.QueryClassResponse): _74.QueryClassResponseProtoMsg; - }; - QueryClassesRequest: { - encode(message: _74.QueryClassesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryClassesRequest; - fromJSON(object: any): _74.QueryClassesRequest; - toJSON(message: _74.QueryClassesRequest): unknown; - fromPartial(object: Partial<_74.QueryClassesRequest>): _74.QueryClassesRequest; - fromAmino(object: _74.QueryClassesRequestAmino): _74.QueryClassesRequest; - toAmino(message: _74.QueryClassesRequest): _74.QueryClassesRequestAmino; - fromAminoMsg(object: _74.QueryClassesRequestAminoMsg): _74.QueryClassesRequest; - toAminoMsg(message: _74.QueryClassesRequest): _74.QueryClassesRequestAminoMsg; - fromProtoMsg(message: _74.QueryClassesRequestProtoMsg): _74.QueryClassesRequest; - toProto(message: _74.QueryClassesRequest): Uint8Array; - toProtoMsg(message: _74.QueryClassesRequest): _74.QueryClassesRequestProtoMsg; - }; - QueryClassesResponse: { - encode(message: _74.QueryClassesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _74.QueryClassesResponse; - fromJSON(object: any): _74.QueryClassesResponse; - toJSON(message: _74.QueryClassesResponse): unknown; - fromPartial(object: Partial<_74.QueryClassesResponse>): _74.QueryClassesResponse; - fromAmino(object: _74.QueryClassesResponseAmino): _74.QueryClassesResponse; - toAmino(message: _74.QueryClassesResponse): _74.QueryClassesResponseAmino; - fromAminoMsg(object: _74.QueryClassesResponseAminoMsg): _74.QueryClassesResponse; - toAminoMsg(message: _74.QueryClassesResponse): _74.QueryClassesResponseAminoMsg; - fromProtoMsg(message: _74.QueryClassesResponseProtoMsg): _74.QueryClassesResponse; - toProto(message: _74.QueryClassesResponse): Uint8Array; - toProtoMsg(message: _74.QueryClassesResponse): _74.QueryClassesResponseProtoMsg; - }; - Class: { - encode(message: _73.Class, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _73.Class; - fromJSON(object: any): _73.Class; - toJSON(message: _73.Class): unknown; - fromPartial(object: Partial<_73.Class>): _73.Class; - fromAmino(object: _73.ClassAmino): _73.Class; - toAmino(message: _73.Class): _73.ClassAmino; - fromAminoMsg(object: _73.ClassAminoMsg): _73.Class; - toAminoMsg(message: _73.Class): _73.ClassAminoMsg; - fromProtoMsg(message: _73.ClassProtoMsg): _73.Class; - toProto(message: _73.Class): Uint8Array; - toProtoMsg(message: _73.Class): _73.ClassProtoMsg; - }; - NFT: { - encode(message: _73.NFT, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _73.NFT; - fromJSON(object: any): _73.NFT; - toJSON(message: _73.NFT): unknown; - fromPartial(object: Partial<_73.NFT>): _73.NFT; - fromAmino(object: _73.NFTAmino): _73.NFT; - toAmino(message: _73.NFT): _73.NFTAmino; - fromAminoMsg(object: _73.NFTAminoMsg): _73.NFT; - toAminoMsg(message: _73.NFT): _73.NFTAminoMsg; - fromProtoMsg(message: _73.NFTProtoMsg): _73.NFT; - toProto(message: _73.NFT): Uint8Array; - toProtoMsg(message: _73.NFT): _73.NFTProtoMsg; - }; - GenesisState: { - encode(message: _72.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _72.GenesisState; - fromJSON(object: any): _72.GenesisState; - toJSON(message: _72.GenesisState): unknown; - fromPartial(object: Partial<_72.GenesisState>): _72.GenesisState; - fromAmino(object: _72.GenesisStateAmino): _72.GenesisState; - toAmino(message: _72.GenesisState): _72.GenesisStateAmino; - fromAminoMsg(object: _72.GenesisStateAminoMsg): _72.GenesisState; - toAminoMsg(message: _72.GenesisState): _72.GenesisStateAminoMsg; - fromProtoMsg(message: _72.GenesisStateProtoMsg): _72.GenesisState; - toProto(message: _72.GenesisState): Uint8Array; - toProtoMsg(message: _72.GenesisState): _72.GenesisStateProtoMsg; - }; - Entry: { - encode(message: _72.Entry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _72.Entry; - fromJSON(object: any): _72.Entry; - toJSON(message: _72.Entry): unknown; - fromPartial(object: Partial<_72.Entry>): _72.Entry; - fromAmino(object: _72.EntryAmino): _72.Entry; - toAmino(message: _72.Entry): _72.EntryAmino; - fromAminoMsg(object: _72.EntryAminoMsg): _72.Entry; - toAminoMsg(message: _72.Entry): _72.EntryAminoMsg; - fromProtoMsg(message: _72.EntryProtoMsg): _72.Entry; - toProto(message: _72.Entry): Uint8Array; - toProtoMsg(message: _72.Entry): _72.EntryProtoMsg; - }; - EventSend: { - encode(message: _71.EventSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _71.EventSend; - fromJSON(object: any): _71.EventSend; - toJSON(message: _71.EventSend): unknown; - fromPartial(object: Partial<_71.EventSend>): _71.EventSend; - fromAmino(object: _71.EventSendAmino): _71.EventSend; - toAmino(message: _71.EventSend): _71.EventSendAmino; - fromAminoMsg(object: _71.EventSendAminoMsg): _71.EventSend; - toAminoMsg(message: _71.EventSend): _71.EventSendAminoMsg; - fromProtoMsg(message: _71.EventSendProtoMsg): _71.EventSend; - toProto(message: _71.EventSend): Uint8Array; - toProtoMsg(message: _71.EventSend): _71.EventSendProtoMsg; - }; - EventMint: { - encode(message: _71.EventMint, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _71.EventMint; - fromJSON(object: any): _71.EventMint; - toJSON(message: _71.EventMint): unknown; - fromPartial(object: Partial<_71.EventMint>): _71.EventMint; - fromAmino(object: _71.EventMintAmino): _71.EventMint; - toAmino(message: _71.EventMint): _71.EventMintAmino; - fromAminoMsg(object: _71.EventMintAminoMsg): _71.EventMint; - toAminoMsg(message: _71.EventMint): _71.EventMintAminoMsg; - fromProtoMsg(message: _71.EventMintProtoMsg): _71.EventMint; - toProto(message: _71.EventMint): Uint8Array; - toProtoMsg(message: _71.EventMint): _71.EventMintProtoMsg; - }; - EventBurn: { - encode(message: _71.EventBurn, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _71.EventBurn; - fromJSON(object: any): _71.EventBurn; - toJSON(message: _71.EventBurn): unknown; - fromPartial(object: Partial<_71.EventBurn>): _71.EventBurn; - fromAmino(object: _71.EventBurnAmino): _71.EventBurn; - toAmino(message: _71.EventBurn): _71.EventBurnAmino; - fromAminoMsg(object: _71.EventBurnAminoMsg): _71.EventBurn; - toAminoMsg(message: _71.EventBurn): _71.EventBurnAminoMsg; - fromProtoMsg(message: _71.EventBurnProtoMsg): _71.EventBurn; - toProto(message: _71.EventBurn): Uint8Array; - toProtoMsg(message: _71.EventBurn): _71.EventBurnProtoMsg; - }; - }; - } - namespace orm { - namespace module { - const v1alpha1: { - Module: { - encode(_: _76.Module, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _76.Module; - fromJSON(_: any): _76.Module; - toJSON(_: _76.Module): unknown; - fromPartial(_: Partial<_76.Module>): _76.Module; - fromAmino(_: _76.ModuleAmino): _76.Module; - toAmino(_: _76.Module): _76.ModuleAmino; - fromAminoMsg(object: _76.ModuleAminoMsg): _76.Module; - toAminoMsg(message: _76.Module): _76.ModuleAminoMsg; - fromProtoMsg(message: _76.ModuleProtoMsg): _76.Module; - toProto(message: _76.Module): Uint8Array; - toProtoMsg(message: _76.Module): _76.ModuleProtoMsg; - }; - }; - } - const v1: { - TableDescriptor: { - encode(message: _77.TableDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _77.TableDescriptor; - fromJSON(object: any): _77.TableDescriptor; - toJSON(message: _77.TableDescriptor): unknown; - fromPartial(object: Partial<_77.TableDescriptor>): _77.TableDescriptor; - fromAmino(object: _77.TableDescriptorAmino): _77.TableDescriptor; - toAmino(message: _77.TableDescriptor): _77.TableDescriptorAmino; - fromAminoMsg(object: _77.TableDescriptorAminoMsg): _77.TableDescriptor; - toAminoMsg(message: _77.TableDescriptor): _77.TableDescriptorAminoMsg; - fromProtoMsg(message: _77.TableDescriptorProtoMsg): _77.TableDescriptor; - toProto(message: _77.TableDescriptor): Uint8Array; - toProtoMsg(message: _77.TableDescriptor): _77.TableDescriptorProtoMsg; - }; - PrimaryKeyDescriptor: { - encode(message: _77.PrimaryKeyDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _77.PrimaryKeyDescriptor; - fromJSON(object: any): _77.PrimaryKeyDescriptor; - toJSON(message: _77.PrimaryKeyDescriptor): unknown; - fromPartial(object: Partial<_77.PrimaryKeyDescriptor>): _77.PrimaryKeyDescriptor; - fromAmino(object: _77.PrimaryKeyDescriptorAmino): _77.PrimaryKeyDescriptor; - toAmino(message: _77.PrimaryKeyDescriptor): _77.PrimaryKeyDescriptorAmino; - fromAminoMsg(object: _77.PrimaryKeyDescriptorAminoMsg): _77.PrimaryKeyDescriptor; - toAminoMsg(message: _77.PrimaryKeyDescriptor): _77.PrimaryKeyDescriptorAminoMsg; - fromProtoMsg(message: _77.PrimaryKeyDescriptorProtoMsg): _77.PrimaryKeyDescriptor; - toProto(message: _77.PrimaryKeyDescriptor): Uint8Array; - toProtoMsg(message: _77.PrimaryKeyDescriptor): _77.PrimaryKeyDescriptorProtoMsg; - }; - SecondaryIndexDescriptor: { - encode(message: _77.SecondaryIndexDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _77.SecondaryIndexDescriptor; - fromJSON(object: any): _77.SecondaryIndexDescriptor; - toJSON(message: _77.SecondaryIndexDescriptor): unknown; - fromPartial(object: Partial<_77.SecondaryIndexDescriptor>): _77.SecondaryIndexDescriptor; - fromAmino(object: _77.SecondaryIndexDescriptorAmino): _77.SecondaryIndexDescriptor; - toAmino(message: _77.SecondaryIndexDescriptor): _77.SecondaryIndexDescriptorAmino; - fromAminoMsg(object: _77.SecondaryIndexDescriptorAminoMsg): _77.SecondaryIndexDescriptor; - toAminoMsg(message: _77.SecondaryIndexDescriptor): _77.SecondaryIndexDescriptorAminoMsg; - fromProtoMsg(message: _77.SecondaryIndexDescriptorProtoMsg): _77.SecondaryIndexDescriptor; - toProto(message: _77.SecondaryIndexDescriptor): Uint8Array; - toProtoMsg(message: _77.SecondaryIndexDescriptor): _77.SecondaryIndexDescriptorProtoMsg; - }; - SingletonDescriptor: { - encode(message: _77.SingletonDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _77.SingletonDescriptor; - fromJSON(object: any): _77.SingletonDescriptor; - toJSON(message: _77.SingletonDescriptor): unknown; - fromPartial(object: Partial<_77.SingletonDescriptor>): _77.SingletonDescriptor; - fromAmino(object: _77.SingletonDescriptorAmino): _77.SingletonDescriptor; - toAmino(message: _77.SingletonDescriptor): _77.SingletonDescriptorAmino; - fromAminoMsg(object: _77.SingletonDescriptorAminoMsg): _77.SingletonDescriptor; - toAminoMsg(message: _77.SingletonDescriptor): _77.SingletonDescriptorAminoMsg; - fromProtoMsg(message: _77.SingletonDescriptorProtoMsg): _77.SingletonDescriptor; - toProto(message: _77.SingletonDescriptor): Uint8Array; - toProtoMsg(message: _77.SingletonDescriptor): _77.SingletonDescriptorProtoMsg; - }; - }; - const v1alpha1: { - storageTypeFromJSON(object: any): _78.StorageType; - storageTypeToJSON(object: _78.StorageType): string; - StorageType: typeof _78.StorageType; - StorageTypeSDKType: typeof _78.StorageType; - StorageTypeAmino: typeof _78.StorageType; - ModuleSchemaDescriptor: { - encode(message: _78.ModuleSchemaDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _78.ModuleSchemaDescriptor; - fromJSON(object: any): _78.ModuleSchemaDescriptor; - toJSON(message: _78.ModuleSchemaDescriptor): unknown; - fromPartial(object: Partial<_78.ModuleSchemaDescriptor>): _78.ModuleSchemaDescriptor; - fromAmino(object: _78.ModuleSchemaDescriptorAmino): _78.ModuleSchemaDescriptor; - toAmino(message: _78.ModuleSchemaDescriptor): _78.ModuleSchemaDescriptorAmino; - fromAminoMsg(object: _78.ModuleSchemaDescriptorAminoMsg): _78.ModuleSchemaDescriptor; - toAminoMsg(message: _78.ModuleSchemaDescriptor): _78.ModuleSchemaDescriptorAminoMsg; - fromProtoMsg(message: _78.ModuleSchemaDescriptorProtoMsg): _78.ModuleSchemaDescriptor; - toProto(message: _78.ModuleSchemaDescriptor): Uint8Array; - toProtoMsg(message: _78.ModuleSchemaDescriptor): _78.ModuleSchemaDescriptorProtoMsg; - }; - ModuleSchemaDescriptor_FileEntry: { - encode(message: _78.ModuleSchemaDescriptor_FileEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _78.ModuleSchemaDescriptor_FileEntry; - fromJSON(object: any): _78.ModuleSchemaDescriptor_FileEntry; - toJSON(message: _78.ModuleSchemaDescriptor_FileEntry): unknown; - fromPartial(object: Partial<_78.ModuleSchemaDescriptor_FileEntry>): _78.ModuleSchemaDescriptor_FileEntry; - fromAmino(object: _78.ModuleSchemaDescriptor_FileEntryAmino): _78.ModuleSchemaDescriptor_FileEntry; - toAmino(message: _78.ModuleSchemaDescriptor_FileEntry): _78.ModuleSchemaDescriptor_FileEntryAmino; - fromAminoMsg(object: _78.ModuleSchemaDescriptor_FileEntryAminoMsg): _78.ModuleSchemaDescriptor_FileEntry; - toAminoMsg(message: _78.ModuleSchemaDescriptor_FileEntry): _78.ModuleSchemaDescriptor_FileEntryAminoMsg; - fromProtoMsg(message: _78.ModuleSchemaDescriptor_FileEntryProtoMsg): _78.ModuleSchemaDescriptor_FileEntry; - toProto(message: _78.ModuleSchemaDescriptor_FileEntry): Uint8Array; - toProtoMsg(message: _78.ModuleSchemaDescriptor_FileEntry): _78.ModuleSchemaDescriptor_FileEntryProtoMsg; - }; - }; - } - namespace params { - const v1beta1: { - QueryClientImpl: typeof _211.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request: _80.QueryParamsRequest): Promise<_80.QueryParamsResponse>; - subspaces(request?: _80.QuerySubspacesRequest | undefined): Promise<_80.QuerySubspacesResponse>; - }; - LCDQueryClient: typeof _192.LCDQueryClient; - QueryParamsRequest: { - encode(message: _80.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _80.QueryParamsRequest; - fromJSON(object: any): _80.QueryParamsRequest; - toJSON(message: _80.QueryParamsRequest): unknown; - fromPartial(object: Partial<_80.QueryParamsRequest>): _80.QueryParamsRequest; - fromAmino(object: _80.QueryParamsRequestAmino): _80.QueryParamsRequest; - toAmino(message: _80.QueryParamsRequest): _80.QueryParamsRequestAmino; - fromAminoMsg(object: _80.QueryParamsRequestAminoMsg): _80.QueryParamsRequest; - toAminoMsg(message: _80.QueryParamsRequest): _80.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _80.QueryParamsRequestProtoMsg): _80.QueryParamsRequest; - toProto(message: _80.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _80.QueryParamsRequest): _80.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _80.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _80.QueryParamsResponse; - fromJSON(object: any): _80.QueryParamsResponse; - toJSON(message: _80.QueryParamsResponse): unknown; - fromPartial(object: Partial<_80.QueryParamsResponse>): _80.QueryParamsResponse; - fromAmino(object: _80.QueryParamsResponseAmino): _80.QueryParamsResponse; - toAmino(message: _80.QueryParamsResponse): _80.QueryParamsResponseAmino; - fromAminoMsg(object: _80.QueryParamsResponseAminoMsg): _80.QueryParamsResponse; - toAminoMsg(message: _80.QueryParamsResponse): _80.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _80.QueryParamsResponseProtoMsg): _80.QueryParamsResponse; - toProto(message: _80.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _80.QueryParamsResponse): _80.QueryParamsResponseProtoMsg; - }; - QuerySubspacesRequest: { - encode(_: _80.QuerySubspacesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _80.QuerySubspacesRequest; - fromJSON(_: any): _80.QuerySubspacesRequest; - toJSON(_: _80.QuerySubspacesRequest): unknown; - fromPartial(_: Partial<_80.QuerySubspacesRequest>): _80.QuerySubspacesRequest; - fromAmino(_: _80.QuerySubspacesRequestAmino): _80.QuerySubspacesRequest; - toAmino(_: _80.QuerySubspacesRequest): _80.QuerySubspacesRequestAmino; - fromAminoMsg(object: _80.QuerySubspacesRequestAminoMsg): _80.QuerySubspacesRequest; - toAminoMsg(message: _80.QuerySubspacesRequest): _80.QuerySubspacesRequestAminoMsg; - fromProtoMsg(message: _80.QuerySubspacesRequestProtoMsg): _80.QuerySubspacesRequest; - toProto(message: _80.QuerySubspacesRequest): Uint8Array; - toProtoMsg(message: _80.QuerySubspacesRequest): _80.QuerySubspacesRequestProtoMsg; - }; - QuerySubspacesResponse: { - encode(message: _80.QuerySubspacesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _80.QuerySubspacesResponse; - fromJSON(object: any): _80.QuerySubspacesResponse; - toJSON(message: _80.QuerySubspacesResponse): unknown; - fromPartial(object: Partial<_80.QuerySubspacesResponse>): _80.QuerySubspacesResponse; - fromAmino(object: _80.QuerySubspacesResponseAmino): _80.QuerySubspacesResponse; - toAmino(message: _80.QuerySubspacesResponse): _80.QuerySubspacesResponseAmino; - fromAminoMsg(object: _80.QuerySubspacesResponseAminoMsg): _80.QuerySubspacesResponse; - toAminoMsg(message: _80.QuerySubspacesResponse): _80.QuerySubspacesResponseAminoMsg; - fromProtoMsg(message: _80.QuerySubspacesResponseProtoMsg): _80.QuerySubspacesResponse; - toProto(message: _80.QuerySubspacesResponse): Uint8Array; - toProtoMsg(message: _80.QuerySubspacesResponse): _80.QuerySubspacesResponseProtoMsg; - }; - Subspace: { - encode(message: _80.Subspace, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _80.Subspace; - fromJSON(object: any): _80.Subspace; - toJSON(message: _80.Subspace): unknown; - fromPartial(object: Partial<_80.Subspace>): _80.Subspace; - fromAmino(object: _80.SubspaceAmino): _80.Subspace; - toAmino(message: _80.Subspace): _80.SubspaceAmino; - fromAminoMsg(object: _80.SubspaceAminoMsg): _80.Subspace; - toAminoMsg(message: _80.Subspace): _80.SubspaceAminoMsg; - fromProtoMsg(message: _80.SubspaceProtoMsg): _80.Subspace; - toProto(message: _80.Subspace): Uint8Array; - toProtoMsg(message: _80.Subspace): _80.SubspaceProtoMsg; - }; - ParameterChangeProposal: { - encode(message: _79.ParameterChangeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _79.ParameterChangeProposal; - fromJSON(object: any): _79.ParameterChangeProposal; - toJSON(message: _79.ParameterChangeProposal): unknown; - fromPartial(object: Partial<_79.ParameterChangeProposal>): _79.ParameterChangeProposal; - fromAmino(object: _79.ParameterChangeProposalAmino): _79.ParameterChangeProposal; - toAmino(message: _79.ParameterChangeProposal): _79.ParameterChangeProposalAmino; - fromAminoMsg(object: _79.ParameterChangeProposalAminoMsg): _79.ParameterChangeProposal; - toAminoMsg(message: _79.ParameterChangeProposal): _79.ParameterChangeProposalAminoMsg; - fromProtoMsg(message: _79.ParameterChangeProposalProtoMsg): _79.ParameterChangeProposal; - toProto(message: _79.ParameterChangeProposal): Uint8Array; - toProtoMsg(message: _79.ParameterChangeProposal): _79.ParameterChangeProposalProtoMsg; - }; - ParamChange: { - encode(message: _79.ParamChange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _79.ParamChange; - fromJSON(object: any): _79.ParamChange; - toJSON(message: _79.ParamChange): unknown; - fromPartial(object: Partial<_79.ParamChange>): _79.ParamChange; - fromAmino(object: _79.ParamChangeAmino): _79.ParamChange; - toAmino(message: _79.ParamChange): _79.ParamChangeAmino; - fromAminoMsg(object: _79.ParamChangeAminoMsg): _79.ParamChange; - toAminoMsg(message: _79.ParamChange): _79.ParamChangeAminoMsg; - fromProtoMsg(message: _79.ParamChangeProtoMsg): _79.ParamChange; - toProto(message: _79.ParamChange): Uint8Array; - toProtoMsg(message: _79.ParamChange): _79.ParamChangeProtoMsg; - }; - }; - } - namespace slashing { - const v1beta1: { - MsgClientImpl: typeof _226.MsgClientImpl; - QueryClientImpl: typeof _212.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request?: _82.QueryParamsRequest | undefined): Promise<_82.QueryParamsResponse>; - signingInfo(request: _82.QuerySigningInfoRequest): Promise<_82.QuerySigningInfoResponse>; - signingInfos(request?: _82.QuerySigningInfosRequest | undefined): Promise<_82.QuerySigningInfosResponse>; - }; - LCDQueryClient: typeof _193.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - unjail(value: _84.MsgUnjail): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - unjail(value: _84.MsgUnjail): { - typeUrl: string; - value: _84.MsgUnjail; - }; - }; - toJSON: { - unjail(value: _84.MsgUnjail): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - unjail(value: any): { - typeUrl: string; - value: _84.MsgUnjail; - }; - }; - fromPartial: { - unjail(value: _84.MsgUnjail): { - typeUrl: string; - value: _84.MsgUnjail; - }; - }; - }; - AminoConverter: { - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: string; - toAmino: (message: _84.MsgUnjail) => _84.MsgUnjailAmino; - fromAmino: (object: _84.MsgUnjailAmino) => _84.MsgUnjail; - }; - }; - MsgUnjail: { - encode(message: _84.MsgUnjail, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _84.MsgUnjail; - fromJSON(object: any): _84.MsgUnjail; - toJSON(message: _84.MsgUnjail): unknown; - fromPartial(object: Partial<_84.MsgUnjail>): _84.MsgUnjail; - fromAmino(object: _84.MsgUnjailAmino): _84.MsgUnjail; - toAmino(message: _84.MsgUnjail): _84.MsgUnjailAmino; - fromAminoMsg(object: _84.MsgUnjailAminoMsg): _84.MsgUnjail; - toAminoMsg(message: _84.MsgUnjail): _84.MsgUnjailAminoMsg; - fromProtoMsg(message: _84.MsgUnjailProtoMsg): _84.MsgUnjail; - toProto(message: _84.MsgUnjail): Uint8Array; - toProtoMsg(message: _84.MsgUnjail): _84.MsgUnjailProtoMsg; - }; - MsgUnjailResponse: { - encode(_: _84.MsgUnjailResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _84.MsgUnjailResponse; - fromJSON(_: any): _84.MsgUnjailResponse; - toJSON(_: _84.MsgUnjailResponse): unknown; - fromPartial(_: Partial<_84.MsgUnjailResponse>): _84.MsgUnjailResponse; - fromAmino(_: _84.MsgUnjailResponseAmino): _84.MsgUnjailResponse; - toAmino(_: _84.MsgUnjailResponse): _84.MsgUnjailResponseAmino; - fromAminoMsg(object: _84.MsgUnjailResponseAminoMsg): _84.MsgUnjailResponse; - toAminoMsg(message: _84.MsgUnjailResponse): _84.MsgUnjailResponseAminoMsg; - fromProtoMsg(message: _84.MsgUnjailResponseProtoMsg): _84.MsgUnjailResponse; - toProto(message: _84.MsgUnjailResponse): Uint8Array; - toProtoMsg(message: _84.MsgUnjailResponse): _84.MsgUnjailResponseProtoMsg; - }; - ValidatorSigningInfo: { - encode(message: _83.ValidatorSigningInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _83.ValidatorSigningInfo; - fromJSON(object: any): _83.ValidatorSigningInfo; - toJSON(message: _83.ValidatorSigningInfo): unknown; - fromPartial(object: Partial<_83.ValidatorSigningInfo>): _83.ValidatorSigningInfo; - fromAmino(object: _83.ValidatorSigningInfoAmino): _83.ValidatorSigningInfo; - toAmino(message: _83.ValidatorSigningInfo): _83.ValidatorSigningInfoAmino; - fromAminoMsg(object: _83.ValidatorSigningInfoAminoMsg): _83.ValidatorSigningInfo; - toAminoMsg(message: _83.ValidatorSigningInfo): _83.ValidatorSigningInfoAminoMsg; - fromProtoMsg(message: _83.ValidatorSigningInfoProtoMsg): _83.ValidatorSigningInfo; - toProto(message: _83.ValidatorSigningInfo): Uint8Array; - toProtoMsg(message: _83.ValidatorSigningInfo): _83.ValidatorSigningInfoProtoMsg; - }; - Params: { - encode(message: _83.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _83.Params; - fromJSON(object: any): _83.Params; - toJSON(message: _83.Params): unknown; - fromPartial(object: Partial<_83.Params>): _83.Params; - fromAmino(object: _83.ParamsAmino): _83.Params; - toAmino(message: _83.Params): _83.ParamsAmino; - fromAminoMsg(object: _83.ParamsAminoMsg): _83.Params; - toAminoMsg(message: _83.Params): _83.ParamsAminoMsg; - fromProtoMsg(message: _83.ParamsProtoMsg): _83.Params; - toProto(message: _83.Params): Uint8Array; - toProtoMsg(message: _83.Params): _83.ParamsProtoMsg; - }; - QueryParamsRequest: { - encode(_: _82.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _82.QueryParamsRequest; - fromJSON(_: any): _82.QueryParamsRequest; - toJSON(_: _82.QueryParamsRequest): unknown; - fromPartial(_: Partial<_82.QueryParamsRequest>): _82.QueryParamsRequest; - fromAmino(_: _82.QueryParamsRequestAmino): _82.QueryParamsRequest; - toAmino(_: _82.QueryParamsRequest): _82.QueryParamsRequestAmino; - fromAminoMsg(object: _82.QueryParamsRequestAminoMsg): _82.QueryParamsRequest; - toAminoMsg(message: _82.QueryParamsRequest): _82.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _82.QueryParamsRequestProtoMsg): _82.QueryParamsRequest; - toProto(message: _82.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _82.QueryParamsRequest): _82.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _82.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _82.QueryParamsResponse; - fromJSON(object: any): _82.QueryParamsResponse; - toJSON(message: _82.QueryParamsResponse): unknown; - fromPartial(object: Partial<_82.QueryParamsResponse>): _82.QueryParamsResponse; - fromAmino(object: _82.QueryParamsResponseAmino): _82.QueryParamsResponse; - toAmino(message: _82.QueryParamsResponse): _82.QueryParamsResponseAmino; - fromAminoMsg(object: _82.QueryParamsResponseAminoMsg): _82.QueryParamsResponse; - toAminoMsg(message: _82.QueryParamsResponse): _82.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _82.QueryParamsResponseProtoMsg): _82.QueryParamsResponse; - toProto(message: _82.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _82.QueryParamsResponse): _82.QueryParamsResponseProtoMsg; - }; - QuerySigningInfoRequest: { - encode(message: _82.QuerySigningInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _82.QuerySigningInfoRequest; - fromJSON(object: any): _82.QuerySigningInfoRequest; - toJSON(message: _82.QuerySigningInfoRequest): unknown; - fromPartial(object: Partial<_82.QuerySigningInfoRequest>): _82.QuerySigningInfoRequest; - fromAmino(object: _82.QuerySigningInfoRequestAmino): _82.QuerySigningInfoRequest; - toAmino(message: _82.QuerySigningInfoRequest): _82.QuerySigningInfoRequestAmino; - fromAminoMsg(object: _82.QuerySigningInfoRequestAminoMsg): _82.QuerySigningInfoRequest; - toAminoMsg(message: _82.QuerySigningInfoRequest): _82.QuerySigningInfoRequestAminoMsg; - fromProtoMsg(message: _82.QuerySigningInfoRequestProtoMsg): _82.QuerySigningInfoRequest; - toProto(message: _82.QuerySigningInfoRequest): Uint8Array; - toProtoMsg(message: _82.QuerySigningInfoRequest): _82.QuerySigningInfoRequestProtoMsg; - }; - QuerySigningInfoResponse: { - encode(message: _82.QuerySigningInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _82.QuerySigningInfoResponse; - fromJSON(object: any): _82.QuerySigningInfoResponse; - toJSON(message: _82.QuerySigningInfoResponse): unknown; - fromPartial(object: Partial<_82.QuerySigningInfoResponse>): _82.QuerySigningInfoResponse; - fromAmino(object: _82.QuerySigningInfoResponseAmino): _82.QuerySigningInfoResponse; - toAmino(message: _82.QuerySigningInfoResponse): _82.QuerySigningInfoResponseAmino; - fromAminoMsg(object: _82.QuerySigningInfoResponseAminoMsg): _82.QuerySigningInfoResponse; - toAminoMsg(message: _82.QuerySigningInfoResponse): _82.QuerySigningInfoResponseAminoMsg; - fromProtoMsg(message: _82.QuerySigningInfoResponseProtoMsg): _82.QuerySigningInfoResponse; - toProto(message: _82.QuerySigningInfoResponse): Uint8Array; - toProtoMsg(message: _82.QuerySigningInfoResponse): _82.QuerySigningInfoResponseProtoMsg; - }; - QuerySigningInfosRequest: { - encode(message: _82.QuerySigningInfosRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _82.QuerySigningInfosRequest; - fromJSON(object: any): _82.QuerySigningInfosRequest; - toJSON(message: _82.QuerySigningInfosRequest): unknown; - fromPartial(object: Partial<_82.QuerySigningInfosRequest>): _82.QuerySigningInfosRequest; - fromAmino(object: _82.QuerySigningInfosRequestAmino): _82.QuerySigningInfosRequest; - toAmino(message: _82.QuerySigningInfosRequest): _82.QuerySigningInfosRequestAmino; - fromAminoMsg(object: _82.QuerySigningInfosRequestAminoMsg): _82.QuerySigningInfosRequest; - toAminoMsg(message: _82.QuerySigningInfosRequest): _82.QuerySigningInfosRequestAminoMsg; - fromProtoMsg(message: _82.QuerySigningInfosRequestProtoMsg): _82.QuerySigningInfosRequest; - toProto(message: _82.QuerySigningInfosRequest): Uint8Array; - toProtoMsg(message: _82.QuerySigningInfosRequest): _82.QuerySigningInfosRequestProtoMsg; - }; - QuerySigningInfosResponse: { - encode(message: _82.QuerySigningInfosResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _82.QuerySigningInfosResponse; - fromJSON(object: any): _82.QuerySigningInfosResponse; - toJSON(message: _82.QuerySigningInfosResponse): unknown; - fromPartial(object: Partial<_82.QuerySigningInfosResponse>): _82.QuerySigningInfosResponse; - fromAmino(object: _82.QuerySigningInfosResponseAmino): _82.QuerySigningInfosResponse; - toAmino(message: _82.QuerySigningInfosResponse): _82.QuerySigningInfosResponseAmino; - fromAminoMsg(object: _82.QuerySigningInfosResponseAminoMsg): _82.QuerySigningInfosResponse; - toAminoMsg(message: _82.QuerySigningInfosResponse): _82.QuerySigningInfosResponseAminoMsg; - fromProtoMsg(message: _82.QuerySigningInfosResponseProtoMsg): _82.QuerySigningInfosResponse; - toProto(message: _82.QuerySigningInfosResponse): Uint8Array; - toProtoMsg(message: _82.QuerySigningInfosResponse): _82.QuerySigningInfosResponseProtoMsg; - }; - GenesisState: { - encode(message: _81.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _81.GenesisState; - fromJSON(object: any): _81.GenesisState; - toJSON(message: _81.GenesisState): unknown; - fromPartial(object: Partial<_81.GenesisState>): _81.GenesisState; - fromAmino(object: _81.GenesisStateAmino): _81.GenesisState; - toAmino(message: _81.GenesisState): _81.GenesisStateAmino; - fromAminoMsg(object: _81.GenesisStateAminoMsg): _81.GenesisState; - toAminoMsg(message: _81.GenesisState): _81.GenesisStateAminoMsg; - fromProtoMsg(message: _81.GenesisStateProtoMsg): _81.GenesisState; - toProto(message: _81.GenesisState): Uint8Array; - toProtoMsg(message: _81.GenesisState): _81.GenesisStateProtoMsg; - }; - SigningInfo: { - encode(message: _81.SigningInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _81.SigningInfo; - fromJSON(object: any): _81.SigningInfo; - toJSON(message: _81.SigningInfo): unknown; - fromPartial(object: Partial<_81.SigningInfo>): _81.SigningInfo; - fromAmino(object: _81.SigningInfoAmino): _81.SigningInfo; - toAmino(message: _81.SigningInfo): _81.SigningInfoAmino; - fromAminoMsg(object: _81.SigningInfoAminoMsg): _81.SigningInfo; - toAminoMsg(message: _81.SigningInfo): _81.SigningInfoAminoMsg; - fromProtoMsg(message: _81.SigningInfoProtoMsg): _81.SigningInfo; - toProto(message: _81.SigningInfo): Uint8Array; - toProtoMsg(message: _81.SigningInfo): _81.SigningInfoProtoMsg; - }; - ValidatorMissedBlocks: { - encode(message: _81.ValidatorMissedBlocks, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _81.ValidatorMissedBlocks; - fromJSON(object: any): _81.ValidatorMissedBlocks; - toJSON(message: _81.ValidatorMissedBlocks): unknown; - fromPartial(object: Partial<_81.ValidatorMissedBlocks>): _81.ValidatorMissedBlocks; - fromAmino(object: _81.ValidatorMissedBlocksAmino): _81.ValidatorMissedBlocks; - toAmino(message: _81.ValidatorMissedBlocks): _81.ValidatorMissedBlocksAmino; - fromAminoMsg(object: _81.ValidatorMissedBlocksAminoMsg): _81.ValidatorMissedBlocks; - toAminoMsg(message: _81.ValidatorMissedBlocks): _81.ValidatorMissedBlocksAminoMsg; - fromProtoMsg(message: _81.ValidatorMissedBlocksProtoMsg): _81.ValidatorMissedBlocks; - toProto(message: _81.ValidatorMissedBlocks): Uint8Array; - toProtoMsg(message: _81.ValidatorMissedBlocks): _81.ValidatorMissedBlocksProtoMsg; - }; - MissedBlock: { - encode(message: _81.MissedBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _81.MissedBlock; - fromJSON(object: any): _81.MissedBlock; - toJSON(message: _81.MissedBlock): unknown; - fromPartial(object: Partial<_81.MissedBlock>): _81.MissedBlock; - fromAmino(object: _81.MissedBlockAmino): _81.MissedBlock; - toAmino(message: _81.MissedBlock): _81.MissedBlockAmino; - fromAminoMsg(object: _81.MissedBlockAminoMsg): _81.MissedBlock; - toAminoMsg(message: _81.MissedBlock): _81.MissedBlockAminoMsg; - fromProtoMsg(message: _81.MissedBlockProtoMsg): _81.MissedBlock; - toProto(message: _81.MissedBlock): Uint8Array; - toProtoMsg(message: _81.MissedBlock): _81.MissedBlockProtoMsg; - }; - }; - } - namespace staking { - const v1beta1: { - MsgClientImpl: typeof _227.MsgClientImpl; - QueryClientImpl: typeof _213.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - validators(request: _87.QueryValidatorsRequest): Promise<_87.QueryValidatorsResponse>; - validator(request: _87.QueryValidatorRequest): Promise<_87.QueryValidatorResponse>; - validatorDelegations(request: _87.QueryValidatorDelegationsRequest): Promise<_87.QueryValidatorDelegationsResponse>; - validatorUnbondingDelegations(request: _87.QueryValidatorUnbondingDelegationsRequest): Promise<_87.QueryValidatorUnbondingDelegationsResponse>; - delegation(request: _87.QueryDelegationRequest): Promise<_87.QueryDelegationResponse>; - unbondingDelegation(request: _87.QueryUnbondingDelegationRequest): Promise<_87.QueryUnbondingDelegationResponse>; - delegatorDelegations(request: _87.QueryDelegatorDelegationsRequest): Promise<_87.QueryDelegatorDelegationsResponse>; - delegatorUnbondingDelegations(request: _87.QueryDelegatorUnbondingDelegationsRequest): Promise<_87.QueryDelegatorUnbondingDelegationsResponse>; - redelegations(request: _87.QueryRedelegationsRequest): Promise<_87.QueryRedelegationsResponse>; - delegatorValidators(request: _87.QueryDelegatorValidatorsRequest): Promise<_87.QueryDelegatorValidatorsResponse>; - delegatorValidator(request: _87.QueryDelegatorValidatorRequest): Promise<_87.QueryDelegatorValidatorResponse>; - historicalInfo(request: _87.QueryHistoricalInfoRequest): Promise<_87.QueryHistoricalInfoResponse>; - pool(request?: _87.QueryPoolRequest | undefined): Promise<_87.QueryPoolResponse>; - params(request?: _87.QueryParamsRequest | undefined): Promise<_87.QueryParamsResponse>; - }; - LCDQueryClient: typeof _194.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createValidator(value: _89.MsgCreateValidator): { - typeUrl: string; - value: Uint8Array; - }; - editValidator(value: _89.MsgEditValidator): { - typeUrl: string; - value: Uint8Array; - }; - delegate(value: _89.MsgDelegate): { - typeUrl: string; - value: Uint8Array; - }; - beginRedelegate(value: _89.MsgBeginRedelegate): { - typeUrl: string; - value: Uint8Array; - }; - undelegate(value: _89.MsgUndelegate): { - typeUrl: string; - value: Uint8Array; - }; - cancelUnbondingDelegation(value: _89.MsgCancelUnbondingDelegation): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createValidator(value: _89.MsgCreateValidator): { - typeUrl: string; - value: _89.MsgCreateValidator; - }; - editValidator(value: _89.MsgEditValidator): { - typeUrl: string; - value: _89.MsgEditValidator; - }; - delegate(value: _89.MsgDelegate): { - typeUrl: string; - value: _89.MsgDelegate; - }; - beginRedelegate(value: _89.MsgBeginRedelegate): { - typeUrl: string; - value: _89.MsgBeginRedelegate; - }; - undelegate(value: _89.MsgUndelegate): { - typeUrl: string; - value: _89.MsgUndelegate; - }; - cancelUnbondingDelegation(value: _89.MsgCancelUnbondingDelegation): { - typeUrl: string; - value: _89.MsgCancelUnbondingDelegation; - }; - }; - toJSON: { - createValidator(value: _89.MsgCreateValidator): { - typeUrl: string; - value: unknown; - }; - editValidator(value: _89.MsgEditValidator): { - typeUrl: string; - value: unknown; - }; - delegate(value: _89.MsgDelegate): { - typeUrl: string; - value: unknown; - }; - beginRedelegate(value: _89.MsgBeginRedelegate): { - typeUrl: string; - value: unknown; - }; - undelegate(value: _89.MsgUndelegate): { - typeUrl: string; - value: unknown; - }; - cancelUnbondingDelegation(value: _89.MsgCancelUnbondingDelegation): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createValidator(value: any): { - typeUrl: string; - value: _89.MsgCreateValidator; - }; - editValidator(value: any): { - typeUrl: string; - value: _89.MsgEditValidator; - }; - delegate(value: any): { - typeUrl: string; - value: _89.MsgDelegate; - }; - beginRedelegate(value: any): { - typeUrl: string; - value: _89.MsgBeginRedelegate; - }; - undelegate(value: any): { - typeUrl: string; - value: _89.MsgUndelegate; - }; - cancelUnbondingDelegation(value: any): { - typeUrl: string; - value: _89.MsgCancelUnbondingDelegation; - }; - }; - fromPartial: { - createValidator(value: _89.MsgCreateValidator): { - typeUrl: string; - value: _89.MsgCreateValidator; - }; - editValidator(value: _89.MsgEditValidator): { - typeUrl: string; - value: _89.MsgEditValidator; - }; - delegate(value: _89.MsgDelegate): { - typeUrl: string; - value: _89.MsgDelegate; - }; - beginRedelegate(value: _89.MsgBeginRedelegate): { - typeUrl: string; - value: _89.MsgBeginRedelegate; - }; - undelegate(value: _89.MsgUndelegate): { - typeUrl: string; - value: _89.MsgUndelegate; - }; - cancelUnbondingDelegation(value: _89.MsgCancelUnbondingDelegation): { - typeUrl: string; - value: _89.MsgCancelUnbondingDelegation; - }; - }; - }; - AminoConverter: { - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: string; - toAmino: (message: _89.MsgCreateValidator) => _89.MsgCreateValidatorAmino; - fromAmino: (object: _89.MsgCreateValidatorAmino) => _89.MsgCreateValidator; - }; - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: string; - toAmino: (message: _89.MsgEditValidator) => _89.MsgEditValidatorAmino; - fromAmino: (object: _89.MsgEditValidatorAmino) => _89.MsgEditValidator; - }; - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: string; - toAmino: (message: _89.MsgDelegate) => _89.MsgDelegateAmino; - fromAmino: (object: _89.MsgDelegateAmino) => _89.MsgDelegate; - }; - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: string; - toAmino: (message: _89.MsgBeginRedelegate) => _89.MsgBeginRedelegateAmino; - fromAmino: (object: _89.MsgBeginRedelegateAmino) => _89.MsgBeginRedelegate; - }; - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: string; - toAmino: (message: _89.MsgUndelegate) => _89.MsgUndelegateAmino; - fromAmino: (object: _89.MsgUndelegateAmino) => _89.MsgUndelegate; - }; - "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation": { - aminoType: string; - toAmino: (message: _89.MsgCancelUnbondingDelegation) => _89.MsgCancelUnbondingDelegationAmino; - fromAmino: (object: _89.MsgCancelUnbondingDelegationAmino) => _89.MsgCancelUnbondingDelegation; - }; - }; - MsgCreateValidator: { - encode(message: _89.MsgCreateValidator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgCreateValidator; - fromJSON(object: any): _89.MsgCreateValidator; - toJSON(message: _89.MsgCreateValidator): unknown; - fromPartial(object: Partial<_89.MsgCreateValidator>): _89.MsgCreateValidator; - fromAmino(object: _89.MsgCreateValidatorAmino): _89.MsgCreateValidator; - toAmino(message: _89.MsgCreateValidator): _89.MsgCreateValidatorAmino; - fromAminoMsg(object: _89.MsgCreateValidatorAminoMsg): _89.MsgCreateValidator; - toAminoMsg(message: _89.MsgCreateValidator): _89.MsgCreateValidatorAminoMsg; - fromProtoMsg(message: _89.MsgCreateValidatorProtoMsg): _89.MsgCreateValidator; - toProto(message: _89.MsgCreateValidator): Uint8Array; - toProtoMsg(message: _89.MsgCreateValidator): _89.MsgCreateValidatorProtoMsg; - }; - MsgCreateValidatorResponse: { - encode(_: _89.MsgCreateValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgCreateValidatorResponse; - fromJSON(_: any): _89.MsgCreateValidatorResponse; - toJSON(_: _89.MsgCreateValidatorResponse): unknown; - fromPartial(_: Partial<_89.MsgCreateValidatorResponse>): _89.MsgCreateValidatorResponse; - fromAmino(_: _89.MsgCreateValidatorResponseAmino): _89.MsgCreateValidatorResponse; - toAmino(_: _89.MsgCreateValidatorResponse): _89.MsgCreateValidatorResponseAmino; - fromAminoMsg(object: _89.MsgCreateValidatorResponseAminoMsg): _89.MsgCreateValidatorResponse; - toAminoMsg(message: _89.MsgCreateValidatorResponse): _89.MsgCreateValidatorResponseAminoMsg; - fromProtoMsg(message: _89.MsgCreateValidatorResponseProtoMsg): _89.MsgCreateValidatorResponse; - toProto(message: _89.MsgCreateValidatorResponse): Uint8Array; - toProtoMsg(message: _89.MsgCreateValidatorResponse): _89.MsgCreateValidatorResponseProtoMsg; - }; - MsgEditValidator: { - encode(message: _89.MsgEditValidator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgEditValidator; - fromJSON(object: any): _89.MsgEditValidator; - toJSON(message: _89.MsgEditValidator): unknown; - fromPartial(object: Partial<_89.MsgEditValidator>): _89.MsgEditValidator; - fromAmino(object: _89.MsgEditValidatorAmino): _89.MsgEditValidator; - toAmino(message: _89.MsgEditValidator): _89.MsgEditValidatorAmino; - fromAminoMsg(object: _89.MsgEditValidatorAminoMsg): _89.MsgEditValidator; - toAminoMsg(message: _89.MsgEditValidator): _89.MsgEditValidatorAminoMsg; - fromProtoMsg(message: _89.MsgEditValidatorProtoMsg): _89.MsgEditValidator; - toProto(message: _89.MsgEditValidator): Uint8Array; - toProtoMsg(message: _89.MsgEditValidator): _89.MsgEditValidatorProtoMsg; - }; - MsgEditValidatorResponse: { - encode(_: _89.MsgEditValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgEditValidatorResponse; - fromJSON(_: any): _89.MsgEditValidatorResponse; - toJSON(_: _89.MsgEditValidatorResponse): unknown; - fromPartial(_: Partial<_89.MsgEditValidatorResponse>): _89.MsgEditValidatorResponse; - fromAmino(_: _89.MsgEditValidatorResponseAmino): _89.MsgEditValidatorResponse; - toAmino(_: _89.MsgEditValidatorResponse): _89.MsgEditValidatorResponseAmino; - fromAminoMsg(object: _89.MsgEditValidatorResponseAminoMsg): _89.MsgEditValidatorResponse; - toAminoMsg(message: _89.MsgEditValidatorResponse): _89.MsgEditValidatorResponseAminoMsg; - fromProtoMsg(message: _89.MsgEditValidatorResponseProtoMsg): _89.MsgEditValidatorResponse; - toProto(message: _89.MsgEditValidatorResponse): Uint8Array; - toProtoMsg(message: _89.MsgEditValidatorResponse): _89.MsgEditValidatorResponseProtoMsg; - }; - MsgDelegate: { - encode(message: _89.MsgDelegate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgDelegate; - fromJSON(object: any): _89.MsgDelegate; - toJSON(message: _89.MsgDelegate): unknown; - fromPartial(object: Partial<_89.MsgDelegate>): _89.MsgDelegate; - fromAmino(object: _89.MsgDelegateAmino): _89.MsgDelegate; - toAmino(message: _89.MsgDelegate): _89.MsgDelegateAmino; - fromAminoMsg(object: _89.MsgDelegateAminoMsg): _89.MsgDelegate; - toAminoMsg(message: _89.MsgDelegate): _89.MsgDelegateAminoMsg; - fromProtoMsg(message: _89.MsgDelegateProtoMsg): _89.MsgDelegate; - toProto(message: _89.MsgDelegate): Uint8Array; - toProtoMsg(message: _89.MsgDelegate): _89.MsgDelegateProtoMsg; - }; - MsgDelegateResponse: { - encode(_: _89.MsgDelegateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgDelegateResponse; - fromJSON(_: any): _89.MsgDelegateResponse; - toJSON(_: _89.MsgDelegateResponse): unknown; - fromPartial(_: Partial<_89.MsgDelegateResponse>): _89.MsgDelegateResponse; - fromAmino(_: _89.MsgDelegateResponseAmino): _89.MsgDelegateResponse; - toAmino(_: _89.MsgDelegateResponse): _89.MsgDelegateResponseAmino; - fromAminoMsg(object: _89.MsgDelegateResponseAminoMsg): _89.MsgDelegateResponse; - toAminoMsg(message: _89.MsgDelegateResponse): _89.MsgDelegateResponseAminoMsg; - fromProtoMsg(message: _89.MsgDelegateResponseProtoMsg): _89.MsgDelegateResponse; - toProto(message: _89.MsgDelegateResponse): Uint8Array; - toProtoMsg(message: _89.MsgDelegateResponse): _89.MsgDelegateResponseProtoMsg; - }; - MsgBeginRedelegate: { - encode(message: _89.MsgBeginRedelegate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgBeginRedelegate; - fromJSON(object: any): _89.MsgBeginRedelegate; - toJSON(message: _89.MsgBeginRedelegate): unknown; - fromPartial(object: Partial<_89.MsgBeginRedelegate>): _89.MsgBeginRedelegate; - fromAmino(object: _89.MsgBeginRedelegateAmino): _89.MsgBeginRedelegate; - toAmino(message: _89.MsgBeginRedelegate): _89.MsgBeginRedelegateAmino; - fromAminoMsg(object: _89.MsgBeginRedelegateAminoMsg): _89.MsgBeginRedelegate; - toAminoMsg(message: _89.MsgBeginRedelegate): _89.MsgBeginRedelegateAminoMsg; - fromProtoMsg(message: _89.MsgBeginRedelegateProtoMsg): _89.MsgBeginRedelegate; - toProto(message: _89.MsgBeginRedelegate): Uint8Array; - toProtoMsg(message: _89.MsgBeginRedelegate): _89.MsgBeginRedelegateProtoMsg; - }; - MsgBeginRedelegateResponse: { - encode(message: _89.MsgBeginRedelegateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgBeginRedelegateResponse; - fromJSON(object: any): _89.MsgBeginRedelegateResponse; - toJSON(message: _89.MsgBeginRedelegateResponse): unknown; - fromPartial(object: Partial<_89.MsgBeginRedelegateResponse>): _89.MsgBeginRedelegateResponse; - fromAmino(object: _89.MsgBeginRedelegateResponseAmino): _89.MsgBeginRedelegateResponse; - toAmino(message: _89.MsgBeginRedelegateResponse): _89.MsgBeginRedelegateResponseAmino; - fromAminoMsg(object: _89.MsgBeginRedelegateResponseAminoMsg): _89.MsgBeginRedelegateResponse; - toAminoMsg(message: _89.MsgBeginRedelegateResponse): _89.MsgBeginRedelegateResponseAminoMsg; - fromProtoMsg(message: _89.MsgBeginRedelegateResponseProtoMsg): _89.MsgBeginRedelegateResponse; - toProto(message: _89.MsgBeginRedelegateResponse): Uint8Array; - toProtoMsg(message: _89.MsgBeginRedelegateResponse): _89.MsgBeginRedelegateResponseProtoMsg; - }; - MsgUndelegate: { - encode(message: _89.MsgUndelegate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgUndelegate; - fromJSON(object: any): _89.MsgUndelegate; - toJSON(message: _89.MsgUndelegate): unknown; - fromPartial(object: Partial<_89.MsgUndelegate>): _89.MsgUndelegate; - fromAmino(object: _89.MsgUndelegateAmino): _89.MsgUndelegate; - toAmino(message: _89.MsgUndelegate): _89.MsgUndelegateAmino; - fromAminoMsg(object: _89.MsgUndelegateAminoMsg): _89.MsgUndelegate; - toAminoMsg(message: _89.MsgUndelegate): _89.MsgUndelegateAminoMsg; - fromProtoMsg(message: _89.MsgUndelegateProtoMsg): _89.MsgUndelegate; - toProto(message: _89.MsgUndelegate): Uint8Array; - toProtoMsg(message: _89.MsgUndelegate): _89.MsgUndelegateProtoMsg; - }; - MsgUndelegateResponse: { - encode(message: _89.MsgUndelegateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgUndelegateResponse; - fromJSON(object: any): _89.MsgUndelegateResponse; - toJSON(message: _89.MsgUndelegateResponse): unknown; - fromPartial(object: Partial<_89.MsgUndelegateResponse>): _89.MsgUndelegateResponse; - fromAmino(object: _89.MsgUndelegateResponseAmino): _89.MsgUndelegateResponse; - toAmino(message: _89.MsgUndelegateResponse): _89.MsgUndelegateResponseAmino; - fromAminoMsg(object: _89.MsgUndelegateResponseAminoMsg): _89.MsgUndelegateResponse; - toAminoMsg(message: _89.MsgUndelegateResponse): _89.MsgUndelegateResponseAminoMsg; - fromProtoMsg(message: _89.MsgUndelegateResponseProtoMsg): _89.MsgUndelegateResponse; - toProto(message: _89.MsgUndelegateResponse): Uint8Array; - toProtoMsg(message: _89.MsgUndelegateResponse): _89.MsgUndelegateResponseProtoMsg; - }; - MsgCancelUnbondingDelegation: { - encode(message: _89.MsgCancelUnbondingDelegation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgCancelUnbondingDelegation; - fromJSON(object: any): _89.MsgCancelUnbondingDelegation; - toJSON(message: _89.MsgCancelUnbondingDelegation): unknown; - fromPartial(object: Partial<_89.MsgCancelUnbondingDelegation>): _89.MsgCancelUnbondingDelegation; - fromAmino(object: _89.MsgCancelUnbondingDelegationAmino): _89.MsgCancelUnbondingDelegation; - toAmino(message: _89.MsgCancelUnbondingDelegation): _89.MsgCancelUnbondingDelegationAmino; - fromAminoMsg(object: _89.MsgCancelUnbondingDelegationAminoMsg): _89.MsgCancelUnbondingDelegation; - toAminoMsg(message: _89.MsgCancelUnbondingDelegation): _89.MsgCancelUnbondingDelegationAminoMsg; - fromProtoMsg(message: _89.MsgCancelUnbondingDelegationProtoMsg): _89.MsgCancelUnbondingDelegation; - toProto(message: _89.MsgCancelUnbondingDelegation): Uint8Array; - toProtoMsg(message: _89.MsgCancelUnbondingDelegation): _89.MsgCancelUnbondingDelegationProtoMsg; - }; - MsgCancelUnbondingDelegationResponse: { - encode(_: _89.MsgCancelUnbondingDelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _89.MsgCancelUnbondingDelegationResponse; - fromJSON(_: any): _89.MsgCancelUnbondingDelegationResponse; - toJSON(_: _89.MsgCancelUnbondingDelegationResponse): unknown; - fromPartial(_: Partial<_89.MsgCancelUnbondingDelegationResponse>): _89.MsgCancelUnbondingDelegationResponse; - fromAmino(_: _89.MsgCancelUnbondingDelegationResponseAmino): _89.MsgCancelUnbondingDelegationResponse; - toAmino(_: _89.MsgCancelUnbondingDelegationResponse): _89.MsgCancelUnbondingDelegationResponseAmino; - fromAminoMsg(object: _89.MsgCancelUnbondingDelegationResponseAminoMsg): _89.MsgCancelUnbondingDelegationResponse; - toAminoMsg(message: _89.MsgCancelUnbondingDelegationResponse): _89.MsgCancelUnbondingDelegationResponseAminoMsg; - fromProtoMsg(message: _89.MsgCancelUnbondingDelegationResponseProtoMsg): _89.MsgCancelUnbondingDelegationResponse; - toProto(message: _89.MsgCancelUnbondingDelegationResponse): Uint8Array; - toProtoMsg(message: _89.MsgCancelUnbondingDelegationResponse): _89.MsgCancelUnbondingDelegationResponseProtoMsg; - }; - Cosmos_cryptoPubKey_InterfaceDecoder: (input: Uint8Array | import("protobufjs").Reader) => import("../google/protobuf/any").Any; - Cosmos_cryptoPubKey_FromAmino: (content: import("../google/protobuf/any").AnyAmino) => string; - Cosmos_cryptoPubKey_ToAmino: (content: import("../google/protobuf/any").Any) => { - typeUrl: string; - value: Uint8Array; - }; - bondStatusFromJSON(object: any): _88.BondStatus; - bondStatusToJSON(object: _88.BondStatus): string; - BondStatus: typeof _88.BondStatus; - BondStatusSDKType: typeof _88.BondStatus; - BondStatusAmino: typeof _88.BondStatus; - HistoricalInfo: { - encode(message: _88.HistoricalInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.HistoricalInfo; - fromJSON(object: any): _88.HistoricalInfo; - toJSON(message: _88.HistoricalInfo): unknown; - fromPartial(object: Partial<_88.HistoricalInfo>): _88.HistoricalInfo; - fromAmino(object: _88.HistoricalInfoAmino): _88.HistoricalInfo; - toAmino(message: _88.HistoricalInfo): _88.HistoricalInfoAmino; - fromAminoMsg(object: _88.HistoricalInfoAminoMsg): _88.HistoricalInfo; - toAminoMsg(message: _88.HistoricalInfo): _88.HistoricalInfoAminoMsg; - fromProtoMsg(message: _88.HistoricalInfoProtoMsg): _88.HistoricalInfo; - toProto(message: _88.HistoricalInfo): Uint8Array; - toProtoMsg(message: _88.HistoricalInfo): _88.HistoricalInfoProtoMsg; - }; - CommissionRates: { - encode(message: _88.CommissionRates, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.CommissionRates; - fromJSON(object: any): _88.CommissionRates; - toJSON(message: _88.CommissionRates): unknown; - fromPartial(object: Partial<_88.CommissionRates>): _88.CommissionRates; - fromAmino(object: _88.CommissionRatesAmino): _88.CommissionRates; - toAmino(message: _88.CommissionRates): _88.CommissionRatesAmino; - fromAminoMsg(object: _88.CommissionRatesAminoMsg): _88.CommissionRates; - toAminoMsg(message: _88.CommissionRates): _88.CommissionRatesAminoMsg; - fromProtoMsg(message: _88.CommissionRatesProtoMsg): _88.CommissionRates; - toProto(message: _88.CommissionRates): Uint8Array; - toProtoMsg(message: _88.CommissionRates): _88.CommissionRatesProtoMsg; - }; - Commission: { - encode(message: _88.Commission, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.Commission; - fromJSON(object: any): _88.Commission; - toJSON(message: _88.Commission): unknown; - fromPartial(object: Partial<_88.Commission>): _88.Commission; - fromAmino(object: _88.CommissionAmino): _88.Commission; - toAmino(message: _88.Commission): _88.CommissionAmino; - fromAminoMsg(object: _88.CommissionAminoMsg): _88.Commission; - toAminoMsg(message: _88.Commission): _88.CommissionAminoMsg; - fromProtoMsg(message: _88.CommissionProtoMsg): _88.Commission; - toProto(message: _88.Commission): Uint8Array; - toProtoMsg(message: _88.Commission): _88.CommissionProtoMsg; - }; - Description: { - encode(message: _88.Description, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.Description; - fromJSON(object: any): _88.Description; - toJSON(message: _88.Description): unknown; - fromPartial(object: Partial<_88.Description>): _88.Description; - fromAmino(object: _88.DescriptionAmino): _88.Description; - toAmino(message: _88.Description): _88.DescriptionAmino; - fromAminoMsg(object: _88.DescriptionAminoMsg): _88.Description; - toAminoMsg(message: _88.Description): _88.DescriptionAminoMsg; - fromProtoMsg(message: _88.DescriptionProtoMsg): _88.Description; - toProto(message: _88.Description): Uint8Array; - toProtoMsg(message: _88.Description): _88.DescriptionProtoMsg; - }; - Validator: { - encode(message: _88.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.Validator; - fromJSON(object: any): _88.Validator; - toJSON(message: _88.Validator): unknown; - fromPartial(object: Partial<_88.Validator>): _88.Validator; - fromAmino(object: _88.ValidatorAmino): _88.Validator; - toAmino(message: _88.Validator): _88.ValidatorAmino; - fromAminoMsg(object: _88.ValidatorAminoMsg): _88.Validator; - toAminoMsg(message: _88.Validator): _88.ValidatorAminoMsg; - fromProtoMsg(message: _88.ValidatorProtoMsg): _88.Validator; - toProto(message: _88.Validator): Uint8Array; - toProtoMsg(message: _88.Validator): _88.ValidatorProtoMsg; - }; - ValAddresses: { - encode(message: _88.ValAddresses, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.ValAddresses; - fromJSON(object: any): _88.ValAddresses; - toJSON(message: _88.ValAddresses): unknown; - fromPartial(object: Partial<_88.ValAddresses>): _88.ValAddresses; - fromAmino(object: _88.ValAddressesAmino): _88.ValAddresses; - toAmino(message: _88.ValAddresses): _88.ValAddressesAmino; - fromAminoMsg(object: _88.ValAddressesAminoMsg): _88.ValAddresses; - toAminoMsg(message: _88.ValAddresses): _88.ValAddressesAminoMsg; - fromProtoMsg(message: _88.ValAddressesProtoMsg): _88.ValAddresses; - toProto(message: _88.ValAddresses): Uint8Array; - toProtoMsg(message: _88.ValAddresses): _88.ValAddressesProtoMsg; - }; - DVPair: { - encode(message: _88.DVPair, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.DVPair; - fromJSON(object: any): _88.DVPair; - toJSON(message: _88.DVPair): unknown; - fromPartial(object: Partial<_88.DVPair>): _88.DVPair; - fromAmino(object: _88.DVPairAmino): _88.DVPair; - toAmino(message: _88.DVPair): _88.DVPairAmino; - fromAminoMsg(object: _88.DVPairAminoMsg): _88.DVPair; - toAminoMsg(message: _88.DVPair): _88.DVPairAminoMsg; - fromProtoMsg(message: _88.DVPairProtoMsg): _88.DVPair; - toProto(message: _88.DVPair): Uint8Array; - toProtoMsg(message: _88.DVPair): _88.DVPairProtoMsg; - }; - DVPairs: { - encode(message: _88.DVPairs, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.DVPairs; - fromJSON(object: any): _88.DVPairs; - toJSON(message: _88.DVPairs): unknown; - fromPartial(object: Partial<_88.DVPairs>): _88.DVPairs; - fromAmino(object: _88.DVPairsAmino): _88.DVPairs; - toAmino(message: _88.DVPairs): _88.DVPairsAmino; - fromAminoMsg(object: _88.DVPairsAminoMsg): _88.DVPairs; - toAminoMsg(message: _88.DVPairs): _88.DVPairsAminoMsg; - fromProtoMsg(message: _88.DVPairsProtoMsg): _88.DVPairs; - toProto(message: _88.DVPairs): Uint8Array; - toProtoMsg(message: _88.DVPairs): _88.DVPairsProtoMsg; - }; - DVVTriplet: { - encode(message: _88.DVVTriplet, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.DVVTriplet; - fromJSON(object: any): _88.DVVTriplet; - toJSON(message: _88.DVVTriplet): unknown; - fromPartial(object: Partial<_88.DVVTriplet>): _88.DVVTriplet; - fromAmino(object: _88.DVVTripletAmino): _88.DVVTriplet; - toAmino(message: _88.DVVTriplet): _88.DVVTripletAmino; - fromAminoMsg(object: _88.DVVTripletAminoMsg): _88.DVVTriplet; - toAminoMsg(message: _88.DVVTriplet): _88.DVVTripletAminoMsg; - fromProtoMsg(message: _88.DVVTripletProtoMsg): _88.DVVTriplet; - toProto(message: _88.DVVTriplet): Uint8Array; - toProtoMsg(message: _88.DVVTriplet): _88.DVVTripletProtoMsg; - }; - DVVTriplets: { - encode(message: _88.DVVTriplets, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.DVVTriplets; - fromJSON(object: any): _88.DVVTriplets; - toJSON(message: _88.DVVTriplets): unknown; - fromPartial(object: Partial<_88.DVVTriplets>): _88.DVVTriplets; - fromAmino(object: _88.DVVTripletsAmino): _88.DVVTriplets; - toAmino(message: _88.DVVTriplets): _88.DVVTripletsAmino; - fromAminoMsg(object: _88.DVVTripletsAminoMsg): _88.DVVTriplets; - toAminoMsg(message: _88.DVVTriplets): _88.DVVTripletsAminoMsg; - fromProtoMsg(message: _88.DVVTripletsProtoMsg): _88.DVVTriplets; - toProto(message: _88.DVVTriplets): Uint8Array; - toProtoMsg(message: _88.DVVTriplets): _88.DVVTripletsProtoMsg; - }; - Delegation: { - encode(message: _88.Delegation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.Delegation; - fromJSON(object: any): _88.Delegation; - toJSON(message: _88.Delegation): unknown; - fromPartial(object: Partial<_88.Delegation>): _88.Delegation; - fromAmino(object: _88.DelegationAmino): _88.Delegation; - toAmino(message: _88.Delegation): _88.DelegationAmino; - fromAminoMsg(object: _88.DelegationAminoMsg): _88.Delegation; - toAminoMsg(message: _88.Delegation): _88.DelegationAminoMsg; - fromProtoMsg(message: _88.DelegationProtoMsg): _88.Delegation; - toProto(message: _88.Delegation): Uint8Array; - toProtoMsg(message: _88.Delegation): _88.DelegationProtoMsg; - }; - UnbondingDelegation: { - encode(message: _88.UnbondingDelegation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.UnbondingDelegation; - fromJSON(object: any): _88.UnbondingDelegation; - toJSON(message: _88.UnbondingDelegation): unknown; - fromPartial(object: Partial<_88.UnbondingDelegation>): _88.UnbondingDelegation; - fromAmino(object: _88.UnbondingDelegationAmino): _88.UnbondingDelegation; - toAmino(message: _88.UnbondingDelegation): _88.UnbondingDelegationAmino; - fromAminoMsg(object: _88.UnbondingDelegationAminoMsg): _88.UnbondingDelegation; - toAminoMsg(message: _88.UnbondingDelegation): _88.UnbondingDelegationAminoMsg; - fromProtoMsg(message: _88.UnbondingDelegationProtoMsg): _88.UnbondingDelegation; - toProto(message: _88.UnbondingDelegation): Uint8Array; - toProtoMsg(message: _88.UnbondingDelegation): _88.UnbondingDelegationProtoMsg; - }; - UnbondingDelegationEntry: { - encode(message: _88.UnbondingDelegationEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.UnbondingDelegationEntry; - fromJSON(object: any): _88.UnbondingDelegationEntry; - toJSON(message: _88.UnbondingDelegationEntry): unknown; - fromPartial(object: Partial<_88.UnbondingDelegationEntry>): _88.UnbondingDelegationEntry; - fromAmino(object: _88.UnbondingDelegationEntryAmino): _88.UnbondingDelegationEntry; - toAmino(message: _88.UnbondingDelegationEntry): _88.UnbondingDelegationEntryAmino; - fromAminoMsg(object: _88.UnbondingDelegationEntryAminoMsg): _88.UnbondingDelegationEntry; - toAminoMsg(message: _88.UnbondingDelegationEntry): _88.UnbondingDelegationEntryAminoMsg; - fromProtoMsg(message: _88.UnbondingDelegationEntryProtoMsg): _88.UnbondingDelegationEntry; - toProto(message: _88.UnbondingDelegationEntry): Uint8Array; - toProtoMsg(message: _88.UnbondingDelegationEntry): _88.UnbondingDelegationEntryProtoMsg; - }; - RedelegationEntry: { - encode(message: _88.RedelegationEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.RedelegationEntry; - fromJSON(object: any): _88.RedelegationEntry; - toJSON(message: _88.RedelegationEntry): unknown; - fromPartial(object: Partial<_88.RedelegationEntry>): _88.RedelegationEntry; - fromAmino(object: _88.RedelegationEntryAmino): _88.RedelegationEntry; - toAmino(message: _88.RedelegationEntry): _88.RedelegationEntryAmino; - fromAminoMsg(object: _88.RedelegationEntryAminoMsg): _88.RedelegationEntry; - toAminoMsg(message: _88.RedelegationEntry): _88.RedelegationEntryAminoMsg; - fromProtoMsg(message: _88.RedelegationEntryProtoMsg): _88.RedelegationEntry; - toProto(message: _88.RedelegationEntry): Uint8Array; - toProtoMsg(message: _88.RedelegationEntry): _88.RedelegationEntryProtoMsg; - }; - Redelegation: { - encode(message: _88.Redelegation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.Redelegation; - fromJSON(object: any): _88.Redelegation; - toJSON(message: _88.Redelegation): unknown; - fromPartial(object: Partial<_88.Redelegation>): _88.Redelegation; - fromAmino(object: _88.RedelegationAmino): _88.Redelegation; - toAmino(message: _88.Redelegation): _88.RedelegationAmino; - fromAminoMsg(object: _88.RedelegationAminoMsg): _88.Redelegation; - toAminoMsg(message: _88.Redelegation): _88.RedelegationAminoMsg; - fromProtoMsg(message: _88.RedelegationProtoMsg): _88.Redelegation; - toProto(message: _88.Redelegation): Uint8Array; - toProtoMsg(message: _88.Redelegation): _88.RedelegationProtoMsg; - }; - Params: { - encode(message: _88.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.Params; - fromJSON(object: any): _88.Params; - toJSON(message: _88.Params): unknown; - fromPartial(object: Partial<_88.Params>): _88.Params; - fromAmino(object: _88.ParamsAmino): _88.Params; - toAmino(message: _88.Params): _88.ParamsAmino; - fromAminoMsg(object: _88.ParamsAminoMsg): _88.Params; - toAminoMsg(message: _88.Params): _88.ParamsAminoMsg; - fromProtoMsg(message: _88.ParamsProtoMsg): _88.Params; - toProto(message: _88.Params): Uint8Array; - toProtoMsg(message: _88.Params): _88.ParamsProtoMsg; - }; - DelegationResponse: { - encode(message: _88.DelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.DelegationResponse; - fromJSON(object: any): _88.DelegationResponse; - toJSON(message: _88.DelegationResponse): unknown; - fromPartial(object: Partial<_88.DelegationResponse>): _88.DelegationResponse; - fromAmino(object: _88.DelegationResponseAmino): _88.DelegationResponse; - toAmino(message: _88.DelegationResponse): _88.DelegationResponseAmino; - fromAminoMsg(object: _88.DelegationResponseAminoMsg): _88.DelegationResponse; - toAminoMsg(message: _88.DelegationResponse): _88.DelegationResponseAminoMsg; - fromProtoMsg(message: _88.DelegationResponseProtoMsg): _88.DelegationResponse; - toProto(message: _88.DelegationResponse): Uint8Array; - toProtoMsg(message: _88.DelegationResponse): _88.DelegationResponseProtoMsg; - }; - RedelegationEntryResponse: { - encode(message: _88.RedelegationEntryResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.RedelegationEntryResponse; - fromJSON(object: any): _88.RedelegationEntryResponse; - toJSON(message: _88.RedelegationEntryResponse): unknown; - fromPartial(object: Partial<_88.RedelegationEntryResponse>): _88.RedelegationEntryResponse; - fromAmino(object: _88.RedelegationEntryResponseAmino): _88.RedelegationEntryResponse; - toAmino(message: _88.RedelegationEntryResponse): _88.RedelegationEntryResponseAmino; - fromAminoMsg(object: _88.RedelegationEntryResponseAminoMsg): _88.RedelegationEntryResponse; - toAminoMsg(message: _88.RedelegationEntryResponse): _88.RedelegationEntryResponseAminoMsg; - fromProtoMsg(message: _88.RedelegationEntryResponseProtoMsg): _88.RedelegationEntryResponse; - toProto(message: _88.RedelegationEntryResponse): Uint8Array; - toProtoMsg(message: _88.RedelegationEntryResponse): _88.RedelegationEntryResponseProtoMsg; - }; - RedelegationResponse: { - encode(message: _88.RedelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.RedelegationResponse; - fromJSON(object: any): _88.RedelegationResponse; - toJSON(message: _88.RedelegationResponse): unknown; - fromPartial(object: Partial<_88.RedelegationResponse>): _88.RedelegationResponse; - fromAmino(object: _88.RedelegationResponseAmino): _88.RedelegationResponse; - toAmino(message: _88.RedelegationResponse): _88.RedelegationResponseAmino; - fromAminoMsg(object: _88.RedelegationResponseAminoMsg): _88.RedelegationResponse; - toAminoMsg(message: _88.RedelegationResponse): _88.RedelegationResponseAminoMsg; - fromProtoMsg(message: _88.RedelegationResponseProtoMsg): _88.RedelegationResponse; - toProto(message: _88.RedelegationResponse): Uint8Array; - toProtoMsg(message: _88.RedelegationResponse): _88.RedelegationResponseProtoMsg; - }; - Pool: { - encode(message: _88.Pool, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _88.Pool; - fromJSON(object: any): _88.Pool; - toJSON(message: _88.Pool): unknown; - fromPartial(object: Partial<_88.Pool>): _88.Pool; - fromAmino(object: _88.PoolAmino): _88.Pool; - toAmino(message: _88.Pool): _88.PoolAmino; - fromAminoMsg(object: _88.PoolAminoMsg): _88.Pool; - toAminoMsg(message: _88.Pool): _88.PoolAminoMsg; - fromProtoMsg(message: _88.PoolProtoMsg): _88.Pool; - toProto(message: _88.Pool): Uint8Array; - toProtoMsg(message: _88.Pool): _88.PoolProtoMsg; - }; - QueryValidatorsRequest: { - encode(message: _87.QueryValidatorsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorsRequest; - fromJSON(object: any): _87.QueryValidatorsRequest; - toJSON(message: _87.QueryValidatorsRequest): unknown; - fromPartial(object: Partial<_87.QueryValidatorsRequest>): _87.QueryValidatorsRequest; - fromAmino(object: _87.QueryValidatorsRequestAmino): _87.QueryValidatorsRequest; - toAmino(message: _87.QueryValidatorsRequest): _87.QueryValidatorsRequestAmino; - fromAminoMsg(object: _87.QueryValidatorsRequestAminoMsg): _87.QueryValidatorsRequest; - toAminoMsg(message: _87.QueryValidatorsRequest): _87.QueryValidatorsRequestAminoMsg; - fromProtoMsg(message: _87.QueryValidatorsRequestProtoMsg): _87.QueryValidatorsRequest; - toProto(message: _87.QueryValidatorsRequest): Uint8Array; - toProtoMsg(message: _87.QueryValidatorsRequest): _87.QueryValidatorsRequestProtoMsg; - }; - QueryValidatorsResponse: { - encode(message: _87.QueryValidatorsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorsResponse; - fromJSON(object: any): _87.QueryValidatorsResponse; - toJSON(message: _87.QueryValidatorsResponse): unknown; - fromPartial(object: Partial<_87.QueryValidatorsResponse>): _87.QueryValidatorsResponse; - fromAmino(object: _87.QueryValidatorsResponseAmino): _87.QueryValidatorsResponse; - toAmino(message: _87.QueryValidatorsResponse): _87.QueryValidatorsResponseAmino; - fromAminoMsg(object: _87.QueryValidatorsResponseAminoMsg): _87.QueryValidatorsResponse; - toAminoMsg(message: _87.QueryValidatorsResponse): _87.QueryValidatorsResponseAminoMsg; - fromProtoMsg(message: _87.QueryValidatorsResponseProtoMsg): _87.QueryValidatorsResponse; - toProto(message: _87.QueryValidatorsResponse): Uint8Array; - toProtoMsg(message: _87.QueryValidatorsResponse): _87.QueryValidatorsResponseProtoMsg; - }; - QueryValidatorRequest: { - encode(message: _87.QueryValidatorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorRequest; - fromJSON(object: any): _87.QueryValidatorRequest; - toJSON(message: _87.QueryValidatorRequest): unknown; - fromPartial(object: Partial<_87.QueryValidatorRequest>): _87.QueryValidatorRequest; - fromAmino(object: _87.QueryValidatorRequestAmino): _87.QueryValidatorRequest; - toAmino(message: _87.QueryValidatorRequest): _87.QueryValidatorRequestAmino; - fromAminoMsg(object: _87.QueryValidatorRequestAminoMsg): _87.QueryValidatorRequest; - toAminoMsg(message: _87.QueryValidatorRequest): _87.QueryValidatorRequestAminoMsg; - fromProtoMsg(message: _87.QueryValidatorRequestProtoMsg): _87.QueryValidatorRequest; - toProto(message: _87.QueryValidatorRequest): Uint8Array; - toProtoMsg(message: _87.QueryValidatorRequest): _87.QueryValidatorRequestProtoMsg; - }; - QueryValidatorResponse: { - encode(message: _87.QueryValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorResponse; - fromJSON(object: any): _87.QueryValidatorResponse; - toJSON(message: _87.QueryValidatorResponse): unknown; - fromPartial(object: Partial<_87.QueryValidatorResponse>): _87.QueryValidatorResponse; - fromAmino(object: _87.QueryValidatorResponseAmino): _87.QueryValidatorResponse; - toAmino(message: _87.QueryValidatorResponse): _87.QueryValidatorResponseAmino; - fromAminoMsg(object: _87.QueryValidatorResponseAminoMsg): _87.QueryValidatorResponse; - toAminoMsg(message: _87.QueryValidatorResponse): _87.QueryValidatorResponseAminoMsg; - fromProtoMsg(message: _87.QueryValidatorResponseProtoMsg): _87.QueryValidatorResponse; - toProto(message: _87.QueryValidatorResponse): Uint8Array; - toProtoMsg(message: _87.QueryValidatorResponse): _87.QueryValidatorResponseProtoMsg; - }; - QueryValidatorDelegationsRequest: { - encode(message: _87.QueryValidatorDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorDelegationsRequest; - fromJSON(object: any): _87.QueryValidatorDelegationsRequest; - toJSON(message: _87.QueryValidatorDelegationsRequest): unknown; - fromPartial(object: Partial<_87.QueryValidatorDelegationsRequest>): _87.QueryValidatorDelegationsRequest; - fromAmino(object: _87.QueryValidatorDelegationsRequestAmino): _87.QueryValidatorDelegationsRequest; - toAmino(message: _87.QueryValidatorDelegationsRequest): _87.QueryValidatorDelegationsRequestAmino; - fromAminoMsg(object: _87.QueryValidatorDelegationsRequestAminoMsg): _87.QueryValidatorDelegationsRequest; - toAminoMsg(message: _87.QueryValidatorDelegationsRequest): _87.QueryValidatorDelegationsRequestAminoMsg; - fromProtoMsg(message: _87.QueryValidatorDelegationsRequestProtoMsg): _87.QueryValidatorDelegationsRequest; - toProto(message: _87.QueryValidatorDelegationsRequest): Uint8Array; - toProtoMsg(message: _87.QueryValidatorDelegationsRequest): _87.QueryValidatorDelegationsRequestProtoMsg; - }; - QueryValidatorDelegationsResponse: { - encode(message: _87.QueryValidatorDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorDelegationsResponse; - fromJSON(object: any): _87.QueryValidatorDelegationsResponse; - toJSON(message: _87.QueryValidatorDelegationsResponse): unknown; - fromPartial(object: Partial<_87.QueryValidatorDelegationsResponse>): _87.QueryValidatorDelegationsResponse; - fromAmino(object: _87.QueryValidatorDelegationsResponseAmino): _87.QueryValidatorDelegationsResponse; - toAmino(message: _87.QueryValidatorDelegationsResponse): _87.QueryValidatorDelegationsResponseAmino; - fromAminoMsg(object: _87.QueryValidatorDelegationsResponseAminoMsg): _87.QueryValidatorDelegationsResponse; - toAminoMsg(message: _87.QueryValidatorDelegationsResponse): _87.QueryValidatorDelegationsResponseAminoMsg; - fromProtoMsg(message: _87.QueryValidatorDelegationsResponseProtoMsg): _87.QueryValidatorDelegationsResponse; - toProto(message: _87.QueryValidatorDelegationsResponse): Uint8Array; - toProtoMsg(message: _87.QueryValidatorDelegationsResponse): _87.QueryValidatorDelegationsResponseProtoMsg; - }; - QueryValidatorUnbondingDelegationsRequest: { - encode(message: _87.QueryValidatorUnbondingDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorUnbondingDelegationsRequest; - fromJSON(object: any): _87.QueryValidatorUnbondingDelegationsRequest; - toJSON(message: _87.QueryValidatorUnbondingDelegationsRequest): unknown; - fromPartial(object: Partial<_87.QueryValidatorUnbondingDelegationsRequest>): _87.QueryValidatorUnbondingDelegationsRequest; - fromAmino(object: _87.QueryValidatorUnbondingDelegationsRequestAmino): _87.QueryValidatorUnbondingDelegationsRequest; - toAmino(message: _87.QueryValidatorUnbondingDelegationsRequest): _87.QueryValidatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: _87.QueryValidatorUnbondingDelegationsRequestAminoMsg): _87.QueryValidatorUnbondingDelegationsRequest; - toAminoMsg(message: _87.QueryValidatorUnbondingDelegationsRequest): _87.QueryValidatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: _87.QueryValidatorUnbondingDelegationsRequestProtoMsg): _87.QueryValidatorUnbondingDelegationsRequest; - toProto(message: _87.QueryValidatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: _87.QueryValidatorUnbondingDelegationsRequest): _87.QueryValidatorUnbondingDelegationsRequestProtoMsg; - }; - QueryValidatorUnbondingDelegationsResponse: { - encode(message: _87.QueryValidatorUnbondingDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryValidatorUnbondingDelegationsResponse; - fromJSON(object: any): _87.QueryValidatorUnbondingDelegationsResponse; - toJSON(message: _87.QueryValidatorUnbondingDelegationsResponse): unknown; - fromPartial(object: Partial<_87.QueryValidatorUnbondingDelegationsResponse>): _87.QueryValidatorUnbondingDelegationsResponse; - fromAmino(object: _87.QueryValidatorUnbondingDelegationsResponseAmino): _87.QueryValidatorUnbondingDelegationsResponse; - toAmino(message: _87.QueryValidatorUnbondingDelegationsResponse): _87.QueryValidatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: _87.QueryValidatorUnbondingDelegationsResponseAminoMsg): _87.QueryValidatorUnbondingDelegationsResponse; - toAminoMsg(message: _87.QueryValidatorUnbondingDelegationsResponse): _87.QueryValidatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: _87.QueryValidatorUnbondingDelegationsResponseProtoMsg): _87.QueryValidatorUnbondingDelegationsResponse; - toProto(message: _87.QueryValidatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: _87.QueryValidatorUnbondingDelegationsResponse): _87.QueryValidatorUnbondingDelegationsResponseProtoMsg; - }; - QueryDelegationRequest: { - encode(message: _87.QueryDelegationRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegationRequest; - fromJSON(object: any): _87.QueryDelegationRequest; - toJSON(message: _87.QueryDelegationRequest): unknown; - fromPartial(object: Partial<_87.QueryDelegationRequest>): _87.QueryDelegationRequest; - fromAmino(object: _87.QueryDelegationRequestAmino): _87.QueryDelegationRequest; - toAmino(message: _87.QueryDelegationRequest): _87.QueryDelegationRequestAmino; - fromAminoMsg(object: _87.QueryDelegationRequestAminoMsg): _87.QueryDelegationRequest; - toAminoMsg(message: _87.QueryDelegationRequest): _87.QueryDelegationRequestAminoMsg; - fromProtoMsg(message: _87.QueryDelegationRequestProtoMsg): _87.QueryDelegationRequest; - toProto(message: _87.QueryDelegationRequest): Uint8Array; - toProtoMsg(message: _87.QueryDelegationRequest): _87.QueryDelegationRequestProtoMsg; - }; - QueryDelegationResponse: { - encode(message: _87.QueryDelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegationResponse; - fromJSON(object: any): _87.QueryDelegationResponse; - toJSON(message: _87.QueryDelegationResponse): unknown; - fromPartial(object: Partial<_87.QueryDelegationResponse>): _87.QueryDelegationResponse; - fromAmino(object: _87.QueryDelegationResponseAmino): _87.QueryDelegationResponse; - toAmino(message: _87.QueryDelegationResponse): _87.QueryDelegationResponseAmino; - fromAminoMsg(object: _87.QueryDelegationResponseAminoMsg): _87.QueryDelegationResponse; - toAminoMsg(message: _87.QueryDelegationResponse): _87.QueryDelegationResponseAminoMsg; - fromProtoMsg(message: _87.QueryDelegationResponseProtoMsg): _87.QueryDelegationResponse; - toProto(message: _87.QueryDelegationResponse): Uint8Array; - toProtoMsg(message: _87.QueryDelegationResponse): _87.QueryDelegationResponseProtoMsg; - }; - QueryUnbondingDelegationRequest: { - encode(message: _87.QueryUnbondingDelegationRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryUnbondingDelegationRequest; - fromJSON(object: any): _87.QueryUnbondingDelegationRequest; - toJSON(message: _87.QueryUnbondingDelegationRequest): unknown; - fromPartial(object: Partial<_87.QueryUnbondingDelegationRequest>): _87.QueryUnbondingDelegationRequest; - fromAmino(object: _87.QueryUnbondingDelegationRequestAmino): _87.QueryUnbondingDelegationRequest; - toAmino(message: _87.QueryUnbondingDelegationRequest): _87.QueryUnbondingDelegationRequestAmino; - fromAminoMsg(object: _87.QueryUnbondingDelegationRequestAminoMsg): _87.QueryUnbondingDelegationRequest; - toAminoMsg(message: _87.QueryUnbondingDelegationRequest): _87.QueryUnbondingDelegationRequestAminoMsg; - fromProtoMsg(message: _87.QueryUnbondingDelegationRequestProtoMsg): _87.QueryUnbondingDelegationRequest; - toProto(message: _87.QueryUnbondingDelegationRequest): Uint8Array; - toProtoMsg(message: _87.QueryUnbondingDelegationRequest): _87.QueryUnbondingDelegationRequestProtoMsg; - }; - QueryUnbondingDelegationResponse: { - encode(message: _87.QueryUnbondingDelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryUnbondingDelegationResponse; - fromJSON(object: any): _87.QueryUnbondingDelegationResponse; - toJSON(message: _87.QueryUnbondingDelegationResponse): unknown; - fromPartial(object: Partial<_87.QueryUnbondingDelegationResponse>): _87.QueryUnbondingDelegationResponse; - fromAmino(object: _87.QueryUnbondingDelegationResponseAmino): _87.QueryUnbondingDelegationResponse; - toAmino(message: _87.QueryUnbondingDelegationResponse): _87.QueryUnbondingDelegationResponseAmino; - fromAminoMsg(object: _87.QueryUnbondingDelegationResponseAminoMsg): _87.QueryUnbondingDelegationResponse; - toAminoMsg(message: _87.QueryUnbondingDelegationResponse): _87.QueryUnbondingDelegationResponseAminoMsg; - fromProtoMsg(message: _87.QueryUnbondingDelegationResponseProtoMsg): _87.QueryUnbondingDelegationResponse; - toProto(message: _87.QueryUnbondingDelegationResponse): Uint8Array; - toProtoMsg(message: _87.QueryUnbondingDelegationResponse): _87.QueryUnbondingDelegationResponseProtoMsg; - }; - QueryDelegatorDelegationsRequest: { - encode(message: _87.QueryDelegatorDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorDelegationsRequest; - fromJSON(object: any): _87.QueryDelegatorDelegationsRequest; - toJSON(message: _87.QueryDelegatorDelegationsRequest): unknown; - fromPartial(object: Partial<_87.QueryDelegatorDelegationsRequest>): _87.QueryDelegatorDelegationsRequest; - fromAmino(object: _87.QueryDelegatorDelegationsRequestAmino): _87.QueryDelegatorDelegationsRequest; - toAmino(message: _87.QueryDelegatorDelegationsRequest): _87.QueryDelegatorDelegationsRequestAmino; - fromAminoMsg(object: _87.QueryDelegatorDelegationsRequestAminoMsg): _87.QueryDelegatorDelegationsRequest; - toAminoMsg(message: _87.QueryDelegatorDelegationsRequest): _87.QueryDelegatorDelegationsRequestAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorDelegationsRequestProtoMsg): _87.QueryDelegatorDelegationsRequest; - toProto(message: _87.QueryDelegatorDelegationsRequest): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorDelegationsRequest): _87.QueryDelegatorDelegationsRequestProtoMsg; - }; - QueryDelegatorDelegationsResponse: { - encode(message: _87.QueryDelegatorDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorDelegationsResponse; - fromJSON(object: any): _87.QueryDelegatorDelegationsResponse; - toJSON(message: _87.QueryDelegatorDelegationsResponse): unknown; - fromPartial(object: Partial<_87.QueryDelegatorDelegationsResponse>): _87.QueryDelegatorDelegationsResponse; - fromAmino(object: _87.QueryDelegatorDelegationsResponseAmino): _87.QueryDelegatorDelegationsResponse; - toAmino(message: _87.QueryDelegatorDelegationsResponse): _87.QueryDelegatorDelegationsResponseAmino; - fromAminoMsg(object: _87.QueryDelegatorDelegationsResponseAminoMsg): _87.QueryDelegatorDelegationsResponse; - toAminoMsg(message: _87.QueryDelegatorDelegationsResponse): _87.QueryDelegatorDelegationsResponseAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorDelegationsResponseProtoMsg): _87.QueryDelegatorDelegationsResponse; - toProto(message: _87.QueryDelegatorDelegationsResponse): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorDelegationsResponse): _87.QueryDelegatorDelegationsResponseProtoMsg; - }; - QueryDelegatorUnbondingDelegationsRequest: { - encode(message: _87.QueryDelegatorUnbondingDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorUnbondingDelegationsRequest; - fromJSON(object: any): _87.QueryDelegatorUnbondingDelegationsRequest; - toJSON(message: _87.QueryDelegatorUnbondingDelegationsRequest): unknown; - fromPartial(object: Partial<_87.QueryDelegatorUnbondingDelegationsRequest>): _87.QueryDelegatorUnbondingDelegationsRequest; - fromAmino(object: _87.QueryDelegatorUnbondingDelegationsRequestAmino): _87.QueryDelegatorUnbondingDelegationsRequest; - toAmino(message: _87.QueryDelegatorUnbondingDelegationsRequest): _87.QueryDelegatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: _87.QueryDelegatorUnbondingDelegationsRequestAminoMsg): _87.QueryDelegatorUnbondingDelegationsRequest; - toAminoMsg(message: _87.QueryDelegatorUnbondingDelegationsRequest): _87.QueryDelegatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorUnbondingDelegationsRequestProtoMsg): _87.QueryDelegatorUnbondingDelegationsRequest; - toProto(message: _87.QueryDelegatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorUnbondingDelegationsRequest): _87.QueryDelegatorUnbondingDelegationsRequestProtoMsg; - }; - QueryDelegatorUnbondingDelegationsResponse: { - encode(message: _87.QueryDelegatorUnbondingDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorUnbondingDelegationsResponse; - fromJSON(object: any): _87.QueryDelegatorUnbondingDelegationsResponse; - toJSON(message: _87.QueryDelegatorUnbondingDelegationsResponse): unknown; - fromPartial(object: Partial<_87.QueryDelegatorUnbondingDelegationsResponse>): _87.QueryDelegatorUnbondingDelegationsResponse; - fromAmino(object: _87.QueryDelegatorUnbondingDelegationsResponseAmino): _87.QueryDelegatorUnbondingDelegationsResponse; - toAmino(message: _87.QueryDelegatorUnbondingDelegationsResponse): _87.QueryDelegatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: _87.QueryDelegatorUnbondingDelegationsResponseAminoMsg): _87.QueryDelegatorUnbondingDelegationsResponse; - toAminoMsg(message: _87.QueryDelegatorUnbondingDelegationsResponse): _87.QueryDelegatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorUnbondingDelegationsResponseProtoMsg): _87.QueryDelegatorUnbondingDelegationsResponse; - toProto(message: _87.QueryDelegatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorUnbondingDelegationsResponse): _87.QueryDelegatorUnbondingDelegationsResponseProtoMsg; - }; - QueryRedelegationsRequest: { - encode(message: _87.QueryRedelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryRedelegationsRequest; - fromJSON(object: any): _87.QueryRedelegationsRequest; - toJSON(message: _87.QueryRedelegationsRequest): unknown; - fromPartial(object: Partial<_87.QueryRedelegationsRequest>): _87.QueryRedelegationsRequest; - fromAmino(object: _87.QueryRedelegationsRequestAmino): _87.QueryRedelegationsRequest; - toAmino(message: _87.QueryRedelegationsRequest): _87.QueryRedelegationsRequestAmino; - fromAminoMsg(object: _87.QueryRedelegationsRequestAminoMsg): _87.QueryRedelegationsRequest; - toAminoMsg(message: _87.QueryRedelegationsRequest): _87.QueryRedelegationsRequestAminoMsg; - fromProtoMsg(message: _87.QueryRedelegationsRequestProtoMsg): _87.QueryRedelegationsRequest; - toProto(message: _87.QueryRedelegationsRequest): Uint8Array; - toProtoMsg(message: _87.QueryRedelegationsRequest): _87.QueryRedelegationsRequestProtoMsg; - }; - QueryRedelegationsResponse: { - encode(message: _87.QueryRedelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryRedelegationsResponse; - fromJSON(object: any): _87.QueryRedelegationsResponse; - toJSON(message: _87.QueryRedelegationsResponse): unknown; - fromPartial(object: Partial<_87.QueryRedelegationsResponse>): _87.QueryRedelegationsResponse; - fromAmino(object: _87.QueryRedelegationsResponseAmino): _87.QueryRedelegationsResponse; - toAmino(message: _87.QueryRedelegationsResponse): _87.QueryRedelegationsResponseAmino; - fromAminoMsg(object: _87.QueryRedelegationsResponseAminoMsg): _87.QueryRedelegationsResponse; - toAminoMsg(message: _87.QueryRedelegationsResponse): _87.QueryRedelegationsResponseAminoMsg; - fromProtoMsg(message: _87.QueryRedelegationsResponseProtoMsg): _87.QueryRedelegationsResponse; - toProto(message: _87.QueryRedelegationsResponse): Uint8Array; - toProtoMsg(message: _87.QueryRedelegationsResponse): _87.QueryRedelegationsResponseProtoMsg; - }; - QueryDelegatorValidatorsRequest: { - encode(message: _87.QueryDelegatorValidatorsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorValidatorsRequest; - fromJSON(object: any): _87.QueryDelegatorValidatorsRequest; - toJSON(message: _87.QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: Partial<_87.QueryDelegatorValidatorsRequest>): _87.QueryDelegatorValidatorsRequest; - fromAmino(object: _87.QueryDelegatorValidatorsRequestAmino): _87.QueryDelegatorValidatorsRequest; - toAmino(message: _87.QueryDelegatorValidatorsRequest): _87.QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: _87.QueryDelegatorValidatorsRequestAminoMsg): _87.QueryDelegatorValidatorsRequest; - toAminoMsg(message: _87.QueryDelegatorValidatorsRequest): _87.QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorValidatorsRequestProtoMsg): _87.QueryDelegatorValidatorsRequest; - toProto(message: _87.QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorValidatorsRequest): _87.QueryDelegatorValidatorsRequestProtoMsg; - }; - QueryDelegatorValidatorsResponse: { - encode(message: _87.QueryDelegatorValidatorsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorValidatorsResponse; - fromJSON(object: any): _87.QueryDelegatorValidatorsResponse; - toJSON(message: _87.QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: Partial<_87.QueryDelegatorValidatorsResponse>): _87.QueryDelegatorValidatorsResponse; - fromAmino(object: _87.QueryDelegatorValidatorsResponseAmino): _87.QueryDelegatorValidatorsResponse; - toAmino(message: _87.QueryDelegatorValidatorsResponse): _87.QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: _87.QueryDelegatorValidatorsResponseAminoMsg): _87.QueryDelegatorValidatorsResponse; - toAminoMsg(message: _87.QueryDelegatorValidatorsResponse): _87.QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorValidatorsResponseProtoMsg): _87.QueryDelegatorValidatorsResponse; - toProto(message: _87.QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorValidatorsResponse): _87.QueryDelegatorValidatorsResponseProtoMsg; - }; - QueryDelegatorValidatorRequest: { - encode(message: _87.QueryDelegatorValidatorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorValidatorRequest; - fromJSON(object: any): _87.QueryDelegatorValidatorRequest; - toJSON(message: _87.QueryDelegatorValidatorRequest): unknown; - fromPartial(object: Partial<_87.QueryDelegatorValidatorRequest>): _87.QueryDelegatorValidatorRequest; - fromAmino(object: _87.QueryDelegatorValidatorRequestAmino): _87.QueryDelegatorValidatorRequest; - toAmino(message: _87.QueryDelegatorValidatorRequest): _87.QueryDelegatorValidatorRequestAmino; - fromAminoMsg(object: _87.QueryDelegatorValidatorRequestAminoMsg): _87.QueryDelegatorValidatorRequest; - toAminoMsg(message: _87.QueryDelegatorValidatorRequest): _87.QueryDelegatorValidatorRequestAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorValidatorRequestProtoMsg): _87.QueryDelegatorValidatorRequest; - toProto(message: _87.QueryDelegatorValidatorRequest): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorValidatorRequest): _87.QueryDelegatorValidatorRequestProtoMsg; - }; - QueryDelegatorValidatorResponse: { - encode(message: _87.QueryDelegatorValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryDelegatorValidatorResponse; - fromJSON(object: any): _87.QueryDelegatorValidatorResponse; - toJSON(message: _87.QueryDelegatorValidatorResponse): unknown; - fromPartial(object: Partial<_87.QueryDelegatorValidatorResponse>): _87.QueryDelegatorValidatorResponse; - fromAmino(object: _87.QueryDelegatorValidatorResponseAmino): _87.QueryDelegatorValidatorResponse; - toAmino(message: _87.QueryDelegatorValidatorResponse): _87.QueryDelegatorValidatorResponseAmino; - fromAminoMsg(object: _87.QueryDelegatorValidatorResponseAminoMsg): _87.QueryDelegatorValidatorResponse; - toAminoMsg(message: _87.QueryDelegatorValidatorResponse): _87.QueryDelegatorValidatorResponseAminoMsg; - fromProtoMsg(message: _87.QueryDelegatorValidatorResponseProtoMsg): _87.QueryDelegatorValidatorResponse; - toProto(message: _87.QueryDelegatorValidatorResponse): Uint8Array; - toProtoMsg(message: _87.QueryDelegatorValidatorResponse): _87.QueryDelegatorValidatorResponseProtoMsg; - }; - QueryHistoricalInfoRequest: { - encode(message: _87.QueryHistoricalInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryHistoricalInfoRequest; - fromJSON(object: any): _87.QueryHistoricalInfoRequest; - toJSON(message: _87.QueryHistoricalInfoRequest): unknown; - fromPartial(object: Partial<_87.QueryHistoricalInfoRequest>): _87.QueryHistoricalInfoRequest; - fromAmino(object: _87.QueryHistoricalInfoRequestAmino): _87.QueryHistoricalInfoRequest; - toAmino(message: _87.QueryHistoricalInfoRequest): _87.QueryHistoricalInfoRequestAmino; - fromAminoMsg(object: _87.QueryHistoricalInfoRequestAminoMsg): _87.QueryHistoricalInfoRequest; - toAminoMsg(message: _87.QueryHistoricalInfoRequest): _87.QueryHistoricalInfoRequestAminoMsg; - fromProtoMsg(message: _87.QueryHistoricalInfoRequestProtoMsg): _87.QueryHistoricalInfoRequest; - toProto(message: _87.QueryHistoricalInfoRequest): Uint8Array; - toProtoMsg(message: _87.QueryHistoricalInfoRequest): _87.QueryHistoricalInfoRequestProtoMsg; - }; - QueryHistoricalInfoResponse: { - encode(message: _87.QueryHistoricalInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryHistoricalInfoResponse; - fromJSON(object: any): _87.QueryHistoricalInfoResponse; - toJSON(message: _87.QueryHistoricalInfoResponse): unknown; - fromPartial(object: Partial<_87.QueryHistoricalInfoResponse>): _87.QueryHistoricalInfoResponse; - fromAmino(object: _87.QueryHistoricalInfoResponseAmino): _87.QueryHistoricalInfoResponse; - toAmino(message: _87.QueryHistoricalInfoResponse): _87.QueryHistoricalInfoResponseAmino; - fromAminoMsg(object: _87.QueryHistoricalInfoResponseAminoMsg): _87.QueryHistoricalInfoResponse; - toAminoMsg(message: _87.QueryHistoricalInfoResponse): _87.QueryHistoricalInfoResponseAminoMsg; - fromProtoMsg(message: _87.QueryHistoricalInfoResponseProtoMsg): _87.QueryHistoricalInfoResponse; - toProto(message: _87.QueryHistoricalInfoResponse): Uint8Array; - toProtoMsg(message: _87.QueryHistoricalInfoResponse): _87.QueryHistoricalInfoResponseProtoMsg; - }; - QueryPoolRequest: { - encode(_: _87.QueryPoolRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryPoolRequest; - fromJSON(_: any): _87.QueryPoolRequest; - toJSON(_: _87.QueryPoolRequest): unknown; - fromPartial(_: Partial<_87.QueryPoolRequest>): _87.QueryPoolRequest; - fromAmino(_: _87.QueryPoolRequestAmino): _87.QueryPoolRequest; - toAmino(_: _87.QueryPoolRequest): _87.QueryPoolRequestAmino; - fromAminoMsg(object: _87.QueryPoolRequestAminoMsg): _87.QueryPoolRequest; - toAminoMsg(message: _87.QueryPoolRequest): _87.QueryPoolRequestAminoMsg; - fromProtoMsg(message: _87.QueryPoolRequestProtoMsg): _87.QueryPoolRequest; - toProto(message: _87.QueryPoolRequest): Uint8Array; - toProtoMsg(message: _87.QueryPoolRequest): _87.QueryPoolRequestProtoMsg; - }; - QueryPoolResponse: { - encode(message: _87.QueryPoolResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryPoolResponse; - fromJSON(object: any): _87.QueryPoolResponse; - toJSON(message: _87.QueryPoolResponse): unknown; - fromPartial(object: Partial<_87.QueryPoolResponse>): _87.QueryPoolResponse; - fromAmino(object: _87.QueryPoolResponseAmino): _87.QueryPoolResponse; - toAmino(message: _87.QueryPoolResponse): _87.QueryPoolResponseAmino; - fromAminoMsg(object: _87.QueryPoolResponseAminoMsg): _87.QueryPoolResponse; - toAminoMsg(message: _87.QueryPoolResponse): _87.QueryPoolResponseAminoMsg; - fromProtoMsg(message: _87.QueryPoolResponseProtoMsg): _87.QueryPoolResponse; - toProto(message: _87.QueryPoolResponse): Uint8Array; - toProtoMsg(message: _87.QueryPoolResponse): _87.QueryPoolResponseProtoMsg; - }; - QueryParamsRequest: { - encode(_: _87.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryParamsRequest; - fromJSON(_: any): _87.QueryParamsRequest; - toJSON(_: _87.QueryParamsRequest): unknown; - fromPartial(_: Partial<_87.QueryParamsRequest>): _87.QueryParamsRequest; - fromAmino(_: _87.QueryParamsRequestAmino): _87.QueryParamsRequest; - toAmino(_: _87.QueryParamsRequest): _87.QueryParamsRequestAmino; - fromAminoMsg(object: _87.QueryParamsRequestAminoMsg): _87.QueryParamsRequest; - toAminoMsg(message: _87.QueryParamsRequest): _87.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _87.QueryParamsRequestProtoMsg): _87.QueryParamsRequest; - toProto(message: _87.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _87.QueryParamsRequest): _87.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _87.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _87.QueryParamsResponse; - fromJSON(object: any): _87.QueryParamsResponse; - toJSON(message: _87.QueryParamsResponse): unknown; - fromPartial(object: Partial<_87.QueryParamsResponse>): _87.QueryParamsResponse; - fromAmino(object: _87.QueryParamsResponseAmino): _87.QueryParamsResponse; - toAmino(message: _87.QueryParamsResponse): _87.QueryParamsResponseAmino; - fromAminoMsg(object: _87.QueryParamsResponseAminoMsg): _87.QueryParamsResponse; - toAminoMsg(message: _87.QueryParamsResponse): _87.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _87.QueryParamsResponseProtoMsg): _87.QueryParamsResponse; - toProto(message: _87.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _87.QueryParamsResponse): _87.QueryParamsResponseProtoMsg; - }; - GenesisState: { - encode(message: _86.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _86.GenesisState; - fromJSON(object: any): _86.GenesisState; - toJSON(message: _86.GenesisState): unknown; - fromPartial(object: Partial<_86.GenesisState>): _86.GenesisState; - fromAmino(object: _86.GenesisStateAmino): _86.GenesisState; - toAmino(message: _86.GenesisState): _86.GenesisStateAmino; - fromAminoMsg(object: _86.GenesisStateAminoMsg): _86.GenesisState; - toAminoMsg(message: _86.GenesisState): _86.GenesisStateAminoMsg; - fromProtoMsg(message: _86.GenesisStateProtoMsg): _86.GenesisState; - toProto(message: _86.GenesisState): Uint8Array; - toProtoMsg(message: _86.GenesisState): _86.GenesisStateProtoMsg; - }; - LastValidatorPower: { - encode(message: _86.LastValidatorPower, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _86.LastValidatorPower; - fromJSON(object: any): _86.LastValidatorPower; - toJSON(message: _86.LastValidatorPower): unknown; - fromPartial(object: Partial<_86.LastValidatorPower>): _86.LastValidatorPower; - fromAmino(object: _86.LastValidatorPowerAmino): _86.LastValidatorPower; - toAmino(message: _86.LastValidatorPower): _86.LastValidatorPowerAmino; - fromAminoMsg(object: _86.LastValidatorPowerAminoMsg): _86.LastValidatorPower; - toAminoMsg(message: _86.LastValidatorPower): _86.LastValidatorPowerAminoMsg; - fromProtoMsg(message: _86.LastValidatorPowerProtoMsg): _86.LastValidatorPower; - toProto(message: _86.LastValidatorPower): Uint8Array; - toProtoMsg(message: _86.LastValidatorPower): _86.LastValidatorPowerProtoMsg; - }; - authorizationTypeFromJSON(object: any): _85.AuthorizationType; - authorizationTypeToJSON(object: _85.AuthorizationType): string; - AuthorizationType: typeof _85.AuthorizationType; - AuthorizationTypeSDKType: typeof _85.AuthorizationType; - AuthorizationTypeAmino: typeof _85.AuthorizationType; - StakeAuthorization: { - encode(message: _85.StakeAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _85.StakeAuthorization; - fromJSON(object: any): _85.StakeAuthorization; - toJSON(message: _85.StakeAuthorization): unknown; - fromPartial(object: Partial<_85.StakeAuthorization>): _85.StakeAuthorization; - fromAmino(object: _85.StakeAuthorizationAmino): _85.StakeAuthorization; - toAmino(message: _85.StakeAuthorization): _85.StakeAuthorizationAmino; - fromAminoMsg(object: _85.StakeAuthorizationAminoMsg): _85.StakeAuthorization; - toAminoMsg(message: _85.StakeAuthorization): _85.StakeAuthorizationAminoMsg; - fromProtoMsg(message: _85.StakeAuthorizationProtoMsg): _85.StakeAuthorization; - toProto(message: _85.StakeAuthorization): Uint8Array; - toProtoMsg(message: _85.StakeAuthorization): _85.StakeAuthorizationProtoMsg; - }; - StakeAuthorization_Validators: { - encode(message: _85.StakeAuthorization_Validators, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _85.StakeAuthorization_Validators; - fromJSON(object: any): _85.StakeAuthorization_Validators; - toJSON(message: _85.StakeAuthorization_Validators): unknown; - fromPartial(object: Partial<_85.StakeAuthorization_Validators>): _85.StakeAuthorization_Validators; - fromAmino(object: _85.StakeAuthorization_ValidatorsAmino): _85.StakeAuthorization_Validators; - toAmino(message: _85.StakeAuthorization_Validators): _85.StakeAuthorization_ValidatorsAmino; - fromAminoMsg(object: _85.StakeAuthorization_ValidatorsAminoMsg): _85.StakeAuthorization_Validators; - toAminoMsg(message: _85.StakeAuthorization_Validators): _85.StakeAuthorization_ValidatorsAminoMsg; - fromProtoMsg(message: _85.StakeAuthorization_ValidatorsProtoMsg): _85.StakeAuthorization_Validators; - toProto(message: _85.StakeAuthorization_Validators): Uint8Array; - toProtoMsg(message: _85.StakeAuthorization_Validators): _85.StakeAuthorization_ValidatorsProtoMsg; - }; - }; - } - namespace tx { - namespace signing { - const v1beta1: { - signModeFromJSON(object: any): _90.SignMode; - signModeToJSON(object: _90.SignMode): string; - SignMode: typeof _90.SignMode; - SignModeSDKType: typeof _90.SignMode; - SignModeAmino: typeof _90.SignMode; - SignatureDescriptors: { - encode(message: _90.SignatureDescriptors, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _90.SignatureDescriptors; - fromJSON(object: any): _90.SignatureDescriptors; - toJSON(message: _90.SignatureDescriptors): unknown; - fromPartial(object: Partial<_90.SignatureDescriptors>): _90.SignatureDescriptors; - fromAmino(object: _90.SignatureDescriptorsAmino): _90.SignatureDescriptors; - toAmino(message: _90.SignatureDescriptors): _90.SignatureDescriptorsAmino; - fromAminoMsg(object: _90.SignatureDescriptorsAminoMsg): _90.SignatureDescriptors; - toAminoMsg(message: _90.SignatureDescriptors): _90.SignatureDescriptorsAminoMsg; - fromProtoMsg(message: _90.SignatureDescriptorsProtoMsg): _90.SignatureDescriptors; - toProto(message: _90.SignatureDescriptors): Uint8Array; - toProtoMsg(message: _90.SignatureDescriptors): _90.SignatureDescriptorsProtoMsg; - }; - SignatureDescriptor: { - encode(message: _90.SignatureDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _90.SignatureDescriptor; - fromJSON(object: any): _90.SignatureDescriptor; - toJSON(message: _90.SignatureDescriptor): unknown; - fromPartial(object: Partial<_90.SignatureDescriptor>): _90.SignatureDescriptor; - fromAmino(object: _90.SignatureDescriptorAmino): _90.SignatureDescriptor; - toAmino(message: _90.SignatureDescriptor): _90.SignatureDescriptorAmino; - fromAminoMsg(object: _90.SignatureDescriptorAminoMsg): _90.SignatureDescriptor; - toAminoMsg(message: _90.SignatureDescriptor): _90.SignatureDescriptorAminoMsg; - fromProtoMsg(message: _90.SignatureDescriptorProtoMsg): _90.SignatureDescriptor; - toProto(message: _90.SignatureDescriptor): Uint8Array; - toProtoMsg(message: _90.SignatureDescriptor): _90.SignatureDescriptorProtoMsg; - }; - SignatureDescriptor_Data: { - encode(message: _90.SignatureDescriptor_Data, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _90.SignatureDescriptor_Data; - fromJSON(object: any): _90.SignatureDescriptor_Data; - toJSON(message: _90.SignatureDescriptor_Data): unknown; - fromPartial(object: Partial<_90.SignatureDescriptor_Data>): _90.SignatureDescriptor_Data; - fromAmino(object: _90.SignatureDescriptor_DataAmino): _90.SignatureDescriptor_Data; - toAmino(message: _90.SignatureDescriptor_Data): _90.SignatureDescriptor_DataAmino; - fromAminoMsg(object: _90.SignatureDescriptor_DataAminoMsg): _90.SignatureDescriptor_Data; - toAminoMsg(message: _90.SignatureDescriptor_Data): _90.SignatureDescriptor_DataAminoMsg; - fromProtoMsg(message: _90.SignatureDescriptor_DataProtoMsg): _90.SignatureDescriptor_Data; - toProto(message: _90.SignatureDescriptor_Data): Uint8Array; - toProtoMsg(message: _90.SignatureDescriptor_Data): _90.SignatureDescriptor_DataProtoMsg; - }; - SignatureDescriptor_Data_Single: { - encode(message: _90.SignatureDescriptor_Data_Single, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _90.SignatureDescriptor_Data_Single; - fromJSON(object: any): _90.SignatureDescriptor_Data_Single; - toJSON(message: _90.SignatureDescriptor_Data_Single): unknown; - fromPartial(object: Partial<_90.SignatureDescriptor_Data_Single>): _90.SignatureDescriptor_Data_Single; - fromAmino(object: _90.SignatureDescriptor_Data_SingleAmino): _90.SignatureDescriptor_Data_Single; - toAmino(message: _90.SignatureDescriptor_Data_Single): _90.SignatureDescriptor_Data_SingleAmino; - fromAminoMsg(object: _90.SignatureDescriptor_Data_SingleAminoMsg): _90.SignatureDescriptor_Data_Single; - toAminoMsg(message: _90.SignatureDescriptor_Data_Single): _90.SignatureDescriptor_Data_SingleAminoMsg; - fromProtoMsg(message: _90.SignatureDescriptor_Data_SingleProtoMsg): _90.SignatureDescriptor_Data_Single; - toProto(message: _90.SignatureDescriptor_Data_Single): Uint8Array; - toProtoMsg(message: _90.SignatureDescriptor_Data_Single): _90.SignatureDescriptor_Data_SingleProtoMsg; - }; - SignatureDescriptor_Data_Multi: { - encode(message: _90.SignatureDescriptor_Data_Multi, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _90.SignatureDescriptor_Data_Multi; - fromJSON(object: any): _90.SignatureDescriptor_Data_Multi; - toJSON(message: _90.SignatureDescriptor_Data_Multi): unknown; - fromPartial(object: Partial<_90.SignatureDescriptor_Data_Multi>): _90.SignatureDescriptor_Data_Multi; - fromAmino(object: _90.SignatureDescriptor_Data_MultiAmino): _90.SignatureDescriptor_Data_Multi; - toAmino(message: _90.SignatureDescriptor_Data_Multi): _90.SignatureDescriptor_Data_MultiAmino; - fromAminoMsg(object: _90.SignatureDescriptor_Data_MultiAminoMsg): _90.SignatureDescriptor_Data_Multi; - toAminoMsg(message: _90.SignatureDescriptor_Data_Multi): _90.SignatureDescriptor_Data_MultiAminoMsg; - fromProtoMsg(message: _90.SignatureDescriptor_Data_MultiProtoMsg): _90.SignatureDescriptor_Data_Multi; - toProto(message: _90.SignatureDescriptor_Data_Multi): Uint8Array; - toProtoMsg(message: _90.SignatureDescriptor_Data_Multi): _90.SignatureDescriptor_Data_MultiProtoMsg; - }; - }; - } - const v1beta1: { - ServiceClientImpl: typeof _214.ServiceClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - simulate(request: _91.SimulateRequest): Promise<_91.SimulateResponse>; - getTx(request: _91.GetTxRequest): Promise<_91.GetTxResponse>; - broadcastTx(request: _91.BroadcastTxRequest): Promise<_91.BroadcastTxResponse>; - getTxsEvent(request: _91.GetTxsEventRequest): Promise<_91.GetTxsEventResponse>; - getBlockWithTxs(request: _91.GetBlockWithTxsRequest): Promise<_91.GetBlockWithTxsResponse>; - }; - LCDQueryClient: typeof _195.LCDQueryClient; - Tx: { - encode(message: _92.Tx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.Tx; - fromJSON(object: any): _92.Tx; - toJSON(message: _92.Tx): unknown; - fromPartial(object: Partial<_92.Tx>): _92.Tx; - fromAmino(object: _92.TxAmino): _92.Tx; - toAmino(message: _92.Tx): _92.TxAmino; - fromAminoMsg(object: _92.TxAminoMsg): _92.Tx; - toAminoMsg(message: _92.Tx): _92.TxAminoMsg; - fromProtoMsg(message: _92.TxProtoMsg): _92.Tx; - toProto(message: _92.Tx): Uint8Array; - toProtoMsg(message: _92.Tx): _92.TxProtoMsg; - }; - TxRaw: { - encode(message: _92.TxRaw, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.TxRaw; - fromJSON(object: any): _92.TxRaw; - toJSON(message: _92.TxRaw): unknown; - fromPartial(object: Partial<_92.TxRaw>): _92.TxRaw; - fromAmino(object: _92.TxRawAmino): _92.TxRaw; - toAmino(message: _92.TxRaw): _92.TxRawAmino; - fromAminoMsg(object: _92.TxRawAminoMsg): _92.TxRaw; - toAminoMsg(message: _92.TxRaw): _92.TxRawAminoMsg; - fromProtoMsg(message: _92.TxRawProtoMsg): _92.TxRaw; - toProto(message: _92.TxRaw): Uint8Array; - toProtoMsg(message: _92.TxRaw): _92.TxRawProtoMsg; - }; - SignDoc: { - encode(message: _92.SignDoc, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.SignDoc; - fromJSON(object: any): _92.SignDoc; - toJSON(message: _92.SignDoc): unknown; - fromPartial(object: Partial<_92.SignDoc>): _92.SignDoc; - fromAmino(object: _92.SignDocAmino): _92.SignDoc; - toAmino(message: _92.SignDoc): _92.SignDocAmino; - fromAminoMsg(object: _92.SignDocAminoMsg): _92.SignDoc; - toAminoMsg(message: _92.SignDoc): _92.SignDocAminoMsg; - fromProtoMsg(message: _92.SignDocProtoMsg): _92.SignDoc; - toProto(message: _92.SignDoc): Uint8Array; - toProtoMsg(message: _92.SignDoc): _92.SignDocProtoMsg; - }; - SignDocDirectAux: { - encode(message: _92.SignDocDirectAux, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.SignDocDirectAux; - fromJSON(object: any): _92.SignDocDirectAux; - toJSON(message: _92.SignDocDirectAux): unknown; - fromPartial(object: Partial<_92.SignDocDirectAux>): _92.SignDocDirectAux; - fromAmino(object: _92.SignDocDirectAuxAmino): _92.SignDocDirectAux; - toAmino(message: _92.SignDocDirectAux): _92.SignDocDirectAuxAmino; - fromAminoMsg(object: _92.SignDocDirectAuxAminoMsg): _92.SignDocDirectAux; - toAminoMsg(message: _92.SignDocDirectAux): _92.SignDocDirectAuxAminoMsg; - fromProtoMsg(message: _92.SignDocDirectAuxProtoMsg): _92.SignDocDirectAux; - toProto(message: _92.SignDocDirectAux): Uint8Array; - toProtoMsg(message: _92.SignDocDirectAux): _92.SignDocDirectAuxProtoMsg; - }; - TxBody: { - encode(message: _92.TxBody, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.TxBody; - fromJSON(object: any): _92.TxBody; - toJSON(message: _92.TxBody): unknown; - fromPartial(object: Partial<_92.TxBody>): _92.TxBody; - fromAmino(object: _92.TxBodyAmino): _92.TxBody; - toAmino(message: _92.TxBody): _92.TxBodyAmino; - fromAminoMsg(object: _92.TxBodyAminoMsg): _92.TxBody; - toAminoMsg(message: _92.TxBody): _92.TxBodyAminoMsg; - fromProtoMsg(message: _92.TxBodyProtoMsg): _92.TxBody; - toProto(message: _92.TxBody): Uint8Array; - toProtoMsg(message: _92.TxBody): _92.TxBodyProtoMsg; - }; - AuthInfo: { - encode(message: _92.AuthInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.AuthInfo; - fromJSON(object: any): _92.AuthInfo; - toJSON(message: _92.AuthInfo): unknown; - fromPartial(object: Partial<_92.AuthInfo>): _92.AuthInfo; - fromAmino(object: _92.AuthInfoAmino): _92.AuthInfo; - toAmino(message: _92.AuthInfo): _92.AuthInfoAmino; - fromAminoMsg(object: _92.AuthInfoAminoMsg): _92.AuthInfo; - toAminoMsg(message: _92.AuthInfo): _92.AuthInfoAminoMsg; - fromProtoMsg(message: _92.AuthInfoProtoMsg): _92.AuthInfo; - toProto(message: _92.AuthInfo): Uint8Array; - toProtoMsg(message: _92.AuthInfo): _92.AuthInfoProtoMsg; - }; - SignerInfo: { - encode(message: _92.SignerInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.SignerInfo; - fromJSON(object: any): _92.SignerInfo; - toJSON(message: _92.SignerInfo): unknown; - fromPartial(object: Partial<_92.SignerInfo>): _92.SignerInfo; - fromAmino(object: _92.SignerInfoAmino): _92.SignerInfo; - toAmino(message: _92.SignerInfo): _92.SignerInfoAmino; - fromAminoMsg(object: _92.SignerInfoAminoMsg): _92.SignerInfo; - toAminoMsg(message: _92.SignerInfo): _92.SignerInfoAminoMsg; - fromProtoMsg(message: _92.SignerInfoProtoMsg): _92.SignerInfo; - toProto(message: _92.SignerInfo): Uint8Array; - toProtoMsg(message: _92.SignerInfo): _92.SignerInfoProtoMsg; - }; - ModeInfo: { - encode(message: _92.ModeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.ModeInfo; - fromJSON(object: any): _92.ModeInfo; - toJSON(message: _92.ModeInfo): unknown; - fromPartial(object: Partial<_92.ModeInfo>): _92.ModeInfo; - fromAmino(object: _92.ModeInfoAmino): _92.ModeInfo; - toAmino(message: _92.ModeInfo): _92.ModeInfoAmino; - fromAminoMsg(object: _92.ModeInfoAminoMsg): _92.ModeInfo; - toAminoMsg(message: _92.ModeInfo): _92.ModeInfoAminoMsg; - fromProtoMsg(message: _92.ModeInfoProtoMsg): _92.ModeInfo; - toProto(message: _92.ModeInfo): Uint8Array; - toProtoMsg(message: _92.ModeInfo): _92.ModeInfoProtoMsg; - }; - ModeInfo_Single: { - encode(message: _92.ModeInfo_Single, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.ModeInfo_Single; - fromJSON(object: any): _92.ModeInfo_Single; - toJSON(message: _92.ModeInfo_Single): unknown; - fromPartial(object: Partial<_92.ModeInfo_Single>): _92.ModeInfo_Single; - fromAmino(object: _92.ModeInfo_SingleAmino): _92.ModeInfo_Single; - toAmino(message: _92.ModeInfo_Single): _92.ModeInfo_SingleAmino; - fromAminoMsg(object: _92.ModeInfo_SingleAminoMsg): _92.ModeInfo_Single; - toAminoMsg(message: _92.ModeInfo_Single): _92.ModeInfo_SingleAminoMsg; - fromProtoMsg(message: _92.ModeInfo_SingleProtoMsg): _92.ModeInfo_Single; - toProto(message: _92.ModeInfo_Single): Uint8Array; - toProtoMsg(message: _92.ModeInfo_Single): _92.ModeInfo_SingleProtoMsg; - }; - ModeInfo_Multi: { - encode(message: _92.ModeInfo_Multi, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.ModeInfo_Multi; - fromJSON(object: any): _92.ModeInfo_Multi; - toJSON(message: _92.ModeInfo_Multi): unknown; - fromPartial(object: Partial<_92.ModeInfo_Multi>): _92.ModeInfo_Multi; - fromAmino(object: _92.ModeInfo_MultiAmino): _92.ModeInfo_Multi; - toAmino(message: _92.ModeInfo_Multi): _92.ModeInfo_MultiAmino; - fromAminoMsg(object: _92.ModeInfo_MultiAminoMsg): _92.ModeInfo_Multi; - toAminoMsg(message: _92.ModeInfo_Multi): _92.ModeInfo_MultiAminoMsg; - fromProtoMsg(message: _92.ModeInfo_MultiProtoMsg): _92.ModeInfo_Multi; - toProto(message: _92.ModeInfo_Multi): Uint8Array; - toProtoMsg(message: _92.ModeInfo_Multi): _92.ModeInfo_MultiProtoMsg; - }; - Fee: { - encode(message: _92.Fee, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.Fee; - fromJSON(object: any): _92.Fee; - toJSON(message: _92.Fee): unknown; - fromPartial(object: Partial<_92.Fee>): _92.Fee; - fromAmino(object: _92.FeeAmino): _92.Fee; - toAmino(message: _92.Fee): _92.FeeAmino; - fromAminoMsg(object: _92.FeeAminoMsg): _92.Fee; - toAminoMsg(message: _92.Fee): _92.FeeAminoMsg; - fromProtoMsg(message: _92.FeeProtoMsg): _92.Fee; - toProto(message: _92.Fee): Uint8Array; - toProtoMsg(message: _92.Fee): _92.FeeProtoMsg; - }; - Tip: { - encode(message: _92.Tip, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.Tip; - fromJSON(object: any): _92.Tip; - toJSON(message: _92.Tip): unknown; - fromPartial(object: Partial<_92.Tip>): _92.Tip; - fromAmino(object: _92.TipAmino): _92.Tip; - toAmino(message: _92.Tip): _92.TipAmino; - fromAminoMsg(object: _92.TipAminoMsg): _92.Tip; - toAminoMsg(message: _92.Tip): _92.TipAminoMsg; - fromProtoMsg(message: _92.TipProtoMsg): _92.Tip; - toProto(message: _92.Tip): Uint8Array; - toProtoMsg(message: _92.Tip): _92.TipProtoMsg; - }; - AuxSignerData: { - encode(message: _92.AuxSignerData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _92.AuxSignerData; - fromJSON(object: any): _92.AuxSignerData; - toJSON(message: _92.AuxSignerData): unknown; - fromPartial(object: Partial<_92.AuxSignerData>): _92.AuxSignerData; - fromAmino(object: _92.AuxSignerDataAmino): _92.AuxSignerData; - toAmino(message: _92.AuxSignerData): _92.AuxSignerDataAmino; - fromAminoMsg(object: _92.AuxSignerDataAminoMsg): _92.AuxSignerData; - toAminoMsg(message: _92.AuxSignerData): _92.AuxSignerDataAminoMsg; - fromProtoMsg(message: _92.AuxSignerDataProtoMsg): _92.AuxSignerData; - toProto(message: _92.AuxSignerData): Uint8Array; - toProtoMsg(message: _92.AuxSignerData): _92.AuxSignerDataProtoMsg; - }; - orderByFromJSON(object: any): _91.OrderBy; - orderByToJSON(object: _91.OrderBy): string; - broadcastModeFromJSON(object: any): _91.BroadcastMode; - broadcastModeToJSON(object: _91.BroadcastMode): string; - OrderBy: typeof _91.OrderBy; - OrderBySDKType: typeof _91.OrderBy; - OrderByAmino: typeof _91.OrderBy; - BroadcastMode: typeof _91.BroadcastMode; - BroadcastModeSDKType: typeof _91.BroadcastMode; - BroadcastModeAmino: typeof _91.BroadcastMode; - GetTxsEventRequest: { - encode(message: _91.GetTxsEventRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.GetTxsEventRequest; - fromJSON(object: any): _91.GetTxsEventRequest; - toJSON(message: _91.GetTxsEventRequest): unknown; - fromPartial(object: Partial<_91.GetTxsEventRequest>): _91.GetTxsEventRequest; - fromAmino(object: _91.GetTxsEventRequestAmino): _91.GetTxsEventRequest; - toAmino(message: _91.GetTxsEventRequest): _91.GetTxsEventRequestAmino; - fromAminoMsg(object: _91.GetTxsEventRequestAminoMsg): _91.GetTxsEventRequest; - toAminoMsg(message: _91.GetTxsEventRequest): _91.GetTxsEventRequestAminoMsg; - fromProtoMsg(message: _91.GetTxsEventRequestProtoMsg): _91.GetTxsEventRequest; - toProto(message: _91.GetTxsEventRequest): Uint8Array; - toProtoMsg(message: _91.GetTxsEventRequest): _91.GetTxsEventRequestProtoMsg; - }; - GetTxsEventResponse: { - encode(message: _91.GetTxsEventResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.GetTxsEventResponse; - fromJSON(object: any): _91.GetTxsEventResponse; - toJSON(message: _91.GetTxsEventResponse): unknown; - fromPartial(object: Partial<_91.GetTxsEventResponse>): _91.GetTxsEventResponse; - fromAmino(object: _91.GetTxsEventResponseAmino): _91.GetTxsEventResponse; - toAmino(message: _91.GetTxsEventResponse): _91.GetTxsEventResponseAmino; - fromAminoMsg(object: _91.GetTxsEventResponseAminoMsg): _91.GetTxsEventResponse; - toAminoMsg(message: _91.GetTxsEventResponse): _91.GetTxsEventResponseAminoMsg; - fromProtoMsg(message: _91.GetTxsEventResponseProtoMsg): _91.GetTxsEventResponse; - toProto(message: _91.GetTxsEventResponse): Uint8Array; - toProtoMsg(message: _91.GetTxsEventResponse): _91.GetTxsEventResponseProtoMsg; - }; - BroadcastTxRequest: { - encode(message: _91.BroadcastTxRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.BroadcastTxRequest; - fromJSON(object: any): _91.BroadcastTxRequest; - toJSON(message: _91.BroadcastTxRequest): unknown; - fromPartial(object: Partial<_91.BroadcastTxRequest>): _91.BroadcastTxRequest; - fromAmino(object: _91.BroadcastTxRequestAmino): _91.BroadcastTxRequest; - toAmino(message: _91.BroadcastTxRequest): _91.BroadcastTxRequestAmino; - fromAminoMsg(object: _91.BroadcastTxRequestAminoMsg): _91.BroadcastTxRequest; - toAminoMsg(message: _91.BroadcastTxRequest): _91.BroadcastTxRequestAminoMsg; - fromProtoMsg(message: _91.BroadcastTxRequestProtoMsg): _91.BroadcastTxRequest; - toProto(message: _91.BroadcastTxRequest): Uint8Array; - toProtoMsg(message: _91.BroadcastTxRequest): _91.BroadcastTxRequestProtoMsg; - }; - BroadcastTxResponse: { - encode(message: _91.BroadcastTxResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.BroadcastTxResponse; - fromJSON(object: any): _91.BroadcastTxResponse; - toJSON(message: _91.BroadcastTxResponse): unknown; - fromPartial(object: Partial<_91.BroadcastTxResponse>): _91.BroadcastTxResponse; - fromAmino(object: _91.BroadcastTxResponseAmino): _91.BroadcastTxResponse; - toAmino(message: _91.BroadcastTxResponse): _91.BroadcastTxResponseAmino; - fromAminoMsg(object: _91.BroadcastTxResponseAminoMsg): _91.BroadcastTxResponse; - toAminoMsg(message: _91.BroadcastTxResponse): _91.BroadcastTxResponseAminoMsg; - fromProtoMsg(message: _91.BroadcastTxResponseProtoMsg): _91.BroadcastTxResponse; - toProto(message: _91.BroadcastTxResponse): Uint8Array; - toProtoMsg(message: _91.BroadcastTxResponse): _91.BroadcastTxResponseProtoMsg; - }; - SimulateRequest: { - encode(message: _91.SimulateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.SimulateRequest; - fromJSON(object: any): _91.SimulateRequest; - toJSON(message: _91.SimulateRequest): unknown; - fromPartial(object: Partial<_91.SimulateRequest>): _91.SimulateRequest; - fromAmino(object: _91.SimulateRequestAmino): _91.SimulateRequest; - toAmino(message: _91.SimulateRequest): _91.SimulateRequestAmino; - fromAminoMsg(object: _91.SimulateRequestAminoMsg): _91.SimulateRequest; - toAminoMsg(message: _91.SimulateRequest): _91.SimulateRequestAminoMsg; - fromProtoMsg(message: _91.SimulateRequestProtoMsg): _91.SimulateRequest; - toProto(message: _91.SimulateRequest): Uint8Array; - toProtoMsg(message: _91.SimulateRequest): _91.SimulateRequestProtoMsg; - }; - SimulateResponse: { - encode(message: _91.SimulateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.SimulateResponse; - fromJSON(object: any): _91.SimulateResponse; - toJSON(message: _91.SimulateResponse): unknown; - fromPartial(object: Partial<_91.SimulateResponse>): _91.SimulateResponse; - fromAmino(object: _91.SimulateResponseAmino): _91.SimulateResponse; - toAmino(message: _91.SimulateResponse): _91.SimulateResponseAmino; - fromAminoMsg(object: _91.SimulateResponseAminoMsg): _91.SimulateResponse; - toAminoMsg(message: _91.SimulateResponse): _91.SimulateResponseAminoMsg; - fromProtoMsg(message: _91.SimulateResponseProtoMsg): _91.SimulateResponse; - toProto(message: _91.SimulateResponse): Uint8Array; - toProtoMsg(message: _91.SimulateResponse): _91.SimulateResponseProtoMsg; - }; - GetTxRequest: { - encode(message: _91.GetTxRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.GetTxRequest; - fromJSON(object: any): _91.GetTxRequest; - toJSON(message: _91.GetTxRequest): unknown; - fromPartial(object: Partial<_91.GetTxRequest>): _91.GetTxRequest; - fromAmino(object: _91.GetTxRequestAmino): _91.GetTxRequest; - toAmino(message: _91.GetTxRequest): _91.GetTxRequestAmino; - fromAminoMsg(object: _91.GetTxRequestAminoMsg): _91.GetTxRequest; - toAminoMsg(message: _91.GetTxRequest): _91.GetTxRequestAminoMsg; - fromProtoMsg(message: _91.GetTxRequestProtoMsg): _91.GetTxRequest; - toProto(message: _91.GetTxRequest): Uint8Array; - toProtoMsg(message: _91.GetTxRequest): _91.GetTxRequestProtoMsg; - }; - GetTxResponse: { - encode(message: _91.GetTxResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.GetTxResponse; - fromJSON(object: any): _91.GetTxResponse; - toJSON(message: _91.GetTxResponse): unknown; - fromPartial(object: Partial<_91.GetTxResponse>): _91.GetTxResponse; - fromAmino(object: _91.GetTxResponseAmino): _91.GetTxResponse; - toAmino(message: _91.GetTxResponse): _91.GetTxResponseAmino; - fromAminoMsg(object: _91.GetTxResponseAminoMsg): _91.GetTxResponse; - toAminoMsg(message: _91.GetTxResponse): _91.GetTxResponseAminoMsg; - fromProtoMsg(message: _91.GetTxResponseProtoMsg): _91.GetTxResponse; - toProto(message: _91.GetTxResponse): Uint8Array; - toProtoMsg(message: _91.GetTxResponse): _91.GetTxResponseProtoMsg; - }; - GetBlockWithTxsRequest: { - encode(message: _91.GetBlockWithTxsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.GetBlockWithTxsRequest; - fromJSON(object: any): _91.GetBlockWithTxsRequest; - toJSON(message: _91.GetBlockWithTxsRequest): unknown; - fromPartial(object: Partial<_91.GetBlockWithTxsRequest>): _91.GetBlockWithTxsRequest; - fromAmino(object: _91.GetBlockWithTxsRequestAmino): _91.GetBlockWithTxsRequest; - toAmino(message: _91.GetBlockWithTxsRequest): _91.GetBlockWithTxsRequestAmino; - fromAminoMsg(object: _91.GetBlockWithTxsRequestAminoMsg): _91.GetBlockWithTxsRequest; - toAminoMsg(message: _91.GetBlockWithTxsRequest): _91.GetBlockWithTxsRequestAminoMsg; - fromProtoMsg(message: _91.GetBlockWithTxsRequestProtoMsg): _91.GetBlockWithTxsRequest; - toProto(message: _91.GetBlockWithTxsRequest): Uint8Array; - toProtoMsg(message: _91.GetBlockWithTxsRequest): _91.GetBlockWithTxsRequestProtoMsg; - }; - GetBlockWithTxsResponse: { - encode(message: _91.GetBlockWithTxsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _91.GetBlockWithTxsResponse; - fromJSON(object: any): _91.GetBlockWithTxsResponse; - toJSON(message: _91.GetBlockWithTxsResponse): unknown; - fromPartial(object: Partial<_91.GetBlockWithTxsResponse>): _91.GetBlockWithTxsResponse; - fromAmino(object: _91.GetBlockWithTxsResponseAmino): _91.GetBlockWithTxsResponse; - toAmino(message: _91.GetBlockWithTxsResponse): _91.GetBlockWithTxsResponseAmino; - fromAminoMsg(object: _91.GetBlockWithTxsResponseAminoMsg): _91.GetBlockWithTxsResponse; - toAminoMsg(message: _91.GetBlockWithTxsResponse): _91.GetBlockWithTxsResponseAminoMsg; - fromProtoMsg(message: _91.GetBlockWithTxsResponseProtoMsg): _91.GetBlockWithTxsResponse; - toProto(message: _91.GetBlockWithTxsResponse): Uint8Array; - toProtoMsg(message: _91.GetBlockWithTxsResponse): _91.GetBlockWithTxsResponseProtoMsg; - }; - }; - } - namespace upgrade { - const v1beta1: { - MsgClientImpl: typeof _228.MsgClientImpl; - QueryClientImpl: typeof _215.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - currentPlan(request?: _93.QueryCurrentPlanRequest | undefined): Promise<_93.QueryCurrentPlanResponse>; - appliedPlan(request: _93.QueryAppliedPlanRequest): Promise<_93.QueryAppliedPlanResponse>; - upgradedConsensusState(request: _93.QueryUpgradedConsensusStateRequest): Promise<_93.QueryUpgradedConsensusStateResponse>; - moduleVersions(request: _93.QueryModuleVersionsRequest): Promise<_93.QueryModuleVersionsResponse>; - authority(request?: _93.QueryAuthorityRequest | undefined): Promise<_93.QueryAuthorityResponse>; - }; - LCDQueryClient: typeof _196.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - softwareUpgrade(value: _94.MsgSoftwareUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - cancelUpgrade(value: _94.MsgCancelUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - softwareUpgrade(value: _94.MsgSoftwareUpgrade): { - typeUrl: string; - value: _94.MsgSoftwareUpgrade; - }; - cancelUpgrade(value: _94.MsgCancelUpgrade): { - typeUrl: string; - value: _94.MsgCancelUpgrade; - }; - }; - toJSON: { - softwareUpgrade(value: _94.MsgSoftwareUpgrade): { - typeUrl: string; - value: unknown; - }; - cancelUpgrade(value: _94.MsgCancelUpgrade): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - softwareUpgrade(value: any): { - typeUrl: string; - value: _94.MsgSoftwareUpgrade; - }; - cancelUpgrade(value: any): { - typeUrl: string; - value: _94.MsgCancelUpgrade; - }; - }; - fromPartial: { - softwareUpgrade(value: _94.MsgSoftwareUpgrade): { - typeUrl: string; - value: _94.MsgSoftwareUpgrade; - }; - cancelUpgrade(value: _94.MsgCancelUpgrade): { - typeUrl: string; - value: _94.MsgCancelUpgrade; - }; - }; - }; - AminoConverter: { - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: string; - toAmino: (message: _94.MsgSoftwareUpgrade) => _94.MsgSoftwareUpgradeAmino; - fromAmino: (object: _94.MsgSoftwareUpgradeAmino) => _94.MsgSoftwareUpgrade; - }; - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: string; - toAmino: (message: _94.MsgCancelUpgrade) => _94.MsgCancelUpgradeAmino; - fromAmino: (object: _94.MsgCancelUpgradeAmino) => _94.MsgCancelUpgrade; - }; - }; - Plan: { - encode(message: _95.Plan, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _95.Plan; - fromJSON(object: any): _95.Plan; - toJSON(message: _95.Plan): unknown; - fromPartial(object: Partial<_95.Plan>): _95.Plan; - fromAmino(object: _95.PlanAmino): _95.Plan; - toAmino(message: _95.Plan): _95.PlanAmino; - fromAminoMsg(object: _95.PlanAminoMsg): _95.Plan; - toAminoMsg(message: _95.Plan): _95.PlanAminoMsg; - fromProtoMsg(message: _95.PlanProtoMsg): _95.Plan; - toProto(message: _95.Plan): Uint8Array; - toProtoMsg(message: _95.Plan): _95.PlanProtoMsg; - }; - SoftwareUpgradeProposal: { - encode(message: _95.SoftwareUpgradeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _95.SoftwareUpgradeProposal; - fromJSON(object: any): _95.SoftwareUpgradeProposal; - toJSON(message: _95.SoftwareUpgradeProposal): unknown; - fromPartial(object: Partial<_95.SoftwareUpgradeProposal>): _95.SoftwareUpgradeProposal; - fromAmino(object: _95.SoftwareUpgradeProposalAmino): _95.SoftwareUpgradeProposal; - toAmino(message: _95.SoftwareUpgradeProposal): _95.SoftwareUpgradeProposalAmino; - fromAminoMsg(object: _95.SoftwareUpgradeProposalAminoMsg): _95.SoftwareUpgradeProposal; - toAminoMsg(message: _95.SoftwareUpgradeProposal): _95.SoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: _95.SoftwareUpgradeProposalProtoMsg): _95.SoftwareUpgradeProposal; - toProto(message: _95.SoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: _95.SoftwareUpgradeProposal): _95.SoftwareUpgradeProposalProtoMsg; - }; - CancelSoftwareUpgradeProposal: { - encode(message: _95.CancelSoftwareUpgradeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _95.CancelSoftwareUpgradeProposal; - fromJSON(object: any): _95.CancelSoftwareUpgradeProposal; - toJSON(message: _95.CancelSoftwareUpgradeProposal): unknown; - fromPartial(object: Partial<_95.CancelSoftwareUpgradeProposal>): _95.CancelSoftwareUpgradeProposal; - fromAmino(object: _95.CancelSoftwareUpgradeProposalAmino): _95.CancelSoftwareUpgradeProposal; - toAmino(message: _95.CancelSoftwareUpgradeProposal): _95.CancelSoftwareUpgradeProposalAmino; - fromAminoMsg(object: _95.CancelSoftwareUpgradeProposalAminoMsg): _95.CancelSoftwareUpgradeProposal; - toAminoMsg(message: _95.CancelSoftwareUpgradeProposal): _95.CancelSoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: _95.CancelSoftwareUpgradeProposalProtoMsg): _95.CancelSoftwareUpgradeProposal; - toProto(message: _95.CancelSoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: _95.CancelSoftwareUpgradeProposal): _95.CancelSoftwareUpgradeProposalProtoMsg; - }; - ModuleVersion: { - encode(message: _95.ModuleVersion, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _95.ModuleVersion; - fromJSON(object: any): _95.ModuleVersion; - toJSON(message: _95.ModuleVersion): unknown; - fromPartial(object: Partial<_95.ModuleVersion>): _95.ModuleVersion; - fromAmino(object: _95.ModuleVersionAmino): _95.ModuleVersion; - toAmino(message: _95.ModuleVersion): _95.ModuleVersionAmino; - fromAminoMsg(object: _95.ModuleVersionAminoMsg): _95.ModuleVersion; - toAminoMsg(message: _95.ModuleVersion): _95.ModuleVersionAminoMsg; - fromProtoMsg(message: _95.ModuleVersionProtoMsg): _95.ModuleVersion; - toProto(message: _95.ModuleVersion): Uint8Array; - toProtoMsg(message: _95.ModuleVersion): _95.ModuleVersionProtoMsg; - }; - MsgSoftwareUpgrade: { - encode(message: _94.MsgSoftwareUpgrade, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _94.MsgSoftwareUpgrade; - fromJSON(object: any): _94.MsgSoftwareUpgrade; - toJSON(message: _94.MsgSoftwareUpgrade): unknown; - fromPartial(object: Partial<_94.MsgSoftwareUpgrade>): _94.MsgSoftwareUpgrade; - fromAmino(object: _94.MsgSoftwareUpgradeAmino): _94.MsgSoftwareUpgrade; - toAmino(message: _94.MsgSoftwareUpgrade): _94.MsgSoftwareUpgradeAmino; - fromAminoMsg(object: _94.MsgSoftwareUpgradeAminoMsg): _94.MsgSoftwareUpgrade; - toAminoMsg(message: _94.MsgSoftwareUpgrade): _94.MsgSoftwareUpgradeAminoMsg; - fromProtoMsg(message: _94.MsgSoftwareUpgradeProtoMsg): _94.MsgSoftwareUpgrade; - toProto(message: _94.MsgSoftwareUpgrade): Uint8Array; - toProtoMsg(message: _94.MsgSoftwareUpgrade): _94.MsgSoftwareUpgradeProtoMsg; - }; - MsgSoftwareUpgradeResponse: { - encode(_: _94.MsgSoftwareUpgradeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _94.MsgSoftwareUpgradeResponse; - fromJSON(_: any): _94.MsgSoftwareUpgradeResponse; - toJSON(_: _94.MsgSoftwareUpgradeResponse): unknown; - fromPartial(_: Partial<_94.MsgSoftwareUpgradeResponse>): _94.MsgSoftwareUpgradeResponse; - fromAmino(_: _94.MsgSoftwareUpgradeResponseAmino): _94.MsgSoftwareUpgradeResponse; - toAmino(_: _94.MsgSoftwareUpgradeResponse): _94.MsgSoftwareUpgradeResponseAmino; - fromAminoMsg(object: _94.MsgSoftwareUpgradeResponseAminoMsg): _94.MsgSoftwareUpgradeResponse; - toAminoMsg(message: _94.MsgSoftwareUpgradeResponse): _94.MsgSoftwareUpgradeResponseAminoMsg; - fromProtoMsg(message: _94.MsgSoftwareUpgradeResponseProtoMsg): _94.MsgSoftwareUpgradeResponse; - toProto(message: _94.MsgSoftwareUpgradeResponse): Uint8Array; - toProtoMsg(message: _94.MsgSoftwareUpgradeResponse): _94.MsgSoftwareUpgradeResponseProtoMsg; - }; - MsgCancelUpgrade: { - encode(message: _94.MsgCancelUpgrade, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _94.MsgCancelUpgrade; - fromJSON(object: any): _94.MsgCancelUpgrade; - toJSON(message: _94.MsgCancelUpgrade): unknown; - fromPartial(object: Partial<_94.MsgCancelUpgrade>): _94.MsgCancelUpgrade; - fromAmino(object: _94.MsgCancelUpgradeAmino): _94.MsgCancelUpgrade; - toAmino(message: _94.MsgCancelUpgrade): _94.MsgCancelUpgradeAmino; - fromAminoMsg(object: _94.MsgCancelUpgradeAminoMsg): _94.MsgCancelUpgrade; - toAminoMsg(message: _94.MsgCancelUpgrade): _94.MsgCancelUpgradeAminoMsg; - fromProtoMsg(message: _94.MsgCancelUpgradeProtoMsg): _94.MsgCancelUpgrade; - toProto(message: _94.MsgCancelUpgrade): Uint8Array; - toProtoMsg(message: _94.MsgCancelUpgrade): _94.MsgCancelUpgradeProtoMsg; - }; - MsgCancelUpgradeResponse: { - encode(_: _94.MsgCancelUpgradeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _94.MsgCancelUpgradeResponse; - fromJSON(_: any): _94.MsgCancelUpgradeResponse; - toJSON(_: _94.MsgCancelUpgradeResponse): unknown; - fromPartial(_: Partial<_94.MsgCancelUpgradeResponse>): _94.MsgCancelUpgradeResponse; - fromAmino(_: _94.MsgCancelUpgradeResponseAmino): _94.MsgCancelUpgradeResponse; - toAmino(_: _94.MsgCancelUpgradeResponse): _94.MsgCancelUpgradeResponseAmino; - fromAminoMsg(object: _94.MsgCancelUpgradeResponseAminoMsg): _94.MsgCancelUpgradeResponse; - toAminoMsg(message: _94.MsgCancelUpgradeResponse): _94.MsgCancelUpgradeResponseAminoMsg; - fromProtoMsg(message: _94.MsgCancelUpgradeResponseProtoMsg): _94.MsgCancelUpgradeResponse; - toProto(message: _94.MsgCancelUpgradeResponse): Uint8Array; - toProtoMsg(message: _94.MsgCancelUpgradeResponse): _94.MsgCancelUpgradeResponseProtoMsg; - }; - QueryCurrentPlanRequest: { - encode(_: _93.QueryCurrentPlanRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryCurrentPlanRequest; - fromJSON(_: any): _93.QueryCurrentPlanRequest; - toJSON(_: _93.QueryCurrentPlanRequest): unknown; - fromPartial(_: Partial<_93.QueryCurrentPlanRequest>): _93.QueryCurrentPlanRequest; - fromAmino(_: _93.QueryCurrentPlanRequestAmino): _93.QueryCurrentPlanRequest; - toAmino(_: _93.QueryCurrentPlanRequest): _93.QueryCurrentPlanRequestAmino; - fromAminoMsg(object: _93.QueryCurrentPlanRequestAminoMsg): _93.QueryCurrentPlanRequest; - toAminoMsg(message: _93.QueryCurrentPlanRequest): _93.QueryCurrentPlanRequestAminoMsg; - fromProtoMsg(message: _93.QueryCurrentPlanRequestProtoMsg): _93.QueryCurrentPlanRequest; - toProto(message: _93.QueryCurrentPlanRequest): Uint8Array; - toProtoMsg(message: _93.QueryCurrentPlanRequest): _93.QueryCurrentPlanRequestProtoMsg; - }; - QueryCurrentPlanResponse: { - encode(message: _93.QueryCurrentPlanResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryCurrentPlanResponse; - fromJSON(object: any): _93.QueryCurrentPlanResponse; - toJSON(message: _93.QueryCurrentPlanResponse): unknown; - fromPartial(object: Partial<_93.QueryCurrentPlanResponse>): _93.QueryCurrentPlanResponse; - fromAmino(object: _93.QueryCurrentPlanResponseAmino): _93.QueryCurrentPlanResponse; - toAmino(message: _93.QueryCurrentPlanResponse): _93.QueryCurrentPlanResponseAmino; - fromAminoMsg(object: _93.QueryCurrentPlanResponseAminoMsg): _93.QueryCurrentPlanResponse; - toAminoMsg(message: _93.QueryCurrentPlanResponse): _93.QueryCurrentPlanResponseAminoMsg; - fromProtoMsg(message: _93.QueryCurrentPlanResponseProtoMsg): _93.QueryCurrentPlanResponse; - toProto(message: _93.QueryCurrentPlanResponse): Uint8Array; - toProtoMsg(message: _93.QueryCurrentPlanResponse): _93.QueryCurrentPlanResponseProtoMsg; - }; - QueryAppliedPlanRequest: { - encode(message: _93.QueryAppliedPlanRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryAppliedPlanRequest; - fromJSON(object: any): _93.QueryAppliedPlanRequest; - toJSON(message: _93.QueryAppliedPlanRequest): unknown; - fromPartial(object: Partial<_93.QueryAppliedPlanRequest>): _93.QueryAppliedPlanRequest; - fromAmino(object: _93.QueryAppliedPlanRequestAmino): _93.QueryAppliedPlanRequest; - toAmino(message: _93.QueryAppliedPlanRequest): _93.QueryAppliedPlanRequestAmino; - fromAminoMsg(object: _93.QueryAppliedPlanRequestAminoMsg): _93.QueryAppliedPlanRequest; - toAminoMsg(message: _93.QueryAppliedPlanRequest): _93.QueryAppliedPlanRequestAminoMsg; - fromProtoMsg(message: _93.QueryAppliedPlanRequestProtoMsg): _93.QueryAppliedPlanRequest; - toProto(message: _93.QueryAppliedPlanRequest): Uint8Array; - toProtoMsg(message: _93.QueryAppliedPlanRequest): _93.QueryAppliedPlanRequestProtoMsg; - }; - QueryAppliedPlanResponse: { - encode(message: _93.QueryAppliedPlanResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryAppliedPlanResponse; - fromJSON(object: any): _93.QueryAppliedPlanResponse; - toJSON(message: _93.QueryAppliedPlanResponse): unknown; - fromPartial(object: Partial<_93.QueryAppliedPlanResponse>): _93.QueryAppliedPlanResponse; - fromAmino(object: _93.QueryAppliedPlanResponseAmino): _93.QueryAppliedPlanResponse; - toAmino(message: _93.QueryAppliedPlanResponse): _93.QueryAppliedPlanResponseAmino; - fromAminoMsg(object: _93.QueryAppliedPlanResponseAminoMsg): _93.QueryAppliedPlanResponse; - toAminoMsg(message: _93.QueryAppliedPlanResponse): _93.QueryAppliedPlanResponseAminoMsg; - fromProtoMsg(message: _93.QueryAppliedPlanResponseProtoMsg): _93.QueryAppliedPlanResponse; - toProto(message: _93.QueryAppliedPlanResponse): Uint8Array; - toProtoMsg(message: _93.QueryAppliedPlanResponse): _93.QueryAppliedPlanResponseProtoMsg; - }; - QueryUpgradedConsensusStateRequest: { - encode(message: _93.QueryUpgradedConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryUpgradedConsensusStateRequest; - fromJSON(object: any): _93.QueryUpgradedConsensusStateRequest; - toJSON(message: _93.QueryUpgradedConsensusStateRequest): unknown; - fromPartial(object: Partial<_93.QueryUpgradedConsensusStateRequest>): _93.QueryUpgradedConsensusStateRequest; - fromAmino(object: _93.QueryUpgradedConsensusStateRequestAmino): _93.QueryUpgradedConsensusStateRequest; - toAmino(message: _93.QueryUpgradedConsensusStateRequest): _93.QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: _93.QueryUpgradedConsensusStateRequestAminoMsg): _93.QueryUpgradedConsensusStateRequest; - toAminoMsg(message: _93.QueryUpgradedConsensusStateRequest): _93.QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: _93.QueryUpgradedConsensusStateRequestProtoMsg): _93.QueryUpgradedConsensusStateRequest; - toProto(message: _93.QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: _93.QueryUpgradedConsensusStateRequest): _93.QueryUpgradedConsensusStateRequestProtoMsg; - }; - QueryUpgradedConsensusStateResponse: { - encode(message: _93.QueryUpgradedConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryUpgradedConsensusStateResponse; - fromJSON(object: any): _93.QueryUpgradedConsensusStateResponse; - toJSON(message: _93.QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: Partial<_93.QueryUpgradedConsensusStateResponse>): _93.QueryUpgradedConsensusStateResponse; - fromAmino(object: _93.QueryUpgradedConsensusStateResponseAmino): _93.QueryUpgradedConsensusStateResponse; - toAmino(message: _93.QueryUpgradedConsensusStateResponse): _93.QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: _93.QueryUpgradedConsensusStateResponseAminoMsg): _93.QueryUpgradedConsensusStateResponse; - toAminoMsg(message: _93.QueryUpgradedConsensusStateResponse): _93.QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: _93.QueryUpgradedConsensusStateResponseProtoMsg): _93.QueryUpgradedConsensusStateResponse; - toProto(message: _93.QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: _93.QueryUpgradedConsensusStateResponse): _93.QueryUpgradedConsensusStateResponseProtoMsg; - }; - QueryModuleVersionsRequest: { - encode(message: _93.QueryModuleVersionsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryModuleVersionsRequest; - fromJSON(object: any): _93.QueryModuleVersionsRequest; - toJSON(message: _93.QueryModuleVersionsRequest): unknown; - fromPartial(object: Partial<_93.QueryModuleVersionsRequest>): _93.QueryModuleVersionsRequest; - fromAmino(object: _93.QueryModuleVersionsRequestAmino): _93.QueryModuleVersionsRequest; - toAmino(message: _93.QueryModuleVersionsRequest): _93.QueryModuleVersionsRequestAmino; - fromAminoMsg(object: _93.QueryModuleVersionsRequestAminoMsg): _93.QueryModuleVersionsRequest; - toAminoMsg(message: _93.QueryModuleVersionsRequest): _93.QueryModuleVersionsRequestAminoMsg; - fromProtoMsg(message: _93.QueryModuleVersionsRequestProtoMsg): _93.QueryModuleVersionsRequest; - toProto(message: _93.QueryModuleVersionsRequest): Uint8Array; - toProtoMsg(message: _93.QueryModuleVersionsRequest): _93.QueryModuleVersionsRequestProtoMsg; - }; - QueryModuleVersionsResponse: { - encode(message: _93.QueryModuleVersionsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryModuleVersionsResponse; - fromJSON(object: any): _93.QueryModuleVersionsResponse; - toJSON(message: _93.QueryModuleVersionsResponse): unknown; - fromPartial(object: Partial<_93.QueryModuleVersionsResponse>): _93.QueryModuleVersionsResponse; - fromAmino(object: _93.QueryModuleVersionsResponseAmino): _93.QueryModuleVersionsResponse; - toAmino(message: _93.QueryModuleVersionsResponse): _93.QueryModuleVersionsResponseAmino; - fromAminoMsg(object: _93.QueryModuleVersionsResponseAminoMsg): _93.QueryModuleVersionsResponse; - toAminoMsg(message: _93.QueryModuleVersionsResponse): _93.QueryModuleVersionsResponseAminoMsg; - fromProtoMsg(message: _93.QueryModuleVersionsResponseProtoMsg): _93.QueryModuleVersionsResponse; - toProto(message: _93.QueryModuleVersionsResponse): Uint8Array; - toProtoMsg(message: _93.QueryModuleVersionsResponse): _93.QueryModuleVersionsResponseProtoMsg; - }; - QueryAuthorityRequest: { - encode(_: _93.QueryAuthorityRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryAuthorityRequest; - fromJSON(_: any): _93.QueryAuthorityRequest; - toJSON(_: _93.QueryAuthorityRequest): unknown; - fromPartial(_: Partial<_93.QueryAuthorityRequest>): _93.QueryAuthorityRequest; - fromAmino(_: _93.QueryAuthorityRequestAmino): _93.QueryAuthorityRequest; - toAmino(_: _93.QueryAuthorityRequest): _93.QueryAuthorityRequestAmino; - fromAminoMsg(object: _93.QueryAuthorityRequestAminoMsg): _93.QueryAuthorityRequest; - toAminoMsg(message: _93.QueryAuthorityRequest): _93.QueryAuthorityRequestAminoMsg; - fromProtoMsg(message: _93.QueryAuthorityRequestProtoMsg): _93.QueryAuthorityRequest; - toProto(message: _93.QueryAuthorityRequest): Uint8Array; - toProtoMsg(message: _93.QueryAuthorityRequest): _93.QueryAuthorityRequestProtoMsg; - }; - QueryAuthorityResponse: { - encode(message: _93.QueryAuthorityResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _93.QueryAuthorityResponse; - fromJSON(object: any): _93.QueryAuthorityResponse; - toJSON(message: _93.QueryAuthorityResponse): unknown; - fromPartial(object: Partial<_93.QueryAuthorityResponse>): _93.QueryAuthorityResponse; - fromAmino(object: _93.QueryAuthorityResponseAmino): _93.QueryAuthorityResponse; - toAmino(message: _93.QueryAuthorityResponse): _93.QueryAuthorityResponseAmino; - fromAminoMsg(object: _93.QueryAuthorityResponseAminoMsg): _93.QueryAuthorityResponse; - toAminoMsg(message: _93.QueryAuthorityResponse): _93.QueryAuthorityResponseAminoMsg; - fromProtoMsg(message: _93.QueryAuthorityResponseProtoMsg): _93.QueryAuthorityResponse; - toProto(message: _93.QueryAuthorityResponse): Uint8Array; - toProtoMsg(message: _93.QueryAuthorityResponse): _93.QueryAuthorityResponseProtoMsg; - }; - }; - } - namespace vesting { - const v1beta1: { - MsgClientImpl: typeof _229.MsgClientImpl; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createVestingAccount(value: _96.MsgCreateVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPermanentLockedAccount(value: _96.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPeriodicVestingAccount(value: _96.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createVestingAccount(value: _96.MsgCreateVestingAccount): { - typeUrl: string; - value: _96.MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: _96.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: _96.MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: _96.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: _96.MsgCreatePeriodicVestingAccount; - }; - }; - toJSON: { - createVestingAccount(value: _96.MsgCreateVestingAccount): { - typeUrl: string; - value: unknown; - }; - createPermanentLockedAccount(value: _96.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: unknown; - }; - createPeriodicVestingAccount(value: _96.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createVestingAccount(value: any): { - typeUrl: string; - value: _96.MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: any): { - typeUrl: string; - value: _96.MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: any): { - typeUrl: string; - value: _96.MsgCreatePeriodicVestingAccount; - }; - }; - fromPartial: { - createVestingAccount(value: _96.MsgCreateVestingAccount): { - typeUrl: string; - value: _96.MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: _96.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: _96.MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: _96.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: _96.MsgCreatePeriodicVestingAccount; - }; - }; - }; - AminoConverter: { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: string; - toAmino: (message: _96.MsgCreateVestingAccount) => _96.MsgCreateVestingAccountAmino; - fromAmino: (object: _96.MsgCreateVestingAccountAmino) => _96.MsgCreateVestingAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: string; - toAmino: (message: _96.MsgCreatePermanentLockedAccount) => _96.MsgCreatePermanentLockedAccountAmino; - fromAmino: (object: _96.MsgCreatePermanentLockedAccountAmino) => _96.MsgCreatePermanentLockedAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: string; - toAmino: (message: _96.MsgCreatePeriodicVestingAccount) => _96.MsgCreatePeriodicVestingAccountAmino; - fromAmino: (object: _96.MsgCreatePeriodicVestingAccountAmino) => _96.MsgCreatePeriodicVestingAccount; - }; - }; - BaseVestingAccount: { - encode(message: _97.BaseVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _97.BaseVestingAccount; - fromJSON(object: any): _97.BaseVestingAccount; - toJSON(message: _97.BaseVestingAccount): unknown; - fromPartial(object: Partial<_97.BaseVestingAccount>): _97.BaseVestingAccount; - fromAmino(object: _97.BaseVestingAccountAmino): _97.BaseVestingAccount; - toAmino(message: _97.BaseVestingAccount): _97.BaseVestingAccountAmino; - fromAminoMsg(object: _97.BaseVestingAccountAminoMsg): _97.BaseVestingAccount; - toAminoMsg(message: _97.BaseVestingAccount): _97.BaseVestingAccountAminoMsg; - fromProtoMsg(message: _97.BaseVestingAccountProtoMsg): _97.BaseVestingAccount; - toProto(message: _97.BaseVestingAccount): Uint8Array; - toProtoMsg(message: _97.BaseVestingAccount): _97.BaseVestingAccountProtoMsg; - }; - ContinuousVestingAccount: { - encode(message: _97.ContinuousVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _97.ContinuousVestingAccount; - fromJSON(object: any): _97.ContinuousVestingAccount; - toJSON(message: _97.ContinuousVestingAccount): unknown; - fromPartial(object: Partial<_97.ContinuousVestingAccount>): _97.ContinuousVestingAccount; - fromAmino(object: _97.ContinuousVestingAccountAmino): _97.ContinuousVestingAccount; - toAmino(message: _97.ContinuousVestingAccount): _97.ContinuousVestingAccountAmino; - fromAminoMsg(object: _97.ContinuousVestingAccountAminoMsg): _97.ContinuousVestingAccount; - toAminoMsg(message: _97.ContinuousVestingAccount): _97.ContinuousVestingAccountAminoMsg; - fromProtoMsg(message: _97.ContinuousVestingAccountProtoMsg): _97.ContinuousVestingAccount; - toProto(message: _97.ContinuousVestingAccount): Uint8Array; - toProtoMsg(message: _97.ContinuousVestingAccount): _97.ContinuousVestingAccountProtoMsg; - }; - DelayedVestingAccount: { - encode(message: _97.DelayedVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _97.DelayedVestingAccount; - fromJSON(object: any): _97.DelayedVestingAccount; - toJSON(message: _97.DelayedVestingAccount): unknown; - fromPartial(object: Partial<_97.DelayedVestingAccount>): _97.DelayedVestingAccount; - fromAmino(object: _97.DelayedVestingAccountAmino): _97.DelayedVestingAccount; - toAmino(message: _97.DelayedVestingAccount): _97.DelayedVestingAccountAmino; - fromAminoMsg(object: _97.DelayedVestingAccountAminoMsg): _97.DelayedVestingAccount; - toAminoMsg(message: _97.DelayedVestingAccount): _97.DelayedVestingAccountAminoMsg; - fromProtoMsg(message: _97.DelayedVestingAccountProtoMsg): _97.DelayedVestingAccount; - toProto(message: _97.DelayedVestingAccount): Uint8Array; - toProtoMsg(message: _97.DelayedVestingAccount): _97.DelayedVestingAccountProtoMsg; - }; - Period: { - encode(message: _97.Period, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _97.Period; - fromJSON(object: any): _97.Period; - toJSON(message: _97.Period): unknown; - fromPartial(object: Partial<_97.Period>): _97.Period; - fromAmino(object: _97.PeriodAmino): _97.Period; - toAmino(message: _97.Period): _97.PeriodAmino; - fromAminoMsg(object: _97.PeriodAminoMsg): _97.Period; - toAminoMsg(message: _97.Period): _97.PeriodAminoMsg; - fromProtoMsg(message: _97.PeriodProtoMsg): _97.Period; - toProto(message: _97.Period): Uint8Array; - toProtoMsg(message: _97.Period): _97.PeriodProtoMsg; - }; - PeriodicVestingAccount: { - encode(message: _97.PeriodicVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _97.PeriodicVestingAccount; - fromJSON(object: any): _97.PeriodicVestingAccount; - toJSON(message: _97.PeriodicVestingAccount): unknown; - fromPartial(object: Partial<_97.PeriodicVestingAccount>): _97.PeriodicVestingAccount; - fromAmino(object: _97.PeriodicVestingAccountAmino): _97.PeriodicVestingAccount; - toAmino(message: _97.PeriodicVestingAccount): _97.PeriodicVestingAccountAmino; - fromAminoMsg(object: _97.PeriodicVestingAccountAminoMsg): _97.PeriodicVestingAccount; - toAminoMsg(message: _97.PeriodicVestingAccount): _97.PeriodicVestingAccountAminoMsg; - fromProtoMsg(message: _97.PeriodicVestingAccountProtoMsg): _97.PeriodicVestingAccount; - toProto(message: _97.PeriodicVestingAccount): Uint8Array; - toProtoMsg(message: _97.PeriodicVestingAccount): _97.PeriodicVestingAccountProtoMsg; - }; - PermanentLockedAccount: { - encode(message: _97.PermanentLockedAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _97.PermanentLockedAccount; - fromJSON(object: any): _97.PermanentLockedAccount; - toJSON(message: _97.PermanentLockedAccount): unknown; - fromPartial(object: Partial<_97.PermanentLockedAccount>): _97.PermanentLockedAccount; - fromAmino(object: _97.PermanentLockedAccountAmino): _97.PermanentLockedAccount; - toAmino(message: _97.PermanentLockedAccount): _97.PermanentLockedAccountAmino; - fromAminoMsg(object: _97.PermanentLockedAccountAminoMsg): _97.PermanentLockedAccount; - toAminoMsg(message: _97.PermanentLockedAccount): _97.PermanentLockedAccountAminoMsg; - fromProtoMsg(message: _97.PermanentLockedAccountProtoMsg): _97.PermanentLockedAccount; - toProto(message: _97.PermanentLockedAccount): Uint8Array; - toProtoMsg(message: _97.PermanentLockedAccount): _97.PermanentLockedAccountProtoMsg; - }; - MsgCreateVestingAccount: { - encode(message: _96.MsgCreateVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _96.MsgCreateVestingAccount; - fromJSON(object: any): _96.MsgCreateVestingAccount; - toJSON(message: _96.MsgCreateVestingAccount): unknown; - fromPartial(object: Partial<_96.MsgCreateVestingAccount>): _96.MsgCreateVestingAccount; - fromAmino(object: _96.MsgCreateVestingAccountAmino): _96.MsgCreateVestingAccount; - toAmino(message: _96.MsgCreateVestingAccount): _96.MsgCreateVestingAccountAmino; - fromAminoMsg(object: _96.MsgCreateVestingAccountAminoMsg): _96.MsgCreateVestingAccount; - toAminoMsg(message: _96.MsgCreateVestingAccount): _96.MsgCreateVestingAccountAminoMsg; - fromProtoMsg(message: _96.MsgCreateVestingAccountProtoMsg): _96.MsgCreateVestingAccount; - toProto(message: _96.MsgCreateVestingAccount): Uint8Array; - toProtoMsg(message: _96.MsgCreateVestingAccount): _96.MsgCreateVestingAccountProtoMsg; - }; - MsgCreateVestingAccountResponse: { - encode(_: _96.MsgCreateVestingAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _96.MsgCreateVestingAccountResponse; - fromJSON(_: any): _96.MsgCreateVestingAccountResponse; - toJSON(_: _96.MsgCreateVestingAccountResponse): unknown; - fromPartial(_: Partial<_96.MsgCreateVestingAccountResponse>): _96.MsgCreateVestingAccountResponse; - fromAmino(_: _96.MsgCreateVestingAccountResponseAmino): _96.MsgCreateVestingAccountResponse; - toAmino(_: _96.MsgCreateVestingAccountResponse): _96.MsgCreateVestingAccountResponseAmino; - fromAminoMsg(object: _96.MsgCreateVestingAccountResponseAminoMsg): _96.MsgCreateVestingAccountResponse; - toAminoMsg(message: _96.MsgCreateVestingAccountResponse): _96.MsgCreateVestingAccountResponseAminoMsg; - fromProtoMsg(message: _96.MsgCreateVestingAccountResponseProtoMsg): _96.MsgCreateVestingAccountResponse; - toProto(message: _96.MsgCreateVestingAccountResponse): Uint8Array; - toProtoMsg(message: _96.MsgCreateVestingAccountResponse): _96.MsgCreateVestingAccountResponseProtoMsg; - }; - MsgCreatePermanentLockedAccount: { - encode(message: _96.MsgCreatePermanentLockedAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _96.MsgCreatePermanentLockedAccount; - fromJSON(object: any): _96.MsgCreatePermanentLockedAccount; - toJSON(message: _96.MsgCreatePermanentLockedAccount): unknown; - fromPartial(object: Partial<_96.MsgCreatePermanentLockedAccount>): _96.MsgCreatePermanentLockedAccount; - fromAmino(object: _96.MsgCreatePermanentLockedAccountAmino): _96.MsgCreatePermanentLockedAccount; - toAmino(message: _96.MsgCreatePermanentLockedAccount): _96.MsgCreatePermanentLockedAccountAmino; - fromAminoMsg(object: _96.MsgCreatePermanentLockedAccountAminoMsg): _96.MsgCreatePermanentLockedAccount; - toAminoMsg(message: _96.MsgCreatePermanentLockedAccount): _96.MsgCreatePermanentLockedAccountAminoMsg; - fromProtoMsg(message: _96.MsgCreatePermanentLockedAccountProtoMsg): _96.MsgCreatePermanentLockedAccount; - toProto(message: _96.MsgCreatePermanentLockedAccount): Uint8Array; - toProtoMsg(message: _96.MsgCreatePermanentLockedAccount): _96.MsgCreatePermanentLockedAccountProtoMsg; - }; - MsgCreatePermanentLockedAccountResponse: { - encode(_: _96.MsgCreatePermanentLockedAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _96.MsgCreatePermanentLockedAccountResponse; - fromJSON(_: any): _96.MsgCreatePermanentLockedAccountResponse; - toJSON(_: _96.MsgCreatePermanentLockedAccountResponse): unknown; - fromPartial(_: Partial<_96.MsgCreatePermanentLockedAccountResponse>): _96.MsgCreatePermanentLockedAccountResponse; - fromAmino(_: _96.MsgCreatePermanentLockedAccountResponseAmino): _96.MsgCreatePermanentLockedAccountResponse; - toAmino(_: _96.MsgCreatePermanentLockedAccountResponse): _96.MsgCreatePermanentLockedAccountResponseAmino; - fromAminoMsg(object: _96.MsgCreatePermanentLockedAccountResponseAminoMsg): _96.MsgCreatePermanentLockedAccountResponse; - toAminoMsg(message: _96.MsgCreatePermanentLockedAccountResponse): _96.MsgCreatePermanentLockedAccountResponseAminoMsg; - fromProtoMsg(message: _96.MsgCreatePermanentLockedAccountResponseProtoMsg): _96.MsgCreatePermanentLockedAccountResponse; - toProto(message: _96.MsgCreatePermanentLockedAccountResponse): Uint8Array; - toProtoMsg(message: _96.MsgCreatePermanentLockedAccountResponse): _96.MsgCreatePermanentLockedAccountResponseProtoMsg; - }; - MsgCreatePeriodicVestingAccount: { - encode(message: _96.MsgCreatePeriodicVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _96.MsgCreatePeriodicVestingAccount; - fromJSON(object: any): _96.MsgCreatePeriodicVestingAccount; - toJSON(message: _96.MsgCreatePeriodicVestingAccount): unknown; - fromPartial(object: Partial<_96.MsgCreatePeriodicVestingAccount>): _96.MsgCreatePeriodicVestingAccount; - fromAmino(object: _96.MsgCreatePeriodicVestingAccountAmino): _96.MsgCreatePeriodicVestingAccount; - toAmino(message: _96.MsgCreatePeriodicVestingAccount): _96.MsgCreatePeriodicVestingAccountAmino; - fromAminoMsg(object: _96.MsgCreatePeriodicVestingAccountAminoMsg): _96.MsgCreatePeriodicVestingAccount; - toAminoMsg(message: _96.MsgCreatePeriodicVestingAccount): _96.MsgCreatePeriodicVestingAccountAminoMsg; - fromProtoMsg(message: _96.MsgCreatePeriodicVestingAccountProtoMsg): _96.MsgCreatePeriodicVestingAccount; - toProto(message: _96.MsgCreatePeriodicVestingAccount): Uint8Array; - toProtoMsg(message: _96.MsgCreatePeriodicVestingAccount): _96.MsgCreatePeriodicVestingAccountProtoMsg; - }; - MsgCreatePeriodicVestingAccountResponse: { - encode(_: _96.MsgCreatePeriodicVestingAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _96.MsgCreatePeriodicVestingAccountResponse; - fromJSON(_: any): _96.MsgCreatePeriodicVestingAccountResponse; - toJSON(_: _96.MsgCreatePeriodicVestingAccountResponse): unknown; - fromPartial(_: Partial<_96.MsgCreatePeriodicVestingAccountResponse>): _96.MsgCreatePeriodicVestingAccountResponse; - fromAmino(_: _96.MsgCreatePeriodicVestingAccountResponseAmino): _96.MsgCreatePeriodicVestingAccountResponse; - toAmino(_: _96.MsgCreatePeriodicVestingAccountResponse): _96.MsgCreatePeriodicVestingAccountResponseAmino; - fromAminoMsg(object: _96.MsgCreatePeriodicVestingAccountResponseAminoMsg): _96.MsgCreatePeriodicVestingAccountResponse; - toAminoMsg(message: _96.MsgCreatePeriodicVestingAccountResponse): _96.MsgCreatePeriodicVestingAccountResponseAminoMsg; - fromProtoMsg(message: _96.MsgCreatePeriodicVestingAccountResponseProtoMsg): _96.MsgCreatePeriodicVestingAccountResponse; - toProto(message: _96.MsgCreatePeriodicVestingAccountResponse): Uint8Array; - toProtoMsg(message: _96.MsgCreatePeriodicVestingAccountResponse): _96.MsgCreatePeriodicVestingAccountResponseProtoMsg; - }; - }; - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: _216.MsgClientImpl; - }; - bank: { - v1beta1: _217.MsgClientImpl; - }; - crisis: { - v1beta1: _218.MsgClientImpl; - }; - distribution: { - v1beta1: _219.MsgClientImpl; - }; - evidence: { - v1beta1: _220.MsgClientImpl; - }; - feegrant: { - v1beta1: _221.MsgClientImpl; - }; - gov: { - v1: _222.MsgClientImpl; - v1beta1: _223.MsgClientImpl; - }; - group: { - v1: _224.MsgClientImpl; - }; - nft: { - v1beta1: _225.MsgClientImpl; - }; - slashing: { - v1beta1: _226.MsgClientImpl; - }; - staking: { - v1beta1: _227.MsgClientImpl; - }; - upgrade: { - v1beta1: _228.MsgClientImpl; - }; - vesting: { - v1beta1: _229.MsgClientImpl; - }; - }; - }>; - createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | import("@cosmjs/tendermint-rpc").HttpEndpoint; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: _5.QueryConfigRequest | undefined): Promise<_5.QueryConfigResponse>; - }; - }; - auth: { - v1beta1: { - accounts(request?: _8.QueryAccountsRequest | undefined): Promise<_8.QueryAccountsResponse>; - account(request: _8.QueryAccountRequest): Promise<_8.QueryAccountResponse>; - accountAddressByID(request: _8.QueryAccountAddressByIDRequest): Promise<_8.QueryAccountAddressByIDResponse>; - params(request?: _8.QueryParamsRequest | undefined): Promise<_8.QueryParamsResponse>; - moduleAccounts(request?: _8.QueryModuleAccountsRequest | undefined): Promise<_8.QueryModuleAccountsResponse>; - moduleAccountByName(request: _8.QueryModuleAccountByNameRequest): Promise<_8.QueryModuleAccountByNameResponse>; - bech32Prefix(request?: _8.Bech32PrefixRequest | undefined): Promise<_8.Bech32PrefixResponse>; - addressBytesToString(request: _8.AddressBytesToStringRequest): Promise<_8.AddressBytesToStringResponse>; - addressStringToBytes(request: _8.AddressStringToBytesRequest): Promise<_8.AddressStringToBytesResponse>; - }; - }; - authz: { - v1beta1: { - grants(request: _12.QueryGrantsRequest): Promise<_12.QueryGrantsResponse>; - granterGrants(request: _12.QueryGranterGrantsRequest): Promise<_12.QueryGranterGrantsResponse>; - granteeGrants(request: _12.QueryGranteeGrantsRequest): Promise<_12.QueryGranteeGrantsResponse>; - }; - }; - bank: { - v1beta1: { - balance(request: _17.QueryBalanceRequest): Promise<_17.QueryBalanceResponse>; - allBalances(request: _17.QueryAllBalancesRequest): Promise<_17.QueryAllBalancesResponse>; - spendableBalances(request: _17.QuerySpendableBalancesRequest): Promise<_17.QuerySpendableBalancesResponse>; - totalSupply(request?: _17.QueryTotalSupplyRequest | undefined): Promise<_17.QueryTotalSupplyResponse>; - supplyOf(request: _17.QuerySupplyOfRequest): Promise<_17.QuerySupplyOfResponse>; - params(request?: _17.QueryParamsRequest | undefined): Promise<_17.QueryParamsResponse>; - denomMetadata(request: _17.QueryDenomMetadataRequest): Promise<_17.QueryDenomMetadataResponse>; - denomsMetadata(request?: _17.QueryDenomsMetadataRequest | undefined): Promise<_17.QueryDenomsMetadataResponse>; - denomOwners(request: _17.QueryDenomOwnersRequest): Promise<_17.QueryDenomOwnersResponse>; - }; - }; - base: { - node: { - v1beta1: { - config(request?: _21.ConfigRequest | undefined): Promise<_21.ConfigResponse>; - }; - }; - tendermint: { - v1beta1: { - getNodeInfo(request?: _28.GetNodeInfoRequest | undefined): Promise<_28.GetNodeInfoResponse>; - getSyncing(request?: _28.GetSyncingRequest | undefined): Promise<_28.GetSyncingResponse>; - getLatestBlock(request?: _28.GetLatestBlockRequest | undefined): Promise<_28.GetLatestBlockResponse>; - getBlockByHeight(request: _28.GetBlockByHeightRequest): Promise<_28.GetBlockByHeightResponse>; - getLatestValidatorSet(request?: _28.GetLatestValidatorSetRequest | undefined): Promise<_28.GetLatestValidatorSetResponse>; - getValidatorSetByHeight(request: _28.GetValidatorSetByHeightRequest): Promise<_28.GetValidatorSetByHeightResponse>; - aBCIQuery(request: _28.ABCIQueryRequest): Promise<_28.ABCIQueryResponse>; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: _43.QueryParamsRequest | undefined): Promise<_43.QueryParamsResponse>; - validatorOutstandingRewards(request: _43.QueryValidatorOutstandingRewardsRequest): Promise<_43.QueryValidatorOutstandingRewardsResponse>; - validatorCommission(request: _43.QueryValidatorCommissionRequest): Promise<_43.QueryValidatorCommissionResponse>; - validatorSlashes(request: _43.QueryValidatorSlashesRequest): Promise<_43.QueryValidatorSlashesResponse>; - delegationRewards(request: _43.QueryDelegationRewardsRequest): Promise<_43.QueryDelegationRewardsResponse>; - delegationTotalRewards(request: _43.QueryDelegationTotalRewardsRequest): Promise<_43.QueryDelegationTotalRewardsResponse>; - delegatorValidators(request: _43.QueryDelegatorValidatorsRequest): Promise<_43.QueryDelegatorValidatorsResponse>; - delegatorWithdrawAddress(request: _43.QueryDelegatorWithdrawAddressRequest): Promise<_43.QueryDelegatorWithdrawAddressResponse>; - communityPool(request?: _43.QueryCommunityPoolRequest | undefined): Promise<_43.QueryCommunityPoolResponse>; - }; - }; - evidence: { - v1beta1: { - evidence(request: _47.QueryEvidenceRequest): Promise<_47.QueryEvidenceResponse>; - allEvidence(request?: _47.QueryAllEvidenceRequest | undefined): Promise<_47.QueryAllEvidenceResponse>; - }; - }; - feegrant: { - v1beta1: { - allowance(request: _51.QueryAllowanceRequest): Promise<_51.QueryAllowanceResponse>; - allowances(request: _51.QueryAllowancesRequest): Promise<_51.QueryAllowancesResponse>; - allowancesByGranter(request: _51.QueryAllowancesByGranterRequest): Promise<_51.QueryAllowancesByGranterResponse>; - }; - }; - gov: { - v1: { - proposal(request: _56.QueryProposalRequest): Promise<_56.QueryProposalResponse>; - proposals(request: _56.QueryProposalsRequest): Promise<_56.QueryProposalsResponse>; - vote(request: _56.QueryVoteRequest): Promise<_56.QueryVoteResponse>; - votes(request: _56.QueryVotesRequest): Promise<_56.QueryVotesResponse>; - params(request: _56.QueryParamsRequest): Promise<_56.QueryParamsResponse>; - deposit(request: _56.QueryDepositRequest): Promise<_56.QueryDepositResponse>; - deposits(request: _56.QueryDepositsRequest): Promise<_56.QueryDepositsResponse>; - tallyResult(request: _56.QueryTallyResultRequest): Promise<_56.QueryTallyResultResponse>; - }; - v1beta1: { - proposal(request: _60.QueryProposalRequest): Promise<_60.QueryProposalResponse>; - proposals(request: _60.QueryProposalsRequest): Promise<_60.QueryProposalsResponse>; - vote(request: _60.QueryVoteRequest): Promise<_60.QueryVoteResponse>; - votes(request: _60.QueryVotesRequest): Promise<_60.QueryVotesResponse>; - params(request: _60.QueryParamsRequest): Promise<_60.QueryParamsResponse>; - deposit(request: _60.QueryDepositRequest): Promise<_60.QueryDepositResponse>; - deposits(request: _60.QueryDepositsRequest): Promise<_60.QueryDepositsResponse>; - tallyResult(request: _60.QueryTallyResultRequest): Promise<_60.QueryTallyResultResponse>; - }; - }; - group: { - v1: { - groupInfo(request: _64.QueryGroupInfoRequest): Promise<_64.QueryGroupInfoResponse>; - groupPolicyInfo(request: _64.QueryGroupPolicyInfoRequest): Promise<_64.QueryGroupPolicyInfoResponse>; - groupMembers(request: _64.QueryGroupMembersRequest): Promise<_64.QueryGroupMembersResponse>; - groupsByAdmin(request: _64.QueryGroupsByAdminRequest): Promise<_64.QueryGroupsByAdminResponse>; - groupPoliciesByGroup(request: _64.QueryGroupPoliciesByGroupRequest): Promise<_64.QueryGroupPoliciesByGroupResponse>; - groupPoliciesByAdmin(request: _64.QueryGroupPoliciesByAdminRequest): Promise<_64.QueryGroupPoliciesByAdminResponse>; - proposal(request: _64.QueryProposalRequest): Promise<_64.QueryProposalResponse>; - proposalsByGroupPolicy(request: _64.QueryProposalsByGroupPolicyRequest): Promise<_64.QueryProposalsByGroupPolicyResponse>; - voteByProposalVoter(request: _64.QueryVoteByProposalVoterRequest): Promise<_64.QueryVoteByProposalVoterResponse>; - votesByProposal(request: _64.QueryVotesByProposalRequest): Promise<_64.QueryVotesByProposalResponse>; - votesByVoter(request: _64.QueryVotesByVoterRequest): Promise<_64.QueryVotesByVoterResponse>; - groupsByMember(request: _64.QueryGroupsByMemberRequest): Promise<_64.QueryGroupsByMemberResponse>; - tallyResult(request: _64.QueryTallyResultRequest): Promise<_64.QueryTallyResultResponse>; - }; - }; - mint: { - v1beta1: { - params(request?: _69.QueryParamsRequest | undefined): Promise<_69.QueryParamsResponse>; - inflation(request?: _69.QueryInflationRequest | undefined): Promise<_69.QueryInflationResponse>; - annualProvisions(request?: _69.QueryAnnualProvisionsRequest | undefined): Promise<_69.QueryAnnualProvisionsResponse>; - }; - }; - nft: { - v1beta1: { - balance(request: _74.QueryBalanceRequest): Promise<_74.QueryBalanceResponse>; - owner(request: _74.QueryOwnerRequest): Promise<_74.QueryOwnerResponse>; - supply(request: _74.QuerySupplyRequest): Promise<_74.QuerySupplyResponse>; - nFTs(request: _74.QueryNFTsRequest): Promise<_74.QueryNFTsResponse>; - nFT(request: _74.QueryNFTRequest): Promise<_74.QueryNFTResponse>; - class(request: _74.QueryClassRequest): Promise<_74.QueryClassResponse>; - classes(request?: _74.QueryClassesRequest | undefined): Promise<_74.QueryClassesResponse>; - }; - }; - params: { - v1beta1: { - params(request: _80.QueryParamsRequest): Promise<_80.QueryParamsResponse>; - subspaces(request?: _80.QuerySubspacesRequest | undefined): Promise<_80.QuerySubspacesResponse>; - }; - }; - slashing: { - v1beta1: { - params(request?: _82.QueryParamsRequest | undefined): Promise<_82.QueryParamsResponse>; - signingInfo(request: _82.QuerySigningInfoRequest): Promise<_82.QuerySigningInfoResponse>; - signingInfos(request?: _82.QuerySigningInfosRequest | undefined): Promise<_82.QuerySigningInfosResponse>; - }; - }; - staking: { - v1beta1: { - validators(request: _87.QueryValidatorsRequest): Promise<_87.QueryValidatorsResponse>; - validator(request: _87.QueryValidatorRequest): Promise<_87.QueryValidatorResponse>; - validatorDelegations(request: _87.QueryValidatorDelegationsRequest): Promise<_87.QueryValidatorDelegationsResponse>; - validatorUnbondingDelegations(request: _87.QueryValidatorUnbondingDelegationsRequest): Promise<_87.QueryValidatorUnbondingDelegationsResponse>; - delegation(request: _87.QueryDelegationRequest): Promise<_87.QueryDelegationResponse>; - unbondingDelegation(request: _87.QueryUnbondingDelegationRequest): Promise<_87.QueryUnbondingDelegationResponse>; - delegatorDelegations(request: _87.QueryDelegatorDelegationsRequest): Promise<_87.QueryDelegatorDelegationsResponse>; - delegatorUnbondingDelegations(request: _87.QueryDelegatorUnbondingDelegationsRequest): Promise<_87.QueryDelegatorUnbondingDelegationsResponse>; - redelegations(request: _87.QueryRedelegationsRequest): Promise<_87.QueryRedelegationsResponse>; - delegatorValidators(request: _87.QueryDelegatorValidatorsRequest): Promise<_87.QueryDelegatorValidatorsResponse>; - delegatorValidator(request: _87.QueryDelegatorValidatorRequest): Promise<_87.QueryDelegatorValidatorResponse>; - historicalInfo(request: _87.QueryHistoricalInfoRequest): Promise<_87.QueryHistoricalInfoResponse>; - pool(request?: _87.QueryPoolRequest | undefined): Promise<_87.QueryPoolResponse>; - params(request?: _87.QueryParamsRequest | undefined): Promise<_87.QueryParamsResponse>; - }; - }; - tx: { - v1beta1: { - simulate(request: _91.SimulateRequest): Promise<_91.SimulateResponse>; - getTx(request: _91.GetTxRequest): Promise<_91.GetTxResponse>; - broadcastTx(request: _91.BroadcastTxRequest): Promise<_91.BroadcastTxResponse>; - getTxsEvent(request: _91.GetTxsEventRequest): Promise<_91.GetTxsEventResponse>; - getBlockWithTxs(request: _91.GetBlockWithTxsRequest): Promise<_91.GetBlockWithTxsResponse>; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: _93.QueryCurrentPlanRequest | undefined): Promise<_93.QueryCurrentPlanResponse>; - appliedPlan(request: _93.QueryAppliedPlanRequest): Promise<_93.QueryAppliedPlanResponse>; - upgradedConsensusState(request: _93.QueryUpgradedConsensusStateRequest): Promise<_93.QueryUpgradedConsensusStateResponse>; - moduleVersions(request: _93.QueryModuleVersionsRequest): Promise<_93.QueryModuleVersionsResponse>; - authority(request?: _93.QueryAuthorityRequest | undefined): Promise<_93.QueryAuthorityResponse>; - }; - }; - }; - }>; - createLCDClient: ({ restEndpoint }: { - restEndpoint: string; - }) => Promise<{ - cosmos: { - auth: { - v1beta1: _179.LCDQueryClient; - }; - authz: { - v1beta1: _180.LCDQueryClient; - }; - bank: { - v1beta1: _181.LCDQueryClient; - }; - base: { - node: { - v1beta1: _182.LCDQueryClient; - }; - tendermint: { - v1beta1: _183.LCDQueryClient; - }; - }; - distribution: { - v1beta1: _184.LCDQueryClient; - }; - evidence: { - v1beta1: _185.LCDQueryClient; - }; - feegrant: { - v1beta1: _186.LCDQueryClient; - }; - gov: { - v1: _187.LCDQueryClient; - v1beta1: _188.LCDQueryClient; - }; - group: { - v1: _189.LCDQueryClient; - }; - mint: { - v1beta1: _190.LCDQueryClient; - }; - nft: { - v1beta1: _191.LCDQueryClient; - }; - params: { - v1beta1: _192.LCDQueryClient; - }; - slashing: { - v1beta1: _193.LCDQueryClient; - }; - staking: { - v1beta1: _194.LCDQueryClient; - }; - tx: { - v1beta1: _195.LCDQueryClient; - }; - upgrade: { - v1beta1: _196.LCDQueryClient; - }; - }; - }>; - }; -} diff --git a/packages/api/types/codegen/cosmos/capability/v1beta1/capability.d.ts b/packages/api/types/codegen/cosmos/capability/v1beta1/capability.d.ts deleted file mode 100644 index 4f17a08e..00000000 --- a/packages/api/types/codegen/cosmos/capability/v1beta1/capability.d.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface Capability { - index: Long; -} -export interface CapabilityProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Capability"; - value: Uint8Array; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilityAmino { - index: string; -} -export interface CapabilityAminoMsg { - type: "cosmos-sdk/Capability"; - value: CapabilityAmino; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilitySDKType { - index: Long; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface Owner { - module: string; - name: string; -} -export interface OwnerProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Owner"; - value: Uint8Array; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerAmino { - module: string; - name: string; -} -export interface OwnerAminoMsg { - type: "cosmos-sdk/Owner"; - value: OwnerAmino; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerSDKType { - module: string; - name: string; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwners { - owners: Owner[]; -} -export interface CapabilityOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners"; - value: Uint8Array; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersAmino { - owners: OwnerAmino[]; -} -export interface CapabilityOwnersAminoMsg { - type: "cosmos-sdk/CapabilityOwners"; - value: CapabilityOwnersAmino; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersSDKType { - owners: OwnerSDKType[]; -} -export declare const Capability: { - encode(message: Capability, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Capability; - fromJSON(object: any): Capability; - toJSON(message: Capability): unknown; - fromPartial(object: Partial): Capability; - fromAmino(object: CapabilityAmino): Capability; - toAmino(message: Capability): CapabilityAmino; - fromAminoMsg(object: CapabilityAminoMsg): Capability; - toAminoMsg(message: Capability): CapabilityAminoMsg; - fromProtoMsg(message: CapabilityProtoMsg): Capability; - toProto(message: Capability): Uint8Array; - toProtoMsg(message: Capability): CapabilityProtoMsg; -}; -export declare const Owner: { - encode(message: Owner, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Owner; - fromJSON(object: any): Owner; - toJSON(message: Owner): unknown; - fromPartial(object: Partial): Owner; - fromAmino(object: OwnerAmino): Owner; - toAmino(message: Owner): OwnerAmino; - fromAminoMsg(object: OwnerAminoMsg): Owner; - toAminoMsg(message: Owner): OwnerAminoMsg; - fromProtoMsg(message: OwnerProtoMsg): Owner; - toProto(message: Owner): Uint8Array; - toProtoMsg(message: Owner): OwnerProtoMsg; -}; -export declare const CapabilityOwners: { - encode(message: CapabilityOwners, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners; - fromJSON(object: any): CapabilityOwners; - toJSON(message: CapabilityOwners): unknown; - fromPartial(object: Partial): CapabilityOwners; - fromAmino(object: CapabilityOwnersAmino): CapabilityOwners; - toAmino(message: CapabilityOwners): CapabilityOwnersAmino; - fromAminoMsg(object: CapabilityOwnersAminoMsg): CapabilityOwners; - toAminoMsg(message: CapabilityOwners): CapabilityOwnersAminoMsg; - fromProtoMsg(message: CapabilityOwnersProtoMsg): CapabilityOwners; - toProto(message: CapabilityOwners): Uint8Array; - toProtoMsg(message: CapabilityOwners): CapabilityOwnersProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/capability/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/capability/v1beta1/genesis.d.ts deleted file mode 100644 index 2ea94a91..00000000 --- a/packages/api/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { CapabilityOwners, CapabilityOwnersAmino, CapabilityOwnersSDKType } from "./capability"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwners { - /** index is the index of the capability owner. */ - index: Long; - /** index_owners are the owners at the given index. */ - indexOwners: CapabilityOwners; -} -export interface GenesisOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners"; - value: Uint8Array; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersAmino { - /** index is the index of the capability owner. */ - index: string; - /** index_owners are the owners at the given index. */ - index_owners?: CapabilityOwnersAmino; -} -export interface GenesisOwnersAminoMsg { - type: "cosmos-sdk/GenesisOwners"; - value: GenesisOwnersAmino; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersSDKType { - index: Long; - index_owners: CapabilityOwnersSDKType; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisState { - /** index is the capability global index. */ - index: Long; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners: GenesisOwners[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateAmino { - /** index is the capability global index. */ - index: string; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners: GenesisOwnersAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateSDKType { - index: Long; - owners: GenesisOwnersSDKType[]; -} -export declare const GenesisOwners: { - encode(message: GenesisOwners, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners; - fromJSON(object: any): GenesisOwners; - toJSON(message: GenesisOwners): unknown; - fromPartial(object: Partial): GenesisOwners; - fromAmino(object: GenesisOwnersAmino): GenesisOwners; - toAmino(message: GenesisOwners): GenesisOwnersAmino; - fromAminoMsg(object: GenesisOwnersAminoMsg): GenesisOwners; - toAminoMsg(message: GenesisOwners): GenesisOwnersAminoMsg; - fromProtoMsg(message: GenesisOwnersProtoMsg): GenesisOwners; - toProto(message: GenesisOwners): Uint8Array; - toProtoMsg(message: GenesisOwners): GenesisOwnersProtoMsg; -}; -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/client.d.ts b/packages/api/types/codegen/cosmos/client.d.ts deleted file mode 100644 index d1f06838..00000000 --- a/packages/api/types/codegen/cosmos/client.d.ts +++ /dev/null @@ -1,259 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const cosmosAminoConverters: { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: string; - toAmino: (message: import("./vesting/v1beta1/tx").MsgCreateVestingAccount) => import("./vesting/v1beta1/tx").MsgCreateVestingAccountAmino; - fromAmino: (object: import("./vesting/v1beta1/tx").MsgCreateVestingAccountAmino) => import("./vesting/v1beta1/tx").MsgCreateVestingAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: string; - toAmino: (message: import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccount) => import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccountAmino; - fromAmino: (object: import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccountAmino) => import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: string; - toAmino: (message: import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccount) => import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccountAmino; - fromAmino: (object: import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccountAmino) => import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccount; - }; - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: string; - toAmino: (message: import("./upgrade/v1beta1/tx").MsgSoftwareUpgrade) => import("./upgrade/v1beta1/tx").MsgSoftwareUpgradeAmino; - fromAmino: (object: import("./upgrade/v1beta1/tx").MsgSoftwareUpgradeAmino) => import("./upgrade/v1beta1/tx").MsgSoftwareUpgrade; - }; - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: string; - toAmino: (message: import("./upgrade/v1beta1/tx").MsgCancelUpgrade) => import("./upgrade/v1beta1/tx").MsgCancelUpgradeAmino; - fromAmino: (object: import("./upgrade/v1beta1/tx").MsgCancelUpgradeAmino) => import("./upgrade/v1beta1/tx").MsgCancelUpgrade; - }; - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgCreateValidator) => import("./staking/v1beta1/tx").MsgCreateValidatorAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgCreateValidatorAmino) => import("./staking/v1beta1/tx").MsgCreateValidator; - }; - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgEditValidator) => import("./staking/v1beta1/tx").MsgEditValidatorAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgEditValidatorAmino) => import("./staking/v1beta1/tx").MsgEditValidator; - }; - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgDelegate) => import("./staking/v1beta1/tx").MsgDelegateAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgDelegateAmino) => import("./staking/v1beta1/tx").MsgDelegate; - }; - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgBeginRedelegate) => import("./staking/v1beta1/tx").MsgBeginRedelegateAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgBeginRedelegateAmino) => import("./staking/v1beta1/tx").MsgBeginRedelegate; - }; - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgUndelegate) => import("./staking/v1beta1/tx").MsgUndelegateAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgUndelegateAmino) => import("./staking/v1beta1/tx").MsgUndelegate; - }; - "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgCancelUnbondingDelegation) => import("./staking/v1beta1/tx").MsgCancelUnbondingDelegationAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgCancelUnbondingDelegationAmino) => import("./staking/v1beta1/tx").MsgCancelUnbondingDelegation; - }; - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: string; - toAmino: (message: import("./slashing/v1beta1/tx").MsgUnjail) => import("./slashing/v1beta1/tx").MsgUnjailAmino; - fromAmino: (object: import("./slashing/v1beta1/tx").MsgUnjailAmino) => import("./slashing/v1beta1/tx").MsgUnjail; - }; - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: import("./nft/v1beta1/tx").MsgSend) => import("./nft/v1beta1/tx").MsgSendAmino; - fromAmino: (object: import("./nft/v1beta1/tx").MsgSendAmino) => import("./nft/v1beta1/tx").MsgSend; - }; - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgCreateGroup) => import("./group/v1/tx").MsgCreateGroupAmino; - fromAmino: (object: import("./group/v1/tx").MsgCreateGroupAmino) => import("./group/v1/tx").MsgCreateGroup; - }; - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupMembers) => import("./group/v1/tx").MsgUpdateGroupMembersAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupMembersAmino) => import("./group/v1/tx").MsgUpdateGroupMembers; - }; - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupAdmin) => import("./group/v1/tx").MsgUpdateGroupAdminAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupAdminAmino) => import("./group/v1/tx").MsgUpdateGroupAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupMetadata) => import("./group/v1/tx").MsgUpdateGroupMetadataAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupMetadataAmino) => import("./group/v1/tx").MsgUpdateGroupMetadata; - }; - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgCreateGroupPolicy) => import("./group/v1/tx").MsgCreateGroupPolicyAmino; - fromAmino: (object: import("./group/v1/tx").MsgCreateGroupPolicyAmino) => import("./group/v1/tx").MsgCreateGroupPolicy; - }; - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgCreateGroupWithPolicy) => import("./group/v1/tx").MsgCreateGroupWithPolicyAmino; - fromAmino: (object: import("./group/v1/tx").MsgCreateGroupWithPolicyAmino) => import("./group/v1/tx").MsgCreateGroupWithPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyAdmin) => import("./group/v1/tx").MsgUpdateGroupPolicyAdminAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyAdminAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicy) => import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicyAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyMetadata) => import("./group/v1/tx").MsgUpdateGroupPolicyMetadataAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyMetadataAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyMetadata; - }; - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgSubmitProposal) => import("./group/v1/tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./group/v1/tx").MsgSubmitProposalAmino) => import("./group/v1/tx").MsgSubmitProposal; - }; - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgWithdrawProposal) => import("./group/v1/tx").MsgWithdrawProposalAmino; - fromAmino: (object: import("./group/v1/tx").MsgWithdrawProposalAmino) => import("./group/v1/tx").MsgWithdrawProposal; - }; - "/cosmos.group.v1.MsgVote": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgVote) => import("./group/v1/tx").MsgVoteAmino; - fromAmino: (object: import("./group/v1/tx").MsgVoteAmino) => import("./group/v1/tx").MsgVote; - }; - "/cosmos.group.v1.MsgExec": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgExec) => import("./group/v1/tx").MsgExecAmino; - fromAmino: (object: import("./group/v1/tx").MsgExecAmino) => import("./group/v1/tx").MsgExec; - }; - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgLeaveGroup) => import("./group/v1/tx").MsgLeaveGroupAmino; - fromAmino: (object: import("./group/v1/tx").MsgLeaveGroupAmino) => import("./group/v1/tx").MsgLeaveGroup; - }; - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgSubmitProposal) => import("./gov/v1beta1/tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgSubmitProposalAmino) => import("./gov/v1beta1/tx").MsgSubmitProposal; - }; - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgVote) => import("./gov/v1beta1/tx").MsgVoteAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgVoteAmino) => import("./gov/v1beta1/tx").MsgVote; - }; - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgVoteWeighted) => import("./gov/v1beta1/tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgVoteWeightedAmino) => import("./gov/v1beta1/tx").MsgVoteWeighted; - }; - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgDeposit) => import("./gov/v1beta1/tx").MsgDepositAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgDepositAmino) => import("./gov/v1beta1/tx").MsgDeposit; - }; - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgSubmitProposal) => import("./gov/v1/tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./gov/v1/tx").MsgSubmitProposalAmino) => import("./gov/v1/tx").MsgSubmitProposal; - }; - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgExecLegacyContent) => import("./gov/v1/tx").MsgExecLegacyContentAmino; - fromAmino: (object: import("./gov/v1/tx").MsgExecLegacyContentAmino) => import("./gov/v1/tx").MsgExecLegacyContent; - }; - "/cosmos.gov.v1.MsgVote": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgVote) => import("./gov/v1/tx").MsgVoteAmino; - fromAmino: (object: import("./gov/v1/tx").MsgVoteAmino) => import("./gov/v1/tx").MsgVote; - }; - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgVoteWeighted) => import("./gov/v1/tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./gov/v1/tx").MsgVoteWeightedAmino) => import("./gov/v1/tx").MsgVoteWeighted; - }; - "/cosmos.gov.v1.MsgDeposit": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgDeposit) => import("./gov/v1/tx").MsgDepositAmino; - fromAmino: (object: import("./gov/v1/tx").MsgDepositAmino) => import("./gov/v1/tx").MsgDeposit; - }; - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: string; - toAmino: (message: import("./feegrant/v1beta1/tx").MsgGrantAllowance) => import("./feegrant/v1beta1/tx").MsgGrantAllowanceAmino; - fromAmino: (object: import("./feegrant/v1beta1/tx").MsgGrantAllowanceAmino) => import("./feegrant/v1beta1/tx").MsgGrantAllowance; - }; - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: string; - toAmino: (message: import("./feegrant/v1beta1/tx").MsgRevokeAllowance) => import("./feegrant/v1beta1/tx").MsgRevokeAllowanceAmino; - fromAmino: (object: import("./feegrant/v1beta1/tx").MsgRevokeAllowanceAmino) => import("./feegrant/v1beta1/tx").MsgRevokeAllowance; - }; - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: string; - toAmino: (message: import("./evidence/v1beta1/tx").MsgSubmitEvidence) => import("./evidence/v1beta1/tx").MsgSubmitEvidenceAmino; - fromAmino: (object: import("./evidence/v1beta1/tx").MsgSubmitEvidenceAmino) => import("./evidence/v1beta1/tx").MsgSubmitEvidence; - }; - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgSetWithdrawAddress) => import("./distribution/v1beta1/tx").MsgSetWithdrawAddressAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgSetWithdrawAddressAmino) => import("./distribution/v1beta1/tx").MsgSetWithdrawAddress; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgWithdrawDelegatorReward) => import("./distribution/v1beta1/tx").MsgWithdrawDelegatorRewardAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgWithdrawDelegatorRewardAmino) => import("./distribution/v1beta1/tx").MsgWithdrawDelegatorReward; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommission) => import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommissionAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommissionAmino) => import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommission; - }; - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgFundCommunityPool) => import("./distribution/v1beta1/tx").MsgFundCommunityPoolAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgFundCommunityPoolAmino) => import("./distribution/v1beta1/tx").MsgFundCommunityPool; - }; - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: string; - toAmino: (message: import("./crisis/v1beta1/tx").MsgVerifyInvariant) => import("./crisis/v1beta1/tx").MsgVerifyInvariantAmino; - fromAmino: (object: import("./crisis/v1beta1/tx").MsgVerifyInvariantAmino) => import("./crisis/v1beta1/tx").MsgVerifyInvariant; - }; - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: import("./bank/v1beta1/tx").MsgSend) => import("./bank/v1beta1/tx").MsgSendAmino; - fromAmino: (object: import("./bank/v1beta1/tx").MsgSendAmino) => import("./bank/v1beta1/tx").MsgSend; - }; - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: string; - toAmino: (message: import("./bank/v1beta1/tx").MsgMultiSend) => import("./bank/v1beta1/tx").MsgMultiSendAmino; - fromAmino: (object: import("./bank/v1beta1/tx").MsgMultiSendAmino) => import("./bank/v1beta1/tx").MsgMultiSend; - }; - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: string; - toAmino: (message: import("./authz/v1beta1/tx").MsgGrant) => import("./authz/v1beta1/tx").MsgGrantAmino; - fromAmino: (object: import("./authz/v1beta1/tx").MsgGrantAmino) => import("./authz/v1beta1/tx").MsgGrant; - }; - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: string; - toAmino: (message: import("./authz/v1beta1/tx").MsgExec) => import("./authz/v1beta1/tx").MsgExecAmino; - fromAmino: (object: import("./authz/v1beta1/tx").MsgExecAmino) => import("./authz/v1beta1/tx").MsgExec; - }; - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: string; - toAmino: (message: import("./authz/v1beta1/tx").MsgRevoke) => import("./authz/v1beta1/tx").MsgRevokeAmino; - fromAmino: (object: import("./authz/v1beta1/tx").MsgRevokeAmino) => import("./authz/v1beta1/tx").MsgRevoke; - }; -}; -export declare const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]>; -export declare const getSigningCosmosClientOptions: () => { - registry: Registry; - aminoTypes: AminoTypes; -}; -export declare const getSigningCosmosClient: ({ rpcEndpoint, signer }: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; -}) => Promise; diff --git a/packages/api/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts deleted file mode 100644 index 35471f48..00000000 --- a/packages/api/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisState { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constantFee: Coin; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateAmino { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constant_fee?: CoinAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateSDKType { - constant_fee: CoinSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts deleted file mode 100644 index 71962f69..00000000 --- a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgVerifyInvariant } from "./tx"; -export declare const AminoConverter: { - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: string; - toAmino: (message: MsgVerifyInvariant) => import("./tx").MsgVerifyInvariantAmino; - fromAmino: (object: import("./tx").MsgVerifyInvariantAmino) => MsgVerifyInvariant; - }; -}; diff --git a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.d.ts deleted file mode 100644 index 524f9af7..00000000 --- a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariant { - sender: string; - invariantModuleName: string; - invariantRoute: string; -} -export interface MsgVerifyInvariantProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant"; - value: Uint8Array; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantAmino { - sender: string; - invariant_module_name: string; - invariant_route: string; -} -export interface MsgVerifyInvariantAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariant"; - value: MsgVerifyInvariantAmino; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantSDKType { - sender: string; - invariant_module_name: string; - invariant_route: string; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponse { -} -export interface MsgVerifyInvariantResponseProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse"; - value: Uint8Array; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseAmino { -} -export interface MsgVerifyInvariantResponseAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariantResponse"; - value: MsgVerifyInvariantResponseAmino; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseSDKType { -} -export declare const MsgVerifyInvariant: { - encode(message: MsgVerifyInvariant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant; - fromJSON(object: any): MsgVerifyInvariant; - toJSON(message: MsgVerifyInvariant): unknown; - fromPartial(object: Partial): MsgVerifyInvariant; - fromAmino(object: MsgVerifyInvariantAmino): MsgVerifyInvariant; - toAmino(message: MsgVerifyInvariant): MsgVerifyInvariantAmino; - fromAminoMsg(object: MsgVerifyInvariantAminoMsg): MsgVerifyInvariant; - toAminoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantAminoMsg; - fromProtoMsg(message: MsgVerifyInvariantProtoMsg): MsgVerifyInvariant; - toProto(message: MsgVerifyInvariant): Uint8Array; - toProtoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantProtoMsg; -}; -export declare const MsgVerifyInvariantResponse: { - encode(_: MsgVerifyInvariantResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse; - fromJSON(_: any): MsgVerifyInvariantResponse; - toJSON(_: MsgVerifyInvariantResponse): unknown; - fromPartial(_: Partial): MsgVerifyInvariantResponse; - fromAmino(_: MsgVerifyInvariantResponseAmino): MsgVerifyInvariantResponse; - toAmino(_: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAmino; - fromAminoMsg(object: MsgVerifyInvariantResponseAminoMsg): MsgVerifyInvariantResponse; - toAminoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAminoMsg; - fromProtoMsg(message: MsgVerifyInvariantResponseProtoMsg): MsgVerifyInvariantResponse; - toProto(message: MsgVerifyInvariantResponse): Uint8Array; - toProtoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts deleted file mode 100644 index 0816011c..00000000 --- a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgVerifyInvariant } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: MsgVerifyInvariant; - }; - }; - toJSON: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - verifyInvariant(value: any): { - typeUrl: string; - value: MsgVerifyInvariant; - }; - }; - fromPartial: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: MsgVerifyInvariant; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index bce7eac0..00000000 --- a/packages/api/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** VerifyInvariant defines a method to verify a particular invariance. */ - verifyInvariant(request: MsgVerifyInvariant): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - verifyInvariant(request: MsgVerifyInvariant): Promise; -} diff --git a/packages/api/types/codegen/cosmos/crypto/ed25519/keys.d.ts b/packages/api/types/codegen/cosmos/crypto/ed25519/keys.d.ts deleted file mode 100644 index 25d47571..00000000 --- a/packages/api/types/codegen/cosmos/crypto/ed25519/keys.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKey { - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.ed25519.PubKey"; - value: Uint8Array; -} -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKeyAmino { - key: Uint8Array; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKey { - key: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.ed25519.PrivKey"; - value: Uint8Array; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKeyAmino { - key: Uint8Array; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKeySDKType { - key: Uint8Array; -} -export declare const PubKey: { - encode(message: PubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey; - fromJSON(object: any): PubKey; - toJSON(message: PubKey): unknown; - fromPartial(object: Partial): PubKey; - fromAmino(object: PubKeyAmino): PubKey; - toAmino(message: PubKey): PubKeyAmino; - fromAminoMsg(object: PubKeyAminoMsg): PubKey; - toAminoMsg(message: PubKey): PubKeyAminoMsg; - fromProtoMsg(message: PubKeyProtoMsg): PubKey; - toProto(message: PubKey): Uint8Array; - toProtoMsg(message: PubKey): PubKeyProtoMsg; -}; -export declare const PrivKey: { - encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey; - fromJSON(object: any): PrivKey; - toJSON(message: PrivKey): unknown; - fromPartial(object: Partial): PrivKey; - fromAmino(object: PrivKeyAmino): PrivKey; - toAmino(message: PrivKey): PrivKeyAmino; - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey; - toAminoMsg(message: PrivKey): PrivKeyAminoMsg; - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; - toProto(message: PrivKey): Uint8Array; - toProtoMsg(message: PrivKey): PrivKeyProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crypto/hd/v1/hd.d.ts b/packages/api/types/codegen/cosmos/crypto/hd/v1/hd.d.ts deleted file mode 100644 index 87c80e63..00000000 --- a/packages/api/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44Params { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - purpose: number; - /** coin_type is a constant that improves privacy */ - coinType: number; - /** account splits the key space into independent user identities */ - account: number; - /** - * change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - * chain. - */ - change: boolean; - /** address_index is used as child index in BIP32 derivation */ - addressIndex: number; -} -export interface BIP44ParamsProtoMsg { - typeUrl: "/cosmos.crypto.hd.v1.BIP44Params"; - value: Uint8Array; -} -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44ParamsAmino { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - purpose: number; - /** coin_type is a constant that improves privacy */ - coin_type: number; - /** account splits the key space into independent user identities */ - account: number; - /** - * change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - * chain. - */ - change: boolean; - /** address_index is used as child index in BIP32 derivation */ - address_index: number; -} -export interface BIP44ParamsAminoMsg { - type: "cosmos-sdk/BIP44Params"; - value: BIP44ParamsAmino; -} -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44ParamsSDKType { - purpose: number; - coin_type: number; - account: number; - change: boolean; - address_index: number; -} -export declare const BIP44Params: { - encode(message: BIP44Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params; - fromJSON(object: any): BIP44Params; - toJSON(message: BIP44Params): unknown; - fromPartial(object: Partial): BIP44Params; - fromAmino(object: BIP44ParamsAmino): BIP44Params; - toAmino(message: BIP44Params): BIP44ParamsAmino; - fromAminoMsg(object: BIP44ParamsAminoMsg): BIP44Params; - toAminoMsg(message: BIP44Params): BIP44ParamsAminoMsg; - fromProtoMsg(message: BIP44ParamsProtoMsg): BIP44Params; - toProto(message: BIP44Params): Uint8Array; - toProtoMsg(message: BIP44Params): BIP44ParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crypto/keyring/v1/record.d.ts b/packages/api/types/codegen/cosmos/crypto/keyring/v1/record.d.ts deleted file mode 100644 index 739e33af..00000000 --- a/packages/api/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +++ /dev/null @@ -1,203 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BIP44Params, BIP44ParamsAmino, BIP44ParamsSDKType } from "../../hd/v1/hd"; -import * as _m0 from "protobufjs/minimal"; -/** Record is used for representing a key in the keyring. */ -export interface Record { - /** name represents a name of Record */ - name: string; - /** pub_key represents a public key in any format */ - pubKey: Any; - /** local stores the private key locally. */ - local?: Record_Local; - /** ledger stores the information about a Ledger key. */ - ledger?: Record_Ledger; - /** Multi does not store any other information. */ - multi?: Record_Multi; - /** Offline does not store any other information. */ - offline?: Record_Offline; -} -export interface RecordProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Record"; - value: Uint8Array; -} -/** Record is used for representing a key in the keyring. */ -export interface RecordAmino { - /** name represents a name of Record */ - name: string; - /** pub_key represents a public key in any format */ - pub_key?: AnyAmino; - /** local stores the private key locally. */ - local?: Record_LocalAmino; - /** ledger stores the information about a Ledger key. */ - ledger?: Record_LedgerAmino; - /** Multi does not store any other information. */ - multi?: Record_MultiAmino; - /** Offline does not store any other information. */ - offline?: Record_OfflineAmino; -} -export interface RecordAminoMsg { - type: "cosmos-sdk/Record"; - value: RecordAmino; -} -/** Record is used for representing a key in the keyring. */ -export interface RecordSDKType { - name: string; - pub_key: AnySDKType; - local?: Record_LocalSDKType; - ledger?: Record_LedgerSDKType; - multi?: Record_MultiSDKType; - offline?: Record_OfflineSDKType; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_Local { - privKey: Any; -} -export interface Record_LocalProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Local"; - value: Uint8Array; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_LocalAmino { - priv_key?: AnyAmino; -} -export interface Record_LocalAminoMsg { - type: "cosmos-sdk/Local"; - value: Record_LocalAmino; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_LocalSDKType { - priv_key: AnySDKType; -} -/** Ledger item */ -export interface Record_Ledger { - path: BIP44Params; -} -export interface Record_LedgerProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Ledger"; - value: Uint8Array; -} -/** Ledger item */ -export interface Record_LedgerAmino { - path?: BIP44ParamsAmino; -} -export interface Record_LedgerAminoMsg { - type: "cosmos-sdk/Ledger"; - value: Record_LedgerAmino; -} -/** Ledger item */ -export interface Record_LedgerSDKType { - path: BIP44ParamsSDKType; -} -/** Multi item */ -export interface Record_Multi { -} -export interface Record_MultiProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Multi"; - value: Uint8Array; -} -/** Multi item */ -export interface Record_MultiAmino { -} -export interface Record_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: Record_MultiAmino; -} -/** Multi item */ -export interface Record_MultiSDKType { -} -/** Offline item */ -export interface Record_Offline { -} -export interface Record_OfflineProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Offline"; - value: Uint8Array; -} -/** Offline item */ -export interface Record_OfflineAmino { -} -export interface Record_OfflineAminoMsg { - type: "cosmos-sdk/Offline"; - value: Record_OfflineAmino; -} -/** Offline item */ -export interface Record_OfflineSDKType { -} -export declare const Record: { - encode(message: Record, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record; - fromJSON(object: any): Record; - toJSON(message: Record): unknown; - fromPartial(object: Partial): Record; - fromAmino(object: RecordAmino): Record; - toAmino(message: Record): RecordAmino; - fromAminoMsg(object: RecordAminoMsg): Record; - toAminoMsg(message: Record): RecordAminoMsg; - fromProtoMsg(message: RecordProtoMsg): Record; - toProto(message: Record): Uint8Array; - toProtoMsg(message: Record): RecordProtoMsg; -}; -export declare const Record_Local: { - encode(message: Record_Local, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local; - fromJSON(object: any): Record_Local; - toJSON(message: Record_Local): unknown; - fromPartial(object: Partial): Record_Local; - fromAmino(object: Record_LocalAmino): Record_Local; - toAmino(message: Record_Local): Record_LocalAmino; - fromAminoMsg(object: Record_LocalAminoMsg): Record_Local; - toAminoMsg(message: Record_Local): Record_LocalAminoMsg; - fromProtoMsg(message: Record_LocalProtoMsg): Record_Local; - toProto(message: Record_Local): Uint8Array; - toProtoMsg(message: Record_Local): Record_LocalProtoMsg; -}; -export declare const Record_Ledger: { - encode(message: Record_Ledger, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger; - fromJSON(object: any): Record_Ledger; - toJSON(message: Record_Ledger): unknown; - fromPartial(object: Partial): Record_Ledger; - fromAmino(object: Record_LedgerAmino): Record_Ledger; - toAmino(message: Record_Ledger): Record_LedgerAmino; - fromAminoMsg(object: Record_LedgerAminoMsg): Record_Ledger; - toAminoMsg(message: Record_Ledger): Record_LedgerAminoMsg; - fromProtoMsg(message: Record_LedgerProtoMsg): Record_Ledger; - toProto(message: Record_Ledger): Uint8Array; - toProtoMsg(message: Record_Ledger): Record_LedgerProtoMsg; -}; -export declare const Record_Multi: { - encode(_: Record_Multi, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi; - fromJSON(_: any): Record_Multi; - toJSON(_: Record_Multi): unknown; - fromPartial(_: Partial): Record_Multi; - fromAmino(_: Record_MultiAmino): Record_Multi; - toAmino(_: Record_Multi): Record_MultiAmino; - fromAminoMsg(object: Record_MultiAminoMsg): Record_Multi; - toAminoMsg(message: Record_Multi): Record_MultiAminoMsg; - fromProtoMsg(message: Record_MultiProtoMsg): Record_Multi; - toProto(message: Record_Multi): Uint8Array; - toProtoMsg(message: Record_Multi): Record_MultiProtoMsg; -}; -export declare const Record_Offline: { - encode(_: Record_Offline, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline; - fromJSON(_: any): Record_Offline; - toJSON(_: Record_Offline): unknown; - fromPartial(_: Partial): Record_Offline; - fromAmino(_: Record_OfflineAmino): Record_Offline; - toAmino(_: Record_Offline): Record_OfflineAmino; - fromAminoMsg(object: Record_OfflineAminoMsg): Record_Offline; - toAminoMsg(message: Record_Offline): Record_OfflineAminoMsg; - fromProtoMsg(message: Record_OfflineProtoMsg): Record_Offline; - toProto(message: Record_Offline): Uint8Array; - toProtoMsg(message: Record_Offline): Record_OfflineProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crypto/multisig/keys.d.ts b/packages/api/types/codegen/cosmos/crypto/multisig/keys.d.ts deleted file mode 100644 index f05579bd..00000000 --- a/packages/api/types/codegen/cosmos/crypto/multisig/keys.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKey { - threshold: number; - publicKeys: Any[]; -} -export interface LegacyAminoPubKeyProtoMsg { - typeUrl: "/cosmos.crypto.multisig.LegacyAminoPubKey"; - value: Uint8Array; -} -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKeyAmino { - threshold: number; - public_keys: AnyAmino[]; -} -export interface LegacyAminoPubKeyAminoMsg { - type: "cosmos-sdk/LegacyAminoPubKey"; - value: LegacyAminoPubKeyAmino; -} -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKeySDKType { - threshold: number; - public_keys: AnySDKType[]; -} -export declare const LegacyAminoPubKey: { - encode(message: LegacyAminoPubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey; - fromJSON(object: any): LegacyAminoPubKey; - toJSON(message: LegacyAminoPubKey): unknown; - fromPartial(object: Partial): LegacyAminoPubKey; - fromAmino(object: LegacyAminoPubKeyAmino): LegacyAminoPubKey; - toAmino(message: LegacyAminoPubKey): LegacyAminoPubKeyAmino; - fromAminoMsg(object: LegacyAminoPubKeyAminoMsg): LegacyAminoPubKey; - toAminoMsg(message: LegacyAminoPubKey): LegacyAminoPubKeyAminoMsg; - fromProtoMsg(message: LegacyAminoPubKeyProtoMsg): LegacyAminoPubKey; - toProto(message: LegacyAminoPubKey): Uint8Array; - toProtoMsg(message: LegacyAminoPubKey): LegacyAminoPubKeyProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts b/packages/api/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts deleted file mode 100644 index 8dc6d875..00000000 --- a/packages/api/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignature { - signatures: Uint8Array[]; -} -export interface MultiSignatureProtoMsg { - typeUrl: "/cosmos.crypto.multisig.v1beta1.MultiSignature"; - value: Uint8Array; -} -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignatureAmino { - signatures: Uint8Array[]; -} -export interface MultiSignatureAminoMsg { - type: "cosmos-sdk/MultiSignature"; - value: MultiSignatureAmino; -} -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignatureSDKType { - signatures: Uint8Array[]; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArray { - extraBitsStored: number; - elems: Uint8Array; -} -export interface CompactBitArrayProtoMsg { - typeUrl: "/cosmos.crypto.multisig.v1beta1.CompactBitArray"; - value: Uint8Array; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArrayAmino { - extra_bits_stored: number; - elems: Uint8Array; -} -export interface CompactBitArrayAminoMsg { - type: "cosmos-sdk/CompactBitArray"; - value: CompactBitArrayAmino; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArraySDKType { - extra_bits_stored: number; - elems: Uint8Array; -} -export declare const MultiSignature: { - encode(message: MultiSignature, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature; - fromJSON(object: any): MultiSignature; - toJSON(message: MultiSignature): unknown; - fromPartial(object: Partial): MultiSignature; - fromAmino(object: MultiSignatureAmino): MultiSignature; - toAmino(message: MultiSignature): MultiSignatureAmino; - fromAminoMsg(object: MultiSignatureAminoMsg): MultiSignature; - toAminoMsg(message: MultiSignature): MultiSignatureAminoMsg; - fromProtoMsg(message: MultiSignatureProtoMsg): MultiSignature; - toProto(message: MultiSignature): Uint8Array; - toProtoMsg(message: MultiSignature): MultiSignatureProtoMsg; -}; -export declare const CompactBitArray: { - encode(message: CompactBitArray, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray; - fromJSON(object: any): CompactBitArray; - toJSON(message: CompactBitArray): unknown; - fromPartial(object: Partial): CompactBitArray; - fromAmino(object: CompactBitArrayAmino): CompactBitArray; - toAmino(message: CompactBitArray): CompactBitArrayAmino; - fromAminoMsg(object: CompactBitArrayAminoMsg): CompactBitArray; - toAminoMsg(message: CompactBitArray): CompactBitArrayAminoMsg; - fromProtoMsg(message: CompactBitArrayProtoMsg): CompactBitArray; - toProto(message: CompactBitArray): Uint8Array; - toProtoMsg(message: CompactBitArray): CompactBitArrayProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crypto/secp256k1/keys.d.ts b/packages/api/types/codegen/cosmos/crypto/secp256k1/keys.d.ts deleted file mode 100644 index f7808e9c..00000000 --- a/packages/api/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKey { - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256k1.PubKey"; - value: Uint8Array; -} -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKeyAmino { - key: Uint8Array; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKey { - key: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256k1.PrivKey"; - value: Uint8Array; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKeyAmino { - key: Uint8Array; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKeySDKType { - key: Uint8Array; -} -export declare const PubKey: { - encode(message: PubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey; - fromJSON(object: any): PubKey; - toJSON(message: PubKey): unknown; - fromPartial(object: Partial): PubKey; - fromAmino(object: PubKeyAmino): PubKey; - toAmino(message: PubKey): PubKeyAmino; - fromAminoMsg(object: PubKeyAminoMsg): PubKey; - toAminoMsg(message: PubKey): PubKeyAminoMsg; - fromProtoMsg(message: PubKeyProtoMsg): PubKey; - toProto(message: PubKey): Uint8Array; - toProtoMsg(message: PubKey): PubKeyProtoMsg; -}; -export declare const PrivKey: { - encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey; - fromJSON(object: any): PrivKey; - toJSON(message: PrivKey): unknown; - fromPartial(object: Partial): PrivKey; - fromAmino(object: PrivKeyAmino): PrivKey; - toAmino(message: PrivKey): PrivKeyAmino; - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey; - toAminoMsg(message: PrivKey): PrivKeyAminoMsg; - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; - toProto(message: PrivKey): Uint8Array; - toProtoMsg(message: PrivKey): PrivKeyProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/crypto/secp256r1/keys.d.ts b/packages/api/types/codegen/cosmos/crypto/secp256r1/keys.d.ts deleted file mode 100644 index c6694689..00000000 --- a/packages/api/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKey { - /** - * Point on secp256r1 curve in a compressed representation as specified in section - * 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - */ - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256r1.PubKey"; - value: Uint8Array; -} -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKeyAmino { - /** - * Point on secp256r1 curve in a compressed representation as specified in section - * 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - */ - key: Uint8Array; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKey { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256r1.PrivKey"; - value: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKeyAmino { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKeySDKType { - secret: Uint8Array; -} -export declare const PubKey: { - encode(message: PubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey; - fromJSON(object: any): PubKey; - toJSON(message: PubKey): unknown; - fromPartial(object: Partial): PubKey; - fromAmino(object: PubKeyAmino): PubKey; - toAmino(message: PubKey): PubKeyAmino; - fromAminoMsg(object: PubKeyAminoMsg): PubKey; - toAminoMsg(message: PubKey): PubKeyAminoMsg; - fromProtoMsg(message: PubKeyProtoMsg): PubKey; - toProto(message: PubKey): Uint8Array; - toProtoMsg(message: PubKey): PubKeyProtoMsg; -}; -export declare const PrivKey: { - encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey; - fromJSON(object: any): PrivKey; - toJSON(message: PrivKey): unknown; - fromPartial(object: Partial): PrivKey; - fromAmino(object: PrivKeyAmino): PrivKey; - toAmino(message: PrivKey): PrivKeyAmino; - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey; - toAminoMsg(message: PrivKey): PrivKeyAminoMsg; - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; - toProto(message: PrivKey): Uint8Array; - toProtoMsg(message: PrivKey): PrivKeyProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts deleted file mode 100644 index f46d355a..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +++ /dev/null @@ -1,598 +0,0 @@ -import { DecCoin, DecCoinAmino, DecCoinSDKType, Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Params defines the set of params for the distribution module. */ -export interface Params { - communityTax: string; - baseProposerReward: string; - bonusProposerReward: string; - withdrawAddrEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the set of params for the distribution module. */ -export interface ParamsAmino { - community_tax: string; - base_proposer_reward: string; - bonus_proposer_reward: string; - withdraw_addr_enabled: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the set of params for the distribution module. */ -export interface ParamsSDKType { - community_tax: string; - base_proposer_reward: string; - bonus_proposer_reward: string; - withdraw_addr_enabled: boolean; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewards { - cumulativeRewardRatio: DecCoin[]; - referenceCount: number; -} -export interface ValidatorHistoricalRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards"; - value: Uint8Array; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewardsAmino { - cumulative_reward_ratio: DecCoinAmino[]; - reference_count: number; -} -export interface ValidatorHistoricalRewardsAminoMsg { - type: "cosmos-sdk/ValidatorHistoricalRewards"; - value: ValidatorHistoricalRewardsAmino; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewardsSDKType { - cumulative_reward_ratio: DecCoinSDKType[]; - reference_count: number; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewards { - rewards: DecCoin[]; - period: Long; -} -export interface ValidatorCurrentRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards"; - value: Uint8Array; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewardsAmino { - rewards: DecCoinAmino[]; - period: string; -} -export interface ValidatorCurrentRewardsAminoMsg { - type: "cosmos-sdk/ValidatorCurrentRewards"; - value: ValidatorCurrentRewardsAmino; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewardsSDKType { - rewards: DecCoinSDKType[]; - period: Long; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommission { - commission: DecCoin[]; -} -export interface ValidatorAccumulatedCommissionProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission"; - value: Uint8Array; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommissionAmino { - commission: DecCoinAmino[]; -} -export interface ValidatorAccumulatedCommissionAminoMsg { - type: "cosmos-sdk/ValidatorAccumulatedCommission"; - value: ValidatorAccumulatedCommissionAmino; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommissionSDKType { - commission: DecCoinSDKType[]; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewards { - rewards: DecCoin[]; -} -export interface ValidatorOutstandingRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards"; - value: Uint8Array; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewardsAmino { - rewards: DecCoinAmino[]; -} -export interface ValidatorOutstandingRewardsAminoMsg { - type: "cosmos-sdk/ValidatorOutstandingRewards"; - value: ValidatorOutstandingRewardsAmino; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewardsSDKType { - rewards: DecCoinSDKType[]; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEvent { - validatorPeriod: Long; - fraction: string; -} -export interface ValidatorSlashEventProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent"; - value: Uint8Array; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEventAmino { - validator_period: string; - fraction: string; -} -export interface ValidatorSlashEventAminoMsg { - type: "cosmos-sdk/ValidatorSlashEvent"; - value: ValidatorSlashEventAmino; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEventSDKType { - validator_period: Long; - fraction: string; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEvents { - validatorSlashEvents: ValidatorSlashEvent[]; -} -export interface ValidatorSlashEventsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents"; - value: Uint8Array; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEventsAmino { - validator_slash_events: ValidatorSlashEventAmino[]; -} -export interface ValidatorSlashEventsAminoMsg { - type: "cosmos-sdk/ValidatorSlashEvents"; - value: ValidatorSlashEventsAmino; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEventsSDKType { - validator_slash_events: ValidatorSlashEventSDKType[]; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePool { - communityPool: DecCoin[]; -} -export interface FeePoolProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.FeePool"; - value: Uint8Array; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePoolAmino { - community_pool: DecCoinAmino[]; -} -export interface FeePoolAminoMsg { - type: "cosmos-sdk/FeePool"; - value: FeePoolAmino; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePoolSDKType { - community_pool: DecCoinSDKType[]; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposal { - $typeUrl?: string; - title: string; - description: string; - recipient: string; - amount: Coin[]; -} -export interface CommunityPoolSpendProposalProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal"; - value: Uint8Array; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposalAmino { - title: string; - description: string; - recipient: string; - amount: CoinAmino[]; -} -export interface CommunityPoolSpendProposalAminoMsg { - type: "cosmos-sdk/CommunityPoolSpendProposal"; - value: CommunityPoolSpendProposalAmino; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposalSDKType { - $typeUrl?: string; - title: string; - description: string; - recipient: string; - amount: CoinSDKType[]; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfo { - previousPeriod: Long; - stake: string; - height: Long; -} -export interface DelegatorStartingInfoProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo"; - value: Uint8Array; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfoAmino { - previous_period: string; - stake: string; - height: string; -} -export interface DelegatorStartingInfoAminoMsg { - type: "cosmos-sdk/DelegatorStartingInfo"; - value: DelegatorStartingInfoAmino; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfoSDKType { - previous_period: Long; - stake: string; - height: Long; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorReward { - validatorAddress: string; - reward: DecCoin[]; -} -export interface DelegationDelegatorRewardProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward"; - value: Uint8Array; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorRewardAmino { - validator_address: string; - reward: DecCoinAmino[]; -} -export interface DelegationDelegatorRewardAminoMsg { - type: "cosmos-sdk/DelegationDelegatorReward"; - value: DelegationDelegatorRewardAmino; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorRewardSDKType { - validator_address: string; - reward: DecCoinSDKType[]; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDeposit { - $typeUrl?: string; - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -export interface CommunityPoolSpendProposalWithDepositProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit"; - value: Uint8Array; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDepositAmino { - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -export interface CommunityPoolSpendProposalWithDepositAminoMsg { - type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit"; - value: CommunityPoolSpendProposalWithDepositAmino; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDepositSDKType { - $typeUrl?: string; - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const ValidatorHistoricalRewards: { - encode(message: ValidatorHistoricalRewards, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards; - fromJSON(object: any): ValidatorHistoricalRewards; - toJSON(message: ValidatorHistoricalRewards): unknown; - fromPartial(object: Partial): ValidatorHistoricalRewards; - fromAmino(object: ValidatorHistoricalRewardsAmino): ValidatorHistoricalRewards; - toAmino(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAmino; - fromAminoMsg(object: ValidatorHistoricalRewardsAminoMsg): ValidatorHistoricalRewards; - toAminoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAminoMsg; - fromProtoMsg(message: ValidatorHistoricalRewardsProtoMsg): ValidatorHistoricalRewards; - toProto(message: ValidatorHistoricalRewards): Uint8Array; - toProtoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsProtoMsg; -}; -export declare const ValidatorCurrentRewards: { - encode(message: ValidatorCurrentRewards, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards; - fromJSON(object: any): ValidatorCurrentRewards; - toJSON(message: ValidatorCurrentRewards): unknown; - fromPartial(object: Partial): ValidatorCurrentRewards; - fromAmino(object: ValidatorCurrentRewardsAmino): ValidatorCurrentRewards; - toAmino(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAmino; - fromAminoMsg(object: ValidatorCurrentRewardsAminoMsg): ValidatorCurrentRewards; - toAminoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAminoMsg; - fromProtoMsg(message: ValidatorCurrentRewardsProtoMsg): ValidatorCurrentRewards; - toProto(message: ValidatorCurrentRewards): Uint8Array; - toProtoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsProtoMsg; -}; -export declare const ValidatorAccumulatedCommission: { - encode(message: ValidatorAccumulatedCommission, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission; - fromJSON(object: any): ValidatorAccumulatedCommission; - toJSON(message: ValidatorAccumulatedCommission): unknown; - fromPartial(object: Partial): ValidatorAccumulatedCommission; - fromAmino(object: ValidatorAccumulatedCommissionAmino): ValidatorAccumulatedCommission; - toAmino(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAmino; - fromAminoMsg(object: ValidatorAccumulatedCommissionAminoMsg): ValidatorAccumulatedCommission; - toAminoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAminoMsg; - fromProtoMsg(message: ValidatorAccumulatedCommissionProtoMsg): ValidatorAccumulatedCommission; - toProto(message: ValidatorAccumulatedCommission): Uint8Array; - toProtoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionProtoMsg; -}; -export declare const ValidatorOutstandingRewards: { - encode(message: ValidatorOutstandingRewards, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards; - fromJSON(object: any): ValidatorOutstandingRewards; - toJSON(message: ValidatorOutstandingRewards): unknown; - fromPartial(object: Partial): ValidatorOutstandingRewards; - fromAmino(object: ValidatorOutstandingRewardsAmino): ValidatorOutstandingRewards; - toAmino(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAmino; - fromAminoMsg(object: ValidatorOutstandingRewardsAminoMsg): ValidatorOutstandingRewards; - toAminoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAminoMsg; - fromProtoMsg(message: ValidatorOutstandingRewardsProtoMsg): ValidatorOutstandingRewards; - toProto(message: ValidatorOutstandingRewards): Uint8Array; - toProtoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsProtoMsg; -}; -export declare const ValidatorSlashEvent: { - encode(message: ValidatorSlashEvent, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent; - fromJSON(object: any): ValidatorSlashEvent; - toJSON(message: ValidatorSlashEvent): unknown; - fromPartial(object: Partial): ValidatorSlashEvent; - fromAmino(object: ValidatorSlashEventAmino): ValidatorSlashEvent; - toAmino(message: ValidatorSlashEvent): ValidatorSlashEventAmino; - fromAminoMsg(object: ValidatorSlashEventAminoMsg): ValidatorSlashEvent; - toAminoMsg(message: ValidatorSlashEvent): ValidatorSlashEventAminoMsg; - fromProtoMsg(message: ValidatorSlashEventProtoMsg): ValidatorSlashEvent; - toProto(message: ValidatorSlashEvent): Uint8Array; - toProtoMsg(message: ValidatorSlashEvent): ValidatorSlashEventProtoMsg; -}; -export declare const ValidatorSlashEvents: { - encode(message: ValidatorSlashEvents, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents; - fromJSON(object: any): ValidatorSlashEvents; - toJSON(message: ValidatorSlashEvents): unknown; - fromPartial(object: Partial): ValidatorSlashEvents; - fromAmino(object: ValidatorSlashEventsAmino): ValidatorSlashEvents; - toAmino(message: ValidatorSlashEvents): ValidatorSlashEventsAmino; - fromAminoMsg(object: ValidatorSlashEventsAminoMsg): ValidatorSlashEvents; - toAminoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsAminoMsg; - fromProtoMsg(message: ValidatorSlashEventsProtoMsg): ValidatorSlashEvents; - toProto(message: ValidatorSlashEvents): Uint8Array; - toProtoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsProtoMsg; -}; -export declare const FeePool: { - encode(message: FeePool, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FeePool; - fromJSON(object: any): FeePool; - toJSON(message: FeePool): unknown; - fromPartial(object: Partial): FeePool; - fromAmino(object: FeePoolAmino): FeePool; - toAmino(message: FeePool): FeePoolAmino; - fromAminoMsg(object: FeePoolAminoMsg): FeePool; - toAminoMsg(message: FeePool): FeePoolAminoMsg; - fromProtoMsg(message: FeePoolProtoMsg): FeePool; - toProto(message: FeePool): Uint8Array; - toProtoMsg(message: FeePool): FeePoolProtoMsg; -}; -export declare const CommunityPoolSpendProposal: { - encode(message: CommunityPoolSpendProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal; - fromJSON(object: any): CommunityPoolSpendProposal; - toJSON(message: CommunityPoolSpendProposal): unknown; - fromPartial(object: Partial): CommunityPoolSpendProposal; - fromAmino(object: CommunityPoolSpendProposalAmino): CommunityPoolSpendProposal; - toAmino(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAmino; - fromAminoMsg(object: CommunityPoolSpendProposalAminoMsg): CommunityPoolSpendProposal; - toAminoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAminoMsg; - fromProtoMsg(message: CommunityPoolSpendProposalProtoMsg): CommunityPoolSpendProposal; - toProto(message: CommunityPoolSpendProposal): Uint8Array; - toProtoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalProtoMsg; -}; -export declare const DelegatorStartingInfo: { - encode(message: DelegatorStartingInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo; - fromJSON(object: any): DelegatorStartingInfo; - toJSON(message: DelegatorStartingInfo): unknown; - fromPartial(object: Partial): DelegatorStartingInfo; - fromAmino(object: DelegatorStartingInfoAmino): DelegatorStartingInfo; - toAmino(message: DelegatorStartingInfo): DelegatorStartingInfoAmino; - fromAminoMsg(object: DelegatorStartingInfoAminoMsg): DelegatorStartingInfo; - toAminoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoAminoMsg; - fromProtoMsg(message: DelegatorStartingInfoProtoMsg): DelegatorStartingInfo; - toProto(message: DelegatorStartingInfo): Uint8Array; - toProtoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoProtoMsg; -}; -export declare const DelegationDelegatorReward: { - encode(message: DelegationDelegatorReward, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward; - fromJSON(object: any): DelegationDelegatorReward; - toJSON(message: DelegationDelegatorReward): unknown; - fromPartial(object: Partial): DelegationDelegatorReward; - fromAmino(object: DelegationDelegatorRewardAmino): DelegationDelegatorReward; - toAmino(message: DelegationDelegatorReward): DelegationDelegatorRewardAmino; - fromAminoMsg(object: DelegationDelegatorRewardAminoMsg): DelegationDelegatorReward; - toAminoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardAminoMsg; - fromProtoMsg(message: DelegationDelegatorRewardProtoMsg): DelegationDelegatorReward; - toProto(message: DelegationDelegatorReward): Uint8Array; - toProtoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardProtoMsg; -}; -export declare const CommunityPoolSpendProposalWithDeposit: { - encode(message: CommunityPoolSpendProposalWithDeposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit; - fromJSON(object: any): CommunityPoolSpendProposalWithDeposit; - toJSON(message: CommunityPoolSpendProposalWithDeposit): unknown; - fromPartial(object: Partial): CommunityPoolSpendProposalWithDeposit; - fromAmino(object: CommunityPoolSpendProposalWithDepositAmino): CommunityPoolSpendProposalWithDeposit; - toAmino(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAmino; - fromAminoMsg(object: CommunityPoolSpendProposalWithDepositAminoMsg): CommunityPoolSpendProposalWithDeposit; - toAminoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAminoMsg; - fromProtoMsg(message: CommunityPoolSpendProposalWithDepositProtoMsg): CommunityPoolSpendProposalWithDeposit; - toProto(message: CommunityPoolSpendProposalWithDeposit): Uint8Array; - toProtoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts deleted file mode 100644 index 39e36b4f..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +++ /dev/null @@ -1,422 +0,0 @@ -import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsAmino, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsAmino, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoAmino, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, Params, ParamsAmino, ParamsSDKType, FeePool, FeePoolAmino, FeePoolSDKType } from "./distribution"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfo { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** withdraw_address is the address to withdraw the delegation rewards to. */ - withdrawAddress: string; -} -export interface DelegatorWithdrawInfoProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorWithdrawInfo"; - value: Uint8Array; -} -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfoAmino { - /** delegator_address is the address of the delegator. */ - delegator_address: string; - /** withdraw_address is the address to withdraw the delegation rewards to. */ - withdraw_address: string; -} -export interface DelegatorWithdrawInfoAminoMsg { - type: "cosmos-sdk/DelegatorWithdrawInfo"; - value: DelegatorWithdrawInfoAmino; -} -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfoSDKType { - delegator_address: string; - withdraw_address: string; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - outstandingRewards: DecCoin[]; -} -export interface ValidatorOutstandingRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord"; - value: Uint8Array; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - outstanding_rewards: DecCoinAmino[]; -} -export interface ValidatorOutstandingRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorOutstandingRewardsRecord"; - value: ValidatorOutstandingRewardsRecordAmino; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecordSDKType { - validator_address: string; - outstanding_rewards: DecCoinSDKType[]; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** accumulated is the accumulated commission of a validator. */ - accumulated: ValidatorAccumulatedCommission; -} -export interface ValidatorAccumulatedCommissionRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord"; - value: Uint8Array; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** accumulated is the accumulated commission of a validator. */ - accumulated?: ValidatorAccumulatedCommissionAmino; -} -export interface ValidatorAccumulatedCommissionRecordAminoMsg { - type: "cosmos-sdk/ValidatorAccumulatedCommissionRecord"; - value: ValidatorAccumulatedCommissionRecordAmino; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecordSDKType { - validator_address: string; - accumulated: ValidatorAccumulatedCommissionSDKType; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** period defines the period the historical rewards apply to. */ - period: Long; - /** rewards defines the historical rewards of a validator. */ - rewards: ValidatorHistoricalRewards; -} -export interface ValidatorHistoricalRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord"; - value: Uint8Array; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** period defines the period the historical rewards apply to. */ - period: string; - /** rewards defines the historical rewards of a validator. */ - rewards?: ValidatorHistoricalRewardsAmino; -} -export interface ValidatorHistoricalRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorHistoricalRewardsRecord"; - value: ValidatorHistoricalRewardsRecordAmino; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecordSDKType { - validator_address: string; - period: Long; - rewards: ValidatorHistoricalRewardsSDKType; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** rewards defines the current rewards of a validator. */ - rewards: ValidatorCurrentRewards; -} -export interface ValidatorCurrentRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord"; - value: Uint8Array; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** rewards defines the current rewards of a validator. */ - rewards?: ValidatorCurrentRewardsAmino; -} -export interface ValidatorCurrentRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorCurrentRewardsRecord"; - value: ValidatorCurrentRewardsRecordAmino; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecordSDKType { - validator_address: string; - rewards: ValidatorCurrentRewardsSDKType; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecord { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** starting_info defines the starting info of a delegator. */ - startingInfo: DelegatorStartingInfo; -} -export interface DelegatorStartingInfoRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfoRecord"; - value: Uint8Array; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecordAmino { - /** delegator_address is the address of the delegator. */ - delegator_address: string; - /** validator_address is the address of the validator. */ - validator_address: string; - /** starting_info defines the starting info of a delegator. */ - starting_info?: DelegatorStartingInfoAmino; -} -export interface DelegatorStartingInfoRecordAminoMsg { - type: "cosmos-sdk/DelegatorStartingInfoRecord"; - value: DelegatorStartingInfoRecordAmino; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecordSDKType { - delegator_address: string; - validator_address: string; - starting_info: DelegatorStartingInfoSDKType; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** height defines the block height at which the slash event occured. */ - height: Long; - /** period is the period of the slash event. */ - period: Long; - /** validator_slash_event describes the slash event. */ - validatorSlashEvent: ValidatorSlashEvent; -} -export interface ValidatorSlashEventRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEventRecord"; - value: Uint8Array; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** height defines the block height at which the slash event occured. */ - height: string; - /** period is the period of the slash event. */ - period: string; - /** validator_slash_event describes the slash event. */ - validator_slash_event?: ValidatorSlashEventAmino; -} -export interface ValidatorSlashEventRecordAminoMsg { - type: "cosmos-sdk/ValidatorSlashEventRecord"; - value: ValidatorSlashEventRecordAmino; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecordSDKType { - validator_address: string; - height: Long; - period: Long; - validator_slash_event: ValidatorSlashEventSDKType; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params; - /** fee_pool defines the fee pool at genesis. */ - feePool: FeePool; - /** fee_pool defines the delegator withdraw infos at genesis. */ - delegatorWithdrawInfos: DelegatorWithdrawInfo[]; - /** fee_pool defines the previous proposer at genesis. */ - previousProposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstandingRewards: ValidatorOutstandingRewardsRecord[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; - /** fee_pool defines the delegator starting infos at genesis. */ - delegatorStartingInfos: DelegatorStartingInfoRecord[]; - /** fee_pool defines the validator slash events at genesis. */ - validatorSlashEvents: ValidatorSlashEventRecord[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; - /** fee_pool defines the fee pool at genesis. */ - fee_pool?: FeePoolAmino; - /** fee_pool defines the delegator withdraw infos at genesis. */ - delegator_withdraw_infos: DelegatorWithdrawInfoAmino[]; - /** fee_pool defines the previous proposer at genesis. */ - previous_proposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstanding_rewards: ValidatorOutstandingRewardsRecordAmino[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordAmino[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - validator_historical_rewards: ValidatorHistoricalRewardsRecordAmino[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - validator_current_rewards: ValidatorCurrentRewardsRecordAmino[]; - /** fee_pool defines the delegator starting infos at genesis. */ - delegator_starting_infos: DelegatorStartingInfoRecordAmino[]; - /** fee_pool defines the validator slash events at genesis. */ - validator_slash_events: ValidatorSlashEventRecordAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - fee_pool: FeePoolSDKType; - delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; - previous_proposer: string; - outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; - validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; - validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; - delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; - validator_slash_events: ValidatorSlashEventRecordSDKType[]; -} -export declare const DelegatorWithdrawInfo: { - encode(message: DelegatorWithdrawInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo; - fromJSON(object: any): DelegatorWithdrawInfo; - toJSON(message: DelegatorWithdrawInfo): unknown; - fromPartial(object: Partial): DelegatorWithdrawInfo; - fromAmino(object: DelegatorWithdrawInfoAmino): DelegatorWithdrawInfo; - toAmino(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoAmino; - fromAminoMsg(object: DelegatorWithdrawInfoAminoMsg): DelegatorWithdrawInfo; - toAminoMsg(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoAminoMsg; - fromProtoMsg(message: DelegatorWithdrawInfoProtoMsg): DelegatorWithdrawInfo; - toProto(message: DelegatorWithdrawInfo): Uint8Array; - toProtoMsg(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoProtoMsg; -}; -export declare const ValidatorOutstandingRewardsRecord: { - encode(message: ValidatorOutstandingRewardsRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord; - fromJSON(object: any): ValidatorOutstandingRewardsRecord; - toJSON(message: ValidatorOutstandingRewardsRecord): unknown; - fromPartial(object: Partial): ValidatorOutstandingRewardsRecord; - fromAmino(object: ValidatorOutstandingRewardsRecordAmino): ValidatorOutstandingRewardsRecord; - toAmino(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordAmino; - fromAminoMsg(object: ValidatorOutstandingRewardsRecordAminoMsg): ValidatorOutstandingRewardsRecord; - toAminoMsg(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordAminoMsg; - fromProtoMsg(message: ValidatorOutstandingRewardsRecordProtoMsg): ValidatorOutstandingRewardsRecord; - toProto(message: ValidatorOutstandingRewardsRecord): Uint8Array; - toProtoMsg(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordProtoMsg; -}; -export declare const ValidatorAccumulatedCommissionRecord: { - encode(message: ValidatorAccumulatedCommissionRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord; - fromJSON(object: any): ValidatorAccumulatedCommissionRecord; - toJSON(message: ValidatorAccumulatedCommissionRecord): unknown; - fromPartial(object: Partial): ValidatorAccumulatedCommissionRecord; - fromAmino(object: ValidatorAccumulatedCommissionRecordAmino): ValidatorAccumulatedCommissionRecord; - toAmino(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordAmino; - fromAminoMsg(object: ValidatorAccumulatedCommissionRecordAminoMsg): ValidatorAccumulatedCommissionRecord; - toAminoMsg(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordAminoMsg; - fromProtoMsg(message: ValidatorAccumulatedCommissionRecordProtoMsg): ValidatorAccumulatedCommissionRecord; - toProto(message: ValidatorAccumulatedCommissionRecord): Uint8Array; - toProtoMsg(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordProtoMsg; -}; -export declare const ValidatorHistoricalRewardsRecord: { - encode(message: ValidatorHistoricalRewardsRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord; - fromJSON(object: any): ValidatorHistoricalRewardsRecord; - toJSON(message: ValidatorHistoricalRewardsRecord): unknown; - fromPartial(object: Partial): ValidatorHistoricalRewardsRecord; - fromAmino(object: ValidatorHistoricalRewardsRecordAmino): ValidatorHistoricalRewardsRecord; - toAmino(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordAmino; - fromAminoMsg(object: ValidatorHistoricalRewardsRecordAminoMsg): ValidatorHistoricalRewardsRecord; - toAminoMsg(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordAminoMsg; - fromProtoMsg(message: ValidatorHistoricalRewardsRecordProtoMsg): ValidatorHistoricalRewardsRecord; - toProto(message: ValidatorHistoricalRewardsRecord): Uint8Array; - toProtoMsg(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordProtoMsg; -}; -export declare const ValidatorCurrentRewardsRecord: { - encode(message: ValidatorCurrentRewardsRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord; - fromJSON(object: any): ValidatorCurrentRewardsRecord; - toJSON(message: ValidatorCurrentRewardsRecord): unknown; - fromPartial(object: Partial): ValidatorCurrentRewardsRecord; - fromAmino(object: ValidatorCurrentRewardsRecordAmino): ValidatorCurrentRewardsRecord; - toAmino(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordAmino; - fromAminoMsg(object: ValidatorCurrentRewardsRecordAminoMsg): ValidatorCurrentRewardsRecord; - toAminoMsg(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordAminoMsg; - fromProtoMsg(message: ValidatorCurrentRewardsRecordProtoMsg): ValidatorCurrentRewardsRecord; - toProto(message: ValidatorCurrentRewardsRecord): Uint8Array; - toProtoMsg(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordProtoMsg; -}; -export declare const DelegatorStartingInfoRecord: { - encode(message: DelegatorStartingInfoRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord; - fromJSON(object: any): DelegatorStartingInfoRecord; - toJSON(message: DelegatorStartingInfoRecord): unknown; - fromPartial(object: Partial): DelegatorStartingInfoRecord; - fromAmino(object: DelegatorStartingInfoRecordAmino): DelegatorStartingInfoRecord; - toAmino(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordAmino; - fromAminoMsg(object: DelegatorStartingInfoRecordAminoMsg): DelegatorStartingInfoRecord; - toAminoMsg(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordAminoMsg; - fromProtoMsg(message: DelegatorStartingInfoRecordProtoMsg): DelegatorStartingInfoRecord; - toProto(message: DelegatorStartingInfoRecord): Uint8Array; - toProtoMsg(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordProtoMsg; -}; -export declare const ValidatorSlashEventRecord: { - encode(message: ValidatorSlashEventRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord; - fromJSON(object: any): ValidatorSlashEventRecord; - toJSON(message: ValidatorSlashEventRecord): unknown; - fromPartial(object: Partial): ValidatorSlashEventRecord; - fromAmino(object: ValidatorSlashEventRecordAmino): ValidatorSlashEventRecord; - toAmino(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordAmino; - fromAminoMsg(object: ValidatorSlashEventRecordAminoMsg): ValidatorSlashEventRecord; - toAminoMsg(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordAminoMsg; - fromProtoMsg(message: ValidatorSlashEventRecordProtoMsg): ValidatorSlashEventRecord; - toProto(message: ValidatorSlashEventRecord): Uint8Array; - toProtoMsg(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordProtoMsg; -}; -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/query.d.ts deleted file mode 100644 index 646f6235..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/query.d.ts +++ /dev/null @@ -1,815 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsAmino, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardAmino, DelegationDelegatorRewardSDKType } from "./distribution"; -import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryValidatorOutstandingRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address: string; -} -export interface QueryValidatorOutstandingRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest"; - value: QueryValidatorOutstandingRewardsRequestAmino; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponse { - rewards: ValidatorOutstandingRewards; -} -export interface QueryValidatorOutstandingRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponseAmino { - rewards?: ValidatorOutstandingRewardsAmino; -} -export interface QueryValidatorOutstandingRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse"; - value: QueryValidatorOutstandingRewardsResponseAmino; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards: ValidatorOutstandingRewardsSDKType; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryValidatorCommissionRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest"; - value: Uint8Array; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address: string; -} -export interface QueryValidatorCommissionRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorCommissionRequest"; - value: QueryValidatorCommissionRequestAmino; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponse { - /** commission defines the commision the validator received. */ - commission: ValidatorAccumulatedCommission; -} -export interface QueryValidatorCommissionResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse"; - value: Uint8Array; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponseAmino { - /** commission defines the commision the validator received. */ - commission?: ValidatorAccumulatedCommissionAmino; -} -export interface QueryValidatorCommissionResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorCommissionResponse"; - value: QueryValidatorCommissionResponseAmino; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponseSDKType { - commission: ValidatorAccumulatedCommissionSDKType; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; - /** starting_height defines the optional starting height to query the slashes. */ - startingHeight: Long; - /** starting_height defines the optional ending height to query the slashes. */ - endingHeight: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorSlashesRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest"; - value: Uint8Array; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address: string; - /** starting_height defines the optional starting height to query the slashes. */ - starting_height: string; - /** starting_height defines the optional ending height to query the slashes. */ - ending_height: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorSlashesRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorSlashesRequest"; - value: QueryValidatorSlashesRequestAmino; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequestSDKType { - validator_address: string; - starting_height: Long; - ending_height: Long; - pagination: PageRequestSDKType; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponse { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEvent[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorSlashesResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse"; - value: Uint8Array; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponseAmino { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEventAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorSlashesResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorSlashesResponse"; - value: QueryValidatorSlashesResponseAmino; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponseSDKType { - slashes: ValidatorSlashEventSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryDelegationRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest"; - value: Uint8Array; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; - /** validator_address defines the validator address to query for. */ - validator_address: string; -} -export interface QueryDelegationRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationRewardsRequest"; - value: QueryDelegationRewardsRequestAmino; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequestSDKType { - delegator_address: string; - validator_address: string; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponse { - /** rewards defines the rewards accrued by a delegation. */ - rewards: DecCoin[]; -} -export interface QueryDelegationRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse"; - value: Uint8Array; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponseAmino { - /** rewards defines the rewards accrued by a delegation. */ - rewards: DecCoinAmino[]; -} -export interface QueryDelegationRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationRewardsResponse"; - value: QueryDelegationRewardsResponseAmino; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponseSDKType { - rewards: DecCoinSDKType[]; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegationTotalRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest"; - value: Uint8Array; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; -} -export interface QueryDelegationTotalRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationTotalRewardsRequest"; - value: QueryDelegationTotalRewardsRequestAmino; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponse { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorReward[]; - /** total defines the sum of all the rewards. */ - total: DecCoin[]; -} -export interface QueryDelegationTotalRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse"; - value: Uint8Array; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponseAmino { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorRewardAmino[]; - /** total defines the sum of all the rewards. */ - total: DecCoinAmino[]; -} -export interface QueryDelegationTotalRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationTotalRewardsResponse"; - value: QueryDelegationTotalRewardsResponseAmino; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponseSDKType { - rewards: DelegationDelegatorRewardSDKType[]; - total: DecCoinSDKType[]; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegatorValidatorsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; -} -export interface QueryDelegatorValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest"; - value: QueryDelegatorValidatorsRequestAmino; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the validators a delegator is delegating for. */ - validators: string[]; -} -export interface QueryDelegatorValidatorsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseAmino { - /** validators defines the validators a delegator is delegating for. */ - validators: string[]; -} -export interface QueryDelegatorValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse"; - value: QueryDelegatorValidatorsResponseAmino; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: string[]; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegatorWithdrawAddressRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; -} -export interface QueryDelegatorWithdrawAddressRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest"; - value: QueryDelegatorWithdrawAddressRequestAmino; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponse { - /** withdraw_address defines the delegator address to query for. */ - withdrawAddress: string; -} -export interface QueryDelegatorWithdrawAddressResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponseAmino { - /** withdraw_address defines the delegator address to query for. */ - withdraw_address: string; -} -export interface QueryDelegatorWithdrawAddressResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse"; - value: QueryDelegatorWithdrawAddressResponseAmino; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponseSDKType { - withdraw_address: string; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequest { -} -export interface QueryCommunityPoolRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest"; - value: Uint8Array; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequestAmino { -} -export interface QueryCommunityPoolRequestAminoMsg { - type: "cosmos-sdk/QueryCommunityPoolRequest"; - value: QueryCommunityPoolRequestAmino; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequestSDKType { -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponse { - /** pool defines community pool's coins. */ - pool: DecCoin[]; -} -export interface QueryCommunityPoolResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse"; - value: Uint8Array; -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponseAmino { - /** pool defines community pool's coins. */ - pool: DecCoinAmino[]; -} -export interface QueryCommunityPoolResponseAminoMsg { - type: "cosmos-sdk/QueryCommunityPoolResponse"; - value: QueryCommunityPoolResponseAmino; -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponseSDKType { - pool: DecCoinSDKType[]; -} -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryValidatorOutstandingRewardsRequest: { - encode(message: QueryValidatorOutstandingRewardsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest; - fromJSON(object: any): QueryValidatorOutstandingRewardsRequest; - toJSON(message: QueryValidatorOutstandingRewardsRequest): unknown; - fromPartial(object: Partial): QueryValidatorOutstandingRewardsRequest; - fromAmino(object: QueryValidatorOutstandingRewardsRequestAmino): QueryValidatorOutstandingRewardsRequest; - toAmino(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestAmino; - fromAminoMsg(object: QueryValidatorOutstandingRewardsRequestAminoMsg): QueryValidatorOutstandingRewardsRequest; - toAminoMsg(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorOutstandingRewardsRequestProtoMsg): QueryValidatorOutstandingRewardsRequest; - toProto(message: QueryValidatorOutstandingRewardsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestProtoMsg; -}; -export declare const QueryValidatorOutstandingRewardsResponse: { - encode(message: QueryValidatorOutstandingRewardsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse; - fromJSON(object: any): QueryValidatorOutstandingRewardsResponse; - toJSON(message: QueryValidatorOutstandingRewardsResponse): unknown; - fromPartial(object: Partial): QueryValidatorOutstandingRewardsResponse; - fromAmino(object: QueryValidatorOutstandingRewardsResponseAmino): QueryValidatorOutstandingRewardsResponse; - toAmino(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseAmino; - fromAminoMsg(object: QueryValidatorOutstandingRewardsResponseAminoMsg): QueryValidatorOutstandingRewardsResponse; - toAminoMsg(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorOutstandingRewardsResponseProtoMsg): QueryValidatorOutstandingRewardsResponse; - toProto(message: QueryValidatorOutstandingRewardsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseProtoMsg; -}; -export declare const QueryValidatorCommissionRequest: { - encode(message: QueryValidatorCommissionRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest; - fromJSON(object: any): QueryValidatorCommissionRequest; - toJSON(message: QueryValidatorCommissionRequest): unknown; - fromPartial(object: Partial): QueryValidatorCommissionRequest; - fromAmino(object: QueryValidatorCommissionRequestAmino): QueryValidatorCommissionRequest; - toAmino(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestAmino; - fromAminoMsg(object: QueryValidatorCommissionRequestAminoMsg): QueryValidatorCommissionRequest; - toAminoMsg(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestAminoMsg; - fromProtoMsg(message: QueryValidatorCommissionRequestProtoMsg): QueryValidatorCommissionRequest; - toProto(message: QueryValidatorCommissionRequest): Uint8Array; - toProtoMsg(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestProtoMsg; -}; -export declare const QueryValidatorCommissionResponse: { - encode(message: QueryValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse; - fromJSON(object: any): QueryValidatorCommissionResponse; - toJSON(message: QueryValidatorCommissionResponse): unknown; - fromPartial(object: Partial): QueryValidatorCommissionResponse; - fromAmino(object: QueryValidatorCommissionResponseAmino): QueryValidatorCommissionResponse; - toAmino(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseAmino; - fromAminoMsg(object: QueryValidatorCommissionResponseAminoMsg): QueryValidatorCommissionResponse; - toAminoMsg(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: QueryValidatorCommissionResponseProtoMsg): QueryValidatorCommissionResponse; - toProto(message: QueryValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseProtoMsg; -}; -export declare const QueryValidatorSlashesRequest: { - encode(message: QueryValidatorSlashesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest; - fromJSON(object: any): QueryValidatorSlashesRequest; - toJSON(message: QueryValidatorSlashesRequest): unknown; - fromPartial(object: Partial): QueryValidatorSlashesRequest; - fromAmino(object: QueryValidatorSlashesRequestAmino): QueryValidatorSlashesRequest; - toAmino(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestAmino; - fromAminoMsg(object: QueryValidatorSlashesRequestAminoMsg): QueryValidatorSlashesRequest; - toAminoMsg(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestAminoMsg; - fromProtoMsg(message: QueryValidatorSlashesRequestProtoMsg): QueryValidatorSlashesRequest; - toProto(message: QueryValidatorSlashesRequest): Uint8Array; - toProtoMsg(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestProtoMsg; -}; -export declare const QueryValidatorSlashesResponse: { - encode(message: QueryValidatorSlashesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse; - fromJSON(object: any): QueryValidatorSlashesResponse; - toJSON(message: QueryValidatorSlashesResponse): unknown; - fromPartial(object: Partial): QueryValidatorSlashesResponse; - fromAmino(object: QueryValidatorSlashesResponseAmino): QueryValidatorSlashesResponse; - toAmino(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseAmino; - fromAminoMsg(object: QueryValidatorSlashesResponseAminoMsg): QueryValidatorSlashesResponse; - toAminoMsg(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseAminoMsg; - fromProtoMsg(message: QueryValidatorSlashesResponseProtoMsg): QueryValidatorSlashesResponse; - toProto(message: QueryValidatorSlashesResponse): Uint8Array; - toProtoMsg(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseProtoMsg; -}; -export declare const QueryDelegationRewardsRequest: { - encode(message: QueryDelegationRewardsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest; - fromJSON(object: any): QueryDelegationRewardsRequest; - toJSON(message: QueryDelegationRewardsRequest): unknown; - fromPartial(object: Partial): QueryDelegationRewardsRequest; - fromAmino(object: QueryDelegationRewardsRequestAmino): QueryDelegationRewardsRequest; - toAmino(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestAmino; - fromAminoMsg(object: QueryDelegationRewardsRequestAminoMsg): QueryDelegationRewardsRequest; - toAminoMsg(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestAminoMsg; - fromProtoMsg(message: QueryDelegationRewardsRequestProtoMsg): QueryDelegationRewardsRequest; - toProto(message: QueryDelegationRewardsRequest): Uint8Array; - toProtoMsg(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestProtoMsg; -}; -export declare const QueryDelegationRewardsResponse: { - encode(message: QueryDelegationRewardsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse; - fromJSON(object: any): QueryDelegationRewardsResponse; - toJSON(message: QueryDelegationRewardsResponse): unknown; - fromPartial(object: Partial): QueryDelegationRewardsResponse; - fromAmino(object: QueryDelegationRewardsResponseAmino): QueryDelegationRewardsResponse; - toAmino(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseAmino; - fromAminoMsg(object: QueryDelegationRewardsResponseAminoMsg): QueryDelegationRewardsResponse; - toAminoMsg(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseAminoMsg; - fromProtoMsg(message: QueryDelegationRewardsResponseProtoMsg): QueryDelegationRewardsResponse; - toProto(message: QueryDelegationRewardsResponse): Uint8Array; - toProtoMsg(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseProtoMsg; -}; -export declare const QueryDelegationTotalRewardsRequest: { - encode(message: QueryDelegationTotalRewardsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest; - fromJSON(object: any): QueryDelegationTotalRewardsRequest; - toJSON(message: QueryDelegationTotalRewardsRequest): unknown; - fromPartial(object: Partial): QueryDelegationTotalRewardsRequest; - fromAmino(object: QueryDelegationTotalRewardsRequestAmino): QueryDelegationTotalRewardsRequest; - toAmino(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestAmino; - fromAminoMsg(object: QueryDelegationTotalRewardsRequestAminoMsg): QueryDelegationTotalRewardsRequest; - toAminoMsg(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestAminoMsg; - fromProtoMsg(message: QueryDelegationTotalRewardsRequestProtoMsg): QueryDelegationTotalRewardsRequest; - toProto(message: QueryDelegationTotalRewardsRequest): Uint8Array; - toProtoMsg(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestProtoMsg; -}; -export declare const QueryDelegationTotalRewardsResponse: { - encode(message: QueryDelegationTotalRewardsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse; - fromJSON(object: any): QueryDelegationTotalRewardsResponse; - toJSON(message: QueryDelegationTotalRewardsResponse): unknown; - fromPartial(object: Partial): QueryDelegationTotalRewardsResponse; - fromAmino(object: QueryDelegationTotalRewardsResponseAmino): QueryDelegationTotalRewardsResponse; - toAmino(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseAmino; - fromAminoMsg(object: QueryDelegationTotalRewardsResponseAminoMsg): QueryDelegationTotalRewardsResponse; - toAminoMsg(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseAminoMsg; - fromProtoMsg(message: QueryDelegationTotalRewardsResponseProtoMsg): QueryDelegationTotalRewardsResponse; - toProto(message: QueryDelegationTotalRewardsResponse): Uint8Array; - toProtoMsg(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseProtoMsg; -}; -export declare const QueryDelegatorValidatorsRequest: { - encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; - fromJSON(object: any): QueryDelegatorValidatorsRequest; - toJSON(message: QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: Partial): QueryDelegatorValidatorsRequest; - fromAmino(object: QueryDelegatorValidatorsRequestAmino): QueryDelegatorValidatorsRequest; - toAmino(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: QueryDelegatorValidatorsRequestAminoMsg): QueryDelegatorValidatorsRequest; - toAminoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsRequestProtoMsg): QueryDelegatorValidatorsRequest; - toProto(message: QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestProtoMsg; -}; -export declare const QueryDelegatorValidatorsResponse: { - encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; - fromJSON(object: any): QueryDelegatorValidatorsResponse; - toJSON(message: QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: Partial): QueryDelegatorValidatorsResponse; - fromAmino(object: QueryDelegatorValidatorsResponseAmino): QueryDelegatorValidatorsResponse; - toAmino(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: QueryDelegatorValidatorsResponseAminoMsg): QueryDelegatorValidatorsResponse; - toAminoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsResponseProtoMsg): QueryDelegatorValidatorsResponse; - toProto(message: QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseProtoMsg; -}; -export declare const QueryDelegatorWithdrawAddressRequest: { - encode(message: QueryDelegatorWithdrawAddressRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest; - fromJSON(object: any): QueryDelegatorWithdrawAddressRequest; - toJSON(message: QueryDelegatorWithdrawAddressRequest): unknown; - fromPartial(object: Partial): QueryDelegatorWithdrawAddressRequest; - fromAmino(object: QueryDelegatorWithdrawAddressRequestAmino): QueryDelegatorWithdrawAddressRequest; - toAmino(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestAmino; - fromAminoMsg(object: QueryDelegatorWithdrawAddressRequestAminoMsg): QueryDelegatorWithdrawAddressRequest; - toAminoMsg(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorWithdrawAddressRequestProtoMsg): QueryDelegatorWithdrawAddressRequest; - toProto(message: QueryDelegatorWithdrawAddressRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestProtoMsg; -}; -export declare const QueryDelegatorWithdrawAddressResponse: { - encode(message: QueryDelegatorWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse; - fromJSON(object: any): QueryDelegatorWithdrawAddressResponse; - toJSON(message: QueryDelegatorWithdrawAddressResponse): unknown; - fromPartial(object: Partial): QueryDelegatorWithdrawAddressResponse; - fromAmino(object: QueryDelegatorWithdrawAddressResponseAmino): QueryDelegatorWithdrawAddressResponse; - toAmino(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseAmino; - fromAminoMsg(object: QueryDelegatorWithdrawAddressResponseAminoMsg): QueryDelegatorWithdrawAddressResponse; - toAminoMsg(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorWithdrawAddressResponseProtoMsg): QueryDelegatorWithdrawAddressResponse; - toProto(message: QueryDelegatorWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseProtoMsg; -}; -export declare const QueryCommunityPoolRequest: { - encode(_: QueryCommunityPoolRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest; - fromJSON(_: any): QueryCommunityPoolRequest; - toJSON(_: QueryCommunityPoolRequest): unknown; - fromPartial(_: Partial): QueryCommunityPoolRequest; - fromAmino(_: QueryCommunityPoolRequestAmino): QueryCommunityPoolRequest; - toAmino(_: QueryCommunityPoolRequest): QueryCommunityPoolRequestAmino; - fromAminoMsg(object: QueryCommunityPoolRequestAminoMsg): QueryCommunityPoolRequest; - toAminoMsg(message: QueryCommunityPoolRequest): QueryCommunityPoolRequestAminoMsg; - fromProtoMsg(message: QueryCommunityPoolRequestProtoMsg): QueryCommunityPoolRequest; - toProto(message: QueryCommunityPoolRequest): Uint8Array; - toProtoMsg(message: QueryCommunityPoolRequest): QueryCommunityPoolRequestProtoMsg; -}; -export declare const QueryCommunityPoolResponse: { - encode(message: QueryCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse; - fromJSON(object: any): QueryCommunityPoolResponse; - toJSON(message: QueryCommunityPoolResponse): unknown; - fromPartial(object: Partial): QueryCommunityPoolResponse; - fromAmino(object: QueryCommunityPoolResponseAmino): QueryCommunityPoolResponse; - toAmino(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseAmino; - fromAminoMsg(object: QueryCommunityPoolResponseAminoMsg): QueryCommunityPoolResponse; - toAminoMsg(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseAminoMsg; - fromProtoMsg(message: QueryCommunityPoolResponseProtoMsg): QueryCommunityPoolResponse; - toProto(message: QueryCommunityPoolResponse): Uint8Array; - toProtoMsg(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts deleted file mode 100644 index 1271db0c..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(_params?: QueryParamsRequest): Promise; - validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(params: QueryValidatorCommissionRequest): Promise; - validatorSlashes(params: QueryValidatorSlashesRequest): Promise; - delegationRewards(params: QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(_params?: QueryCommunityPoolRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index be0d7a15..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; -/** Query defines the gRPC querier service for distribution module. */ -export interface Query { - /** Params queries params of the distribution module. */ - params(request?: QueryParamsRequest): Promise; - /** ValidatorOutstandingRewards queries rewards of a validator address. */ - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - /** ValidatorCommission queries accumulated commission for a validator. */ - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - /** ValidatorSlashes queries slash events of a validator. */ - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; - /** DelegationRewards queries the total rewards accrued by a delegation. */ - delegationRewards(request: QueryDelegationRewardsRequest): Promise; - /** - * DelegationTotalRewards queries the total rewards accrued by a each - * validator. - */ - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; - /** DelegatorValidators queries the validators of a delegator. */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - /** CommunityPool queries the community pool coins. */ - communityPool(request?: QueryCommunityPoolRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request?: QueryParamsRequest): Promise; - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; - delegationRewards(request: QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: QueryCommunityPoolRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request?: QueryParamsRequest): Promise; - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; - delegationRewards(request: QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: QueryCommunityPoolRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts deleted file mode 100644 index aa7ec544..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; -export declare const AminoConverter: { - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: string; - toAmino: (message: MsgSetWithdrawAddress) => import("./tx").MsgSetWithdrawAddressAmino; - fromAmino: (object: import("./tx").MsgSetWithdrawAddressAmino) => MsgSetWithdrawAddress; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: string; - toAmino: (message: MsgWithdrawDelegatorReward) => import("./tx").MsgWithdrawDelegatorRewardAmino; - fromAmino: (object: import("./tx").MsgWithdrawDelegatorRewardAmino) => MsgWithdrawDelegatorReward; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: string; - toAmino: (message: MsgWithdrawValidatorCommission) => import("./tx").MsgWithdrawValidatorCommissionAmino; - fromAmino: (object: import("./tx").MsgWithdrawValidatorCommissionAmino) => MsgWithdrawValidatorCommission; - }; - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: string; - toAmino: (message: MsgFundCommunityPool) => import("./tx").MsgFundCommunityPoolAmino; - fromAmino: (object: import("./tx").MsgFundCommunityPoolAmino) => MsgFundCommunityPool; - }; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.d.ts deleted file mode 100644 index 11962e5a..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +++ /dev/null @@ -1,317 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddress { - delegatorAddress: string; - withdrawAddress: string; -} -export interface MsgSetWithdrawAddressProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress"; - value: Uint8Array; -} -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddressAmino { - delegator_address: string; - withdraw_address: string; -} -export interface MsgSetWithdrawAddressAminoMsg { - type: "cosmos-sdk/MsgModifyWithdrawAddress"; - value: MsgSetWithdrawAddressAmino; -} -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddressSDKType { - delegator_address: string; - withdraw_address: string; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponse { -} -export interface MsgSetWithdrawAddressResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse"; - value: Uint8Array; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponseAmino { -} -export interface MsgSetWithdrawAddressResponseAminoMsg { - type: "cosmos-sdk/MsgSetWithdrawAddressResponse"; - value: MsgSetWithdrawAddressResponseAmino; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponseSDKType { -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorReward { - delegatorAddress: string; - validatorAddress: string; -} -export interface MsgWithdrawDelegatorRewardProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"; - value: Uint8Array; -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorRewardAmino { - delegator_address: string; - validator_address: string; -} -export interface MsgWithdrawDelegatorRewardAminoMsg { - type: "cosmos-sdk/MsgWithdrawDelegationReward"; - value: MsgWithdrawDelegatorRewardAmino; -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorRewardSDKType { - delegator_address: string; - validator_address: string; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponse { - /** Since: cosmos-sdk 0.46 */ - amount: Coin[]; -} -export interface MsgWithdrawDelegatorRewardResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse"; - value: Uint8Array; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponseAmino { - /** Since: cosmos-sdk 0.46 */ - amount: CoinAmino[]; -} -export interface MsgWithdrawDelegatorRewardResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse"; - value: MsgWithdrawDelegatorRewardResponseAmino; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponseSDKType { - amount: CoinSDKType[]; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommission { - validatorAddress: string; -} -export interface MsgWithdrawValidatorCommissionProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"; - value: Uint8Array; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommissionAmino { - validator_address: string; -} -export interface MsgWithdrawValidatorCommissionAminoMsg { - type: "cosmos-sdk/MsgWithdrawValidatorCommission"; - value: MsgWithdrawValidatorCommissionAmino; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommissionSDKType { - validator_address: string; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponse { - /** Since: cosmos-sdk 0.46 */ - amount: Coin[]; -} -export interface MsgWithdrawValidatorCommissionResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse"; - value: Uint8Array; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponseAmino { - /** Since: cosmos-sdk 0.46 */ - amount: CoinAmino[]; -} -export interface MsgWithdrawValidatorCommissionResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse"; - value: MsgWithdrawValidatorCommissionResponseAmino; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponseSDKType { - amount: CoinSDKType[]; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPool { - amount: Coin[]; - depositor: string; -} -export interface MsgFundCommunityPoolProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool"; - value: Uint8Array; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPoolAmino { - amount: CoinAmino[]; - depositor: string; -} -export interface MsgFundCommunityPoolAminoMsg { - type: "cosmos-sdk/MsgFundCommunityPool"; - value: MsgFundCommunityPoolAmino; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPoolSDKType { - amount: CoinSDKType[]; - depositor: string; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponse { -} -export interface MsgFundCommunityPoolResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse"; - value: Uint8Array; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponseAmino { -} -export interface MsgFundCommunityPoolResponseAminoMsg { - type: "cosmos-sdk/MsgFundCommunityPoolResponse"; - value: MsgFundCommunityPoolResponseAmino; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponseSDKType { -} -export declare const MsgSetWithdrawAddress: { - encode(message: MsgSetWithdrawAddress, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress; - fromJSON(object: any): MsgSetWithdrawAddress; - toJSON(message: MsgSetWithdrawAddress): unknown; - fromPartial(object: Partial): MsgSetWithdrawAddress; - fromAmino(object: MsgSetWithdrawAddressAmino): MsgSetWithdrawAddress; - toAmino(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAmino; - fromAminoMsg(object: MsgSetWithdrawAddressAminoMsg): MsgSetWithdrawAddress; - toAminoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAminoMsg; - fromProtoMsg(message: MsgSetWithdrawAddressProtoMsg): MsgSetWithdrawAddress; - toProto(message: MsgSetWithdrawAddress): Uint8Array; - toProtoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressProtoMsg; -}; -export declare const MsgSetWithdrawAddressResponse: { - encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse; - fromJSON(_: any): MsgSetWithdrawAddressResponse; - toJSON(_: MsgSetWithdrawAddressResponse): unknown; - fromPartial(_: Partial): MsgSetWithdrawAddressResponse; - fromAmino(_: MsgSetWithdrawAddressResponseAmino): MsgSetWithdrawAddressResponse; - toAmino(_: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAmino; - fromAminoMsg(object: MsgSetWithdrawAddressResponseAminoMsg): MsgSetWithdrawAddressResponse; - toAminoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: MsgSetWithdrawAddressResponseProtoMsg): MsgSetWithdrawAddressResponse; - toProto(message: MsgSetWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseProtoMsg; -}; -export declare const MsgWithdrawDelegatorReward: { - encode(message: MsgWithdrawDelegatorReward, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward; - fromJSON(object: any): MsgWithdrawDelegatorReward; - toJSON(message: MsgWithdrawDelegatorReward): unknown; - fromPartial(object: Partial): MsgWithdrawDelegatorReward; - fromAmino(object: MsgWithdrawDelegatorRewardAmino): MsgWithdrawDelegatorReward; - toAmino(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAmino; - fromAminoMsg(object: MsgWithdrawDelegatorRewardAminoMsg): MsgWithdrawDelegatorReward; - toAminoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAminoMsg; - fromProtoMsg(message: MsgWithdrawDelegatorRewardProtoMsg): MsgWithdrawDelegatorReward; - toProto(message: MsgWithdrawDelegatorReward): Uint8Array; - toProtoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardProtoMsg; -}; -export declare const MsgWithdrawDelegatorRewardResponse: { - encode(message: MsgWithdrawDelegatorRewardResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse; - fromJSON(object: any): MsgWithdrawDelegatorRewardResponse; - toJSON(message: MsgWithdrawDelegatorRewardResponse): unknown; - fromPartial(object: Partial): MsgWithdrawDelegatorRewardResponse; - fromAmino(object: MsgWithdrawDelegatorRewardResponseAmino): MsgWithdrawDelegatorRewardResponse; - toAmino(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAmino; - fromAminoMsg(object: MsgWithdrawDelegatorRewardResponseAminoMsg): MsgWithdrawDelegatorRewardResponse; - toAminoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAminoMsg; - fromProtoMsg(message: MsgWithdrawDelegatorRewardResponseProtoMsg): MsgWithdrawDelegatorRewardResponse; - toProto(message: MsgWithdrawDelegatorRewardResponse): Uint8Array; - toProtoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseProtoMsg; -}; -export declare const MsgWithdrawValidatorCommission: { - encode(message: MsgWithdrawValidatorCommission, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission; - fromJSON(object: any): MsgWithdrawValidatorCommission; - toJSON(message: MsgWithdrawValidatorCommission): unknown; - fromPartial(object: Partial): MsgWithdrawValidatorCommission; - fromAmino(object: MsgWithdrawValidatorCommissionAmino): MsgWithdrawValidatorCommission; - toAmino(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAmino; - fromAminoMsg(object: MsgWithdrawValidatorCommissionAminoMsg): MsgWithdrawValidatorCommission; - toAminoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAminoMsg; - fromProtoMsg(message: MsgWithdrawValidatorCommissionProtoMsg): MsgWithdrawValidatorCommission; - toProto(message: MsgWithdrawValidatorCommission): Uint8Array; - toProtoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionProtoMsg; -}; -export declare const MsgWithdrawValidatorCommissionResponse: { - encode(message: MsgWithdrawValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse; - fromJSON(object: any): MsgWithdrawValidatorCommissionResponse; - toJSON(message: MsgWithdrawValidatorCommissionResponse): unknown; - fromPartial(object: Partial): MsgWithdrawValidatorCommissionResponse; - fromAmino(object: MsgWithdrawValidatorCommissionResponseAmino): MsgWithdrawValidatorCommissionResponse; - toAmino(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAmino; - fromAminoMsg(object: MsgWithdrawValidatorCommissionResponseAminoMsg): MsgWithdrawValidatorCommissionResponse; - toAminoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: MsgWithdrawValidatorCommissionResponseProtoMsg): MsgWithdrawValidatorCommissionResponse; - toProto(message: MsgWithdrawValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseProtoMsg; -}; -export declare const MsgFundCommunityPool: { - encode(message: MsgFundCommunityPool, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool; - fromJSON(object: any): MsgFundCommunityPool; - toJSON(message: MsgFundCommunityPool): unknown; - fromPartial(object: Partial): MsgFundCommunityPool; - fromAmino(object: MsgFundCommunityPoolAmino): MsgFundCommunityPool; - toAmino(message: MsgFundCommunityPool): MsgFundCommunityPoolAmino; - fromAminoMsg(object: MsgFundCommunityPoolAminoMsg): MsgFundCommunityPool; - toAminoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolAminoMsg; - fromProtoMsg(message: MsgFundCommunityPoolProtoMsg): MsgFundCommunityPool; - toProto(message: MsgFundCommunityPool): Uint8Array; - toProtoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolProtoMsg; -}; -export declare const MsgFundCommunityPoolResponse: { - encode(_: MsgFundCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse; - fromJSON(_: any): MsgFundCommunityPoolResponse; - toJSON(_: MsgFundCommunityPoolResponse): unknown; - fromPartial(_: Partial): MsgFundCommunityPoolResponse; - fromAmino(_: MsgFundCommunityPoolResponseAmino): MsgFundCommunityPoolResponse; - toAmino(_: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAmino; - fromAminoMsg(object: MsgFundCommunityPoolResponseAminoMsg): MsgFundCommunityPoolResponse; - toAminoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAminoMsg; - fromProtoMsg(message: MsgFundCommunityPoolResponseProtoMsg): MsgFundCommunityPoolResponse; - toProto(message: MsgFundCommunityPoolResponse): Uint8Array; - toProtoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts deleted file mode 100644 index 51f7ebbe..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: Uint8Array; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: Uint8Array; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: Uint8Array; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: MsgFundCommunityPool; - }; - }; - toJSON: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: unknown; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: unknown; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: unknown; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - setWithdrawAddress(value: any): { - typeUrl: string; - value: MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: any): { - typeUrl: string; - value: MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: any): { - typeUrl: string; - value: MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: any): { - typeUrl: string; - value: MsgFundCommunityPool; - }; - }; - fromPartial: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: MsgFundCommunityPool; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 38723e88..00000000 --- a/packages/api/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; -/** Msg defines the distribution Msg service. */ -export interface Msg { - /** - * SetWithdrawAddress defines a method to change the withdraw address - * for a delegator (or validator self-delegation). - */ - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; - /** - * WithdrawDelegatorReward defines a method to withdraw rewards of delegator - * from a single validator. - */ - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; - /** - * WithdrawValidatorCommission defines a method to withdraw the - * full commission to the validator address. - */ - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; - /** - * FundCommunityPool defines a method to allow an account to directly - * fund the community pool. - */ - fundCommunityPool(request: MsgFundCommunityPool): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; - fundCommunityPool(request: MsgFundCommunityPool): Promise; -} diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts deleted file mode 100644 index 8ff054df..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface Equivocation { - height: Long; - time: Timestamp; - power: Long; - consensusAddress: string; -} -export interface EquivocationProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation"; - value: Uint8Array; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationAmino { - height: string; - time?: TimestampAmino; - power: string; - consensus_address: string; -} -export interface EquivocationAminoMsg { - type: "cosmos-sdk/Equivocation"; - value: EquivocationAmino; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationSDKType { - height: Long; - time: TimestampSDKType; - power: Long; - consensus_address: string; -} -export declare const Equivocation: { - encode(message: Equivocation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation; - fromJSON(object: any): Equivocation; - toJSON(message: Equivocation): unknown; - fromPartial(object: Partial): Equivocation; - fromAmino(object: EquivocationAmino): Equivocation; - toAmino(message: Equivocation): EquivocationAmino; - fromAminoMsg(object: EquivocationAminoMsg): Equivocation; - toAminoMsg(message: Equivocation): EquivocationAminoMsg; - fromProtoMsg(message: EquivocationProtoMsg): Equivocation; - toProto(message: Equivocation): Uint8Array; - toProtoMsg(message: Equivocation): EquivocationProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts deleted file mode 100644 index 25a0e1f1..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisState { - /** evidence defines all the evidence at genesis. */ - evidence: Any[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateAmino { - /** evidence defines all the evidence at genesis. */ - evidence: AnyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateSDKType { - evidence: AnySDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/query.d.ts deleted file mode 100644 index a6c4f227..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/query.d.ts +++ /dev/null @@ -1,170 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequest { - /** evidence_hash defines the hash of the requested evidence. */ - evidenceHash: Uint8Array; -} -export interface QueryEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest"; - value: Uint8Array; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestAmino { - /** evidence_hash defines the hash of the requested evidence. */ - evidence_hash: Uint8Array; -} -export interface QueryEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryEvidenceRequest"; - value: QueryEvidenceRequestAmino; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestSDKType { - evidence_hash: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponse { - /** evidence returns the requested evidence. */ - evidence: Any; -} -export interface QueryEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse"; - value: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseAmino { - /** evidence returns the requested evidence. */ - evidence?: AnyAmino; -} -export interface QueryEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryEvidenceResponse"; - value: QueryEvidenceResponseAmino; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseSDKType { - evidence: AnySDKType; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest"; - value: Uint8Array; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceRequest"; - value: QueryAllEvidenceRequestAmino; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponse { - /** evidence returns all evidences. */ - evidence: Any[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAllEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse"; - value: Uint8Array; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseAmino { - /** evidence returns all evidences. */ - evidence: AnyAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceResponse"; - value: QueryAllEvidenceResponseAmino; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseSDKType { - evidence: AnySDKType[]; - pagination: PageResponseSDKType; -} -export declare const QueryEvidenceRequest: { - encode(message: QueryEvidenceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest; - fromJSON(object: any): QueryEvidenceRequest; - toJSON(message: QueryEvidenceRequest): unknown; - fromPartial(object: Partial): QueryEvidenceRequest; - fromAmino(object: QueryEvidenceRequestAmino): QueryEvidenceRequest; - toAmino(message: QueryEvidenceRequest): QueryEvidenceRequestAmino; - fromAminoMsg(object: QueryEvidenceRequestAminoMsg): QueryEvidenceRequest; - toAminoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestAminoMsg; - fromProtoMsg(message: QueryEvidenceRequestProtoMsg): QueryEvidenceRequest; - toProto(message: QueryEvidenceRequest): Uint8Array; - toProtoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestProtoMsg; -}; -export declare const QueryEvidenceResponse: { - encode(message: QueryEvidenceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse; - fromJSON(object: any): QueryEvidenceResponse; - toJSON(message: QueryEvidenceResponse): unknown; - fromPartial(object: Partial): QueryEvidenceResponse; - fromAmino(object: QueryEvidenceResponseAmino): QueryEvidenceResponse; - toAmino(message: QueryEvidenceResponse): QueryEvidenceResponseAmino; - fromAminoMsg(object: QueryEvidenceResponseAminoMsg): QueryEvidenceResponse; - toAminoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseAminoMsg; - fromProtoMsg(message: QueryEvidenceResponseProtoMsg): QueryEvidenceResponse; - toProto(message: QueryEvidenceResponse): Uint8Array; - toProtoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseProtoMsg; -}; -export declare const QueryAllEvidenceRequest: { - encode(message: QueryAllEvidenceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest; - fromJSON(object: any): QueryAllEvidenceRequest; - toJSON(message: QueryAllEvidenceRequest): unknown; - fromPartial(object: Partial): QueryAllEvidenceRequest; - fromAmino(object: QueryAllEvidenceRequestAmino): QueryAllEvidenceRequest; - toAmino(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAmino; - fromAminoMsg(object: QueryAllEvidenceRequestAminoMsg): QueryAllEvidenceRequest; - toAminoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAminoMsg; - fromProtoMsg(message: QueryAllEvidenceRequestProtoMsg): QueryAllEvidenceRequest; - toProto(message: QueryAllEvidenceRequest): Uint8Array; - toProtoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestProtoMsg; -}; -export declare const QueryAllEvidenceResponse: { - encode(message: QueryAllEvidenceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse; - fromJSON(object: any): QueryAllEvidenceResponse; - toJSON(message: QueryAllEvidenceResponse): unknown; - fromPartial(object: Partial): QueryAllEvidenceResponse; - fromAmino(object: QueryAllEvidenceResponseAmino): QueryAllEvidenceResponse; - toAmino(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAmino; - fromAminoMsg(object: QueryAllEvidenceResponseAminoMsg): QueryAllEvidenceResponse; - toAminoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAminoMsg; - fromProtoMsg(message: QueryAllEvidenceResponseProtoMsg): QueryAllEvidenceResponse; - toProto(message: QueryAllEvidenceResponse): Uint8Array; - toProtoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts deleted file mode 100644 index 7bca5ded..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryEvidenceRequest, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - evidence(params: QueryEvidenceRequest): Promise; - allEvidence(params?: QueryAllEvidenceRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 190f6355..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Evidence queries evidence based on evidence hash. */ - evidence(request: QueryEvidenceRequest): Promise; - /** AllEvidence queries all evidence. */ - allEvidence(request?: QueryAllEvidenceRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - evidence(request: QueryEvidenceRequest): Promise; - allEvidence(request?: QueryAllEvidenceRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - evidence(request: QueryEvidenceRequest): Promise; - allEvidence(request?: QueryAllEvidenceRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts deleted file mode 100644 index d1980815..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgSubmitEvidence } from "./tx"; -export declare const AminoConverter: { - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: string; - toAmino: (message: MsgSubmitEvidence) => import("./tx").MsgSubmitEvidenceAmino; - fromAmino: (object: import("./tx").MsgSubmitEvidenceAmino) => MsgSubmitEvidence; - }; -}; diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.d.ts deleted file mode 100644 index 8bc9e5c2..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidence { - submitter: string; - evidence: (Any) | undefined; -} -export interface MsgSubmitEvidenceProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence"; - value: Uint8Array; -} -export type MsgSubmitEvidenceEncoded = Omit & { - evidence?: AnyProtoMsg | undefined; -}; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceAmino { - submitter: string; - evidence?: AnyAmino; -} -export interface MsgSubmitEvidenceAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidence"; - value: MsgSubmitEvidenceAmino; -} -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceSDKType { - submitter: string; - evidence: AnySDKType | undefined; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponse { - /** hash defines the hash of the evidence. */ - hash: Uint8Array; -} -export interface MsgSubmitEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse"; - value: Uint8Array; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseAmino { - /** hash defines the hash of the evidence. */ - hash: Uint8Array; -} -export interface MsgSubmitEvidenceResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidenceResponse"; - value: MsgSubmitEvidenceResponseAmino; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseSDKType { - hash: Uint8Array; -} -export declare const MsgSubmitEvidence: { - encode(message: MsgSubmitEvidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence; - fromJSON(object: any): MsgSubmitEvidence; - toJSON(message: MsgSubmitEvidence): unknown; - fromPartial(object: Partial): MsgSubmitEvidence; - fromAmino(object: MsgSubmitEvidenceAmino): MsgSubmitEvidence; - toAmino(message: MsgSubmitEvidence): MsgSubmitEvidenceAmino; - fromAminoMsg(object: MsgSubmitEvidenceAminoMsg): MsgSubmitEvidence; - toAminoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceAminoMsg; - fromProtoMsg(message: MsgSubmitEvidenceProtoMsg): MsgSubmitEvidence; - toProto(message: MsgSubmitEvidence): Uint8Array; - toProtoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceProtoMsg; -}; -export declare const MsgSubmitEvidenceResponse: { - encode(message: MsgSubmitEvidenceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse; - fromJSON(object: any): MsgSubmitEvidenceResponse; - toJSON(message: MsgSubmitEvidenceResponse): unknown; - fromPartial(object: Partial): MsgSubmitEvidenceResponse; - fromAmino(object: MsgSubmitEvidenceResponseAmino): MsgSubmitEvidenceResponse; - toAmino(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAmino; - fromAminoMsg(object: MsgSubmitEvidenceResponseAminoMsg): MsgSubmitEvidenceResponse; - toAminoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAminoMsg; - fromProtoMsg(message: MsgSubmitEvidenceResponseProtoMsg): MsgSubmitEvidenceResponse; - toProto(message: MsgSubmitEvidenceResponse): Uint8Array; - toProtoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseProtoMsg; -}; -export declare const Evidence_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => Any; -export declare const Evidence_FromAmino: (content: AnyAmino) => Any; -export declare const Evidence_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts deleted file mode 100644 index e9ed2998..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitEvidence } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: MsgSubmitEvidence; - }; - }; - toJSON: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitEvidence(value: any): { - typeUrl: string; - value: MsgSubmitEvidence; - }; - }; - fromPartial: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: MsgSubmitEvidence; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 5eeace2c..00000000 --- a/packages/api/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; -/** Msg defines the evidence Msg service. */ -export interface Msg { - /** - * SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - * counterfactual signing. - */ - submitEvidence(request: MsgSubmitEvidence): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - submitEvidence(request: MsgSubmitEvidence): Promise; -} diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts deleted file mode 100644 index b8d3c5cb..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +++ /dev/null @@ -1,250 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** - * BasicAllowance implements Allowance with a one-time grant of coins - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowance { - $typeUrl?: string; - /** - * spend_limit specifies the maximum amount of coins that can be spent - * by this allowance and will be updated as coins are spent. If it is - * empty, there is no spend limit and any amount of coins can be spent. - */ - spendLimit: Coin[]; - /** expiration specifies an optional time when this allowance expires */ - expiration: Timestamp; -} -export interface BasicAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance"; - value: Uint8Array; -} -/** - * BasicAllowance implements Allowance with a one-time grant of coins - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowanceAmino { - /** - * spend_limit specifies the maximum amount of coins that can be spent - * by this allowance and will be updated as coins are spent. If it is - * empty, there is no spend limit and any amount of coins can be spent. - */ - spend_limit: CoinAmino[]; - /** expiration specifies an optional time when this allowance expires */ - expiration?: TimestampAmino; -} -export interface BasicAllowanceAminoMsg { - type: "cosmos-sdk/BasicAllowance"; - value: BasicAllowanceAmino; -} -/** - * BasicAllowance implements Allowance with a one-time grant of coins - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowanceSDKType { - $typeUrl?: string; - spend_limit: CoinSDKType[]; - expiration: TimestampSDKType; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowance { - $typeUrl?: string; - /** basic specifies a struct of `BasicAllowance` */ - basic: BasicAllowance; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - period: Duration; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - periodSpendLimit: Coin[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - periodCanSpend: Coin[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - periodReset: Timestamp; -} -export interface PeriodicAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - value: Uint8Array; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowanceAmino { - /** basic specifies a struct of `BasicAllowance` */ - basic?: BasicAllowanceAmino; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - period?: DurationAmino; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - period_spend_limit: CoinAmino[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - period_can_spend: CoinAmino[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - period_reset?: TimestampAmino; -} -export interface PeriodicAllowanceAminoMsg { - type: "cosmos-sdk/PeriodicAllowance"; - value: PeriodicAllowanceAmino; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowanceSDKType { - $typeUrl?: string; - basic: BasicAllowanceSDKType; - period: DurationSDKType; - period_spend_limit: CoinSDKType[]; - period_can_spend: CoinSDKType[]; - period_reset: TimestampSDKType; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowance { - $typeUrl?: string; - /** allowance can be any of basic and periodic fee allowance. */ - allowance: (BasicAllowance & PeriodicAllowance & AllowedMsgAllowance & Any) | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ - allowedMessages: string[]; -} -export interface AllowedMsgAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - value: Uint8Array; -} -export type AllowedMsgAllowanceEncoded = Omit & { - /** allowance can be any of basic and periodic fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowanceAmino { - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: AnyAmino; - /** allowed_messages are the messages for which the grantee has the access. */ - allowed_messages: string[]; -} -export interface AllowedMsgAllowanceAminoMsg { - type: "cosmos-sdk/AllowedMsgAllowance"; - value: AllowedMsgAllowanceAmino; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowanceSDKType { - $typeUrl?: string; - allowance: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; - allowed_messages: string[]; -} -/** Grant is stored in the KVStore to record a grant with full context */ -export interface Grant { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: (BasicAllowance & PeriodicAllowance & AllowedMsgAllowance & Any) | undefined; -} -export interface GrantProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.Grant"; - value: Uint8Array; -} -export type GrantEncoded = Omit & { - /** allowance can be any of basic, periodic, allowed fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** Grant is stored in the KVStore to record a grant with full context */ -export interface GrantAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: AnyAmino; -} -export interface GrantAminoMsg { - type: "cosmos-sdk/Grant"; - value: GrantAmino; -} -/** Grant is stored in the KVStore to record a grant with full context */ -export interface GrantSDKType { - granter: string; - grantee: string; - allowance: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; -} -export declare const BasicAllowance: { - encode(message: BasicAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance; - fromJSON(object: any): BasicAllowance; - toJSON(message: BasicAllowance): unknown; - fromPartial(object: Partial): BasicAllowance; - fromAmino(object: BasicAllowanceAmino): BasicAllowance; - toAmino(message: BasicAllowance): BasicAllowanceAmino; - fromAminoMsg(object: BasicAllowanceAminoMsg): BasicAllowance; - toAminoMsg(message: BasicAllowance): BasicAllowanceAminoMsg; - fromProtoMsg(message: BasicAllowanceProtoMsg): BasicAllowance; - toProto(message: BasicAllowance): Uint8Array; - toProtoMsg(message: BasicAllowance): BasicAllowanceProtoMsg; -}; -export declare const PeriodicAllowance: { - encode(message: PeriodicAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance; - fromJSON(object: any): PeriodicAllowance; - toJSON(message: PeriodicAllowance): unknown; - fromPartial(object: Partial): PeriodicAllowance; - fromAmino(object: PeriodicAllowanceAmino): PeriodicAllowance; - toAmino(message: PeriodicAllowance): PeriodicAllowanceAmino; - fromAminoMsg(object: PeriodicAllowanceAminoMsg): PeriodicAllowance; - toAminoMsg(message: PeriodicAllowance): PeriodicAllowanceAminoMsg; - fromProtoMsg(message: PeriodicAllowanceProtoMsg): PeriodicAllowance; - toProto(message: PeriodicAllowance): Uint8Array; - toProtoMsg(message: PeriodicAllowance): PeriodicAllowanceProtoMsg; -}; -export declare const AllowedMsgAllowance: { - encode(message: AllowedMsgAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance; - fromJSON(object: any): AllowedMsgAllowance; - toJSON(message: AllowedMsgAllowance): unknown; - fromPartial(object: Partial): AllowedMsgAllowance; - fromAmino(object: AllowedMsgAllowanceAmino): AllowedMsgAllowance; - toAmino(message: AllowedMsgAllowance): AllowedMsgAllowanceAmino; - fromAminoMsg(object: AllowedMsgAllowanceAminoMsg): AllowedMsgAllowance; - toAminoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceAminoMsg; - fromProtoMsg(message: AllowedMsgAllowanceProtoMsg): AllowedMsgAllowance; - toProto(message: AllowedMsgAllowance): Uint8Array; - toProtoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceProtoMsg; -}; -export declare const Grant: { - encode(message: Grant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Grant; - fromJSON(object: any): Grant; - toJSON(message: Grant): unknown; - fromPartial(object: Partial): Grant; - fromAmino(object: GrantAmino): Grant; - toAmino(message: Grant): GrantAmino; - fromAminoMsg(object: GrantAminoMsg): Grant; - toAminoMsg(message: Grant): GrantAminoMsg; - fromProtoMsg(message: GrantProtoMsg): Grant; - toProto(message: Grant): Uint8Array; - toProtoMsg(message: Grant): GrantProtoMsg; -}; -export declare const FeeAllowanceI_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any; -export declare const FeeAllowanceI_FromAmino: (content: AnyAmino) => Any; -export declare const FeeAllowanceI_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts deleted file mode 100644 index 56c83f53..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisState { - allowances: Grant[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisStateAmino { - allowances: GrantAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisStateSDKType { - allowances: GrantSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.d.ts deleted file mode 100644 index 56f43bdc..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +++ /dev/null @@ -1,264 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequest { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface QueryAllowanceRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceRequest"; - value: Uint8Array; -} -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequestAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface QueryAllowanceRequestAminoMsg { - type: "cosmos-sdk/QueryAllowanceRequest"; - value: QueryAllowanceRequestAmino; -} -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequestSDKType { - granter: string; - grantee: string; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponse { - /** allowance is a allowance granted for grantee by granter. */ - allowance: Grant; -} -export interface QueryAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceResponse"; - value: Uint8Array; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponseAmino { - /** allowance is a allowance granted for grantee by granter. */ - allowance?: GrantAmino; -} -export interface QueryAllowanceResponseAminoMsg { - type: "cosmos-sdk/QueryAllowanceResponse"; - value: QueryAllowanceResponseAmino; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponseSDKType { - allowance: GrantSDKType; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllowancesRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesRequest"; - value: Uint8Array; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequestAmino { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllowancesRequestAminoMsg { - type: "cosmos-sdk/QueryAllowancesRequest"; - value: QueryAllowancesRequestAmino; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequestSDKType { - grantee: string; - pagination: PageRequestSDKType; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponse { - /** allowances are allowance's granted for grantee by granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryAllowancesResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesResponse"; - value: Uint8Array; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponseAmino { - /** allowances are allowance's granted for grantee by granter. */ - allowances: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllowancesResponseAminoMsg { - type: "cosmos-sdk/QueryAllowancesResponse"; - value: QueryAllowancesResponseAmino; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponseSDKType { - allowances: GrantSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAllowancesByGranterRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllowancesByGranterRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest"; - value: Uint8Array; -} -/** - * QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAllowancesByGranterRequestAmino { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllowancesByGranterRequestAminoMsg { - type: "cosmos-sdk/QueryAllowancesByGranterRequest"; - value: QueryAllowancesByGranterRequestAmino; -} -/** - * QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAllowancesByGranterRequestSDKType { - granter: string; - pagination: PageRequestSDKType; -} -/** - * QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAllowancesByGranterResponse { - /** allowances that have been issued by the granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryAllowancesByGranterResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse"; - value: Uint8Array; -} -/** - * QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAllowancesByGranterResponseAmino { - /** allowances that have been issued by the granter. */ - allowances: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllowancesByGranterResponseAminoMsg { - type: "cosmos-sdk/QueryAllowancesByGranterResponse"; - value: QueryAllowancesByGranterResponseAmino; -} -/** - * QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAllowancesByGranterResponseSDKType { - allowances: GrantSDKType[]; - pagination: PageResponseSDKType; -} -export declare const QueryAllowanceRequest: { - encode(message: QueryAllowanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest; - fromJSON(object: any): QueryAllowanceRequest; - toJSON(message: QueryAllowanceRequest): unknown; - fromPartial(object: Partial): QueryAllowanceRequest; - fromAmino(object: QueryAllowanceRequestAmino): QueryAllowanceRequest; - toAmino(message: QueryAllowanceRequest): QueryAllowanceRequestAmino; - fromAminoMsg(object: QueryAllowanceRequestAminoMsg): QueryAllowanceRequest; - toAminoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestAminoMsg; - fromProtoMsg(message: QueryAllowanceRequestProtoMsg): QueryAllowanceRequest; - toProto(message: QueryAllowanceRequest): Uint8Array; - toProtoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestProtoMsg; -}; -export declare const QueryAllowanceResponse: { - encode(message: QueryAllowanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse; - fromJSON(object: any): QueryAllowanceResponse; - toJSON(message: QueryAllowanceResponse): unknown; - fromPartial(object: Partial): QueryAllowanceResponse; - fromAmino(object: QueryAllowanceResponseAmino): QueryAllowanceResponse; - toAmino(message: QueryAllowanceResponse): QueryAllowanceResponseAmino; - fromAminoMsg(object: QueryAllowanceResponseAminoMsg): QueryAllowanceResponse; - toAminoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseAminoMsg; - fromProtoMsg(message: QueryAllowanceResponseProtoMsg): QueryAllowanceResponse; - toProto(message: QueryAllowanceResponse): Uint8Array; - toProtoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseProtoMsg; -}; -export declare const QueryAllowancesRequest: { - encode(message: QueryAllowancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest; - fromJSON(object: any): QueryAllowancesRequest; - toJSON(message: QueryAllowancesRequest): unknown; - fromPartial(object: Partial): QueryAllowancesRequest; - fromAmino(object: QueryAllowancesRequestAmino): QueryAllowancesRequest; - toAmino(message: QueryAllowancesRequest): QueryAllowancesRequestAmino; - fromAminoMsg(object: QueryAllowancesRequestAminoMsg): QueryAllowancesRequest; - toAminoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestAminoMsg; - fromProtoMsg(message: QueryAllowancesRequestProtoMsg): QueryAllowancesRequest; - toProto(message: QueryAllowancesRequest): Uint8Array; - toProtoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestProtoMsg; -}; -export declare const QueryAllowancesResponse: { - encode(message: QueryAllowancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse; - fromJSON(object: any): QueryAllowancesResponse; - toJSON(message: QueryAllowancesResponse): unknown; - fromPartial(object: Partial): QueryAllowancesResponse; - fromAmino(object: QueryAllowancesResponseAmino): QueryAllowancesResponse; - toAmino(message: QueryAllowancesResponse): QueryAllowancesResponseAmino; - fromAminoMsg(object: QueryAllowancesResponseAminoMsg): QueryAllowancesResponse; - toAminoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseAminoMsg; - fromProtoMsg(message: QueryAllowancesResponseProtoMsg): QueryAllowancesResponse; - toProto(message: QueryAllowancesResponse): Uint8Array; - toProtoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseProtoMsg; -}; -export declare const QueryAllowancesByGranterRequest: { - encode(message: QueryAllowancesByGranterRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest; - fromJSON(object: any): QueryAllowancesByGranterRequest; - toJSON(message: QueryAllowancesByGranterRequest): unknown; - fromPartial(object: Partial): QueryAllowancesByGranterRequest; - fromAmino(object: QueryAllowancesByGranterRequestAmino): QueryAllowancesByGranterRequest; - toAmino(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAmino; - fromAminoMsg(object: QueryAllowancesByGranterRequestAminoMsg): QueryAllowancesByGranterRequest; - toAminoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAminoMsg; - fromProtoMsg(message: QueryAllowancesByGranterRequestProtoMsg): QueryAllowancesByGranterRequest; - toProto(message: QueryAllowancesByGranterRequest): Uint8Array; - toProtoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestProtoMsg; -}; -export declare const QueryAllowancesByGranterResponse: { - encode(message: QueryAllowancesByGranterResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse; - fromJSON(object: any): QueryAllowancesByGranterResponse; - toJSON(message: QueryAllowancesByGranterResponse): unknown; - fromPartial(object: Partial): QueryAllowancesByGranterResponse; - fromAmino(object: QueryAllowancesByGranterResponseAmino): QueryAllowancesByGranterResponse; - toAmino(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAmino; - fromAminoMsg(object: QueryAllowancesByGranterResponseAminoMsg): QueryAllowancesByGranterResponse; - toAminoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAminoMsg; - fromProtoMsg(message: QueryAllowancesByGranterResponseProtoMsg): QueryAllowancesByGranterResponse; - toProto(message: QueryAllowancesByGranterResponse): Uint8Array; - toProtoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts deleted file mode 100644 index 7669c054..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - allowance(params: QueryAllowanceRequest): Promise; - allowances(params: QueryAllowancesRequest): Promise; - allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index d42c5966..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Allowance returns fee granted to the grantee by the granter. */ - allowance(request: QueryAllowanceRequest): Promise; - /** Allowances returns all the grants for address. */ - allowances(request: QueryAllowancesRequest): Promise; - /** - * AllowancesByGranter returns all the grants given by an address - * - * Since: cosmos-sdk 0.46 - */ - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - allowance(request: QueryAllowanceRequest): Promise; - allowances(request: QueryAllowancesRequest): Promise; - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - allowance(request: QueryAllowanceRequest): Promise; - allowances(request: QueryAllowancesRequest): Promise; - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts deleted file mode 100644 index 8767b85a..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; -export declare const AminoConverter: { - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: string; - toAmino: (message: MsgGrantAllowance) => import("./tx").MsgGrantAllowanceAmino; - fromAmino: (object: import("./tx").MsgGrantAllowanceAmino) => MsgGrantAllowance; - }; - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: string; - toAmino: (message: MsgRevokeAllowance) => import("./tx").MsgRevokeAllowanceAmino; - fromAmino: (object: import("./tx").MsgRevokeAllowanceAmino) => MsgRevokeAllowance; - }; -}; diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts deleted file mode 100644 index 7ac632cd..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BasicAllowance, BasicAllowanceProtoMsg, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceProtoMsg, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceProtoMsg, AllowedMsgAllowanceSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowance { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: (BasicAllowance & PeriodicAllowance & AllowedMsgAllowance & Any) | undefined; -} -export interface MsgGrantAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance"; - value: Uint8Array; -} -export type MsgGrantAllowanceEncoded = Omit & { - /** allowance can be any of basic, periodic, allowed fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowanceAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: AnyAmino; -} -export interface MsgGrantAllowanceAminoMsg { - type: "cosmos-sdk/MsgGrantAllowance"; - value: MsgGrantAllowanceAmino; -} -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowanceSDKType { - granter: string; - grantee: string; - allowance: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponse { -} -export interface MsgGrantAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse"; - value: Uint8Array; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponseAmino { -} -export interface MsgGrantAllowanceResponseAminoMsg { - type: "cosmos-sdk/MsgGrantAllowanceResponse"; - value: MsgGrantAllowanceResponseAmino; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponseSDKType { -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowance { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface MsgRevokeAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance"; - value: Uint8Array; -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowanceAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface MsgRevokeAllowanceAminoMsg { - type: "cosmos-sdk/MsgRevokeAllowance"; - value: MsgRevokeAllowanceAmino; -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowanceSDKType { - granter: string; - grantee: string; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponse { -} -export interface MsgRevokeAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse"; - value: Uint8Array; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponseAmino { -} -export interface MsgRevokeAllowanceResponseAminoMsg { - type: "cosmos-sdk/MsgRevokeAllowanceResponse"; - value: MsgRevokeAllowanceResponseAmino; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponseSDKType { -} -export declare const MsgGrantAllowance: { - encode(message: MsgGrantAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance; - fromJSON(object: any): MsgGrantAllowance; - toJSON(message: MsgGrantAllowance): unknown; - fromPartial(object: Partial): MsgGrantAllowance; - fromAmino(object: MsgGrantAllowanceAmino): MsgGrantAllowance; - toAmino(message: MsgGrantAllowance): MsgGrantAllowanceAmino; - fromAminoMsg(object: MsgGrantAllowanceAminoMsg): MsgGrantAllowance; - toAminoMsg(message: MsgGrantAllowance): MsgGrantAllowanceAminoMsg; - fromProtoMsg(message: MsgGrantAllowanceProtoMsg): MsgGrantAllowance; - toProto(message: MsgGrantAllowance): Uint8Array; - toProtoMsg(message: MsgGrantAllowance): MsgGrantAllowanceProtoMsg; -}; -export declare const MsgGrantAllowanceResponse: { - encode(_: MsgGrantAllowanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse; - fromJSON(_: any): MsgGrantAllowanceResponse; - toJSON(_: MsgGrantAllowanceResponse): unknown; - fromPartial(_: Partial): MsgGrantAllowanceResponse; - fromAmino(_: MsgGrantAllowanceResponseAmino): MsgGrantAllowanceResponse; - toAmino(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAmino; - fromAminoMsg(object: MsgGrantAllowanceResponseAminoMsg): MsgGrantAllowanceResponse; - toAminoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAminoMsg; - fromProtoMsg(message: MsgGrantAllowanceResponseProtoMsg): MsgGrantAllowanceResponse; - toProto(message: MsgGrantAllowanceResponse): Uint8Array; - toProtoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseProtoMsg; -}; -export declare const MsgRevokeAllowance: { - encode(message: MsgRevokeAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance; - fromJSON(object: any): MsgRevokeAllowance; - toJSON(message: MsgRevokeAllowance): unknown; - fromPartial(object: Partial): MsgRevokeAllowance; - fromAmino(object: MsgRevokeAllowanceAmino): MsgRevokeAllowance; - toAmino(message: MsgRevokeAllowance): MsgRevokeAllowanceAmino; - fromAminoMsg(object: MsgRevokeAllowanceAminoMsg): MsgRevokeAllowance; - toAminoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceAminoMsg; - fromProtoMsg(message: MsgRevokeAllowanceProtoMsg): MsgRevokeAllowance; - toProto(message: MsgRevokeAllowance): Uint8Array; - toProtoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceProtoMsg; -}; -export declare const MsgRevokeAllowanceResponse: { - encode(_: MsgRevokeAllowanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse; - fromJSON(_: any): MsgRevokeAllowanceResponse; - toJSON(_: MsgRevokeAllowanceResponse): unknown; - fromPartial(_: Partial): MsgRevokeAllowanceResponse; - fromAmino(_: MsgRevokeAllowanceResponseAmino): MsgRevokeAllowanceResponse; - toAmino(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAmino; - fromAminoMsg(object: MsgRevokeAllowanceResponseAminoMsg): MsgRevokeAllowanceResponse; - toAminoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAminoMsg; - fromProtoMsg(message: MsgRevokeAllowanceResponseProtoMsg): MsgRevokeAllowanceResponse; - toProto(message: MsgRevokeAllowanceResponse): Uint8Array; - toProtoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseProtoMsg; -}; -export declare const FeeAllowanceI_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any; -export declare const FeeAllowanceI_FromAmino: (content: AnyAmino) => Any; -export declare const FeeAllowanceI_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts deleted file mode 100644 index 18549a50..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: Uint8Array; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: MsgGrantAllowance; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: MsgRevokeAllowance; - }; - }; - toJSON: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: unknown; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grantAllowance(value: any): { - typeUrl: string; - value: MsgGrantAllowance; - }; - revokeAllowance(value: any): { - typeUrl: string; - value: MsgRevokeAllowance; - }; - }; - fromPartial: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: MsgGrantAllowance; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: MsgRevokeAllowance; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 9ec43a55..00000000 --- a/packages/api/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; -/** Msg defines the feegrant msg service. */ -export interface Msg { - /** - * GrantAllowance grants fee allowance to the grantee on the granter's - * account with the provided expiration time. - */ - grantAllowance(request: MsgGrantAllowance): Promise; - /** - * RevokeAllowance revokes any fee allowance of granter's account that - * has been granted to the grantee. - */ - revokeAllowance(request: MsgRevokeAllowance): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - grantAllowance(request: MsgGrantAllowance): Promise; - revokeAllowance(request: MsgRevokeAllowance): Promise; -} diff --git a/packages/api/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts deleted file mode 100644 index d81d0a14..00000000 --- a/packages/api/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisState { - /** gen_txs defines the genesis transactions. */ - genTxs: Uint8Array[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateAmino { - /** gen_txs defines the genesis transactions. */ - gen_txs: Uint8Array[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateSDKType { - gen_txs: Uint8Array[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1/genesis.d.ts b/packages/api/types/codegen/cosmos/gov/v1/genesis.d.ts deleted file mode 100644 index 7b6a5ee8..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/genesis.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams; - /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams; - /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.gov.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateAmino { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id: string; - /** deposits defines all the deposits present at genesis. */ - deposits: DepositAmino[]; - /** votes defines all the votes present at genesis. */ - votes: VoteAmino[]; - /** proposals defines all the proposals present at genesis. */ - proposals: ProposalAmino[]; - /** params defines all the paramaters of related to deposit. */ - deposit_params?: DepositParamsAmino; - /** params defines all the paramaters of related to voting. */ - voting_params?: VotingParamsAmino; - /** params defines all the paramaters of related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/v1/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params: DepositParamsSDKType; - voting_params: VotingParamsSDKType; - tally_params: TallyParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1/gov.d.ts b/packages/api/types/codegen/cosmos/gov/v1/gov.d.ts deleted file mode 100644 index fc287657..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/gov.d.ts +++ /dev/null @@ -1,456 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare const VoteOptionAmino: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** - * PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - * period. - */ - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, - /** - * PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - * period. - */ - PROPOSAL_STATUS_VOTING_PERIOD = 2, - /** - * PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - * passed. - */ - PROPOSAL_STATUS_PASSED = 3, - /** - * PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - * been rejected. - */ - PROPOSAL_STATUS_REJECTED = 4, - /** - * PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - * failed. - */ - PROPOSAL_STATUS_FAILED = 5, - UNRECOGNIZED = -1 -} -export declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare const ProposalStatusAmino: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionProtoMsg { - typeUrl: "/cosmos.gov.v1.WeightedVoteOption"; - value: Uint8Array; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOptionAmino { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionAminoMsg { - type: "cosmos-sdk/v1/WeightedVoteOption"; - value: WeightedVoteOptionAmino; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface Deposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface DepositProtoMsg { - typeUrl: "/cosmos.gov.v1.Deposit"; - value: Uint8Array; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface DepositAminoMsg { - type: "cosmos-sdk/v1/Deposit"; - value: DepositAmino; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface Proposal { - id: Long; - messages: Any[]; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult: TallyResult; - submitTime: Timestamp; - depositEndTime: Timestamp; - totalDeposit: Coin[]; - votingStartTime: Timestamp; - votingEndTime: Timestamp; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.gov.v1.Proposal"; - value: Uint8Array; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalAmino { - id: string; - messages: AnyAmino[]; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - final_tally_result?: TallyResultAmino; - submit_time?: TimestampAmino; - deposit_end_time?: TimestampAmino; - total_deposit: CoinAmino[]; - voting_start_time?: TimestampAmino; - voting_end_time?: TimestampAmino; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/v1/Proposal"; - value: ProposalAmino; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalSDKType { - id: Long; - messages: AnySDKType[]; - status: ProposalStatus; - final_tally_result: TallyResultSDKType; - submit_time: TimestampSDKType; - deposit_end_time: TimestampSDKType; - total_deposit: CoinSDKType[]; - voting_start_time: TimestampSDKType; - voting_end_time: TimestampSDKType; - metadata: string; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResult { - yesCount: string; - abstainCount: string; - noCount: string; - noWithVetoCount: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.gov.v1.TallyResult"; - value: Uint8Array; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultAmino { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/v1/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultSDKType { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface Vote { - proposalId: Long; - voter: string; - options: WeightedVoteOption[]; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.gov.v1.Vote"; - value: Uint8Array; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteAmino { - proposal_id: string; - voter: string; - options: WeightedVoteOptionAmino[]; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/v1/Vote"; - value: VoteAmino; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteSDKType { - proposal_id: Long; - voter: string; - options: WeightedVoteOptionSDKType[]; - metadata: string; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - maxDepositPeriod: Duration; -} -export interface DepositParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.DepositParams"; - value: Uint8Array; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsAmino { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit: CoinAmino[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - max_deposit_period?: DurationAmino; -} -export interface DepositParamsAminoMsg { - type: "cosmos-sdk/v1/DepositParams"; - value: DepositParamsAmino; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod: Duration; -} -export interface VotingParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.VotingParams"; - value: Uint8Array; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsAmino { - /** Length of the voting period. */ - voting_period?: DurationAmino; -} -export interface VotingParamsAminoMsg { - type: "cosmos-sdk/v1/VotingParams"; - value: VotingParamsAmino; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: string; -} -export interface TallyParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.TallyParams"; - value: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsAmino { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - veto_threshold: string; -} -export interface TallyParamsAminoMsg { - type: "cosmos-sdk/v1/TallyParams"; - value: TallyParamsAmino; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: string; - threshold: string; - veto_threshold: string; -} -export declare const WeightedVoteOption: { - encode(message: WeightedVoteOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption; - fromJSON(object: any): WeightedVoteOption; - toJSON(message: WeightedVoteOption): unknown; - fromPartial(object: Partial): WeightedVoteOption; - fromAmino(object: WeightedVoteOptionAmino): WeightedVoteOption; - toAmino(message: WeightedVoteOption): WeightedVoteOptionAmino; - fromAminoMsg(object: WeightedVoteOptionAminoMsg): WeightedVoteOption; - toAminoMsg(message: WeightedVoteOption): WeightedVoteOptionAminoMsg; - fromProtoMsg(message: WeightedVoteOptionProtoMsg): WeightedVoteOption; - toProto(message: WeightedVoteOption): Uint8Array; - toProtoMsg(message: WeightedVoteOption): WeightedVoteOptionProtoMsg; -}; -export declare const Deposit: { - encode(message: Deposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit; - fromJSON(object: any): Deposit; - toJSON(message: Deposit): unknown; - fromPartial(object: Partial): Deposit; - fromAmino(object: DepositAmino): Deposit; - toAmino(message: Deposit): DepositAmino; - fromAminoMsg(object: DepositAminoMsg): Deposit; - toAminoMsg(message: Deposit): DepositAminoMsg; - fromProtoMsg(message: DepositProtoMsg): Deposit; - toProto(message: Deposit): Uint8Array; - toProtoMsg(message: Deposit): DepositProtoMsg; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: Partial): Proposal; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - toAminoMsg(message: Proposal): ProposalAminoMsg; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const TallyResult: { - encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult; - fromJSON(object: any): TallyResult; - toJSON(message: TallyResult): unknown; - fromPartial(object: Partial): TallyResult; - fromAmino(object: TallyResultAmino): TallyResult; - toAmino(message: TallyResult): TallyResultAmino; - fromAminoMsg(object: TallyResultAminoMsg): TallyResult; - toAminoMsg(message: TallyResult): TallyResultAminoMsg; - fromProtoMsg(message: TallyResultProtoMsg): TallyResult; - toProto(message: TallyResult): Uint8Array; - toProtoMsg(message: TallyResult): TallyResultProtoMsg; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: Partial): Vote; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - toAminoMsg(message: Vote): VoteAminoMsg; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; -export declare const DepositParams: { - encode(message: DepositParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams; - fromJSON(object: any): DepositParams; - toJSON(message: DepositParams): unknown; - fromPartial(object: Partial): DepositParams; - fromAmino(object: DepositParamsAmino): DepositParams; - toAmino(message: DepositParams): DepositParamsAmino; - fromAminoMsg(object: DepositParamsAminoMsg): DepositParams; - toAminoMsg(message: DepositParams): DepositParamsAminoMsg; - fromProtoMsg(message: DepositParamsProtoMsg): DepositParams; - toProto(message: DepositParams): Uint8Array; - toProtoMsg(message: DepositParams): DepositParamsProtoMsg; -}; -export declare const VotingParams: { - encode(message: VotingParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams; - fromJSON(object: any): VotingParams; - toJSON(message: VotingParams): unknown; - fromPartial(object: Partial): VotingParams; - fromAmino(object: VotingParamsAmino): VotingParams; - toAmino(message: VotingParams): VotingParamsAmino; - fromAminoMsg(object: VotingParamsAminoMsg): VotingParams; - toAminoMsg(message: VotingParams): VotingParamsAminoMsg; - fromProtoMsg(message: VotingParamsProtoMsg): VotingParams; - toProto(message: VotingParams): Uint8Array; - toProtoMsg(message: VotingParams): VotingParamsProtoMsg; -}; -export declare const TallyParams: { - encode(message: TallyParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams; - fromJSON(object: any): TallyParams; - toJSON(message: TallyParams): unknown; - fromPartial(object: Partial): TallyParams; - fromAmino(object: TallyParamsAmino): TallyParams; - toAmino(message: TallyParams): TallyParamsAmino; - fromAminoMsg(object: TallyParamsAminoMsg): TallyParams; - toAminoMsg(message: TallyParams): TallyParamsAminoMsg; - fromProtoMsg(message: TallyParamsProtoMsg): TallyParams; - toProto(message: TallyParams): Uint8Array; - toProtoMsg(message: TallyParams): TallyParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1/query.d.ts b/packages/api/types/codegen/cosmos/gov/v1/query.d.ts deleted file mode 100644 index 00bdab0e..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/query.d.ts +++ /dev/null @@ -1,649 +0,0 @@ -import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/v1/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal: Proposal; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseAmino { - proposal?: ProposalAmino; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/v1/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProposalsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalsRequest"; - value: Uint8Array; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestAmino { - /** proposal_status defines the status of the proposals. */ - proposal_status: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProposalsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryProposalsRequest"; - value: QueryProposalsRequestAmino; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProposalsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalsResponse"; - value: Uint8Array; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseAmino { - proposals: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProposalsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryProposalsResponse"; - value: QueryProposalsResponseAmino; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the voter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVoteRequest"; - value: Uint8Array; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** voter defines the voter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestAminoMsg { - type: "cosmos-sdk/v1/QueryVoteRequest"; - value: QueryVoteRequestAmino; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote: Vote; -} -export interface QueryVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVoteResponse"; - value: Uint8Array; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseAmino { - /** vote defined the queried vote. */ - vote?: VoteAmino; -} -export interface QueryVoteResponseAminoMsg { - type: "cosmos-sdk/v1/QueryVoteResponse"; - value: QueryVoteResponseAmino; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVotesRequest"; - value: Uint8Array; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesRequestAminoMsg { - type: "cosmos-sdk/v1/QueryVotesRequest"; - value: QueryVotesRequestAmino; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVotesResponse"; - value: Uint8Array; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseAmino { - /** votes defined the queried votes. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesResponseAminoMsg { - type: "cosmos-sdk/v1/QueryVotesResponse"; - value: QueryVotesResponseAmino; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - params_type: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams; - /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsAmino; - /** deposit_params defines the parameters related to deposit. */ - deposit_params?: DepositParamsAmino; - /** tally_params defines the parameters related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params: VotingParamsSDKType; - deposit_params: DepositParamsSDKType; - tally_params: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositRequest"; - value: Uint8Array; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestAminoMsg { - type: "cosmos-sdk/v1/QueryDepositRequest"; - value: QueryDepositRequestAmino; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit: Deposit; -} -export interface QueryDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositResponse"; - value: Uint8Array; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseAmino { - /** deposit defines the requested deposit. */ - deposit?: DepositAmino; -} -export interface QueryDepositResponseAminoMsg { - type: "cosmos-sdk/v1/QueryDepositResponse"; - value: QueryDepositResponseAmino; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDepositsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositsRequest"; - value: Uint8Array; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDepositsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryDepositsRequest"; - value: QueryDepositsRequestAmino; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDepositsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositsResponse"; - value: Uint8Array; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseAmino { - deposits: DepositAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDepositsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryDepositsResponse"; - value: QueryDepositsResponseAmino; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/v1/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/v1/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType; -} -export declare const QueryProposalRequest: { - encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest; - fromJSON(object: any): QueryProposalRequest; - toJSON(message: QueryProposalRequest): unknown; - fromPartial(object: Partial): QueryProposalRequest; - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; - toProto(message: QueryProposalRequest): Uint8Array; - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; -}; -export declare const QueryProposalResponse: { - encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse; - fromJSON(object: any): QueryProposalResponse; - toJSON(message: QueryProposalResponse): unknown; - fromPartial(object: Partial): QueryProposalResponse; - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; - toProto(message: QueryProposalResponse): Uint8Array; - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; -}; -export declare const QueryProposalsRequest: { - encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest; - fromJSON(object: any): QueryProposalsRequest; - toJSON(message: QueryProposalsRequest): unknown; - fromPartial(object: Partial): QueryProposalsRequest; - fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest; - toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino; - fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest; - toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg; - fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest; - toProto(message: QueryProposalsRequest): Uint8Array; - toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg; -}; -export declare const QueryProposalsResponse: { - encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse; - fromJSON(object: any): QueryProposalsResponse; - toJSON(message: QueryProposalsResponse): unknown; - fromPartial(object: Partial): QueryProposalsResponse; - fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse; - toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino; - fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse; - toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg; - fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse; - toProto(message: QueryProposalsResponse): Uint8Array; - toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg; -}; -export declare const QueryVoteRequest: { - encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest; - fromJSON(object: any): QueryVoteRequest; - toJSON(message: QueryVoteRequest): unknown; - fromPartial(object: Partial): QueryVoteRequest; - fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest; - toAmino(message: QueryVoteRequest): QueryVoteRequestAmino; - fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest; - toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg; - fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest; - toProto(message: QueryVoteRequest): Uint8Array; - toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg; -}; -export declare const QueryVoteResponse: { - encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse; - fromJSON(object: any): QueryVoteResponse; - toJSON(message: QueryVoteResponse): unknown; - fromPartial(object: Partial): QueryVoteResponse; - fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse; - toAmino(message: QueryVoteResponse): QueryVoteResponseAmino; - fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse; - toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg; - fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse; - toProto(message: QueryVoteResponse): Uint8Array; - toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg; -}; -export declare const QueryVotesRequest: { - encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest; - fromJSON(object: any): QueryVotesRequest; - toJSON(message: QueryVotesRequest): unknown; - fromPartial(object: Partial): QueryVotesRequest; - fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest; - toAmino(message: QueryVotesRequest): QueryVotesRequestAmino; - fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest; - toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg; - fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest; - toProto(message: QueryVotesRequest): Uint8Array; - toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg; -}; -export declare const QueryVotesResponse: { - encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse; - fromJSON(object: any): QueryVotesResponse; - toJSON(message: QueryVotesResponse): unknown; - fromPartial(object: Partial): QueryVotesResponse; - fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse; - toAmino(message: QueryVotesResponse): QueryVotesResponseAmino; - fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse; - toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg; - fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse; - toProto(message: QueryVotesResponse): Uint8Array; - toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(object: any): QueryParamsRequest; - toJSON(message: QueryParamsRequest): unknown; - fromPartial(object: Partial): QueryParamsRequest; - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDepositRequest: { - encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest; - fromJSON(object: any): QueryDepositRequest; - toJSON(message: QueryDepositRequest): unknown; - fromPartial(object: Partial): QueryDepositRequest; - fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest; - toAmino(message: QueryDepositRequest): QueryDepositRequestAmino; - fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest; - toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg; - fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest; - toProto(message: QueryDepositRequest): Uint8Array; - toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg; -}; -export declare const QueryDepositResponse: { - encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse; - fromJSON(object: any): QueryDepositResponse; - toJSON(message: QueryDepositResponse): unknown; - fromPartial(object: Partial): QueryDepositResponse; - fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse; - toAmino(message: QueryDepositResponse): QueryDepositResponseAmino; - fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse; - toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg; - fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse; - toProto(message: QueryDepositResponse): Uint8Array; - toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg; -}; -export declare const QueryDepositsRequest: { - encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest; - fromJSON(object: any): QueryDepositsRequest; - toJSON(message: QueryDepositsRequest): unknown; - fromPartial(object: Partial): QueryDepositsRequest; - fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest; - toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino; - fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest; - toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg; - fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest; - toProto(message: QueryDepositsRequest): Uint8Array; - toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg; -}; -export declare const QueryDepositsResponse: { - encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse; - fromJSON(object: any): QueryDepositsResponse; - toJSON(message: QueryDepositsResponse): unknown; - fromPartial(object: Partial): QueryDepositsResponse; - fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse; - toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino; - fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse; - toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg; - fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse; - toProto(message: QueryDepositsResponse): Uint8Array; - toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg; -}; -export declare const QueryTallyResultRequest: { - encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest; - fromJSON(object: any): QueryTallyResultRequest; - toJSON(message: QueryTallyResultRequest): unknown; - fromPartial(object: Partial): QueryTallyResultRequest; - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; - toProto(message: QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; -}; -export declare const QueryTallyResultResponse: { - encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse; - fromJSON(object: any): QueryTallyResultResponse; - toJSON(message: QueryTallyResultResponse): unknown; - fromPartial(object: Partial): QueryTallyResultResponse; - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; - toProto(message: QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/gov/v1/query.lcd.d.ts deleted file mode 100644 index 9ce44b6a..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/query.lcd.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - proposal(params: QueryProposalRequest): Promise; - proposals(params: QueryProposalsRequest): Promise; - vote(params: QueryVoteRequest): Promise; - votes(params: QueryVotesRequest): Promise; - params(params: QueryParamsRequest): Promise; - deposit(params: QueryDepositRequest): Promise; - deposits(params: QueryDepositsRequest): Promise; - tallyResult(params: QueryTallyResultRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts deleted file mode 100644 index 8152da58..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query defines the gRPC querier service for gov module */ -export interface Query { - /** Proposal queries proposal details based on ProposalID. */ - proposal(request: QueryProposalRequest): Promise; - /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): Promise; - /** Vote queries voted information based on proposalID, voterAddr. */ - vote(request: QueryVoteRequest): Promise; - /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): Promise; - /** Deposit queries single deposit information based proposalID, depositAddr. */ - deposit(request: QueryDepositRequest): Promise; - /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /** TallyResult queries the tally of a proposal vote. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/gov/v1/tx.amino.d.ts deleted file mode 100644 index 0e354dc4..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/tx.amino.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const AminoConverter: { - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: MsgSubmitProposal) => import("./tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./tx").MsgSubmitProposalAmino) => MsgSubmitProposal; - }; - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: string; - toAmino: (message: MsgExecLegacyContent) => import("./tx").MsgExecLegacyContentAmino; - fromAmino: (object: import("./tx").MsgExecLegacyContentAmino) => MsgExecLegacyContent; - }; - "/cosmos.gov.v1.MsgVote": { - aminoType: string; - toAmino: (message: MsgVote) => import("./tx").MsgVoteAmino; - fromAmino: (object: import("./tx").MsgVoteAmino) => MsgVote; - }; - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: MsgVoteWeighted) => import("./tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./tx").MsgVoteWeightedAmino) => MsgVoteWeighted; - }; - "/cosmos.gov.v1.MsgDeposit": { - aminoType: string; - toAmino: (message: MsgDeposit) => import("./tx").MsgDepositAmino; - fromAmino: (object: import("./tx").MsgDepositAmino) => MsgDeposit; - }; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1/tx.d.ts b/packages/api/types/codegen/cosmos/gov/v1/tx.d.ts deleted file mode 100644 index 6d4d0e32..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/tx.d.ts +++ /dev/null @@ -1,400 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType } from "./gov"; -import { TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "../v1beta1/gov"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposal { - messages: Any[]; - initialDeposit: Coin[]; - proposer: string; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal"; - value: Uint8Array; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalAmino { - messages: AnyAmino[]; - initial_deposit: CoinAmino[]; - proposer: string; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/v1/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalSDKType { - messages: AnySDKType[]; - initial_deposit: CoinSDKType[]; - proposer: string; - metadata: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - proposalId: Long; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - proposal_id: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/v1/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContent { - /** content is the proposal's content. */ - content: (TextProposal & Any) | undefined; - /** authority must be the gov module address. */ - authority: string; -} -export interface MsgExecLegacyContentProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent"; - value: Uint8Array; -} -export type MsgExecLegacyContentEncoded = Omit & { - /** content is the proposal's content. */ content?: TextProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContentAmino { - /** content is the proposal's content. */ - content?: AnyAmino; - /** authority must be the gov module address. */ - authority: string; -} -export interface MsgExecLegacyContentAminoMsg { - type: "cosmos-sdk/v1/MsgExecLegacyContent"; - value: MsgExecLegacyContentAmino; -} -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContentSDKType { - content: TextProposalSDKType | AnySDKType | undefined; - authority: string; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponse { -} -export interface MsgExecLegacyContentResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContentResponse"; - value: Uint8Array; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponseAmino { -} -export interface MsgExecLegacyContentResponseAminoMsg { - type: "cosmos-sdk/v1/MsgExecLegacyContentResponse"; - value: MsgExecLegacyContentResponseAmino; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponseSDKType { -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVote { - proposalId: Long; - voter: string; - option: VoteOption; - metadata: string; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVote"; - value: Uint8Array; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteAmino { - proposal_id: string; - voter: string; - option: VoteOption; - metadata: string; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/v1/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponse { -} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseAmino { -} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/v1/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType { -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeighted { - proposalId: Long; - voter: string; - options: WeightedVoteOption[]; - metadata: string; -} -export interface MsgVoteWeightedProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted"; - value: Uint8Array; -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeightedAmino { - proposal_id: string; - voter: string; - options: WeightedVoteOptionAmino[]; - metadata: string; -} -export interface MsgVoteWeightedAminoMsg { - type: "cosmos-sdk/v1/MsgVoteWeighted"; - value: MsgVoteWeightedAmino; -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeightedSDKType { - proposal_id: Long; - voter: string; - options: WeightedVoteOptionSDKType[]; - metadata: string; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponse { -} -export interface MsgVoteWeightedResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteWeightedResponse"; - value: Uint8Array; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponseAmino { -} -export interface MsgVoteWeightedResponseAminoMsg { - type: "cosmos-sdk/v1/MsgVoteWeightedResponse"; - value: MsgVoteWeightedResponseAmino; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponseSDKType { -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDeposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface MsgDepositProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgDeposit"; - value: Uint8Array; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface MsgDepositAminoMsg { - type: "cosmos-sdk/v1/MsgDeposit"; - value: MsgDepositAmino; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponse { -} -export interface MsgDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgDepositResponse"; - value: Uint8Array; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseAmino { -} -export interface MsgDepositResponseAminoMsg { - type: "cosmos-sdk/v1/MsgDepositResponse"; - value: MsgDepositResponseAmino; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseSDKType { -} -export declare const MsgSubmitProposal: { - encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal; - fromJSON(object: any): MsgSubmitProposal; - toJSON(message: MsgSubmitProposal): unknown; - fromPartial(object: Partial): MsgSubmitProposal; - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal; - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino; - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal; - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg; - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; - toProto(message: MsgSubmitProposal): Uint8Array; - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; -}; -export declare const MsgSubmitProposalResponse: { - encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromJSON(object: any): MsgSubmitProposalResponse; - toJSON(message: MsgSubmitProposalResponse): unknown; - fromPartial(object: Partial): MsgSubmitProposalResponse; - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse; - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino; - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse; - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; - toProto(message: MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; -}; -export declare const MsgExecLegacyContent: { - encode(message: MsgExecLegacyContent, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContent; - fromJSON(object: any): MsgExecLegacyContent; - toJSON(message: MsgExecLegacyContent): unknown; - fromPartial(object: Partial): MsgExecLegacyContent; - fromAmino(object: MsgExecLegacyContentAmino): MsgExecLegacyContent; - toAmino(message: MsgExecLegacyContent): MsgExecLegacyContentAmino; - fromAminoMsg(object: MsgExecLegacyContentAminoMsg): MsgExecLegacyContent; - toAminoMsg(message: MsgExecLegacyContent): MsgExecLegacyContentAminoMsg; - fromProtoMsg(message: MsgExecLegacyContentProtoMsg): MsgExecLegacyContent; - toProto(message: MsgExecLegacyContent): Uint8Array; - toProtoMsg(message: MsgExecLegacyContent): MsgExecLegacyContentProtoMsg; -}; -export declare const MsgExecLegacyContentResponse: { - encode(_: MsgExecLegacyContentResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse; - fromJSON(_: any): MsgExecLegacyContentResponse; - toJSON(_: MsgExecLegacyContentResponse): unknown; - fromPartial(_: Partial): MsgExecLegacyContentResponse; - fromAmino(_: MsgExecLegacyContentResponseAmino): MsgExecLegacyContentResponse; - toAmino(_: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseAmino; - fromAminoMsg(object: MsgExecLegacyContentResponseAminoMsg): MsgExecLegacyContentResponse; - toAminoMsg(message: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseAminoMsg; - fromProtoMsg(message: MsgExecLegacyContentResponseProtoMsg): MsgExecLegacyContentResponse; - toProto(message: MsgExecLegacyContentResponse): Uint8Array; - toProtoMsg(message: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseProtoMsg; -}; -export declare const MsgVote: { - encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote; - fromJSON(object: any): MsgVote; - toJSON(message: MsgVote): unknown; - fromPartial(object: Partial): MsgVote; - fromAmino(object: MsgVoteAmino): MsgVote; - toAmino(message: MsgVote): MsgVoteAmino; - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote; - toAminoMsg(message: MsgVote): MsgVoteAminoMsg; - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; - toProto(message: MsgVote): Uint8Array; - toProtoMsg(message: MsgVote): MsgVoteProtoMsg; -}; -export declare const MsgVoteResponse: { - encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse; - fromJSON(_: any): MsgVoteResponse; - toJSON(_: MsgVoteResponse): unknown; - fromPartial(_: Partial): MsgVoteResponse; - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse; - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino; - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse; - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg; - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; - toProto(message: MsgVoteResponse): Uint8Array; - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; -}; -export declare const MsgVoteWeighted: { - encode(message: MsgVoteWeighted, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted; - fromJSON(object: any): MsgVoteWeighted; - toJSON(message: MsgVoteWeighted): unknown; - fromPartial(object: Partial): MsgVoteWeighted; - fromAmino(object: MsgVoteWeightedAmino): MsgVoteWeighted; - toAmino(message: MsgVoteWeighted): MsgVoteWeightedAmino; - fromAminoMsg(object: MsgVoteWeightedAminoMsg): MsgVoteWeighted; - toAminoMsg(message: MsgVoteWeighted): MsgVoteWeightedAminoMsg; - fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted; - toProto(message: MsgVoteWeighted): Uint8Array; - toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg; -}; -export declare const MsgVoteWeightedResponse: { - encode(_: MsgVoteWeightedResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse; - fromJSON(_: any): MsgVoteWeightedResponse; - toJSON(_: MsgVoteWeightedResponse): unknown; - fromPartial(_: Partial): MsgVoteWeightedResponse; - fromAmino(_: MsgVoteWeightedResponseAmino): MsgVoteWeightedResponse; - toAmino(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseAmino; - fromAminoMsg(object: MsgVoteWeightedResponseAminoMsg): MsgVoteWeightedResponse; - toAminoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse; - toProto(message: MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg; -}; -export declare const MsgDeposit: { - encode(message: MsgDeposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit; - fromJSON(object: any): MsgDeposit; - toJSON(message: MsgDeposit): unknown; - fromPartial(object: Partial): MsgDeposit; - fromAmino(object: MsgDepositAmino): MsgDeposit; - toAmino(message: MsgDeposit): MsgDepositAmino; - fromAminoMsg(object: MsgDepositAminoMsg): MsgDeposit; - toAminoMsg(message: MsgDeposit): MsgDepositAminoMsg; - fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit; - toProto(message: MsgDeposit): Uint8Array; - toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg; -}; -export declare const MsgDepositResponse: { - encode(_: MsgDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse; - fromJSON(_: any): MsgDepositResponse; - toJSON(_: MsgDepositResponse): unknown; - fromPartial(_: Partial): MsgDepositResponse; - fromAmino(_: MsgDepositResponseAmino): MsgDepositResponse; - toAmino(_: MsgDepositResponse): MsgDepositResponseAmino; - fromAminoMsg(object: MsgDepositResponseAminoMsg): MsgDepositResponse; - toAminoMsg(message: MsgDepositResponse): MsgDepositResponseAminoMsg; - fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse; - toProto(message: MsgDepositResponse): Uint8Array; - toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg; -}; -export declare const Content_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => TextProposal | Any; -export declare const Content_FromAmino: (content: AnyAmino) => Any; -export declare const Content_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/gov/v1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/gov/v1/tx.registry.d.ts deleted file mode 100644 index 973bdb5c..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/tx.registry.d.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: MsgExecLegacyContent; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: unknown; - }; - vote(value: MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: MsgSubmitProposal; - }; - execLegacyContent(value: any): { - typeUrl: string; - value: MsgExecLegacyContent; - }; - vote(value: any): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: MsgExecLegacyContent; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 4624c3f7..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; -/** Msg defines the gov Msg service. */ -export interface Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - submitProposal(request: MsgSubmitProposal): Promise; - /** - * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - * to execute a legacy content-based proposal. - */ - execLegacyContent(request: MsgExecLegacyContent): Promise; - /** Vote defines a method to add a vote on a specific proposal. */ - vote(request: MsgVote): Promise; - /** VoteWeighted defines a method to add a weighted vote on a specific proposal. */ - voteWeighted(request: MsgVoteWeighted): Promise; - /** Deposit defines a method to add deposit on a specific proposal. */ - deposit(request: MsgDeposit): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - submitProposal(request: MsgSubmitProposal): Promise; - execLegacyContent(request: MsgExecLegacyContent): Promise; - vote(request: MsgVote): Promise; - voteWeighted(request: MsgVoteWeighted): Promise; - deposit(request: MsgDeposit): Promise; -} diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/genesis.d.ts deleted file mode 100644 index 40035c74..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams; - /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams; - /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateAmino { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id: string; - /** deposits defines all the deposits present at genesis. */ - deposits: DepositAmino[]; - /** votes defines all the votes present at genesis. */ - votes: VoteAmino[]; - /** proposals defines all the proposals present at genesis. */ - proposals: ProposalAmino[]; - /** params defines all the paramaters of related to deposit. */ - deposit_params?: DepositParamsAmino; - /** params defines all the paramaters of related to voting. */ - voting_params?: VotingParamsAmino; - /** params defines all the paramaters of related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params: DepositParamsSDKType; - voting_params: VotingParamsSDKType; - tally_params: TallyParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/gov.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/gov.d.ts deleted file mode 100644 index c3f9342f..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/gov.d.ts +++ /dev/null @@ -1,530 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare const VoteOptionAmino: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** - * PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - * period. - */ - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, - /** - * PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - * period. - */ - PROPOSAL_STATUS_VOTING_PERIOD = 2, - /** - * PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - * passed. - */ - PROPOSAL_STATUS_PASSED = 3, - /** - * PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - * been rejected. - */ - PROPOSAL_STATUS_REJECTED = 4, - /** - * PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - * failed. - */ - PROPOSAL_STATUS_FAILED = 5, - UNRECOGNIZED = -1 -} -export declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare const ProposalStatusAmino: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.WeightedVoteOption"; - value: Uint8Array; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOptionAmino { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionAminoMsg { - type: "cosmos-sdk/WeightedVoteOption"; - value: WeightedVoteOptionAmino; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposal { - $typeUrl?: string; - title: string; - description: string; -} -export interface TextProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TextProposal"; - value: Uint8Array; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposalAmino { - title: string; - description: string; -} -export interface TextProposalAminoMsg { - type: "cosmos-sdk/TextProposal"; - value: TextProposalAmino; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposalSDKType { - $typeUrl?: string; - title: string; - description: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface Deposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface DepositProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Deposit"; - value: Uint8Array; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface DepositAminoMsg { - type: "cosmos-sdk/Deposit"; - value: DepositAmino; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface Proposal { - proposalId: Long; - content: (TextProposal & Any) | undefined; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult: TallyResult; - submitTime: Timestamp; - depositEndTime: Timestamp; - totalDeposit: Coin[]; - votingStartTime: Timestamp; - votingEndTime: Timestamp; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Proposal"; - value: Uint8Array; -} -export type ProposalEncoded = Omit & { - content?: TextProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalAmino { - proposal_id: string; - content?: AnyAmino; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - final_tally_result?: TallyResultAmino; - submit_time?: TimestampAmino; - deposit_end_time?: TimestampAmino; - total_deposit: CoinAmino[]; - voting_start_time?: TimestampAmino; - voting_end_time?: TimestampAmino; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/Proposal"; - value: ProposalAmino; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalSDKType { - proposal_id: Long; - content: TextProposalSDKType | AnySDKType | undefined; - status: ProposalStatus; - final_tally_result: TallyResultSDKType; - submit_time: TimestampSDKType; - deposit_end_time: TimestampSDKType; - total_deposit: CoinSDKType[]; - voting_start_time: TimestampSDKType; - voting_end_time: TimestampSDKType; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResult { - yes: string; - abstain: string; - no: string; - noWithVeto: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TallyResult"; - value: Uint8Array; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultAmino { - yes: string; - abstain: string; - no: string; - no_with_veto: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultSDKType { - yes: string; - abstain: string; - no: string; - no_with_veto: string; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface Vote { - proposalId: Long; - voter: string; - /** - * Deprecated: Prefer to use `options` instead. This field is set in queries - * if and only if `len(options) == 1` and that option has weight 1. In all - * other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - */ - /** @deprecated */ - option: VoteOption; - /** Since: cosmos-sdk 0.43 */ - options: WeightedVoteOption[]; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Vote"; - value: Uint8Array; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteAmino { - proposal_id: string; - voter: string; - /** - * Deprecated: Prefer to use `options` instead. This field is set in queries - * if and only if `len(options) == 1` and that option has weight 1. In all - * other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - */ - /** @deprecated */ - option: VoteOption; - /** Since: cosmos-sdk 0.43 */ - options: WeightedVoteOptionAmino[]; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/Vote"; - value: VoteAmino; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteSDKType { - proposal_id: Long; - voter: string; - /** @deprecated */ - option: VoteOption; - options: WeightedVoteOptionSDKType[]; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - maxDepositPeriod: Duration; -} -export interface DepositParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.DepositParams"; - value: Uint8Array; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsAmino { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit: CoinAmino[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - max_deposit_period?: DurationAmino; -} -export interface DepositParamsAminoMsg { - type: "cosmos-sdk/DepositParams"; - value: DepositParamsAmino; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod: Duration; -} -export interface VotingParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.VotingParams"; - value: Uint8Array; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsAmino { - /** Length of the voting period. */ - voting_period?: DurationAmino; -} -export interface VotingParamsAminoMsg { - type: "cosmos-sdk/VotingParams"; - value: VotingParamsAmino; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: Uint8Array; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: Uint8Array; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: Uint8Array; -} -export interface TallyParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TallyParams"; - value: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsAmino { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: Uint8Array; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: Uint8Array; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - veto_threshold: Uint8Array; -} -export interface TallyParamsAminoMsg { - type: "cosmos-sdk/TallyParams"; - value: TallyParamsAmino; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: Uint8Array; - threshold: Uint8Array; - veto_threshold: Uint8Array; -} -export declare const WeightedVoteOption: { - encode(message: WeightedVoteOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption; - fromJSON(object: any): WeightedVoteOption; - toJSON(message: WeightedVoteOption): unknown; - fromPartial(object: Partial): WeightedVoteOption; - fromAmino(object: WeightedVoteOptionAmino): WeightedVoteOption; - toAmino(message: WeightedVoteOption): WeightedVoteOptionAmino; - fromAminoMsg(object: WeightedVoteOptionAminoMsg): WeightedVoteOption; - toAminoMsg(message: WeightedVoteOption): WeightedVoteOptionAminoMsg; - fromProtoMsg(message: WeightedVoteOptionProtoMsg): WeightedVoteOption; - toProto(message: WeightedVoteOption): Uint8Array; - toProtoMsg(message: WeightedVoteOption): WeightedVoteOptionProtoMsg; -}; -export declare const TextProposal: { - encode(message: TextProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TextProposal; - fromJSON(object: any): TextProposal; - toJSON(message: TextProposal): unknown; - fromPartial(object: Partial): TextProposal; - fromAmino(object: TextProposalAmino): TextProposal; - toAmino(message: TextProposal): TextProposalAmino; - fromAminoMsg(object: TextProposalAminoMsg): TextProposal; - toAminoMsg(message: TextProposal): TextProposalAminoMsg; - fromProtoMsg(message: TextProposalProtoMsg): TextProposal; - toProto(message: TextProposal): Uint8Array; - toProtoMsg(message: TextProposal): TextProposalProtoMsg; -}; -export declare const Deposit: { - encode(message: Deposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit; - fromJSON(object: any): Deposit; - toJSON(message: Deposit): unknown; - fromPartial(object: Partial): Deposit; - fromAmino(object: DepositAmino): Deposit; - toAmino(message: Deposit): DepositAmino; - fromAminoMsg(object: DepositAminoMsg): Deposit; - toAminoMsg(message: Deposit): DepositAminoMsg; - fromProtoMsg(message: DepositProtoMsg): Deposit; - toProto(message: Deposit): Uint8Array; - toProtoMsg(message: Deposit): DepositProtoMsg; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: Partial): Proposal; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - toAminoMsg(message: Proposal): ProposalAminoMsg; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const TallyResult: { - encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult; - fromJSON(object: any): TallyResult; - toJSON(message: TallyResult): unknown; - fromPartial(object: Partial): TallyResult; - fromAmino(object: TallyResultAmino): TallyResult; - toAmino(message: TallyResult): TallyResultAmino; - fromAminoMsg(object: TallyResultAminoMsg): TallyResult; - toAminoMsg(message: TallyResult): TallyResultAminoMsg; - fromProtoMsg(message: TallyResultProtoMsg): TallyResult; - toProto(message: TallyResult): Uint8Array; - toProtoMsg(message: TallyResult): TallyResultProtoMsg; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: Partial): Vote; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - toAminoMsg(message: Vote): VoteAminoMsg; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; -export declare const DepositParams: { - encode(message: DepositParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams; - fromJSON(object: any): DepositParams; - toJSON(message: DepositParams): unknown; - fromPartial(object: Partial): DepositParams; - fromAmino(object: DepositParamsAmino): DepositParams; - toAmino(message: DepositParams): DepositParamsAmino; - fromAminoMsg(object: DepositParamsAminoMsg): DepositParams; - toAminoMsg(message: DepositParams): DepositParamsAminoMsg; - fromProtoMsg(message: DepositParamsProtoMsg): DepositParams; - toProto(message: DepositParams): Uint8Array; - toProtoMsg(message: DepositParams): DepositParamsProtoMsg; -}; -export declare const VotingParams: { - encode(message: VotingParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams; - fromJSON(object: any): VotingParams; - toJSON(message: VotingParams): unknown; - fromPartial(object: Partial): VotingParams; - fromAmino(object: VotingParamsAmino): VotingParams; - toAmino(message: VotingParams): VotingParamsAmino; - fromAminoMsg(object: VotingParamsAminoMsg): VotingParams; - toAminoMsg(message: VotingParams): VotingParamsAminoMsg; - fromProtoMsg(message: VotingParamsProtoMsg): VotingParams; - toProto(message: VotingParams): Uint8Array; - toProtoMsg(message: VotingParams): VotingParamsProtoMsg; -}; -export declare const TallyParams: { - encode(message: TallyParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams; - fromJSON(object: any): TallyParams; - toJSON(message: TallyParams): unknown; - fromPartial(object: Partial): TallyParams; - fromAmino(object: TallyParamsAmino): TallyParams; - toAmino(message: TallyParams): TallyParamsAmino; - fromAminoMsg(object: TallyParamsAminoMsg): TallyParams; - toAminoMsg(message: TallyParams): TallyParamsAminoMsg; - fromProtoMsg(message: TallyParamsProtoMsg): TallyParams; - toProto(message: TallyParams): Uint8Array; - toProtoMsg(message: TallyParams): TallyParamsProtoMsg; -}; -export declare const Content_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => TextProposal | Any; -export declare const Content_FromAmino: (content: AnyAmino) => Any; -export declare const Content_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/query.d.ts deleted file mode 100644 index 6bc1b944..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/query.d.ts +++ /dev/null @@ -1,649 +0,0 @@ -import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal: Proposal; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseAmino { - proposal?: ProposalAmino; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProposalsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsRequest"; - value: Uint8Array; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestAmino { - /** proposal_status defines the status of the proposals. */ - proposal_status: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProposalsRequestAminoMsg { - type: "cosmos-sdk/QueryProposalsRequest"; - value: QueryProposalsRequestAmino; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProposalsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsResponse"; - value: Uint8Array; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseAmino { - proposals: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProposalsResponseAminoMsg { - type: "cosmos-sdk/QueryProposalsResponse"; - value: QueryProposalsResponseAmino; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the voter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteRequest"; - value: Uint8Array; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** voter defines the voter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestAminoMsg { - type: "cosmos-sdk/QueryVoteRequest"; - value: QueryVoteRequestAmino; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote: Vote; -} -export interface QueryVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteResponse"; - value: Uint8Array; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseAmino { - /** vote defined the queried vote. */ - vote?: VoteAmino; -} -export interface QueryVoteResponseAminoMsg { - type: "cosmos-sdk/QueryVoteResponse"; - value: QueryVoteResponseAmino; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesRequest"; - value: Uint8Array; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesRequestAminoMsg { - type: "cosmos-sdk/QueryVotesRequest"; - value: QueryVotesRequestAmino; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesResponse"; - value: Uint8Array; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseAmino { - /** votes defined the queried votes. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesResponseAminoMsg { - type: "cosmos-sdk/QueryVotesResponse"; - value: QueryVotesResponseAmino; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - params_type: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams; - /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsAmino; - /** deposit_params defines the parameters related to deposit. */ - deposit_params?: DepositParamsAmino; - /** tally_params defines the parameters related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params: VotingParamsSDKType; - deposit_params: DepositParamsSDKType; - tally_params: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositRequest"; - value: Uint8Array; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestAminoMsg { - type: "cosmos-sdk/QueryDepositRequest"; - value: QueryDepositRequestAmino; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit: Deposit; -} -export interface QueryDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositResponse"; - value: Uint8Array; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseAmino { - /** deposit defines the requested deposit. */ - deposit?: DepositAmino; -} -export interface QueryDepositResponseAminoMsg { - type: "cosmos-sdk/QueryDepositResponse"; - value: QueryDepositResponseAmino; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDepositsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsRequest"; - value: Uint8Array; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDepositsRequestAminoMsg { - type: "cosmos-sdk/QueryDepositsRequest"; - value: QueryDepositsRequestAmino; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDepositsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsResponse"; - value: Uint8Array; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseAmino { - deposits: DepositAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDepositsResponseAminoMsg { - type: "cosmos-sdk/QueryDepositsResponse"; - value: QueryDepositsResponseAmino; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType; -} -export declare const QueryProposalRequest: { - encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest; - fromJSON(object: any): QueryProposalRequest; - toJSON(message: QueryProposalRequest): unknown; - fromPartial(object: Partial): QueryProposalRequest; - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; - toProto(message: QueryProposalRequest): Uint8Array; - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; -}; -export declare const QueryProposalResponse: { - encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse; - fromJSON(object: any): QueryProposalResponse; - toJSON(message: QueryProposalResponse): unknown; - fromPartial(object: Partial): QueryProposalResponse; - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; - toProto(message: QueryProposalResponse): Uint8Array; - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; -}; -export declare const QueryProposalsRequest: { - encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest; - fromJSON(object: any): QueryProposalsRequest; - toJSON(message: QueryProposalsRequest): unknown; - fromPartial(object: Partial): QueryProposalsRequest; - fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest; - toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino; - fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest; - toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg; - fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest; - toProto(message: QueryProposalsRequest): Uint8Array; - toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg; -}; -export declare const QueryProposalsResponse: { - encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse; - fromJSON(object: any): QueryProposalsResponse; - toJSON(message: QueryProposalsResponse): unknown; - fromPartial(object: Partial): QueryProposalsResponse; - fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse; - toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino; - fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse; - toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg; - fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse; - toProto(message: QueryProposalsResponse): Uint8Array; - toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg; -}; -export declare const QueryVoteRequest: { - encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest; - fromJSON(object: any): QueryVoteRequest; - toJSON(message: QueryVoteRequest): unknown; - fromPartial(object: Partial): QueryVoteRequest; - fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest; - toAmino(message: QueryVoteRequest): QueryVoteRequestAmino; - fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest; - toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg; - fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest; - toProto(message: QueryVoteRequest): Uint8Array; - toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg; -}; -export declare const QueryVoteResponse: { - encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse; - fromJSON(object: any): QueryVoteResponse; - toJSON(message: QueryVoteResponse): unknown; - fromPartial(object: Partial): QueryVoteResponse; - fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse; - toAmino(message: QueryVoteResponse): QueryVoteResponseAmino; - fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse; - toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg; - fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse; - toProto(message: QueryVoteResponse): Uint8Array; - toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg; -}; -export declare const QueryVotesRequest: { - encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest; - fromJSON(object: any): QueryVotesRequest; - toJSON(message: QueryVotesRequest): unknown; - fromPartial(object: Partial): QueryVotesRequest; - fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest; - toAmino(message: QueryVotesRequest): QueryVotesRequestAmino; - fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest; - toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg; - fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest; - toProto(message: QueryVotesRequest): Uint8Array; - toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg; -}; -export declare const QueryVotesResponse: { - encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse; - fromJSON(object: any): QueryVotesResponse; - toJSON(message: QueryVotesResponse): unknown; - fromPartial(object: Partial): QueryVotesResponse; - fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse; - toAmino(message: QueryVotesResponse): QueryVotesResponseAmino; - fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse; - toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg; - fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse; - toProto(message: QueryVotesResponse): Uint8Array; - toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(object: any): QueryParamsRequest; - toJSON(message: QueryParamsRequest): unknown; - fromPartial(object: Partial): QueryParamsRequest; - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDepositRequest: { - encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest; - fromJSON(object: any): QueryDepositRequest; - toJSON(message: QueryDepositRequest): unknown; - fromPartial(object: Partial): QueryDepositRequest; - fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest; - toAmino(message: QueryDepositRequest): QueryDepositRequestAmino; - fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest; - toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg; - fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest; - toProto(message: QueryDepositRequest): Uint8Array; - toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg; -}; -export declare const QueryDepositResponse: { - encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse; - fromJSON(object: any): QueryDepositResponse; - toJSON(message: QueryDepositResponse): unknown; - fromPartial(object: Partial): QueryDepositResponse; - fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse; - toAmino(message: QueryDepositResponse): QueryDepositResponseAmino; - fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse; - toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg; - fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse; - toProto(message: QueryDepositResponse): Uint8Array; - toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg; -}; -export declare const QueryDepositsRequest: { - encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest; - fromJSON(object: any): QueryDepositsRequest; - toJSON(message: QueryDepositsRequest): unknown; - fromPartial(object: Partial): QueryDepositsRequest; - fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest; - toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino; - fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest; - toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg; - fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest; - toProto(message: QueryDepositsRequest): Uint8Array; - toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg; -}; -export declare const QueryDepositsResponse: { - encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse; - fromJSON(object: any): QueryDepositsResponse; - toJSON(message: QueryDepositsResponse): unknown; - fromPartial(object: Partial): QueryDepositsResponse; - fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse; - toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino; - fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse; - toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg; - fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse; - toProto(message: QueryDepositsResponse): Uint8Array; - toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg; -}; -export declare const QueryTallyResultRequest: { - encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest; - fromJSON(object: any): QueryTallyResultRequest; - toJSON(message: QueryTallyResultRequest): unknown; - fromPartial(object: Partial): QueryTallyResultRequest; - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; - toProto(message: QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; -}; -export declare const QueryTallyResultResponse: { - encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse; - fromJSON(object: any): QueryTallyResultResponse; - toJSON(message: QueryTallyResultResponse): unknown; - fromPartial(object: Partial): QueryTallyResultResponse; - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; - toProto(message: QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts deleted file mode 100644 index 9ce44b6a..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - proposal(params: QueryProposalRequest): Promise; - proposals(params: QueryProposalsRequest): Promise; - vote(params: QueryVoteRequest): Promise; - votes(params: QueryVotesRequest): Promise; - params(params: QueryParamsRequest): Promise; - deposit(params: QueryDepositRequest): Promise; - deposits(params: QueryDepositsRequest): Promise; - tallyResult(params: QueryTallyResultRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 8152da58..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query defines the gRPC querier service for gov module */ -export interface Query { - /** Proposal queries proposal details based on ProposalID. */ - proposal(request: QueryProposalRequest): Promise; - /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): Promise; - /** Vote queries voted information based on proposalID, voterAddr. */ - vote(request: QueryVoteRequest): Promise; - /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): Promise; - /** Deposit queries single deposit information based proposalID, depositAddr. */ - deposit(request: QueryDepositRequest): Promise; - /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /** TallyResult queries the tally of a proposal vote. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts deleted file mode 100644 index c27154bf..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const AminoConverter: { - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: MsgSubmitProposal) => import("./tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./tx").MsgSubmitProposalAmino) => MsgSubmitProposal; - }; - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: string; - toAmino: (message: MsgVote) => import("./tx").MsgVoteAmino; - fromAmino: (object: import("./tx").MsgVoteAmino) => MsgVote; - }; - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: MsgVoteWeighted) => import("./tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./tx").MsgVoteWeightedAmino) => MsgVoteWeighted; - }; - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: string; - toAmino: (message: MsgDeposit) => import("./tx").MsgDepositAmino; - fromAmino: (object: import("./tx").MsgDepositAmino) => MsgDeposit; - }; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/tx.d.ts deleted file mode 100644 index 47041f40..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.d.ts +++ /dev/null @@ -1,331 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "./gov"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposal { - content: (TextProposal & Any) | undefined; - initialDeposit: Coin[]; - proposer: string; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal"; - value: Uint8Array; -} -export type MsgSubmitProposalEncoded = Omit & { - content?: TextProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalAmino { - content?: AnyAmino; - initial_deposit: CoinAmino[]; - proposer: string; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalSDKType { - content: TextProposalSDKType | AnySDKType | undefined; - initial_deposit: CoinSDKType[]; - proposer: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - proposalId: Long; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - proposal_id: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVote { - proposalId: Long; - voter: string; - option: VoteOption; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVote"; - value: Uint8Array; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteAmino { - proposal_id: string; - voter: string; - option: VoteOption; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponse { -} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseAmino { -} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType { -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeighted { - proposalId: Long; - voter: string; - options: WeightedVoteOption[]; -} -export interface MsgVoteWeightedProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted"; - value: Uint8Array; -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedAmino { - proposal_id: string; - voter: string; - options: WeightedVoteOptionAmino[]; -} -export interface MsgVoteWeightedAminoMsg { - type: "cosmos-sdk/MsgVoteWeighted"; - value: MsgVoteWeightedAmino; -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedSDKType { - proposal_id: Long; - voter: string; - options: WeightedVoteOptionSDKType[]; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponse { -} -export interface MsgVoteWeightedResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeightedResponse"; - value: Uint8Array; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponseAmino { -} -export interface MsgVoteWeightedResponseAminoMsg { - type: "cosmos-sdk/MsgVoteWeightedResponse"; - value: MsgVoteWeightedResponseAmino; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponseSDKType { -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDeposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface MsgDepositProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit"; - value: Uint8Array; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface MsgDepositAminoMsg { - type: "cosmos-sdk/MsgDeposit"; - value: MsgDepositAmino; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponse { -} -export interface MsgDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgDepositResponse"; - value: Uint8Array; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseAmino { -} -export interface MsgDepositResponseAminoMsg { - type: "cosmos-sdk/MsgDepositResponse"; - value: MsgDepositResponseAmino; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseSDKType { -} -export declare const MsgSubmitProposal: { - encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal; - fromJSON(object: any): MsgSubmitProposal; - toJSON(message: MsgSubmitProposal): unknown; - fromPartial(object: Partial): MsgSubmitProposal; - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal; - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino; - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal; - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg; - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; - toProto(message: MsgSubmitProposal): Uint8Array; - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; -}; -export declare const MsgSubmitProposalResponse: { - encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromJSON(object: any): MsgSubmitProposalResponse; - toJSON(message: MsgSubmitProposalResponse): unknown; - fromPartial(object: Partial): MsgSubmitProposalResponse; - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse; - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino; - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse; - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; - toProto(message: MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; -}; -export declare const MsgVote: { - encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote; - fromJSON(object: any): MsgVote; - toJSON(message: MsgVote): unknown; - fromPartial(object: Partial): MsgVote; - fromAmino(object: MsgVoteAmino): MsgVote; - toAmino(message: MsgVote): MsgVoteAmino; - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote; - toAminoMsg(message: MsgVote): MsgVoteAminoMsg; - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; - toProto(message: MsgVote): Uint8Array; - toProtoMsg(message: MsgVote): MsgVoteProtoMsg; -}; -export declare const MsgVoteResponse: { - encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse; - fromJSON(_: any): MsgVoteResponse; - toJSON(_: MsgVoteResponse): unknown; - fromPartial(_: Partial): MsgVoteResponse; - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse; - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino; - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse; - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg; - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; - toProto(message: MsgVoteResponse): Uint8Array; - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; -}; -export declare const MsgVoteWeighted: { - encode(message: MsgVoteWeighted, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted; - fromJSON(object: any): MsgVoteWeighted; - toJSON(message: MsgVoteWeighted): unknown; - fromPartial(object: Partial): MsgVoteWeighted; - fromAmino(object: MsgVoteWeightedAmino): MsgVoteWeighted; - toAmino(message: MsgVoteWeighted): MsgVoteWeightedAmino; - fromAminoMsg(object: MsgVoteWeightedAminoMsg): MsgVoteWeighted; - toAminoMsg(message: MsgVoteWeighted): MsgVoteWeightedAminoMsg; - fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted; - toProto(message: MsgVoteWeighted): Uint8Array; - toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg; -}; -export declare const MsgVoteWeightedResponse: { - encode(_: MsgVoteWeightedResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse; - fromJSON(_: any): MsgVoteWeightedResponse; - toJSON(_: MsgVoteWeightedResponse): unknown; - fromPartial(_: Partial): MsgVoteWeightedResponse; - fromAmino(_: MsgVoteWeightedResponseAmino): MsgVoteWeightedResponse; - toAmino(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseAmino; - fromAminoMsg(object: MsgVoteWeightedResponseAminoMsg): MsgVoteWeightedResponse; - toAminoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse; - toProto(message: MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg; -}; -export declare const MsgDeposit: { - encode(message: MsgDeposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit; - fromJSON(object: any): MsgDeposit; - toJSON(message: MsgDeposit): unknown; - fromPartial(object: Partial): MsgDeposit; - fromAmino(object: MsgDepositAmino): MsgDeposit; - toAmino(message: MsgDeposit): MsgDepositAmino; - fromAminoMsg(object: MsgDepositAminoMsg): MsgDeposit; - toAminoMsg(message: MsgDeposit): MsgDepositAminoMsg; - fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit; - toProto(message: MsgDeposit): Uint8Array; - toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg; -}; -export declare const MsgDepositResponse: { - encode(_: MsgDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse; - fromJSON(_: any): MsgDepositResponse; - toJSON(_: MsgDepositResponse): unknown; - fromPartial(_: Partial): MsgDepositResponse; - fromAmino(_: MsgDepositResponseAmino): MsgDepositResponse; - toAmino(_: MsgDepositResponse): MsgDepositResponseAmino; - fromAminoMsg(object: MsgDepositResponseAminoMsg): MsgDepositResponse; - toAminoMsg(message: MsgDepositResponse): MsgDepositResponseAminoMsg; - fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse; - toProto(message: MsgDepositResponse): Uint8Array; - toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg; -}; -export declare const Content_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => TextProposal | Any; -export declare const Content_FromAmino: (content: AnyAmino) => Any; -export declare const Content_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts deleted file mode 100644 index 51cfa91f..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: MsgSubmitProposal; - }; - vote(value: any): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 0fc403bc..00000000 --- a/packages/api/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - submitProposal(request: MsgSubmitProposal): Promise; - /** Vote defines a method to add a vote on a specific proposal. */ - vote(request: MsgVote): Promise; - /** - * VoteWeighted defines a method to add a weighted vote on a specific proposal. - * - * Since: cosmos-sdk 0.43 - */ - voteWeighted(request: MsgVoteWeighted): Promise; - /** Deposit defines a method to add deposit on a specific proposal. */ - deposit(request: MsgDeposit): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - submitProposal(request: MsgSubmitProposal): Promise; - vote(request: MsgVote): Promise; - voteWeighted(request: MsgVoteWeighted): Promise; - deposit(request: MsgDeposit): Promise; -} diff --git a/packages/api/types/codegen/cosmos/group/v1/events.d.ts b/packages/api/types/codegen/cosmos/group/v1/events.d.ts deleted file mode 100644 index ff558676..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/events.d.ts +++ /dev/null @@ -1,342 +0,0 @@ -import { ProposalExecutorResult } from "./types"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface EventCreateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventCreateGroup"; - value: Uint8Array; -} -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroupAmino { - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface EventCreateGroupAminoMsg { - type: "cosmos-sdk/EventCreateGroup"; - value: EventCreateGroupAmino; -} -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroupSDKType { - group_id: Long; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface EventUpdateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventUpdateGroup"; - value: Uint8Array; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroupAmino { - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface EventUpdateGroupAminoMsg { - type: "cosmos-sdk/EventUpdateGroup"; - value: EventUpdateGroupAmino; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroupSDKType { - group_id: Long; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventCreateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy"; - value: Uint8Array; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicyAmino { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventCreateGroupPolicyAminoMsg { - type: "cosmos-sdk/EventCreateGroupPolicy"; - value: EventCreateGroupPolicyAmino; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicySDKType { - address: string; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventUpdateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy"; - value: Uint8Array; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicyAmino { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventUpdateGroupPolicyAminoMsg { - type: "cosmos-sdk/EventUpdateGroupPolicy"; - value: EventUpdateGroupPolicyAmino; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicySDKType { - address: string; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -export interface EventSubmitProposalProtoMsg { - typeUrl: "/cosmos.group.v1.EventSubmitProposal"; - value: Uint8Array; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposalAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; -} -export interface EventSubmitProposalAminoMsg { - type: "cosmos-sdk/EventSubmitProposal"; - value: EventSubmitProposalAmino; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposalSDKType { - proposal_id: Long; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -export interface EventWithdrawProposalProtoMsg { - typeUrl: "/cosmos.group.v1.EventWithdrawProposal"; - value: Uint8Array; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposalAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; -} -export interface EventWithdrawProposalAminoMsg { - type: "cosmos-sdk/EventWithdrawProposal"; - value: EventWithdrawProposalAmino; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposalSDKType { - proposal_id: Long; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVote { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -export interface EventVoteProtoMsg { - typeUrl: "/cosmos.group.v1.EventVote"; - value: Uint8Array; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVoteAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; -} -export interface EventVoteAminoMsg { - type: "cosmos-sdk/EventVote"; - value: EventVoteAmino; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVoteSDKType { - proposal_id: Long; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExec { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; - /** result is the proposal execution result. */ - result: ProposalExecutorResult; - /** logs contains error logs in case the execution result is FAILURE. */ - logs: string; -} -export interface EventExecProtoMsg { - typeUrl: "/cosmos.group.v1.EventExec"; - value: Uint8Array; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExecAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; - /** result is the proposal execution result. */ - result: ProposalExecutorResult; - /** logs contains error logs in case the execution result is FAILURE. */ - logs: string; -} -export interface EventExecAminoMsg { - type: "cosmos-sdk/EventExec"; - value: EventExecAmino; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExecSDKType { - proposal_id: Long; - result: ProposalExecutorResult; - logs: string; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** address is the account address of the group member. */ - address: string; -} -export interface EventLeaveGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventLeaveGroup"; - value: Uint8Array; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroupAmino { - /** group_id is the unique ID of the group. */ - group_id: string; - /** address is the account address of the group member. */ - address: string; -} -export interface EventLeaveGroupAminoMsg { - type: "cosmos-sdk/EventLeaveGroup"; - value: EventLeaveGroupAmino; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroupSDKType { - group_id: Long; - address: string; -} -export declare const EventCreateGroup: { - encode(message: EventCreateGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroup; - fromJSON(object: any): EventCreateGroup; - toJSON(message: EventCreateGroup): unknown; - fromPartial(object: Partial): EventCreateGroup; - fromAmino(object: EventCreateGroupAmino): EventCreateGroup; - toAmino(message: EventCreateGroup): EventCreateGroupAmino; - fromAminoMsg(object: EventCreateGroupAminoMsg): EventCreateGroup; - toAminoMsg(message: EventCreateGroup): EventCreateGroupAminoMsg; - fromProtoMsg(message: EventCreateGroupProtoMsg): EventCreateGroup; - toProto(message: EventCreateGroup): Uint8Array; - toProtoMsg(message: EventCreateGroup): EventCreateGroupProtoMsg; -}; -export declare const EventUpdateGroup: { - encode(message: EventUpdateGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroup; - fromJSON(object: any): EventUpdateGroup; - toJSON(message: EventUpdateGroup): unknown; - fromPartial(object: Partial): EventUpdateGroup; - fromAmino(object: EventUpdateGroupAmino): EventUpdateGroup; - toAmino(message: EventUpdateGroup): EventUpdateGroupAmino; - fromAminoMsg(object: EventUpdateGroupAminoMsg): EventUpdateGroup; - toAminoMsg(message: EventUpdateGroup): EventUpdateGroupAminoMsg; - fromProtoMsg(message: EventUpdateGroupProtoMsg): EventUpdateGroup; - toProto(message: EventUpdateGroup): Uint8Array; - toProtoMsg(message: EventUpdateGroup): EventUpdateGroupProtoMsg; -}; -export declare const EventCreateGroupPolicy: { - encode(message: EventCreateGroupPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroupPolicy; - fromJSON(object: any): EventCreateGroupPolicy; - toJSON(message: EventCreateGroupPolicy): unknown; - fromPartial(object: Partial): EventCreateGroupPolicy; - fromAmino(object: EventCreateGroupPolicyAmino): EventCreateGroupPolicy; - toAmino(message: EventCreateGroupPolicy): EventCreateGroupPolicyAmino; - fromAminoMsg(object: EventCreateGroupPolicyAminoMsg): EventCreateGroupPolicy; - toAminoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyAminoMsg; - fromProtoMsg(message: EventCreateGroupPolicyProtoMsg): EventCreateGroupPolicy; - toProto(message: EventCreateGroupPolicy): Uint8Array; - toProtoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyProtoMsg; -}; -export declare const EventUpdateGroupPolicy: { - encode(message: EventUpdateGroupPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroupPolicy; - fromJSON(object: any): EventUpdateGroupPolicy; - toJSON(message: EventUpdateGroupPolicy): unknown; - fromPartial(object: Partial): EventUpdateGroupPolicy; - fromAmino(object: EventUpdateGroupPolicyAmino): EventUpdateGroupPolicy; - toAmino(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAmino; - fromAminoMsg(object: EventUpdateGroupPolicyAminoMsg): EventUpdateGroupPolicy; - toAminoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAminoMsg; - fromProtoMsg(message: EventUpdateGroupPolicyProtoMsg): EventUpdateGroupPolicy; - toProto(message: EventUpdateGroupPolicy): Uint8Array; - toProtoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyProtoMsg; -}; -export declare const EventSubmitProposal: { - encode(message: EventSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventSubmitProposal; - fromJSON(object: any): EventSubmitProposal; - toJSON(message: EventSubmitProposal): unknown; - fromPartial(object: Partial): EventSubmitProposal; - fromAmino(object: EventSubmitProposalAmino): EventSubmitProposal; - toAmino(message: EventSubmitProposal): EventSubmitProposalAmino; - fromAminoMsg(object: EventSubmitProposalAminoMsg): EventSubmitProposal; - toAminoMsg(message: EventSubmitProposal): EventSubmitProposalAminoMsg; - fromProtoMsg(message: EventSubmitProposalProtoMsg): EventSubmitProposal; - toProto(message: EventSubmitProposal): Uint8Array; - toProtoMsg(message: EventSubmitProposal): EventSubmitProposalProtoMsg; -}; -export declare const EventWithdrawProposal: { - encode(message: EventWithdrawProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventWithdrawProposal; - fromJSON(object: any): EventWithdrawProposal; - toJSON(message: EventWithdrawProposal): unknown; - fromPartial(object: Partial): EventWithdrawProposal; - fromAmino(object: EventWithdrawProposalAmino): EventWithdrawProposal; - toAmino(message: EventWithdrawProposal): EventWithdrawProposalAmino; - fromAminoMsg(object: EventWithdrawProposalAminoMsg): EventWithdrawProposal; - toAminoMsg(message: EventWithdrawProposal): EventWithdrawProposalAminoMsg; - fromProtoMsg(message: EventWithdrawProposalProtoMsg): EventWithdrawProposal; - toProto(message: EventWithdrawProposal): Uint8Array; - toProtoMsg(message: EventWithdrawProposal): EventWithdrawProposalProtoMsg; -}; -export declare const EventVote: { - encode(message: EventVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventVote; - fromJSON(object: any): EventVote; - toJSON(message: EventVote): unknown; - fromPartial(object: Partial): EventVote; - fromAmino(object: EventVoteAmino): EventVote; - toAmino(message: EventVote): EventVoteAmino; - fromAminoMsg(object: EventVoteAminoMsg): EventVote; - toAminoMsg(message: EventVote): EventVoteAminoMsg; - fromProtoMsg(message: EventVoteProtoMsg): EventVote; - toProto(message: EventVote): Uint8Array; - toProtoMsg(message: EventVote): EventVoteProtoMsg; -}; -export declare const EventExec: { - encode(message: EventExec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventExec; - fromJSON(object: any): EventExec; - toJSON(message: EventExec): unknown; - fromPartial(object: Partial): EventExec; - fromAmino(object: EventExecAmino): EventExec; - toAmino(message: EventExec): EventExecAmino; - fromAminoMsg(object: EventExecAminoMsg): EventExec; - toAminoMsg(message: EventExec): EventExecAminoMsg; - fromProtoMsg(message: EventExecProtoMsg): EventExec; - toProto(message: EventExec): Uint8Array; - toProtoMsg(message: EventExec): EventExecProtoMsg; -}; -export declare const EventLeaveGroup: { - encode(message: EventLeaveGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventLeaveGroup; - fromJSON(object: any): EventLeaveGroup; - toJSON(message: EventLeaveGroup): unknown; - fromPartial(object: Partial): EventLeaveGroup; - fromAmino(object: EventLeaveGroupAmino): EventLeaveGroup; - toAmino(message: EventLeaveGroup): EventLeaveGroupAmino; - fromAminoMsg(object: EventLeaveGroupAminoMsg): EventLeaveGroup; - toAminoMsg(message: EventLeaveGroup): EventLeaveGroupAminoMsg; - fromProtoMsg(message: EventLeaveGroupProtoMsg): EventLeaveGroup; - toProto(message: EventLeaveGroup): Uint8Array; - toProtoMsg(message: EventLeaveGroup): EventLeaveGroupProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/group/v1/genesis.d.ts b/packages/api/types/codegen/cosmos/group/v1/genesis.d.ts deleted file mode 100644 index ddd20636..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/genesis.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType } from "./types"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the group module's genesis state. */ -export interface GenesisState { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - groupSeq: Long; - /** groups is the list of groups info. */ - groups: GroupInfo[]; - /** group_members is the list of groups members. */ - groupMembers: GroupMember[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - groupPolicySeq: Long; - /** group_policies is the list of group policies info. */ - groupPolicies: GroupPolicyInfo[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - proposalSeq: Long; - /** proposals is the list of proposals. */ - proposals: Proposal[]; - /** votes is the list of votes. */ - votes: Vote[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.group.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the group module's genesis state. */ -export interface GenesisStateAmino { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - group_seq: string; - /** groups is the list of groups info. */ - groups: GroupInfoAmino[]; - /** group_members is the list of groups members. */ - group_members: GroupMemberAmino[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - group_policy_seq: string; - /** group_policies is the list of group policies info. */ - group_policies: GroupPolicyInfoAmino[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - proposal_seq: string; - /** proposals is the list of proposals. */ - proposals: ProposalAmino[]; - /** votes is the list of votes. */ - votes: VoteAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the group module's genesis state. */ -export interface GenesisStateSDKType { - group_seq: Long; - groups: GroupInfoSDKType[]; - group_members: GroupMemberSDKType[]; - group_policy_seq: Long; - group_policies: GroupPolicyInfoSDKType[]; - proposal_seq: Long; - proposals: ProposalSDKType[]; - votes: VoteSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/group/v1/query.d.ts b/packages/api/types/codegen/cosmos/group/v1/query.d.ts deleted file mode 100644 index 30c704fe..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/query.d.ts +++ /dev/null @@ -1,1025 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./types"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface QueryGroupInfoRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest"; - value: Uint8Array; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequestAmino { - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface QueryGroupInfoRequestAminoMsg { - type: "cosmos-sdk/QueryGroupInfoRequest"; - value: QueryGroupInfoRequestAmino; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequestSDKType { - group_id: Long; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponse { - /** info is the GroupInfo for the group. */ - info: GroupInfo; -} -export interface QueryGroupInfoResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse"; - value: Uint8Array; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponseAmino { - /** info is the GroupInfo for the group. */ - info?: GroupInfoAmino; -} -export interface QueryGroupInfoResponseAminoMsg { - type: "cosmos-sdk/QueryGroupInfoResponse"; - value: QueryGroupInfoResponseAmino; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponseSDKType { - info: GroupInfoSDKType; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequest { - /** address is the account address of the group policy. */ - address: string; -} -export interface QueryGroupPolicyInfoRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest"; - value: Uint8Array; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequestAmino { - /** address is the account address of the group policy. */ - address: string; -} -export interface QueryGroupPolicyInfoRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPolicyInfoRequest"; - value: QueryGroupPolicyInfoRequestAmino; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequestSDKType { - address: string; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponse { - /** info is the GroupPolicyInfo for the group policy. */ - info: GroupPolicyInfo; -} -export interface QueryGroupPolicyInfoResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse"; - value: Uint8Array; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponseAmino { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfoAmino; -} -export interface QueryGroupPolicyInfoResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPolicyInfoResponse"; - value: QueryGroupPolicyInfoResponseAmino; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponseSDKType { - info: GroupPolicyInfoSDKType; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupMembersRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest"; - value: Uint8Array; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequestAmino { - /** group_id is the unique ID of the group. */ - group_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupMembersRequestAminoMsg { - type: "cosmos-sdk/QueryGroupMembersRequest"; - value: QueryGroupMembersRequestAmino; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequestSDKType { - group_id: Long; - pagination: PageRequestSDKType; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponse { - /** members are the members of the group with given group_id. */ - members: GroupMember[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupMembersResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse"; - value: Uint8Array; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponseAmino { - /** members are the members of the group with given group_id. */ - members: GroupMemberAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupMembersResponseAminoMsg { - type: "cosmos-sdk/QueryGroupMembersResponse"; - value: QueryGroupMembersResponseAmino; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponseSDKType { - members: GroupMemberSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequest { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupsByAdminRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest"; - value: Uint8Array; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequestAmino { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupsByAdminRequestAminoMsg { - type: "cosmos-sdk/QueryGroupsByAdminRequest"; - value: QueryGroupsByAdminRequestAmino; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequestSDKType { - admin: string; - pagination: PageRequestSDKType; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponse { - /** groups are the groups info with the provided admin. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupsByAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse"; - value: Uint8Array; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponseAmino { - /** groups are the groups info with the provided admin. */ - groups: GroupInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupsByAdminResponseAminoMsg { - type: "cosmos-sdk/QueryGroupsByAdminResponse"; - value: QueryGroupsByAdminResponseAmino; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponseSDKType { - groups: GroupInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequest { - /** group_id is the unique ID of the group policy's group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupPoliciesByGroupRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest"; - value: Uint8Array; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequestAmino { - /** group_id is the unique ID of the group policy's group. */ - group_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupPoliciesByGroupRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByGroupRequest"; - value: QueryGroupPoliciesByGroupRequestAmino; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequestSDKType { - group_id: Long; - pagination: PageRequestSDKType; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponse { - /** group_policies are the group policies info associated with the provided group. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupPoliciesByGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse"; - value: Uint8Array; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponseAmino { - /** group_policies are the group policies info associated with the provided group. */ - group_policies: GroupPolicyInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupPoliciesByGroupResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByGroupResponse"; - value: QueryGroupPoliciesByGroupResponseAmino; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequest { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupPoliciesByAdminRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest"; - value: Uint8Array; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequestAmino { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupPoliciesByAdminRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByAdminRequest"; - value: QueryGroupPoliciesByAdminRequestAmino; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequestSDKType { - admin: string; - pagination: PageRequestSDKType; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponse { - /** group_policies are the group policies info with provided admin. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupPoliciesByAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse"; - value: Uint8Array; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponseAmino { - /** group_policies are the group policies info with provided admin. */ - group_policies: GroupPolicyInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupPoliciesByAdminResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByAdminResponse"; - value: QueryGroupPoliciesByAdminResponseAmino; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponse { - /** proposal is the proposal info. */ - proposal: Proposal; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponseAmino { - /** proposal is the proposal info. */ - proposal?: ProposalAmino; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequest { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProposalsByGroupPolicyRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest"; - value: Uint8Array; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequestAmino { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProposalsByGroupPolicyRequestAminoMsg { - type: "cosmos-sdk/QueryProposalsByGroupPolicyRequest"; - value: QueryProposalsByGroupPolicyRequestAmino; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponse { - /** proposals are the proposals with given group policy. */ - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProposalsByGroupPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse"; - value: Uint8Array; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponseAmino { - /** proposals are the proposals with given group policy. */ - proposals: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProposalsByGroupPolicyResponseAminoMsg { - type: "cosmos-sdk/QueryProposalsByGroupPolicyResponse"; - value: QueryProposalsByGroupPolicyResponseAmino; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponseSDKType { - proposals: ProposalSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** voter is a proposal voter account address. */ - voter: string; -} -export interface QueryVoteByProposalVoterRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest"; - value: Uint8Array; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: string; - /** voter is a proposal voter account address. */ - voter: string; -} -export interface QueryVoteByProposalVoterRequestAminoMsg { - type: "cosmos-sdk/QueryVoteByProposalVoterRequest"; - value: QueryVoteByProposalVoterRequestAmino; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponse { - /** vote is the vote with given proposal_id and voter. */ - vote: Vote; -} -export interface QueryVoteByProposalVoterResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse"; - value: Uint8Array; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponseAmino { - /** vote is the vote with given proposal_id and voter. */ - vote?: VoteAmino; -} -export interface QueryVoteByProposalVoterResponseAminoMsg { - type: "cosmos-sdk/QueryVoteByProposalVoterResponse"; - value: QueryVoteByProposalVoterResponseAmino; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponseSDKType { - vote: VoteSDKType; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesByProposalRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest"; - value: Uint8Array; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesByProposalRequestAminoMsg { - type: "cosmos-sdk/QueryVotesByProposalRequest"; - value: QueryVotesByProposalRequestAmino; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponse { - /** votes are the list of votes for given proposal_id. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesByProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse"; - value: Uint8Array; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponseAmino { - /** votes are the list of votes for given proposal_id. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesByProposalResponseAminoMsg { - type: "cosmos-sdk/QueryVotesByProposalResponse"; - value: QueryVotesByProposalResponseAmino; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequest { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesByVoterRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest"; - value: Uint8Array; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequestAmino { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesByVoterRequestAminoMsg { - type: "cosmos-sdk/QueryVotesByVoterRequest"; - value: QueryVotesByVoterRequestAmino; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequestSDKType { - voter: string; - pagination: PageRequestSDKType; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponse { - /** votes are the list of votes by given voter. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesByVoterResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse"; - value: Uint8Array; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponseAmino { - /** votes are the list of votes by given voter. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesByVoterResponseAminoMsg { - type: "cosmos-sdk/QueryVotesByVoterResponse"; - value: QueryVotesByVoterResponseAmino; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequest { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupsByMemberRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest"; - value: Uint8Array; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequestAmino { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupsByMemberRequestAminoMsg { - type: "cosmos-sdk/QueryGroupsByMemberRequest"; - value: QueryGroupsByMemberRequestAmino; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponse { - /** groups are the groups info with the provided group member. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupsByMemberResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse"; - value: Uint8Array; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponseAmino { - /** groups are the groups info with the provided group member. */ - groups: GroupInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupsByMemberResponseAminoMsg { - type: "cosmos-sdk/QueryGroupsByMemberResponse"; - value: QueryGroupsByMemberResponseAmino; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponseSDKType { - groups: GroupInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequest { - /** proposal_id is the unique id of a proposal. */ - proposalId: Long; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id is the unique id of a proposal. */ - proposal_id: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType; -} -export declare const QueryGroupInfoRequest: { - encode(message: QueryGroupInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoRequest; - fromJSON(object: any): QueryGroupInfoRequest; - toJSON(message: QueryGroupInfoRequest): unknown; - fromPartial(object: Partial): QueryGroupInfoRequest; - fromAmino(object: QueryGroupInfoRequestAmino): QueryGroupInfoRequest; - toAmino(message: QueryGroupInfoRequest): QueryGroupInfoRequestAmino; - fromAminoMsg(object: QueryGroupInfoRequestAminoMsg): QueryGroupInfoRequest; - toAminoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestAminoMsg; - fromProtoMsg(message: QueryGroupInfoRequestProtoMsg): QueryGroupInfoRequest; - toProto(message: QueryGroupInfoRequest): Uint8Array; - toProtoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestProtoMsg; -}; -export declare const QueryGroupInfoResponse: { - encode(message: QueryGroupInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse; - fromJSON(object: any): QueryGroupInfoResponse; - toJSON(message: QueryGroupInfoResponse): unknown; - fromPartial(object: Partial): QueryGroupInfoResponse; - fromAmino(object: QueryGroupInfoResponseAmino): QueryGroupInfoResponse; - toAmino(message: QueryGroupInfoResponse): QueryGroupInfoResponseAmino; - fromAminoMsg(object: QueryGroupInfoResponseAminoMsg): QueryGroupInfoResponse; - toAminoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseAminoMsg; - fromProtoMsg(message: QueryGroupInfoResponseProtoMsg): QueryGroupInfoResponse; - toProto(message: QueryGroupInfoResponse): Uint8Array; - toProtoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseProtoMsg; -}; -export declare const QueryGroupPolicyInfoRequest: { - encode(message: QueryGroupPolicyInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest; - fromJSON(object: any): QueryGroupPolicyInfoRequest; - toJSON(message: QueryGroupPolicyInfoRequest): unknown; - fromPartial(object: Partial): QueryGroupPolicyInfoRequest; - fromAmino(object: QueryGroupPolicyInfoRequestAmino): QueryGroupPolicyInfoRequest; - toAmino(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAmino; - fromAminoMsg(object: QueryGroupPolicyInfoRequestAminoMsg): QueryGroupPolicyInfoRequest; - toAminoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAminoMsg; - fromProtoMsg(message: QueryGroupPolicyInfoRequestProtoMsg): QueryGroupPolicyInfoRequest; - toProto(message: QueryGroupPolicyInfoRequest): Uint8Array; - toProtoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestProtoMsg; -}; -export declare const QueryGroupPolicyInfoResponse: { - encode(message: QueryGroupPolicyInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse; - fromJSON(object: any): QueryGroupPolicyInfoResponse; - toJSON(message: QueryGroupPolicyInfoResponse): unknown; - fromPartial(object: Partial): QueryGroupPolicyInfoResponse; - fromAmino(object: QueryGroupPolicyInfoResponseAmino): QueryGroupPolicyInfoResponse; - toAmino(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAmino; - fromAminoMsg(object: QueryGroupPolicyInfoResponseAminoMsg): QueryGroupPolicyInfoResponse; - toAminoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAminoMsg; - fromProtoMsg(message: QueryGroupPolicyInfoResponseProtoMsg): QueryGroupPolicyInfoResponse; - toProto(message: QueryGroupPolicyInfoResponse): Uint8Array; - toProtoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseProtoMsg; -}; -export declare const QueryGroupMembersRequest: { - encode(message: QueryGroupMembersRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersRequest; - fromJSON(object: any): QueryGroupMembersRequest; - toJSON(message: QueryGroupMembersRequest): unknown; - fromPartial(object: Partial): QueryGroupMembersRequest; - fromAmino(object: QueryGroupMembersRequestAmino): QueryGroupMembersRequest; - toAmino(message: QueryGroupMembersRequest): QueryGroupMembersRequestAmino; - fromAminoMsg(object: QueryGroupMembersRequestAminoMsg): QueryGroupMembersRequest; - toAminoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestAminoMsg; - fromProtoMsg(message: QueryGroupMembersRequestProtoMsg): QueryGroupMembersRequest; - toProto(message: QueryGroupMembersRequest): Uint8Array; - toProtoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestProtoMsg; -}; -export declare const QueryGroupMembersResponse: { - encode(message: QueryGroupMembersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse; - fromJSON(object: any): QueryGroupMembersResponse; - toJSON(message: QueryGroupMembersResponse): unknown; - fromPartial(object: Partial): QueryGroupMembersResponse; - fromAmino(object: QueryGroupMembersResponseAmino): QueryGroupMembersResponse; - toAmino(message: QueryGroupMembersResponse): QueryGroupMembersResponseAmino; - fromAminoMsg(object: QueryGroupMembersResponseAminoMsg): QueryGroupMembersResponse; - toAminoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseAminoMsg; - fromProtoMsg(message: QueryGroupMembersResponseProtoMsg): QueryGroupMembersResponse; - toProto(message: QueryGroupMembersResponse): Uint8Array; - toProtoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseProtoMsg; -}; -export declare const QueryGroupsByAdminRequest: { - encode(message: QueryGroupsByAdminRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminRequest; - fromJSON(object: any): QueryGroupsByAdminRequest; - toJSON(message: QueryGroupsByAdminRequest): unknown; - fromPartial(object: Partial): QueryGroupsByAdminRequest; - fromAmino(object: QueryGroupsByAdminRequestAmino): QueryGroupsByAdminRequest; - toAmino(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAmino; - fromAminoMsg(object: QueryGroupsByAdminRequestAminoMsg): QueryGroupsByAdminRequest; - toAminoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAminoMsg; - fromProtoMsg(message: QueryGroupsByAdminRequestProtoMsg): QueryGroupsByAdminRequest; - toProto(message: QueryGroupsByAdminRequest): Uint8Array; - toProtoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestProtoMsg; -}; -export declare const QueryGroupsByAdminResponse: { - encode(message: QueryGroupsByAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse; - fromJSON(object: any): QueryGroupsByAdminResponse; - toJSON(message: QueryGroupsByAdminResponse): unknown; - fromPartial(object: Partial): QueryGroupsByAdminResponse; - fromAmino(object: QueryGroupsByAdminResponseAmino): QueryGroupsByAdminResponse; - toAmino(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAmino; - fromAminoMsg(object: QueryGroupsByAdminResponseAminoMsg): QueryGroupsByAdminResponse; - toAminoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAminoMsg; - fromProtoMsg(message: QueryGroupsByAdminResponseProtoMsg): QueryGroupsByAdminResponse; - toProto(message: QueryGroupsByAdminResponse): Uint8Array; - toProtoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseProtoMsg; -}; -export declare const QueryGroupPoliciesByGroupRequest: { - encode(message: QueryGroupPoliciesByGroupRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest; - fromJSON(object: any): QueryGroupPoliciesByGroupRequest; - toJSON(message: QueryGroupPoliciesByGroupRequest): unknown; - fromPartial(object: Partial): QueryGroupPoliciesByGroupRequest; - fromAmino(object: QueryGroupPoliciesByGroupRequestAmino): QueryGroupPoliciesByGroupRequest; - toAmino(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAmino; - fromAminoMsg(object: QueryGroupPoliciesByGroupRequestAminoMsg): QueryGroupPoliciesByGroupRequest; - toAminoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByGroupRequestProtoMsg): QueryGroupPoliciesByGroupRequest; - toProto(message: QueryGroupPoliciesByGroupRequest): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestProtoMsg; -}; -export declare const QueryGroupPoliciesByGroupResponse: { - encode(message: QueryGroupPoliciesByGroupResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse; - fromJSON(object: any): QueryGroupPoliciesByGroupResponse; - toJSON(message: QueryGroupPoliciesByGroupResponse): unknown; - fromPartial(object: Partial): QueryGroupPoliciesByGroupResponse; - fromAmino(object: QueryGroupPoliciesByGroupResponseAmino): QueryGroupPoliciesByGroupResponse; - toAmino(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAmino; - fromAminoMsg(object: QueryGroupPoliciesByGroupResponseAminoMsg): QueryGroupPoliciesByGroupResponse; - toAminoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByGroupResponseProtoMsg): QueryGroupPoliciesByGroupResponse; - toProto(message: QueryGroupPoliciesByGroupResponse): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseProtoMsg; -}; -export declare const QueryGroupPoliciesByAdminRequest: { - encode(message: QueryGroupPoliciesByAdminRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest; - fromJSON(object: any): QueryGroupPoliciesByAdminRequest; - toJSON(message: QueryGroupPoliciesByAdminRequest): unknown; - fromPartial(object: Partial): QueryGroupPoliciesByAdminRequest; - fromAmino(object: QueryGroupPoliciesByAdminRequestAmino): QueryGroupPoliciesByAdminRequest; - toAmino(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAmino; - fromAminoMsg(object: QueryGroupPoliciesByAdminRequestAminoMsg): QueryGroupPoliciesByAdminRequest; - toAminoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByAdminRequestProtoMsg): QueryGroupPoliciesByAdminRequest; - toProto(message: QueryGroupPoliciesByAdminRequest): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestProtoMsg; -}; -export declare const QueryGroupPoliciesByAdminResponse: { - encode(message: QueryGroupPoliciesByAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse; - fromJSON(object: any): QueryGroupPoliciesByAdminResponse; - toJSON(message: QueryGroupPoliciesByAdminResponse): unknown; - fromPartial(object: Partial): QueryGroupPoliciesByAdminResponse; - fromAmino(object: QueryGroupPoliciesByAdminResponseAmino): QueryGroupPoliciesByAdminResponse; - toAmino(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAmino; - fromAminoMsg(object: QueryGroupPoliciesByAdminResponseAminoMsg): QueryGroupPoliciesByAdminResponse; - toAminoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByAdminResponseProtoMsg): QueryGroupPoliciesByAdminResponse; - toProto(message: QueryGroupPoliciesByAdminResponse): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseProtoMsg; -}; -export declare const QueryProposalRequest: { - encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest; - fromJSON(object: any): QueryProposalRequest; - toJSON(message: QueryProposalRequest): unknown; - fromPartial(object: Partial): QueryProposalRequest; - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; - toProto(message: QueryProposalRequest): Uint8Array; - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; -}; -export declare const QueryProposalResponse: { - encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse; - fromJSON(object: any): QueryProposalResponse; - toJSON(message: QueryProposalResponse): unknown; - fromPartial(object: Partial): QueryProposalResponse; - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; - toProto(message: QueryProposalResponse): Uint8Array; - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; -}; -export declare const QueryProposalsByGroupPolicyRequest: { - encode(message: QueryProposalsByGroupPolicyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest; - fromJSON(object: any): QueryProposalsByGroupPolicyRequest; - toJSON(message: QueryProposalsByGroupPolicyRequest): unknown; - fromPartial(object: Partial): QueryProposalsByGroupPolicyRequest; - fromAmino(object: QueryProposalsByGroupPolicyRequestAmino): QueryProposalsByGroupPolicyRequest; - toAmino(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAmino; - fromAminoMsg(object: QueryProposalsByGroupPolicyRequestAminoMsg): QueryProposalsByGroupPolicyRequest; - toAminoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAminoMsg; - fromProtoMsg(message: QueryProposalsByGroupPolicyRequestProtoMsg): QueryProposalsByGroupPolicyRequest; - toProto(message: QueryProposalsByGroupPolicyRequest): Uint8Array; - toProtoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestProtoMsg; -}; -export declare const QueryProposalsByGroupPolicyResponse: { - encode(message: QueryProposalsByGroupPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse; - fromJSON(object: any): QueryProposalsByGroupPolicyResponse; - toJSON(message: QueryProposalsByGroupPolicyResponse): unknown; - fromPartial(object: Partial): QueryProposalsByGroupPolicyResponse; - fromAmino(object: QueryProposalsByGroupPolicyResponseAmino): QueryProposalsByGroupPolicyResponse; - toAmino(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAmino; - fromAminoMsg(object: QueryProposalsByGroupPolicyResponseAminoMsg): QueryProposalsByGroupPolicyResponse; - toAminoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAminoMsg; - fromProtoMsg(message: QueryProposalsByGroupPolicyResponseProtoMsg): QueryProposalsByGroupPolicyResponse; - toProto(message: QueryProposalsByGroupPolicyResponse): Uint8Array; - toProtoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseProtoMsg; -}; -export declare const QueryVoteByProposalVoterRequest: { - encode(message: QueryVoteByProposalVoterRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest; - fromJSON(object: any): QueryVoteByProposalVoterRequest; - toJSON(message: QueryVoteByProposalVoterRequest): unknown; - fromPartial(object: Partial): QueryVoteByProposalVoterRequest; - fromAmino(object: QueryVoteByProposalVoterRequestAmino): QueryVoteByProposalVoterRequest; - toAmino(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAmino; - fromAminoMsg(object: QueryVoteByProposalVoterRequestAminoMsg): QueryVoteByProposalVoterRequest; - toAminoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAminoMsg; - fromProtoMsg(message: QueryVoteByProposalVoterRequestProtoMsg): QueryVoteByProposalVoterRequest; - toProto(message: QueryVoteByProposalVoterRequest): Uint8Array; - toProtoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestProtoMsg; -}; -export declare const QueryVoteByProposalVoterResponse: { - encode(message: QueryVoteByProposalVoterResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse; - fromJSON(object: any): QueryVoteByProposalVoterResponse; - toJSON(message: QueryVoteByProposalVoterResponse): unknown; - fromPartial(object: Partial): QueryVoteByProposalVoterResponse; - fromAmino(object: QueryVoteByProposalVoterResponseAmino): QueryVoteByProposalVoterResponse; - toAmino(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAmino; - fromAminoMsg(object: QueryVoteByProposalVoterResponseAminoMsg): QueryVoteByProposalVoterResponse; - toAminoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAminoMsg; - fromProtoMsg(message: QueryVoteByProposalVoterResponseProtoMsg): QueryVoteByProposalVoterResponse; - toProto(message: QueryVoteByProposalVoterResponse): Uint8Array; - toProtoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseProtoMsg; -}; -export declare const QueryVotesByProposalRequest: { - encode(message: QueryVotesByProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalRequest; - fromJSON(object: any): QueryVotesByProposalRequest; - toJSON(message: QueryVotesByProposalRequest): unknown; - fromPartial(object: Partial): QueryVotesByProposalRequest; - fromAmino(object: QueryVotesByProposalRequestAmino): QueryVotesByProposalRequest; - toAmino(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAmino; - fromAminoMsg(object: QueryVotesByProposalRequestAminoMsg): QueryVotesByProposalRequest; - toAminoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAminoMsg; - fromProtoMsg(message: QueryVotesByProposalRequestProtoMsg): QueryVotesByProposalRequest; - toProto(message: QueryVotesByProposalRequest): Uint8Array; - toProtoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestProtoMsg; -}; -export declare const QueryVotesByProposalResponse: { - encode(message: QueryVotesByProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse; - fromJSON(object: any): QueryVotesByProposalResponse; - toJSON(message: QueryVotesByProposalResponse): unknown; - fromPartial(object: Partial): QueryVotesByProposalResponse; - fromAmino(object: QueryVotesByProposalResponseAmino): QueryVotesByProposalResponse; - toAmino(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAmino; - fromAminoMsg(object: QueryVotesByProposalResponseAminoMsg): QueryVotesByProposalResponse; - toAminoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAminoMsg; - fromProtoMsg(message: QueryVotesByProposalResponseProtoMsg): QueryVotesByProposalResponse; - toProto(message: QueryVotesByProposalResponse): Uint8Array; - toProtoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseProtoMsg; -}; -export declare const QueryVotesByVoterRequest: { - encode(message: QueryVotesByVoterRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterRequest; - fromJSON(object: any): QueryVotesByVoterRequest; - toJSON(message: QueryVotesByVoterRequest): unknown; - fromPartial(object: Partial): QueryVotesByVoterRequest; - fromAmino(object: QueryVotesByVoterRequestAmino): QueryVotesByVoterRequest; - toAmino(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAmino; - fromAminoMsg(object: QueryVotesByVoterRequestAminoMsg): QueryVotesByVoterRequest; - toAminoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAminoMsg; - fromProtoMsg(message: QueryVotesByVoterRequestProtoMsg): QueryVotesByVoterRequest; - toProto(message: QueryVotesByVoterRequest): Uint8Array; - toProtoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestProtoMsg; -}; -export declare const QueryVotesByVoterResponse: { - encode(message: QueryVotesByVoterResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse; - fromJSON(object: any): QueryVotesByVoterResponse; - toJSON(message: QueryVotesByVoterResponse): unknown; - fromPartial(object: Partial): QueryVotesByVoterResponse; - fromAmino(object: QueryVotesByVoterResponseAmino): QueryVotesByVoterResponse; - toAmino(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAmino; - fromAminoMsg(object: QueryVotesByVoterResponseAminoMsg): QueryVotesByVoterResponse; - toAminoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAminoMsg; - fromProtoMsg(message: QueryVotesByVoterResponseProtoMsg): QueryVotesByVoterResponse; - toProto(message: QueryVotesByVoterResponse): Uint8Array; - toProtoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseProtoMsg; -}; -export declare const QueryGroupsByMemberRequest: { - encode(message: QueryGroupsByMemberRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberRequest; - fromJSON(object: any): QueryGroupsByMemberRequest; - toJSON(message: QueryGroupsByMemberRequest): unknown; - fromPartial(object: Partial): QueryGroupsByMemberRequest; - fromAmino(object: QueryGroupsByMemberRequestAmino): QueryGroupsByMemberRequest; - toAmino(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAmino; - fromAminoMsg(object: QueryGroupsByMemberRequestAminoMsg): QueryGroupsByMemberRequest; - toAminoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAminoMsg; - fromProtoMsg(message: QueryGroupsByMemberRequestProtoMsg): QueryGroupsByMemberRequest; - toProto(message: QueryGroupsByMemberRequest): Uint8Array; - toProtoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestProtoMsg; -}; -export declare const QueryGroupsByMemberResponse: { - encode(message: QueryGroupsByMemberResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse; - fromJSON(object: any): QueryGroupsByMemberResponse; - toJSON(message: QueryGroupsByMemberResponse): unknown; - fromPartial(object: Partial): QueryGroupsByMemberResponse; - fromAmino(object: QueryGroupsByMemberResponseAmino): QueryGroupsByMemberResponse; - toAmino(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAmino; - fromAminoMsg(object: QueryGroupsByMemberResponseAminoMsg): QueryGroupsByMemberResponse; - toAminoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAminoMsg; - fromProtoMsg(message: QueryGroupsByMemberResponseProtoMsg): QueryGroupsByMemberResponse; - toProto(message: QueryGroupsByMemberResponse): Uint8Array; - toProtoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseProtoMsg; -}; -export declare const QueryTallyResultRequest: { - encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest; - fromJSON(object: any): QueryTallyResultRequest; - toJSON(message: QueryTallyResultRequest): unknown; - fromPartial(object: Partial): QueryTallyResultRequest; - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; - toProto(message: QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; -}; -export declare const QueryTallyResultResponse: { - encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse; - fromJSON(object: any): QueryTallyResultResponse; - toJSON(message: QueryTallyResultResponse): unknown; - fromPartial(object: Partial): QueryTallyResultResponse; - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; - toProto(message: QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/group/v1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/group/v1/query.lcd.d.ts deleted file mode 100644 index eb9b1ffe..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/query.lcd.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryGroupInfoRequest, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - groupInfo(params: QueryGroupInfoRequest): Promise; - groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise; - groupMembers(params: QueryGroupMembersRequest): Promise; - groupsByAdmin(params: QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise; - proposal(params: QueryProposalRequest): Promise; - proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise; - votesByProposal(params: QueryVotesByProposalRequest): Promise; - votesByVoter(params: QueryVotesByVoterRequest): Promise; - groupsByMember(params: QueryGroupsByMemberRequest): Promise; - tallyResult(params: QueryTallyResultRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts deleted file mode 100644 index 6ccde5b1..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryProposalRequest, QueryProposalResponse, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query is the cosmos.group.v1 Query service. */ -export interface Query { - /** GroupInfo queries group info based on group id. */ - groupInfo(request: QueryGroupInfoRequest): Promise; - /** GroupPolicyInfo queries group policy info based on account address of group policy. */ - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; - /** GroupMembers queries members of a group */ - groupMembers(request: QueryGroupMembersRequest): Promise; - /** GroupsByAdmin queries groups by admin address. */ - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - /** GroupPoliciesByGroup queries group policies by group id. */ - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - /** GroupsByAdmin queries group policies by admin address. */ - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - /** Proposal queries a proposal based on proposal id. */ - proposal(request: QueryProposalRequest): Promise; - /** ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; - /** VoteByProposalVoter queries a vote by proposal id and voter. */ - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; - /** VotesByProposal queries a vote by proposal. */ - votesByProposal(request: QueryVotesByProposalRequest): Promise; - /** VotesByVoter queries a vote by voter. */ - votesByVoter(request: QueryVotesByVoterRequest): Promise; - /** GroupsByMember queries groups by member address. */ - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - /** - * TallyResult returns the tally result of a proposal. If the proposal is - * still in voting period, then this query computes the current tally state, - * which might not be final. On the other hand, if the proposal is final, - * then it simply returns the `final_tally_result` state stored in the - * proposal itself. - */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - groupInfo(request: QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: QueryGroupMembersRequest): Promise; - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: QueryVotesByProposalRequest): Promise; - votesByVoter(request: QueryVotesByVoterRequest): Promise; - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - groupInfo(request: QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: QueryGroupMembersRequest): Promise; - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: QueryVotesByProposalRequest): Promise; - votesByVoter(request: QueryVotesByVoterRequest): Promise; - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/group/v1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/group/v1/tx.amino.d.ts deleted file mode 100644 index 49116292..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/tx.amino.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; -export declare const AminoConverter: { - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: string; - toAmino: (message: MsgCreateGroup) => import("./tx").MsgCreateGroupAmino; - fromAmino: (object: import("./tx").MsgCreateGroupAmino) => MsgCreateGroup; - }; - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: string; - toAmino: (message: MsgUpdateGroupMembers) => import("./tx").MsgUpdateGroupMembersAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupMembersAmino) => MsgUpdateGroupMembers; - }; - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateGroupAdmin) => import("./tx").MsgUpdateGroupAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupAdminAmino) => MsgUpdateGroupAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateGroupMetadata) => import("./tx").MsgUpdateGroupMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupMetadataAmino) => MsgUpdateGroupMetadata; - }; - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: string; - toAmino: (message: MsgCreateGroupPolicy) => import("./tx").MsgCreateGroupPolicyAmino; - fromAmino: (object: import("./tx").MsgCreateGroupPolicyAmino) => MsgCreateGroupPolicy; - }; - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: string; - toAmino: (message: MsgCreateGroupWithPolicy) => import("./tx").MsgCreateGroupWithPolicyAmino; - fromAmino: (object: import("./tx").MsgCreateGroupWithPolicyAmino) => MsgCreateGroupWithPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateGroupPolicyAdmin) => import("./tx").MsgUpdateGroupPolicyAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupPolicyAdminAmino) => MsgUpdateGroupPolicyAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: string; - toAmino: (message: MsgUpdateGroupPolicyDecisionPolicy) => import("./tx").MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupPolicyDecisionPolicyAmino) => MsgUpdateGroupPolicyDecisionPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateGroupPolicyMetadata) => import("./tx").MsgUpdateGroupPolicyMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupPolicyMetadataAmino) => MsgUpdateGroupPolicyMetadata; - }; - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: MsgSubmitProposal) => import("./tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./tx").MsgSubmitProposalAmino) => MsgSubmitProposal; - }; - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: string; - toAmino: (message: MsgWithdrawProposal) => import("./tx").MsgWithdrawProposalAmino; - fromAmino: (object: import("./tx").MsgWithdrawProposalAmino) => MsgWithdrawProposal; - }; - "/cosmos.group.v1.MsgVote": { - aminoType: string; - toAmino: (message: MsgVote) => import("./tx").MsgVoteAmino; - fromAmino: (object: import("./tx").MsgVoteAmino) => MsgVote; - }; - "/cosmos.group.v1.MsgExec": { - aminoType: string; - toAmino: (message: MsgExec) => import("./tx").MsgExecAmino; - fromAmino: (object: import("./tx").MsgExecAmino) => MsgExec; - }; - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: string; - toAmino: (message: MsgLeaveGroup) => import("./tx").MsgLeaveGroupAmino; - fromAmino: (object: import("./tx").MsgLeaveGroupAmino) => MsgLeaveGroup; - }; -}; diff --git a/packages/api/types/codegen/cosmos/group/v1/tx.d.ts b/packages/api/types/codegen/cosmos/group/v1/tx.d.ts deleted file mode 100644 index e58e079c..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/tx.d.ts +++ /dev/null @@ -1,1201 +0,0 @@ -import { MemberRequest, MemberRequestAmino, MemberRequestSDKType, VoteOption, ProposalExecutorResult, ThresholdDecisionPolicy, ThresholdDecisionPolicyProtoMsg, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicyProtoMsg, PercentageDecisionPolicySDKType } from "./types"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Exec defines modes of execution of a proposal on creation or on new vote. */ -export declare enum Exec { - /** - * EXEC_UNSPECIFIED - An empty value means that there should be a separate - * MsgExec request for the proposal to execute. - */ - EXEC_UNSPECIFIED = 0, - /** - * EXEC_TRY - Try to execute the proposal immediately. - * If the proposal is not allowed per the DecisionPolicy, - * the proposal will still be open and could - * be executed at a later point. - */ - EXEC_TRY = 1, - UNRECOGNIZED = -1 -} -export declare const ExecSDKType: typeof Exec; -export declare const ExecAmino: typeof Exec; -export declare function execFromJSON(object: any): Exec; -export declare function execToJSON(object: Exec): string; -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroup { - /** admin is the account address of the group admin. */ - admin: string; - /** members defines the group members. */ - members: MemberRequest[]; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; -} -export interface MsgCreateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroup"; - value: Uint8Array; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroupAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** members defines the group members. */ - members: MemberRequestAmino[]; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; -} -export interface MsgCreateGroupAminoMsg { - type: "cosmos-sdk/MsgCreateGroup"; - value: MsgCreateGroupAmino; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroupSDKType { - admin: string; - members: MemberRequestSDKType[]; - metadata: string; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponse { - /** group_id is the unique ID of the newly created group. */ - groupId: Long; -} -export interface MsgCreateGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse"; - value: Uint8Array; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponseAmino { - /** group_id is the unique ID of the newly created group. */ - group_id: string; -} -export interface MsgCreateGroupResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupResponse"; - value: MsgCreateGroupResponseAmino; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponseSDKType { - group_id: Long; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembers { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** - * member_updates is the list of members to update, - * set weight to 0 to remove a member. - */ - memberUpdates: MemberRequest[]; -} -export interface MsgUpdateGroupMembersProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers"; - value: Uint8Array; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembersAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** - * member_updates is the list of members to update, - * set weight to 0 to remove a member. - */ - member_updates: MemberRequestAmino[]; -} -export interface MsgUpdateGroupMembersAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMembers"; - value: MsgUpdateGroupMembersAmino; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembersSDKType { - admin: string; - group_id: Long; - member_updates: MemberRequestSDKType[]; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponse { -} -export interface MsgUpdateGroupMembersResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponseAmino { -} -export interface MsgUpdateGroupMembersResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMembersResponse"; - value: MsgUpdateGroupMembersResponseAmino; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponseSDKType { -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdmin { - /** admin is the current account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** new_admin is the group new admin account address. */ - newAdmin: string; -} -export interface MsgUpdateGroupAdminProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin"; - value: Uint8Array; -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdminAmino { - /** admin is the current account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** new_admin is the group new admin account address. */ - new_admin: string; -} -export interface MsgUpdateGroupAdminAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupAdmin"; - value: MsgUpdateGroupAdminAmino; -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdminSDKType { - admin: string; - group_id: Long; - new_admin: string; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponse { -} -export interface MsgUpdateGroupAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponseAmino { -} -export interface MsgUpdateGroupAdminResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupAdminResponse"; - value: MsgUpdateGroupAdminResponseAmino; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponseSDKType { -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadata { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** metadata is the updated group's metadata. */ - metadata: string; -} -export interface MsgUpdateGroupMetadataProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata"; - value: Uint8Array; -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadataAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** metadata is the updated group's metadata. */ - metadata: string; -} -export interface MsgUpdateGroupMetadataAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMetadata"; - value: MsgUpdateGroupMetadataAmino; -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadataSDKType { - admin: string; - group_id: Long; - metadata: string; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponse { -} -export interface MsgUpdateGroupMetadataResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponseAmino { -} -export interface MsgUpdateGroupMetadataResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMetadataResponse"; - value: MsgUpdateGroupMetadataResponseAmino; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponseSDKType { -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicy { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** metadata is any arbitrary metadata attached to the group policy. */ - metadata: string; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; -} -export interface MsgCreateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy"; - value: Uint8Array; -} -export type MsgCreateGroupPolicyEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicyAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** metadata is any arbitrary metadata attached to the group policy. */ - metadata: string; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino; -} -export interface MsgCreateGroupPolicyAminoMsg { - type: "cosmos-sdk/MsgCreateGroupPolicy"; - value: MsgCreateGroupPolicyAmino; -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicySDKType { - admin: string; - group_id: Long; - metadata: string; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponse { - /** address is the account address of the newly created group policy. */ - address: string; -} -export interface MsgCreateGroupPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse"; - value: Uint8Array; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponseAmino { - /** address is the account address of the newly created group policy. */ - address: string; -} -export interface MsgCreateGroupPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupPolicyResponse"; - value: MsgCreateGroupPolicyResponseAmino; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponseSDKType { - address: string; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdmin { - /** admin is the account address of the group admin. */ - admin: string; - /** group_policy_address is the account address of the group policy. */ - groupPolicyAddress: string; - /** new_admin is the new group policy admin. */ - newAdmin: string; -} -export interface MsgUpdateGroupPolicyAdminProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdminAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_policy_address is the account address of the group policy. */ - group_policy_address: string; - /** new_admin is the new group policy admin. */ - new_admin: string; -} -export interface MsgUpdateGroupPolicyAdminAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin"; - value: MsgUpdateGroupPolicyAdminAmino; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdminSDKType { - admin: string; - group_policy_address: string; - new_admin: string; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponse { -} -export interface MsgUpdateGroupPolicyAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponseAmino { -} -export interface MsgUpdateGroupPolicyAdminResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse"; - value: MsgUpdateGroupPolicyAdminResponseAmino; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponseSDKType { -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicy { - /** admin is the account address of the group and group policy admin. */ - admin: string; - /** members defines the group members. */ - members: MemberRequest[]; - /** group_metadata is any arbitrary metadata attached to the group. */ - groupMetadata: string; - /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - groupPolicyMetadata: string; - /** - * group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group - * and group policy admin. - */ - groupPolicyAsAdmin: boolean; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; -} -export interface MsgCreateGroupWithPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy"; - value: Uint8Array; -} -export type MsgCreateGroupWithPolicyEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicyAmino { - /** admin is the account address of the group and group policy admin. */ - admin: string; - /** members defines the group members. */ - members: MemberRequestAmino[]; - /** group_metadata is any arbitrary metadata attached to the group. */ - group_metadata: string; - /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - group_policy_metadata: string; - /** - * group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group - * and group policy admin. - */ - group_policy_as_admin: boolean; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino; -} -export interface MsgCreateGroupWithPolicyAminoMsg { - type: "cosmos-sdk/MsgCreateGroupWithPolicy"; - value: MsgCreateGroupWithPolicyAmino; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicySDKType { - admin: string; - members: MemberRequestSDKType[]; - group_metadata: string; - group_policy_metadata: string; - group_policy_as_admin: boolean; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponse { - /** group_id is the unique ID of the newly created group with policy. */ - groupId: Long; - /** group_policy_address is the account address of the newly created group policy. */ - groupPolicyAddress: string; -} -export interface MsgCreateGroupWithPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse"; - value: Uint8Array; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponseAmino { - /** group_id is the unique ID of the newly created group with policy. */ - group_id: string; - /** group_policy_address is the account address of the newly created group policy. */ - group_policy_address: string; -} -export interface MsgCreateGroupWithPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse"; - value: MsgCreateGroupWithPolicyResponseAmino; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponseSDKType { - group_id: Long; - group_policy_address: string; -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicy { - /** admin is the account address of the group admin. */ - admin: string; - /** group_policy_address is the account address of group policy. */ - groupPolicyAddress: string; - /** decision_policy is the updated group policy's decision policy. */ - decisionPolicy: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; -} -export interface MsgUpdateGroupPolicyDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy"; - value: Uint8Array; -} -export type MsgUpdateGroupPolicyDecisionPolicyEncoded = Omit & { - /** decision_policy is the updated group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_policy_address is the account address of group policy. */ - group_policy_address: string; - /** decision_policy is the updated group policy's decision policy. */ - decision_policy?: AnyAmino; -} -export interface MsgUpdateGroupPolicyDecisionPolicyAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupDecisionPolicy"; - value: MsgUpdateGroupPolicyDecisionPolicyAmino; -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicySDKType { - admin: string; - group_policy_address: string; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponse { -} -export interface MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponseAmino { -} -export interface MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse"; - value: MsgUpdateGroupPolicyDecisionPolicyResponseAmino; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponseSDKType { -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadata { - /** admin is the account address of the group admin. */ - admin: string; - /** group_policy_address is the account address of group policy. */ - groupPolicyAddress: string; - /** metadata is the updated group policy metadata. */ - metadata: string; -} -export interface MsgUpdateGroupPolicyMetadataProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadataAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_policy_address is the account address of group policy. */ - group_policy_address: string; - /** metadata is the updated group policy metadata. */ - metadata: string; -} -export interface MsgUpdateGroupPolicyMetadataAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata"; - value: MsgUpdateGroupPolicyMetadataAmino; -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadataSDKType { - admin: string; - group_policy_address: string; - metadata: string; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponse { -} -export interface MsgUpdateGroupPolicyMetadataResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponseAmino { -} -export interface MsgUpdateGroupPolicyMetadataResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse"; - value: MsgUpdateGroupPolicyMetadataResponseAmino; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponseSDKType { -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposal { - /** group_policy_address is the account address of group policy. */ - groupPolicyAddress: string; - /** - * proposers are the account addresses of the proposers. - * Proposers signatures will be counted as yes votes. - */ - proposers: string[]; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: Any[]; - /** - * exec defines the mode of execution of the proposal, - * whether it should be executed immediately on creation or not. - * If so, proposers signatures are considered as Yes votes. - */ - exec: Exec; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal"; - value: Uint8Array; -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposalAmino { - /** group_policy_address is the account address of group policy. */ - group_policy_address: string; - /** - * proposers are the account addresses of the proposers. - * Proposers signatures will be counted as yes votes. - */ - proposers: string[]; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: AnyAmino[]; - /** - * exec defines the mode of execution of the proposal, - * whether it should be executed immediately on creation or not. - * If so, proposers signatures are considered as Yes votes. - */ - exec: Exec; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/group/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposalSDKType { - group_policy_address: string; - proposers: string[]; - metadata: string; - messages: AnySDKType[]; - exec: Exec; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposal { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - address: string; -} -export interface MsgWithdrawProposalProtoMsg { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal"; - value: Uint8Array; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposalAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - address: string; -} -export interface MsgWithdrawProposalAminoMsg { - type: "cosmos-sdk/group/MsgWithdrawProposal"; - value: MsgWithdrawProposalAmino; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposalSDKType { - proposal_id: Long; - address: string; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponse { -} -export interface MsgWithdrawProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse"; - value: Uint8Array; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponseAmino { -} -export interface MsgWithdrawProposalResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawProposalResponse"; - value: MsgWithdrawProposalResponseAmino; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponseSDKType { -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVote { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** voter is the voter account address. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** - * exec defines whether the proposal should be executed - * immediately after voting or not. - */ - exec: Exec; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.group.v1.MsgVote"; - value: Uint8Array; -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVoteAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** voter is the voter account address. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** - * exec defines whether the proposal should be executed - * immediately after voting or not. - */ - exec: Exec; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/group/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; - exec: Exec; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponse { -} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponseAmino { -} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType { -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExec { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** executor is the account address used to execute the proposal. */ - executor: string; -} -export interface MsgExecProtoMsg { - typeUrl: "/cosmos.group.v1.MsgExec"; - value: Uint8Array; -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExecAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** executor is the account address used to execute the proposal. */ - executor: string; -} -export interface MsgExecAminoMsg { - type: "cosmos-sdk/group/MsgExec"; - value: MsgExecAmino; -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExecSDKType { - proposal_id: Long; - executor: string; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponse { - /** result is the final result of the proposal execution. */ - result: ProposalExecutorResult; -} -export interface MsgExecResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgExecResponse"; - value: Uint8Array; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponseAmino { - /** result is the final result of the proposal execution. */ - result: ProposalExecutorResult; -} -export interface MsgExecResponseAminoMsg { - type: "cosmos-sdk/MsgExecResponse"; - value: MsgExecResponseAmino; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponseSDKType { - result: ProposalExecutorResult; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroup { - /** address is the account address of the group member. */ - address: string; - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface MsgLeaveGroupProtoMsg { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup"; - value: Uint8Array; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroupAmino { - /** address is the account address of the group member. */ - address: string; - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface MsgLeaveGroupAminoMsg { - type: "cosmos-sdk/group/MsgLeaveGroup"; - value: MsgLeaveGroupAmino; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroupSDKType { - address: string; - group_id: Long; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponse { -} -export interface MsgLeaveGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse"; - value: Uint8Array; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponseAmino { -} -export interface MsgLeaveGroupResponseAminoMsg { - type: "cosmos-sdk/MsgLeaveGroupResponse"; - value: MsgLeaveGroupResponseAmino; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponseSDKType { -} -export declare const MsgCreateGroup: { - encode(message: MsgCreateGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup; - fromJSON(object: any): MsgCreateGroup; - toJSON(message: MsgCreateGroup): unknown; - fromPartial(object: Partial): MsgCreateGroup; - fromAmino(object: MsgCreateGroupAmino): MsgCreateGroup; - toAmino(message: MsgCreateGroup): MsgCreateGroupAmino; - fromAminoMsg(object: MsgCreateGroupAminoMsg): MsgCreateGroup; - toAminoMsg(message: MsgCreateGroup): MsgCreateGroupAminoMsg; - fromProtoMsg(message: MsgCreateGroupProtoMsg): MsgCreateGroup; - toProto(message: MsgCreateGroup): Uint8Array; - toProtoMsg(message: MsgCreateGroup): MsgCreateGroupProtoMsg; -}; -export declare const MsgCreateGroupResponse: { - encode(message: MsgCreateGroupResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse; - fromJSON(object: any): MsgCreateGroupResponse; - toJSON(message: MsgCreateGroupResponse): unknown; - fromPartial(object: Partial): MsgCreateGroupResponse; - fromAmino(object: MsgCreateGroupResponseAmino): MsgCreateGroupResponse; - toAmino(message: MsgCreateGroupResponse): MsgCreateGroupResponseAmino; - fromAminoMsg(object: MsgCreateGroupResponseAminoMsg): MsgCreateGroupResponse; - toAminoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseAminoMsg; - fromProtoMsg(message: MsgCreateGroupResponseProtoMsg): MsgCreateGroupResponse; - toProto(message: MsgCreateGroupResponse): Uint8Array; - toProtoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseProtoMsg; -}; -export declare const MsgUpdateGroupMembers: { - encode(message: MsgUpdateGroupMembers, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers; - fromJSON(object: any): MsgUpdateGroupMembers; - toJSON(message: MsgUpdateGroupMembers): unknown; - fromPartial(object: Partial): MsgUpdateGroupMembers; - fromAmino(object: MsgUpdateGroupMembersAmino): MsgUpdateGroupMembers; - toAmino(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAmino; - fromAminoMsg(object: MsgUpdateGroupMembersAminoMsg): MsgUpdateGroupMembers; - toAminoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMembersProtoMsg): MsgUpdateGroupMembers; - toProto(message: MsgUpdateGroupMembers): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersProtoMsg; -}; -export declare const MsgUpdateGroupMembersResponse: { - encode(_: MsgUpdateGroupMembersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse; - fromJSON(_: any): MsgUpdateGroupMembersResponse; - toJSON(_: MsgUpdateGroupMembersResponse): unknown; - fromPartial(_: Partial): MsgUpdateGroupMembersResponse; - fromAmino(_: MsgUpdateGroupMembersResponseAmino): MsgUpdateGroupMembersResponse; - toAmino(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAmino; - fromAminoMsg(object: MsgUpdateGroupMembersResponseAminoMsg): MsgUpdateGroupMembersResponse; - toAminoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMembersResponseProtoMsg): MsgUpdateGroupMembersResponse; - toProto(message: MsgUpdateGroupMembersResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseProtoMsg; -}; -export declare const MsgUpdateGroupAdmin: { - encode(message: MsgUpdateGroupAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin; - fromJSON(object: any): MsgUpdateGroupAdmin; - toJSON(message: MsgUpdateGroupAdmin): unknown; - fromPartial(object: Partial): MsgUpdateGroupAdmin; - fromAmino(object: MsgUpdateGroupAdminAmino): MsgUpdateGroupAdmin; - toAmino(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAmino; - fromAminoMsg(object: MsgUpdateGroupAdminAminoMsg): MsgUpdateGroupAdmin; - toAminoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAminoMsg; - fromProtoMsg(message: MsgUpdateGroupAdminProtoMsg): MsgUpdateGroupAdmin; - toProto(message: MsgUpdateGroupAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminProtoMsg; -}; -export declare const MsgUpdateGroupAdminResponse: { - encode(_: MsgUpdateGroupAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse; - fromJSON(_: any): MsgUpdateGroupAdminResponse; - toJSON(_: MsgUpdateGroupAdminResponse): unknown; - fromPartial(_: Partial): MsgUpdateGroupAdminResponse; - fromAmino(_: MsgUpdateGroupAdminResponseAmino): MsgUpdateGroupAdminResponse; - toAmino(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAmino; - fromAminoMsg(object: MsgUpdateGroupAdminResponseAminoMsg): MsgUpdateGroupAdminResponse; - toAminoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupAdminResponseProtoMsg): MsgUpdateGroupAdminResponse; - toProto(message: MsgUpdateGroupAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseProtoMsg; -}; -export declare const MsgUpdateGroupMetadata: { - encode(message: MsgUpdateGroupMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata; - fromJSON(object: any): MsgUpdateGroupMetadata; - toJSON(message: MsgUpdateGroupMetadata): unknown; - fromPartial(object: Partial): MsgUpdateGroupMetadata; - fromAmino(object: MsgUpdateGroupMetadataAmino): MsgUpdateGroupMetadata; - toAmino(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAmino; - fromAminoMsg(object: MsgUpdateGroupMetadataAminoMsg): MsgUpdateGroupMetadata; - toAminoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMetadataProtoMsg): MsgUpdateGroupMetadata; - toProto(message: MsgUpdateGroupMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataProtoMsg; -}; -export declare const MsgUpdateGroupMetadataResponse: { - encode(_: MsgUpdateGroupMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse; - fromJSON(_: any): MsgUpdateGroupMetadataResponse; - toJSON(_: MsgUpdateGroupMetadataResponse): unknown; - fromPartial(_: Partial): MsgUpdateGroupMetadataResponse; - fromAmino(_: MsgUpdateGroupMetadataResponseAmino): MsgUpdateGroupMetadataResponse; - toAmino(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateGroupMetadataResponseAminoMsg): MsgUpdateGroupMetadataResponse; - toAminoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMetadataResponseProtoMsg): MsgUpdateGroupMetadataResponse; - toProto(message: MsgUpdateGroupMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseProtoMsg; -}; -export declare const MsgCreateGroupPolicy: { - encode(message: MsgCreateGroupPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy; - fromJSON(object: any): MsgCreateGroupPolicy; - toJSON(message: MsgCreateGroupPolicy): unknown; - fromPartial(object: Partial): MsgCreateGroupPolicy; - fromAmino(object: MsgCreateGroupPolicyAmino): MsgCreateGroupPolicy; - toAmino(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAmino; - fromAminoMsg(object: MsgCreateGroupPolicyAminoMsg): MsgCreateGroupPolicy; - toAminoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAminoMsg; - fromProtoMsg(message: MsgCreateGroupPolicyProtoMsg): MsgCreateGroupPolicy; - toProto(message: MsgCreateGroupPolicy): Uint8Array; - toProtoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyProtoMsg; -}; -export declare const MsgCreateGroupPolicyResponse: { - encode(message: MsgCreateGroupPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse; - fromJSON(object: any): MsgCreateGroupPolicyResponse; - toJSON(message: MsgCreateGroupPolicyResponse): unknown; - fromPartial(object: Partial): MsgCreateGroupPolicyResponse; - fromAmino(object: MsgCreateGroupPolicyResponseAmino): MsgCreateGroupPolicyResponse; - toAmino(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAmino; - fromAminoMsg(object: MsgCreateGroupPolicyResponseAminoMsg): MsgCreateGroupPolicyResponse; - toAminoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAminoMsg; - fromProtoMsg(message: MsgCreateGroupPolicyResponseProtoMsg): MsgCreateGroupPolicyResponse; - toProto(message: MsgCreateGroupPolicyResponse): Uint8Array; - toProtoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseProtoMsg; -}; -export declare const MsgUpdateGroupPolicyAdmin: { - encode(message: MsgUpdateGroupPolicyAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin; - fromJSON(object: any): MsgUpdateGroupPolicyAdmin; - toJSON(message: MsgUpdateGroupPolicyAdmin): unknown; - fromPartial(object: Partial): MsgUpdateGroupPolicyAdmin; - fromAmino(object: MsgUpdateGroupPolicyAdminAmino): MsgUpdateGroupPolicyAdmin; - toAmino(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyAdminAminoMsg): MsgUpdateGroupPolicyAdmin; - toAminoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyAdminProtoMsg): MsgUpdateGroupPolicyAdmin; - toProto(message: MsgUpdateGroupPolicyAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminProtoMsg; -}; -export declare const MsgUpdateGroupPolicyAdminResponse: { - encode(_: MsgUpdateGroupPolicyAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse; - fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse; - toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown; - fromPartial(_: Partial): MsgUpdateGroupPolicyAdminResponse; - fromAmino(_: MsgUpdateGroupPolicyAdminResponseAmino): MsgUpdateGroupPolicyAdminResponse; - toAmino(_: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyAdminResponseAminoMsg): MsgUpdateGroupPolicyAdminResponse; - toAminoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyAdminResponseProtoMsg): MsgUpdateGroupPolicyAdminResponse; - toProto(message: MsgUpdateGroupPolicyAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseProtoMsg; -}; -export declare const MsgCreateGroupWithPolicy: { - encode(message: MsgCreateGroupWithPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy; - fromJSON(object: any): MsgCreateGroupWithPolicy; - toJSON(message: MsgCreateGroupWithPolicy): unknown; - fromPartial(object: Partial): MsgCreateGroupWithPolicy; - fromAmino(object: MsgCreateGroupWithPolicyAmino): MsgCreateGroupWithPolicy; - toAmino(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAmino; - fromAminoMsg(object: MsgCreateGroupWithPolicyAminoMsg): MsgCreateGroupWithPolicy; - toAminoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAminoMsg; - fromProtoMsg(message: MsgCreateGroupWithPolicyProtoMsg): MsgCreateGroupWithPolicy; - toProto(message: MsgCreateGroupWithPolicy): Uint8Array; - toProtoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyProtoMsg; -}; -export declare const MsgCreateGroupWithPolicyResponse: { - encode(message: MsgCreateGroupWithPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse; - fromJSON(object: any): MsgCreateGroupWithPolicyResponse; - toJSON(message: MsgCreateGroupWithPolicyResponse): unknown; - fromPartial(object: Partial): MsgCreateGroupWithPolicyResponse; - fromAmino(object: MsgCreateGroupWithPolicyResponseAmino): MsgCreateGroupWithPolicyResponse; - toAmino(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAmino; - fromAminoMsg(object: MsgCreateGroupWithPolicyResponseAminoMsg): MsgCreateGroupWithPolicyResponse; - toAminoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAminoMsg; - fromProtoMsg(message: MsgCreateGroupWithPolicyResponseProtoMsg): MsgCreateGroupWithPolicyResponse; - toProto(message: MsgCreateGroupWithPolicyResponse): Uint8Array; - toProtoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseProtoMsg; -}; -export declare const MsgUpdateGroupPolicyDecisionPolicy: { - encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy; - fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy; - toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown; - fromPartial(object: Partial): MsgUpdateGroupPolicyDecisionPolicy; - fromAmino(object: MsgUpdateGroupPolicyDecisionPolicyAmino): MsgUpdateGroupPolicyDecisionPolicy; - toAmino(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyAminoMsg): MsgUpdateGroupPolicyDecisionPolicy; - toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyProtoMsg): MsgUpdateGroupPolicyDecisionPolicy; - toProto(message: MsgUpdateGroupPolicyDecisionPolicy): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyProtoMsg; -}; -export declare const MsgUpdateGroupPolicyDecisionPolicyResponse: { - encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse; - fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse; - toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown; - fromPartial(_: Partial): MsgUpdateGroupPolicyDecisionPolicyResponse; - fromAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponseAmino): MsgUpdateGroupPolicyDecisionPolicyResponse; - toAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse; - toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse; - toProto(message: MsgUpdateGroupPolicyDecisionPolicyResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg; -}; -export declare const MsgUpdateGroupPolicyMetadata: { - encode(message: MsgUpdateGroupPolicyMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata; - fromJSON(object: any): MsgUpdateGroupPolicyMetadata; - toJSON(message: MsgUpdateGroupPolicyMetadata): unknown; - fromPartial(object: Partial): MsgUpdateGroupPolicyMetadata; - fromAmino(object: MsgUpdateGroupPolicyMetadataAmino): MsgUpdateGroupPolicyMetadata; - toAmino(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyMetadataAminoMsg): MsgUpdateGroupPolicyMetadata; - toAminoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyMetadataProtoMsg): MsgUpdateGroupPolicyMetadata; - toProto(message: MsgUpdateGroupPolicyMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataProtoMsg; -}; -export declare const MsgUpdateGroupPolicyMetadataResponse: { - encode(_: MsgUpdateGroupPolicyMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse; - fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse; - toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown; - fromPartial(_: Partial): MsgUpdateGroupPolicyMetadataResponse; - fromAmino(_: MsgUpdateGroupPolicyMetadataResponseAmino): MsgUpdateGroupPolicyMetadataResponse; - toAmino(_: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyMetadataResponseAminoMsg): MsgUpdateGroupPolicyMetadataResponse; - toAminoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyMetadataResponseProtoMsg): MsgUpdateGroupPolicyMetadataResponse; - toProto(message: MsgUpdateGroupPolicyMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseProtoMsg; -}; -export declare const MsgSubmitProposal: { - encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal; - fromJSON(object: any): MsgSubmitProposal; - toJSON(message: MsgSubmitProposal): unknown; - fromPartial(object: Partial): MsgSubmitProposal; - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal; - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino; - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal; - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg; - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; - toProto(message: MsgSubmitProposal): Uint8Array; - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; -}; -export declare const MsgSubmitProposalResponse: { - encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromJSON(object: any): MsgSubmitProposalResponse; - toJSON(message: MsgSubmitProposalResponse): unknown; - fromPartial(object: Partial): MsgSubmitProposalResponse; - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse; - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino; - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse; - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; - toProto(message: MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; -}; -export declare const MsgWithdrawProposal: { - encode(message: MsgWithdrawProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal; - fromJSON(object: any): MsgWithdrawProposal; - toJSON(message: MsgWithdrawProposal): unknown; - fromPartial(object: Partial): MsgWithdrawProposal; - fromAmino(object: MsgWithdrawProposalAmino): MsgWithdrawProposal; - toAmino(message: MsgWithdrawProposal): MsgWithdrawProposalAmino; - fromAminoMsg(object: MsgWithdrawProposalAminoMsg): MsgWithdrawProposal; - toAminoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalAminoMsg; - fromProtoMsg(message: MsgWithdrawProposalProtoMsg): MsgWithdrawProposal; - toProto(message: MsgWithdrawProposal): Uint8Array; - toProtoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalProtoMsg; -}; -export declare const MsgWithdrawProposalResponse: { - encode(_: MsgWithdrawProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse; - fromJSON(_: any): MsgWithdrawProposalResponse; - toJSON(_: MsgWithdrawProposalResponse): unknown; - fromPartial(_: Partial): MsgWithdrawProposalResponse; - fromAmino(_: MsgWithdrawProposalResponseAmino): MsgWithdrawProposalResponse; - toAmino(_: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAmino; - fromAminoMsg(object: MsgWithdrawProposalResponseAminoMsg): MsgWithdrawProposalResponse; - toAminoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAminoMsg; - fromProtoMsg(message: MsgWithdrawProposalResponseProtoMsg): MsgWithdrawProposalResponse; - toProto(message: MsgWithdrawProposalResponse): Uint8Array; - toProtoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseProtoMsg; -}; -export declare const MsgVote: { - encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote; - fromJSON(object: any): MsgVote; - toJSON(message: MsgVote): unknown; - fromPartial(object: Partial): MsgVote; - fromAmino(object: MsgVoteAmino): MsgVote; - toAmino(message: MsgVote): MsgVoteAmino; - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote; - toAminoMsg(message: MsgVote): MsgVoteAminoMsg; - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; - toProto(message: MsgVote): Uint8Array; - toProtoMsg(message: MsgVote): MsgVoteProtoMsg; -}; -export declare const MsgVoteResponse: { - encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse; - fromJSON(_: any): MsgVoteResponse; - toJSON(_: MsgVoteResponse): unknown; - fromPartial(_: Partial): MsgVoteResponse; - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse; - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino; - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse; - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg; - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; - toProto(message: MsgVoteResponse): Uint8Array; - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; -}; -export declare const MsgExec: { - encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec; - fromJSON(object: any): MsgExec; - toJSON(message: MsgExec): unknown; - fromPartial(object: Partial): MsgExec; - fromAmino(object: MsgExecAmino): MsgExec; - toAmino(message: MsgExec): MsgExecAmino; - fromAminoMsg(object: MsgExecAminoMsg): MsgExec; - toAminoMsg(message: MsgExec): MsgExecAminoMsg; - fromProtoMsg(message: MsgExecProtoMsg): MsgExec; - toProto(message: MsgExec): Uint8Array; - toProtoMsg(message: MsgExec): MsgExecProtoMsg; -}; -export declare const MsgExecResponse: { - encode(message: MsgExecResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse; - fromJSON(object: any): MsgExecResponse; - toJSON(message: MsgExecResponse): unknown; - fromPartial(object: Partial): MsgExecResponse; - fromAmino(object: MsgExecResponseAmino): MsgExecResponse; - toAmino(message: MsgExecResponse): MsgExecResponseAmino; - fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse; - toAminoMsg(message: MsgExecResponse): MsgExecResponseAminoMsg; - fromProtoMsg(message: MsgExecResponseProtoMsg): MsgExecResponse; - toProto(message: MsgExecResponse): Uint8Array; - toProtoMsg(message: MsgExecResponse): MsgExecResponseProtoMsg; -}; -export declare const MsgLeaveGroup: { - encode(message: MsgLeaveGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup; - fromJSON(object: any): MsgLeaveGroup; - toJSON(message: MsgLeaveGroup): unknown; - fromPartial(object: Partial): MsgLeaveGroup; - fromAmino(object: MsgLeaveGroupAmino): MsgLeaveGroup; - toAmino(message: MsgLeaveGroup): MsgLeaveGroupAmino; - fromAminoMsg(object: MsgLeaveGroupAminoMsg): MsgLeaveGroup; - toAminoMsg(message: MsgLeaveGroup): MsgLeaveGroupAminoMsg; - fromProtoMsg(message: MsgLeaveGroupProtoMsg): MsgLeaveGroup; - toProto(message: MsgLeaveGroup): Uint8Array; - toProtoMsg(message: MsgLeaveGroup): MsgLeaveGroupProtoMsg; -}; -export declare const MsgLeaveGroupResponse: { - encode(_: MsgLeaveGroupResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse; - fromJSON(_: any): MsgLeaveGroupResponse; - toJSON(_: MsgLeaveGroupResponse): unknown; - fromPartial(_: Partial): MsgLeaveGroupResponse; - fromAmino(_: MsgLeaveGroupResponseAmino): MsgLeaveGroupResponse; - toAmino(_: MsgLeaveGroupResponse): MsgLeaveGroupResponseAmino; - fromAminoMsg(object: MsgLeaveGroupResponseAminoMsg): MsgLeaveGroupResponse; - toAminoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseAminoMsg; - fromProtoMsg(message: MsgLeaveGroupResponseProtoMsg): MsgLeaveGroupResponse; - toProto(message: MsgLeaveGroupResponse): Uint8Array; - toProtoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseProtoMsg; -}; -export declare const DecisionPolicy_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => ThresholdDecisionPolicy | PercentageDecisionPolicy | Any; -export declare const DecisionPolicy_FromAmino: (content: AnyAmino) => Any; -export declare const DecisionPolicy_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/group/v1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/group/v1/tx.registry.d.ts deleted file mode 100644 index 3bae0d53..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/tx.registry.d.ts +++ /dev/null @@ -1,296 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: Uint8Array; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: Uint8Array; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: Uint8Array; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: MsgCreateGroup; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: MsgWithdrawProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: MsgLeaveGroup; - }; - }; - toJSON: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: unknown; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: unknown; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: unknown; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: unknown; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: unknown; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: MsgVote): { - typeUrl: string; - value: unknown; - }; - exec(value: MsgExec): { - typeUrl: string; - value: unknown; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createGroup(value: any): { - typeUrl: string; - value: MsgCreateGroup; - }; - updateGroupMembers(value: any): { - typeUrl: string; - value: MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: any): { - typeUrl: string; - value: MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: any): { - typeUrl: string; - value: MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: any): { - typeUrl: string; - value: MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: any): { - typeUrl: string; - value: MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: any): { - typeUrl: string; - value: MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: any): { - typeUrl: string; - value: MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: any): { - typeUrl: string; - value: MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: any): { - typeUrl: string; - value: MsgSubmitProposal; - }; - withdrawProposal(value: any): { - typeUrl: string; - value: MsgWithdrawProposal; - }; - vote(value: any): { - typeUrl: string; - value: MsgVote; - }; - exec(value: any): { - typeUrl: string; - value: MsgExec; - }; - leaveGroup(value: any): { - typeUrl: string; - value: MsgLeaveGroup; - }; - }; - fromPartial: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: MsgCreateGroup; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: MsgWithdrawProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: MsgLeaveGroup; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 28620343..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgCreateGroup, MsgCreateGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgSubmitProposal, MsgSubmitProposalResponse, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgVote, MsgVoteResponse, MsgExec, MsgExecResponse, MsgLeaveGroup, MsgLeaveGroupResponse } from "./tx"; -/** Msg is the cosmos.group.v1 Msg service. */ -export interface Msg { - /** CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. */ - createGroup(request: MsgCreateGroup): Promise; - /** UpdateGroupMembers updates the group members with given group id and admin address. */ - updateGroupMembers(request: MsgUpdateGroupMembers): Promise; - /** UpdateGroupAdmin updates the group admin with given group id and previous admin address. */ - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; - /** UpdateGroupMetadata updates the group metadata with given group id and admin address. */ - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; - /** CreateGroupPolicy creates a new group policy using given DecisionPolicy. */ - createGroupPolicy(request: MsgCreateGroupPolicy): Promise; - /** CreateGroupWithPolicy creates a new group with policy. */ - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; - /** UpdateGroupPolicyAdmin updates a group policy admin. */ - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; - /** UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. */ - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; - /** UpdateGroupPolicyMetadata updates a group policy metadata. */ - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; - /** SubmitProposal submits a new proposal. */ - submitProposal(request: MsgSubmitProposal): Promise; - /** WithdrawProposal withdraws a proposal. */ - withdrawProposal(request: MsgWithdrawProposal): Promise; - /** Vote allows a voter to vote on a proposal. */ - vote(request: MsgVote): Promise; - /** Exec executes a proposal. */ - exec(request: MsgExec): Promise; - /** LeaveGroup allows a group member to leave the group. */ - leaveGroup(request: MsgLeaveGroup): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createGroup(request: MsgCreateGroup): Promise; - updateGroupMembers(request: MsgUpdateGroupMembers): Promise; - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; - createGroupPolicy(request: MsgCreateGroupPolicy): Promise; - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; - submitProposal(request: MsgSubmitProposal): Promise; - withdrawProposal(request: MsgWithdrawProposal): Promise; - vote(request: MsgVote): Promise; - exec(request: MsgExec): Promise; - leaveGroup(request: MsgLeaveGroup): Promise; -} diff --git a/packages/api/types/codegen/cosmos/group/v1/types.d.ts b/packages/api/types/codegen/cosmos/group/v1/types.d.ts deleted file mode 100644 index 17b827bb..00000000 --- a/packages/api/types/codegen/cosmos/group/v1/types.d.ts +++ /dev/null @@ -1,844 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** VoteOption enumerates the valid vote options for a given proposal. */ -export declare enum VoteOption { - /** - * VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will - * return an error. - */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare const VoteOptionAmino: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus defines proposal statuses. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when submitted. */ - PROPOSAL_STATUS_SUBMITTED = 1, - /** - * PROPOSAL_STATUS_ACCEPTED - Final status of a proposal when the final tally is done and the outcome - * passes the group policy's decision policy. - */ - PROPOSAL_STATUS_ACCEPTED = 2, - /** - * PROPOSAL_STATUS_REJECTED - Final status of a proposal when the final tally is done and the outcome - * is rejected by the group policy's decision policy. - */ - PROPOSAL_STATUS_REJECTED = 3, - /** - * PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group policy is modified before the - * final tally. - */ - PROPOSAL_STATUS_ABORTED = 4, - /** - * PROPOSAL_STATUS_WITHDRAWN - A proposal can be withdrawn before the voting start time by the owner. - * When this happens the final status is Withdrawn. - */ - PROPOSAL_STATUS_WITHDRAWN = 5, - UNRECOGNIZED = -1 -} -export declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare const ProposalStatusAmino: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** ProposalExecutorResult defines types of proposal executor results. */ -export declare enum ProposalExecutorResult { - /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */ - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0, - /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */ - PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1, - /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */ - PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2, - /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */ - PROPOSAL_EXECUTOR_RESULT_FAILURE = 3, - UNRECOGNIZED = -1 -} -export declare const ProposalExecutorResultSDKType: typeof ProposalExecutorResult; -export declare const ProposalExecutorResultAmino: typeof ProposalExecutorResult; -export declare function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult; -export declare function proposalExecutorResultToJSON(object: ProposalExecutorResult): string; -/** - * Member represents a group member with an account address, - * non-zero weight, metadata and added_at timestamp. - */ -export interface Member { - /** address is the member's account address. */ - address: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight: string; - /** metadata is any arbitrary metadata attached to the member. */ - metadata: string; - /** added_at is a timestamp specifying when a member was added. */ - addedAt: Timestamp; -} -export interface MemberProtoMsg { - typeUrl: "/cosmos.group.v1.Member"; - value: Uint8Array; -} -/** - * Member represents a group member with an account address, - * non-zero weight, metadata and added_at timestamp. - */ -export interface MemberAmino { - /** address is the member's account address. */ - address: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight: string; - /** metadata is any arbitrary metadata attached to the member. */ - metadata: string; - /** added_at is a timestamp specifying when a member was added. */ - added_at?: TimestampAmino; -} -export interface MemberAminoMsg { - type: "cosmos-sdk/Member"; - value: MemberAmino; -} -/** - * Member represents a group member with an account address, - * non-zero weight, metadata and added_at timestamp. - */ -export interface MemberSDKType { - address: string; - weight: string; - metadata: string; - added_at: TimestampSDKType; -} -/** - * MemberRequest represents a group member to be used in Msg server requests. - * Contrary to `Member`, it doesn't have any `added_at` field - * since this field cannot be set as part of requests. - */ -export interface MemberRequest { - /** address is the member's account address. */ - address: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight: string; - /** metadata is any arbitrary metadata attached to the member. */ - metadata: string; -} -export interface MemberRequestProtoMsg { - typeUrl: "/cosmos.group.v1.MemberRequest"; - value: Uint8Array; -} -/** - * MemberRequest represents a group member to be used in Msg server requests. - * Contrary to `Member`, it doesn't have any `added_at` field - * since this field cannot be set as part of requests. - */ -export interface MemberRequestAmino { - /** address is the member's account address. */ - address: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight: string; - /** metadata is any arbitrary metadata attached to the member. */ - metadata: string; -} -export interface MemberRequestAminoMsg { - type: "cosmos-sdk/MemberRequest"; - value: MemberRequestAmino; -} -/** - * MemberRequest represents a group member to be used in Msg server requests. - * Contrary to `Member`, it doesn't have any `added_at` field - * since this field cannot be set as part of requests. - */ -export interface MemberRequestSDKType { - address: string; - weight: string; - metadata: string; -} -/** - * ThresholdDecisionPolicy is a decision policy where a proposal passes when it - * satisfies the two following conditions: - * 1. The sum of all `YES` voters' weights is greater or equal than the defined - * `threshold`. - * 2. The voting and execution periods of the proposal respect the parameters - * given by `windows`. - */ -export interface ThresholdDecisionPolicy { - $typeUrl?: string; - /** - * threshold is the minimum weighted sum of `YES` votes that must be met or - * exceeded for a proposal to succeed. - */ - threshold: string; - /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows; -} -export interface ThresholdDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy"; - value: Uint8Array; -} -/** - * ThresholdDecisionPolicy is a decision policy where a proposal passes when it - * satisfies the two following conditions: - * 1. The sum of all `YES` voters' weights is greater or equal than the defined - * `threshold`. - * 2. The voting and execution periods of the proposal respect the parameters - * given by `windows`. - */ -export interface ThresholdDecisionPolicyAmino { - /** - * threshold is the minimum weighted sum of `YES` votes that must be met or - * exceeded for a proposal to succeed. - */ - threshold: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindowsAmino; -} -export interface ThresholdDecisionPolicyAminoMsg { - type: "cosmos-sdk/ThresholdDecisionPolicy"; - value: ThresholdDecisionPolicyAmino; -} -/** - * ThresholdDecisionPolicy is a decision policy where a proposal passes when it - * satisfies the two following conditions: - * 1. The sum of all `YES` voters' weights is greater or equal than the defined - * `threshold`. - * 2. The voting and execution periods of the proposal respect the parameters - * given by `windows`. - */ -export interface ThresholdDecisionPolicySDKType { - $typeUrl?: string; - threshold: string; - windows: DecisionPolicyWindowsSDKType; -} -/** - * PercentageDecisionPolicy is a decision policy where a proposal passes when - * it satisfies the two following conditions: - * 1. The percentage of all `YES` voters' weights out of the total group weight - * is greater or equal than the given `percentage`. - * 2. The voting and execution periods of the proposal respect the parameters - * given by `windows`. - */ -export interface PercentageDecisionPolicy { - $typeUrl?: string; - /** - * percentage is the minimum percentage the weighted sum of `YES` votes must - * meet for a proposal to succeed. - */ - percentage: string; - /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows; -} -export interface PercentageDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy"; - value: Uint8Array; -} -/** - * PercentageDecisionPolicy is a decision policy where a proposal passes when - * it satisfies the two following conditions: - * 1. The percentage of all `YES` voters' weights out of the total group weight - * is greater or equal than the given `percentage`. - * 2. The voting and execution periods of the proposal respect the parameters - * given by `windows`. - */ -export interface PercentageDecisionPolicyAmino { - /** - * percentage is the minimum percentage the weighted sum of `YES` votes must - * meet for a proposal to succeed. - */ - percentage: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindowsAmino; -} -export interface PercentageDecisionPolicyAminoMsg { - type: "cosmos-sdk/PercentageDecisionPolicy"; - value: PercentageDecisionPolicyAmino; -} -/** - * PercentageDecisionPolicy is a decision policy where a proposal passes when - * it satisfies the two following conditions: - * 1. The percentage of all `YES` voters' weights out of the total group weight - * is greater or equal than the given `percentage`. - * 2. The voting and execution periods of the proposal respect the parameters - * given by `windows`. - */ -export interface PercentageDecisionPolicySDKType { - $typeUrl?: string; - percentage: string; - windows: DecisionPolicyWindowsSDKType; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindows { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - votingPeriod: Duration; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - minExecutionPeriod: Duration; -} -export interface DecisionPolicyWindowsProtoMsg { - typeUrl: "/cosmos.group.v1.DecisionPolicyWindows"; - value: Uint8Array; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindowsAmino { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - voting_period?: DurationAmino; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - min_execution_period?: DurationAmino; -} -export interface DecisionPolicyWindowsAminoMsg { - type: "cosmos-sdk/DecisionPolicyWindows"; - value: DecisionPolicyWindowsAmino; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindowsSDKType { - voting_period: DurationSDKType; - min_execution_period: DurationSDKType; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfo { - /** id is the unique ID of the group. */ - id: Long; - /** admin is the account address of the group's admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - version: Long; - /** total_weight is the sum of the group members' weights. */ - totalWeight: string; - /** created_at is a timestamp specifying when a group was created. */ - createdAt: Timestamp; -} -export interface GroupInfoProtoMsg { - typeUrl: "/cosmos.group.v1.GroupInfo"; - value: Uint8Array; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfoAmino { - /** id is the unique ID of the group. */ - id: string; - /** admin is the account address of the group's admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - version: string; - /** total_weight is the sum of the group members' weights. */ - total_weight: string; - /** created_at is a timestamp specifying when a group was created. */ - created_at?: TimestampAmino; -} -export interface GroupInfoAminoMsg { - type: "cosmos-sdk/GroupInfo"; - value: GroupInfoAmino; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfoSDKType { - id: Long; - admin: string; - metadata: string; - version: Long; - total_weight: string; - created_at: TimestampSDKType; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMember { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** member is the member data. */ - member: Member; -} -export interface GroupMemberProtoMsg { - typeUrl: "/cosmos.group.v1.GroupMember"; - value: Uint8Array; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMemberAmino { - /** group_id is the unique ID of the group. */ - group_id: string; - /** member is the member data. */ - member?: MemberAmino; -} -export interface GroupMemberAminoMsg { - type: "cosmos-sdk/GroupMember"; - value: GroupMemberAmino; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMemberSDKType { - group_id: Long; - member: MemberSDKType; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfo { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** admin is the account address of the group admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - version: Long; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: (ThresholdDecisionPolicy & PercentageDecisionPolicy & Any) | undefined; - /** created_at is a timestamp specifying when a group policy was created. */ - createdAt: Timestamp; -} -export interface GroupPolicyInfoProtoMsg { - typeUrl: "/cosmos.group.v1.GroupPolicyInfo"; - value: Uint8Array; -} -export type GroupPolicyInfoEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfoAmino { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** admin is the account address of the group admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - version: string; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino; - /** created_at is a timestamp specifying when a group policy was created. */ - created_at?: TimestampAmino; -} -export interface GroupPolicyInfoAminoMsg { - type: "cosmos-sdk/GroupPolicyInfo"; - value: GroupPolicyInfoAmino; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfoSDKType { - address: string; - group_id: Long; - admin: string; - metadata: string; - version: Long; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; - created_at: TimestampSDKType; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface Proposal { - /** id is the unique id of the proposal. */ - id: Long; - /** group_policy_address is the account address of group policy. */ - groupPolicyAddress: string; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** proposers are the account addresses of the proposers. */ - proposers: string[]; - /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Timestamp; - /** - * group_version tracks the version of the group at proposal submission. - * This field is here for informational purposes only. - */ - groupVersion: Long; - /** - * group_policy_version tracks the version of the group policy at proposal submission. - * When a decision policy is changed, existing proposals from previous policy - * versions will become invalid with the `ABORTED` status. - * This field is here for informational purposes only. - */ - groupPolicyVersion: Long; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status: ProposalStatus; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option. It is empty at submission, and only - * populated after tallying, at voting period end or at proposal execution, - * whichever happens first. - */ - finalTallyResult: TallyResult; - /** - * voting_period_end is the timestamp before which voting must be done. - * Unless a successfull MsgExec is called before (to execute a proposal whose - * tally is successful before the voting period ends), tallying will be done - * at this point, and the `final_tally_result`and `status` fields will be - * accordingly updated. - */ - votingPeriodEnd: Timestamp; - /** executor_result is the final result of the proposal execution. Initial value is NotRun. */ - executorResult: ProposalExecutorResult; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: Any[]; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.group.v1.Proposal"; - value: Uint8Array; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface ProposalAmino { - /** id is the unique id of the proposal. */ - id: string; - /** group_policy_address is the account address of group policy. */ - group_policy_address: string; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** proposers are the account addresses of the proposers. */ - proposers: string[]; - /** submit_time is a timestamp specifying when a proposal was submitted. */ - submit_time?: TimestampAmino; - /** - * group_version tracks the version of the group at proposal submission. - * This field is here for informational purposes only. - */ - group_version: string; - /** - * group_policy_version tracks the version of the group policy at proposal submission. - * When a decision policy is changed, existing proposals from previous policy - * versions will become invalid with the `ABORTED` status. - * This field is here for informational purposes only. - */ - group_policy_version: string; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status: ProposalStatus; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option. It is empty at submission, and only - * populated after tallying, at voting period end or at proposal execution, - * whichever happens first. - */ - final_tally_result?: TallyResultAmino; - /** - * voting_period_end is the timestamp before which voting must be done. - * Unless a successfull MsgExec is called before (to execute a proposal whose - * tally is successful before the voting period ends), tallying will be done - * at this point, and the `final_tally_result`and `status` fields will be - * accordingly updated. - */ - voting_period_end?: TimestampAmino; - /** executor_result is the final result of the proposal execution. Initial value is NotRun. */ - executor_result: ProposalExecutorResult; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: AnyAmino[]; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/Proposal"; - value: ProposalAmino; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface ProposalSDKType { - id: Long; - group_policy_address: string; - metadata: string; - proposers: string[]; - submit_time: TimestampSDKType; - group_version: Long; - group_policy_version: Long; - status: ProposalStatus; - final_tally_result: TallyResultSDKType; - voting_period_end: TimestampSDKType; - executor_result: ProposalExecutorResult; - messages: AnySDKType[]; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResult { - /** yes_count is the weighted sum of yes votes. */ - yesCount: string; - /** abstain_count is the weighted sum of abstainers. */ - abstainCount: string; - /** no_count is the weighted sum of no votes. */ - noCount: string; - /** no_with_veto_count is the weighted sum of veto. */ - noWithVetoCount: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.group.v1.TallyResult"; - value: Uint8Array; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResultAmino { - /** yes_count is the weighted sum of yes votes. */ - yes_count: string; - /** abstain_count is the weighted sum of abstainers. */ - abstain_count: string; - /** no_count is the weighted sum of no votes. */ - no_count: string; - /** no_with_veto_count is the weighted sum of veto. */ - no_with_veto_count: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResultSDKType { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** Vote represents a vote for a proposal. */ -export interface Vote { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** voter is the account address of the voter. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - submitTime: Timestamp; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.group.v1.Vote"; - value: Uint8Array; -} -/** Vote represents a vote for a proposal. */ -export interface VoteAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** voter is the account address of the voter. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - submit_time?: TimestampAmino; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/Vote"; - value: VoteAmino; -} -/** Vote represents a vote for a proposal. */ -export interface VoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; - submit_time: TimestampSDKType; -} -export declare const Member: { - encode(message: Member, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Member; - fromJSON(object: any): Member; - toJSON(message: Member): unknown; - fromPartial(object: Partial): Member; - fromAmino(object: MemberAmino): Member; - toAmino(message: Member): MemberAmino; - fromAminoMsg(object: MemberAminoMsg): Member; - toAminoMsg(message: Member): MemberAminoMsg; - fromProtoMsg(message: MemberProtoMsg): Member; - toProto(message: Member): Uint8Array; - toProtoMsg(message: Member): MemberProtoMsg; -}; -export declare const MemberRequest: { - encode(message: MemberRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MemberRequest; - fromJSON(object: any): MemberRequest; - toJSON(message: MemberRequest): unknown; - fromPartial(object: Partial): MemberRequest; - fromAmino(object: MemberRequestAmino): MemberRequest; - toAmino(message: MemberRequest): MemberRequestAmino; - fromAminoMsg(object: MemberRequestAminoMsg): MemberRequest; - toAminoMsg(message: MemberRequest): MemberRequestAminoMsg; - fromProtoMsg(message: MemberRequestProtoMsg): MemberRequest; - toProto(message: MemberRequest): Uint8Array; - toProtoMsg(message: MemberRequest): MemberRequestProtoMsg; -}; -export declare const ThresholdDecisionPolicy: { - encode(message: ThresholdDecisionPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy; - fromJSON(object: any): ThresholdDecisionPolicy; - toJSON(message: ThresholdDecisionPolicy): unknown; - fromPartial(object: Partial): ThresholdDecisionPolicy; - fromAmino(object: ThresholdDecisionPolicyAmino): ThresholdDecisionPolicy; - toAmino(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAmino; - fromAminoMsg(object: ThresholdDecisionPolicyAminoMsg): ThresholdDecisionPolicy; - toAminoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAminoMsg; - fromProtoMsg(message: ThresholdDecisionPolicyProtoMsg): ThresholdDecisionPolicy; - toProto(message: ThresholdDecisionPolicy): Uint8Array; - toProtoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyProtoMsg; -}; -export declare const PercentageDecisionPolicy: { - encode(message: PercentageDecisionPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy; - fromJSON(object: any): PercentageDecisionPolicy; - toJSON(message: PercentageDecisionPolicy): unknown; - fromPartial(object: Partial): PercentageDecisionPolicy; - fromAmino(object: PercentageDecisionPolicyAmino): PercentageDecisionPolicy; - toAmino(message: PercentageDecisionPolicy): PercentageDecisionPolicyAmino; - fromAminoMsg(object: PercentageDecisionPolicyAminoMsg): PercentageDecisionPolicy; - toAminoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyAminoMsg; - fromProtoMsg(message: PercentageDecisionPolicyProtoMsg): PercentageDecisionPolicy; - toProto(message: PercentageDecisionPolicy): Uint8Array; - toProtoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyProtoMsg; -}; -export declare const DecisionPolicyWindows: { - encode(message: DecisionPolicyWindows, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows; - fromJSON(object: any): DecisionPolicyWindows; - toJSON(message: DecisionPolicyWindows): unknown; - fromPartial(object: Partial): DecisionPolicyWindows; - fromAmino(object: DecisionPolicyWindowsAmino): DecisionPolicyWindows; - toAmino(message: DecisionPolicyWindows): DecisionPolicyWindowsAmino; - fromAminoMsg(object: DecisionPolicyWindowsAminoMsg): DecisionPolicyWindows; - toAminoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsAminoMsg; - fromProtoMsg(message: DecisionPolicyWindowsProtoMsg): DecisionPolicyWindows; - toProto(message: DecisionPolicyWindows): Uint8Array; - toProtoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsProtoMsg; -}; -export declare const GroupInfo: { - encode(message: GroupInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo; - fromJSON(object: any): GroupInfo; - toJSON(message: GroupInfo): unknown; - fromPartial(object: Partial): GroupInfo; - fromAmino(object: GroupInfoAmino): GroupInfo; - toAmino(message: GroupInfo): GroupInfoAmino; - fromAminoMsg(object: GroupInfoAminoMsg): GroupInfo; - toAminoMsg(message: GroupInfo): GroupInfoAminoMsg; - fromProtoMsg(message: GroupInfoProtoMsg): GroupInfo; - toProto(message: GroupInfo): Uint8Array; - toProtoMsg(message: GroupInfo): GroupInfoProtoMsg; -}; -export declare const GroupMember: { - encode(message: GroupMember, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember; - fromJSON(object: any): GroupMember; - toJSON(message: GroupMember): unknown; - fromPartial(object: Partial): GroupMember; - fromAmino(object: GroupMemberAmino): GroupMember; - toAmino(message: GroupMember): GroupMemberAmino; - fromAminoMsg(object: GroupMemberAminoMsg): GroupMember; - toAminoMsg(message: GroupMember): GroupMemberAminoMsg; - fromProtoMsg(message: GroupMemberProtoMsg): GroupMember; - toProto(message: GroupMember): Uint8Array; - toProtoMsg(message: GroupMember): GroupMemberProtoMsg; -}; -export declare const GroupPolicyInfo: { - encode(message: GroupPolicyInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo; - fromJSON(object: any): GroupPolicyInfo; - toJSON(message: GroupPolicyInfo): unknown; - fromPartial(object: Partial): GroupPolicyInfo; - fromAmino(object: GroupPolicyInfoAmino): GroupPolicyInfo; - toAmino(message: GroupPolicyInfo): GroupPolicyInfoAmino; - fromAminoMsg(object: GroupPolicyInfoAminoMsg): GroupPolicyInfo; - toAminoMsg(message: GroupPolicyInfo): GroupPolicyInfoAminoMsg; - fromProtoMsg(message: GroupPolicyInfoProtoMsg): GroupPolicyInfo; - toProto(message: GroupPolicyInfo): Uint8Array; - toProtoMsg(message: GroupPolicyInfo): GroupPolicyInfoProtoMsg; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: Partial): Proposal; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - toAminoMsg(message: Proposal): ProposalAminoMsg; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const TallyResult: { - encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult; - fromJSON(object: any): TallyResult; - toJSON(message: TallyResult): unknown; - fromPartial(object: Partial): TallyResult; - fromAmino(object: TallyResultAmino): TallyResult; - toAmino(message: TallyResult): TallyResultAmino; - fromAminoMsg(object: TallyResultAminoMsg): TallyResult; - toAminoMsg(message: TallyResult): TallyResultAminoMsg; - fromProtoMsg(message: TallyResultProtoMsg): TallyResult; - toProto(message: TallyResult): Uint8Array; - toProtoMsg(message: TallyResult): TallyResultProtoMsg; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: Partial): Vote; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - toAminoMsg(message: Vote): VoteAminoMsg; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; -export declare const DecisionPolicy_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => ThresholdDecisionPolicy | PercentageDecisionPolicy | Any; -export declare const DecisionPolicy_FromAmino: (content: AnyAmino) => Any; -export declare const DecisionPolicy_ToAmino: (content: Any) => AnyAmino; diff --git a/packages/api/types/codegen/cosmos/lcd.d.ts b/packages/api/types/codegen/cosmos/lcd.d.ts deleted file mode 100644 index 27c805c6..00000000 --- a/packages/api/types/codegen/cosmos/lcd.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -export declare const createLCDClient: ({ restEndpoint }: { - restEndpoint: string; -}) => Promise<{ - cosmos: { - auth: { - v1beta1: import("./auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("./authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("./bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - node: { - v1beta1: import("./base/node/v1beta1/query.lcd").LCDQueryClient; - }; - tendermint: { - v1beta1: import("./base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("./distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("./evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("./feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("./gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("./gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("./group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("./mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("./nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("./params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("./slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("./staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("./tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("./upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; -}>; diff --git a/packages/api/types/codegen/cosmos/mint/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/mint/v1beta1/genesis.d.ts deleted file mode 100644 index 62fca06f..00000000 --- a/packages/api/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Minter, MinterAmino, MinterSDKType, Params, ParamsAmino, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisState { - /** minter is a space for holding current inflation information. */ - minter: Minter; - /** params defines all the paramaters of the module. */ - params: Params; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateAmino { - /** minter is a space for holding current inflation information. */ - minter?: MinterAmino; - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateSDKType { - minter: MinterSDKType; - params: ParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/mint/v1beta1/mint.d.ts b/packages/api/types/codegen/cosmos/mint/v1beta1/mint.d.ts deleted file mode 100644 index acb17418..00000000 --- a/packages/api/types/codegen/cosmos/mint/v1beta1/mint.d.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Minter represents the minting state. */ -export interface Minter { - /** current annual inflation rate */ - inflation: string; - /** current annual expected provisions */ - annualProvisions: string; -} -export interface MinterProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.Minter"; - value: Uint8Array; -} -/** Minter represents the minting state. */ -export interface MinterAmino { - /** current annual inflation rate */ - inflation: string; - /** current annual expected provisions */ - annual_provisions: string; -} -export interface MinterAminoMsg { - type: "cosmos-sdk/Minter"; - value: MinterAmino; -} -/** Minter represents the minting state. */ -export interface MinterSDKType { - inflation: string; - annual_provisions: string; -} -/** Params holds parameters for the mint module. */ -export interface Params { - /** type of coin to mint */ - mintDenom: string; - /** maximum annual change in inflation rate */ - inflationRateChange: string; - /** maximum inflation rate */ - inflationMax: string; - /** minimum inflation rate */ - inflationMin: string; - /** goal of percent bonded atoms */ - goalBonded: string; - /** expected blocks per year */ - blocksPerYear: Long; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.Params"; - value: Uint8Array; -} -/** Params holds parameters for the mint module. */ -export interface ParamsAmino { - /** type of coin to mint */ - mint_denom: string; - /** maximum annual change in inflation rate */ - inflation_rate_change: string; - /** maximum inflation rate */ - inflation_max: string; - /** minimum inflation rate */ - inflation_min: string; - /** goal of percent bonded atoms */ - goal_bonded: string; - /** expected blocks per year */ - blocks_per_year: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params holds parameters for the mint module. */ -export interface ParamsSDKType { - mint_denom: string; - inflation_rate_change: string; - inflation_max: string; - inflation_min: string; - goal_bonded: string; - blocks_per_year: Long; -} -export declare const Minter: { - encode(message: Minter, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Minter; - fromJSON(object: any): Minter; - toJSON(message: Minter): unknown; - fromPartial(object: Partial): Minter; - fromAmino(object: MinterAmino): Minter; - toAmino(message: Minter): MinterAmino; - fromAminoMsg(object: MinterAminoMsg): Minter; - toAminoMsg(message: Minter): MinterAminoMsg; - fromProtoMsg(message: MinterProtoMsg): Minter; - toProto(message: Minter): Uint8Array; - toProtoMsg(message: Minter): MinterProtoMsg; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/mint/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/mint/v1beta1/query.d.ts deleted file mode 100644 index d9298769..00000000 --- a/packages/api/types/codegen/cosmos/mint/v1beta1/query.d.ts +++ /dev/null @@ -1,230 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequest { -} -export interface QueryInflationRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationRequest"; - value: Uint8Array; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequestAmino { -} -export interface QueryInflationRequestAminoMsg { - type: "cosmos-sdk/QueryInflationRequest"; - value: QueryInflationRequestAmino; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequestSDKType { -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponse { - /** inflation is the current minting inflation value. */ - inflation: Uint8Array; -} -export interface QueryInflationResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationResponse"; - value: Uint8Array; -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponseAmino { - /** inflation is the current minting inflation value. */ - inflation: Uint8Array; -} -export interface QueryInflationResponseAminoMsg { - type: "cosmos-sdk/QueryInflationResponse"; - value: QueryInflationResponseAmino; -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponseSDKType { - inflation: Uint8Array; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequest { -} -export interface QueryAnnualProvisionsRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsRequest"; - value: Uint8Array; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequestAmino { -} -export interface QueryAnnualProvisionsRequestAminoMsg { - type: "cosmos-sdk/QueryAnnualProvisionsRequest"; - value: QueryAnnualProvisionsRequestAmino; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequestSDKType { -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponse { - /** annual_provisions is the current minting annual provisions value. */ - annualProvisions: Uint8Array; -} -export interface QueryAnnualProvisionsResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse"; - value: Uint8Array; -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponseAmino { - /** annual_provisions is the current minting annual provisions value. */ - annual_provisions: Uint8Array; -} -export interface QueryAnnualProvisionsResponseAminoMsg { - type: "cosmos-sdk/QueryAnnualProvisionsResponse"; - value: QueryAnnualProvisionsResponseAmino; -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponseSDKType { - annual_provisions: Uint8Array; -} -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryInflationRequest: { - encode(_: QueryInflationRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest; - fromJSON(_: any): QueryInflationRequest; - toJSON(_: QueryInflationRequest): unknown; - fromPartial(_: Partial): QueryInflationRequest; - fromAmino(_: QueryInflationRequestAmino): QueryInflationRequest; - toAmino(_: QueryInflationRequest): QueryInflationRequestAmino; - fromAminoMsg(object: QueryInflationRequestAminoMsg): QueryInflationRequest; - toAminoMsg(message: QueryInflationRequest): QueryInflationRequestAminoMsg; - fromProtoMsg(message: QueryInflationRequestProtoMsg): QueryInflationRequest; - toProto(message: QueryInflationRequest): Uint8Array; - toProtoMsg(message: QueryInflationRequest): QueryInflationRequestProtoMsg; -}; -export declare const QueryInflationResponse: { - encode(message: QueryInflationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse; - fromJSON(object: any): QueryInflationResponse; - toJSON(message: QueryInflationResponse): unknown; - fromPartial(object: Partial): QueryInflationResponse; - fromAmino(object: QueryInflationResponseAmino): QueryInflationResponse; - toAmino(message: QueryInflationResponse): QueryInflationResponseAmino; - fromAminoMsg(object: QueryInflationResponseAminoMsg): QueryInflationResponse; - toAminoMsg(message: QueryInflationResponse): QueryInflationResponseAminoMsg; - fromProtoMsg(message: QueryInflationResponseProtoMsg): QueryInflationResponse; - toProto(message: QueryInflationResponse): Uint8Array; - toProtoMsg(message: QueryInflationResponse): QueryInflationResponseProtoMsg; -}; -export declare const QueryAnnualProvisionsRequest: { - encode(_: QueryAnnualProvisionsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest; - fromJSON(_: any): QueryAnnualProvisionsRequest; - toJSON(_: QueryAnnualProvisionsRequest): unknown; - fromPartial(_: Partial): QueryAnnualProvisionsRequest; - fromAmino(_: QueryAnnualProvisionsRequestAmino): QueryAnnualProvisionsRequest; - toAmino(_: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAmino; - fromAminoMsg(object: QueryAnnualProvisionsRequestAminoMsg): QueryAnnualProvisionsRequest; - toAminoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAminoMsg; - fromProtoMsg(message: QueryAnnualProvisionsRequestProtoMsg): QueryAnnualProvisionsRequest; - toProto(message: QueryAnnualProvisionsRequest): Uint8Array; - toProtoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestProtoMsg; -}; -export declare const QueryAnnualProvisionsResponse: { - encode(message: QueryAnnualProvisionsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse; - fromJSON(object: any): QueryAnnualProvisionsResponse; - toJSON(message: QueryAnnualProvisionsResponse): unknown; - fromPartial(object: Partial): QueryAnnualProvisionsResponse; - fromAmino(object: QueryAnnualProvisionsResponseAmino): QueryAnnualProvisionsResponse; - toAmino(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAmino; - fromAminoMsg(object: QueryAnnualProvisionsResponseAminoMsg): QueryAnnualProvisionsResponse; - toAminoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAminoMsg; - fromProtoMsg(message: QueryAnnualProvisionsResponseProtoMsg): QueryAnnualProvisionsResponse; - toProto(message: QueryAnnualProvisionsResponse): Uint8Array; - toProtoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts deleted file mode 100644 index bab04928..00000000 --- a/packages/api/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(_params?: QueryParamsRequest): Promise; - inflation(_params?: QueryInflationRequest): Promise; - annualProvisions(_params?: QueryAnnualProvisionsRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 83fc7060..00000000 --- a/packages/api/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; -/** Query provides defines the gRPC querier service. */ -export interface Query { - /** Params returns the total set of minting parameters. */ - params(request?: QueryParamsRequest): Promise; - /** Inflation returns the current minting inflation value. */ - inflation(request?: QueryInflationRequest): Promise; - /** AnnualProvisions current minting annual provisions value. */ - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request?: QueryParamsRequest): Promise; - inflation(request?: QueryInflationRequest): Promise; - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request?: QueryParamsRequest): Promise; - inflation(request?: QueryInflationRequest): Promise; - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/msg/v1/msg.d.ts b/packages/api/types/codegen/cosmos/msg/v1/msg.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/api/types/codegen/cosmos/msg/v1/msg.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/event.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/event.d.ts deleted file mode 100644 index 2399cd6c..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/event.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** EventSend is emitted on Msg/Send */ -export interface EventSend { - classId: string; - id: string; - sender: string; - receiver: string; -} -export interface EventSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventSend"; - value: Uint8Array; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendAmino { - class_id: string; - id: string; - sender: string; - receiver: string; -} -export interface EventSendAminoMsg { - type: "cosmos-sdk/EventSend"; - value: EventSendAmino; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** EventMint is emitted on Mint */ -export interface EventMint { - classId: string; - id: string; - owner: string; -} -export interface EventMintProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventMint"; - value: Uint8Array; -} -/** EventMint is emitted on Mint */ -export interface EventMintAmino { - class_id: string; - id: string; - owner: string; -} -export interface EventMintAminoMsg { - type: "cosmos-sdk/EventMint"; - value: EventMintAmino; -} -/** EventMint is emitted on Mint */ -export interface EventMintSDKType { - class_id: string; - id: string; - owner: string; -} -/** EventBurn is emitted on Burn */ -export interface EventBurn { - classId: string; - id: string; - owner: string; -} -export interface EventBurnProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventBurn"; - value: Uint8Array; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnAmino { - class_id: string; - id: string; - owner: string; -} -export interface EventBurnAminoMsg { - type: "cosmos-sdk/EventBurn"; - value: EventBurnAmino; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnSDKType { - class_id: string; - id: string; - owner: string; -} -export declare const EventSend: { - encode(message: EventSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventSend; - fromJSON(object: any): EventSend; - toJSON(message: EventSend): unknown; - fromPartial(object: Partial): EventSend; - fromAmino(object: EventSendAmino): EventSend; - toAmino(message: EventSend): EventSendAmino; - fromAminoMsg(object: EventSendAminoMsg): EventSend; - toAminoMsg(message: EventSend): EventSendAminoMsg; - fromProtoMsg(message: EventSendProtoMsg): EventSend; - toProto(message: EventSend): Uint8Array; - toProtoMsg(message: EventSend): EventSendProtoMsg; -}; -export declare const EventMint: { - encode(message: EventMint, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventMint; - fromJSON(object: any): EventMint; - toJSON(message: EventMint): unknown; - fromPartial(object: Partial): EventMint; - fromAmino(object: EventMintAmino): EventMint; - toAmino(message: EventMint): EventMintAmino; - fromAminoMsg(object: EventMintAminoMsg): EventMint; - toAminoMsg(message: EventMint): EventMintAminoMsg; - fromProtoMsg(message: EventMintProtoMsg): EventMint; - toProto(message: EventMint): Uint8Array; - toProtoMsg(message: EventMint): EventMintProtoMsg; -}; -export declare const EventBurn: { - encode(message: EventBurn, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventBurn; - fromJSON(object: any): EventBurn; - toJSON(message: EventBurn): unknown; - fromPartial(object: Partial): EventBurn; - fromAmino(object: EventBurnAmino): EventBurn; - toAmino(message: EventBurn): EventBurnAmino; - fromAminoMsg(object: EventBurnAminoMsg): EventBurn; - toAminoMsg(message: EventBurn): EventBurnAminoMsg; - fromProtoMsg(message: EventBurnProtoMsg): EventBurn; - toProto(message: EventBurn): Uint8Array; - toProtoMsg(message: EventBurn): EventBurnProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/genesis.d.ts deleted file mode 100644 index 7e989b40..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { Class, ClassAmino, ClassSDKType, NFT, NFTAmino, NFTSDKType } from "./nft"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisState { - /** class defines the class of the nft type. */ - classes: Class[]; - entries: Entry[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateAmino { - /** class defines the class of the nft type. */ - classes: ClassAmino[]; - entries: EntryAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateSDKType { - classes: ClassSDKType[]; - entries: EntrySDKType[]; -} -/** Entry Defines all nft owned by a person */ -export interface Entry { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - nfts: NFT[]; -} -export interface EntryProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Entry"; - value: Uint8Array; -} -/** Entry Defines all nft owned by a person */ -export interface EntryAmino { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - nfts: NFTAmino[]; -} -export interface EntryAminoMsg { - type: "cosmos-sdk/Entry"; - value: EntryAmino; -} -/** Entry Defines all nft owned by a person */ -export interface EntrySDKType { - owner: string; - nfts: NFTSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const Entry: { - encode(message: Entry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Entry; - fromJSON(object: any): Entry; - toJSON(message: Entry): unknown; - fromPartial(object: Partial): Entry; - fromAmino(object: EntryAmino): Entry; - toAmino(message: Entry): EntryAmino; - fromAminoMsg(object: EntryAminoMsg): Entry; - toAminoMsg(message: Entry): EntryAminoMsg; - fromProtoMsg(message: EntryProtoMsg): Entry; - toProto(message: Entry): Uint8Array; - toProtoMsg(message: Entry): EntryProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/nft.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/nft.d.ts deleted file mode 100644 index 2e611b48..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/nft.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** Class defines the class of the nft type. */ -export interface Class { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; - /** description is a brief description of nft classification. Optional */ - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uriHash: string; - /** data is the app specific metadata of the NFT class. Optional */ - data: Any; -} -export interface ClassProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Class"; - value: Uint8Array; -} -/** Class defines the class of the nft type. */ -export interface ClassAmino { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; - /** description is a brief description of nft classification. Optional */ - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uri_hash: string; - /** data is the app specific metadata of the NFT class. Optional */ - data?: AnyAmino; -} -export interface ClassAminoMsg { - type: "cosmos-sdk/Class"; - value: ClassAmino; -} -/** Class defines the class of the nft type. */ -export interface ClassSDKType { - id: string; - name: string; - symbol: string; - description: string; - uri: string; - uri_hash: string; - data: AnySDKType; -} -/** NFT defines the NFT. */ -export interface NFT { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - classId: string; - /** id is a unique identifier of the NFT */ - id: string; - /** uri for the NFT metadata stored off chain */ - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - uriHash: string; - /** data is an app specific data of the NFT. Optional */ - data: Any; -} -export interface NFTProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.NFT"; - value: Uint8Array; -} -/** NFT defines the NFT. */ -export interface NFTAmino { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - class_id: string; - /** id is a unique identifier of the NFT */ - id: string; - /** uri for the NFT metadata stored off chain */ - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - uri_hash: string; - /** data is an app specific data of the NFT. Optional */ - data?: AnyAmino; -} -export interface NFTAminoMsg { - type: "cosmos-sdk/NFT"; - value: NFTAmino; -} -/** NFT defines the NFT. */ -export interface NFTSDKType { - class_id: string; - id: string; - uri: string; - uri_hash: string; - data: AnySDKType; -} -export declare const Class: { - encode(message: Class, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Class; - fromJSON(object: any): Class; - toJSON(message: Class): unknown; - fromPartial(object: Partial): Class; - fromAmino(object: ClassAmino): Class; - toAmino(message: Class): ClassAmino; - fromAminoMsg(object: ClassAminoMsg): Class; - toAminoMsg(message: Class): ClassAminoMsg; - fromProtoMsg(message: ClassProtoMsg): Class; - toProto(message: Class): Uint8Array; - toProtoMsg(message: Class): ClassProtoMsg; -}; -export declare const NFT: { - encode(message: NFT, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NFT; - fromJSON(object: any): NFT; - toJSON(message: NFT): unknown; - fromPartial(object: Partial): NFT; - fromAmino(object: NFTAmino): NFT; - toAmino(message: NFT): NFTAmino; - fromAminoMsg(object: NFTAminoMsg): NFT; - toAminoMsg(message: NFT): NFTAminoMsg; - fromProtoMsg(message: NFTProtoMsg): NFT; - toProto(message: NFT): Uint8Array; - toProtoMsg(message: NFT): NFTProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/query.d.ts deleted file mode 100644 index 6a81eeb6..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/query.d.ts +++ /dev/null @@ -1,503 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { NFT, NFTAmino, NFTSDKType, Class, ClassAmino, ClassSDKType } from "./nft"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequest { - classId: string; - owner: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestAmino { - class_id: string; - owner: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "cosmos-sdk/QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestSDKType { - class_id: string; - owner: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponse { - amount: Long; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseAmino { - amount: string; -} -export interface QueryBalanceResponseAminoMsg { - type: "cosmos-sdk/QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseSDKType { - amount: Long; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequest { - classId: string; - id: string; -} -export interface QueryOwnerRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest"; - value: Uint8Array; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestAmino { - class_id: string; - id: string; -} -export interface QueryOwnerRequestAminoMsg { - type: "cosmos-sdk/QueryOwnerRequest"; - value: QueryOwnerRequestAmino; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestSDKType { - class_id: string; - id: string; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponse { - owner: string; -} -export interface QueryOwnerResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse"; - value: Uint8Array; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseAmino { - owner: string; -} -export interface QueryOwnerResponseAminoMsg { - type: "cosmos-sdk/QueryOwnerResponse"; - value: QueryOwnerResponseAmino; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseSDKType { - owner: string; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequest { - classId: string; -} -export interface QuerySupplyRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest"; - value: Uint8Array; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestAmino { - class_id: string; -} -export interface QuerySupplyRequestAminoMsg { - type: "cosmos-sdk/QuerySupplyRequest"; - value: QuerySupplyRequestAmino; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestSDKType { - class_id: string; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponse { - amount: Long; -} -export interface QuerySupplyResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse"; - value: Uint8Array; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseAmino { - amount: string; -} -export interface QuerySupplyResponseAminoMsg { - type: "cosmos-sdk/QuerySupplyResponse"; - value: QuerySupplyResponseAmino; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseSDKType { - amount: Long; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequest { - classId: string; - owner: string; - pagination: PageRequest; -} -export interface QueryNFTsRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest"; - value: Uint8Array; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestAmino { - class_id: string; - owner: string; - pagination?: PageRequestAmino; -} -export interface QueryNFTsRequestAminoMsg { - type: "cosmos-sdk/QueryNFTsRequest"; - value: QueryNFTsRequestAmino; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestSDKType { - class_id: string; - owner: string; - pagination: PageRequestSDKType; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponse { - nfts: NFT[]; - pagination: PageResponse; -} -export interface QueryNFTsResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse"; - value: Uint8Array; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseAmino { - nfts: NFTAmino[]; - pagination?: PageResponseAmino; -} -export interface QueryNFTsResponseAminoMsg { - type: "cosmos-sdk/QueryNFTsResponse"; - value: QueryNFTsResponseAmino; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseSDKType { - nfts: NFTSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequest { - classId: string; - id: string; -} -export interface QueryNFTRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest"; - value: Uint8Array; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestAmino { - class_id: string; - id: string; -} -export interface QueryNFTRequestAminoMsg { - type: "cosmos-sdk/QueryNFTRequest"; - value: QueryNFTRequestAmino; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestSDKType { - class_id: string; - id: string; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponse { - nft: NFT; -} -export interface QueryNFTResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse"; - value: Uint8Array; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseAmino { - nft?: NFTAmino; -} -export interface QueryNFTResponseAminoMsg { - type: "cosmos-sdk/QueryNFTResponse"; - value: QueryNFTResponseAmino; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseSDKType { - nft: NFTSDKType; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequest { - classId: string; -} -export interface QueryClassRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest"; - value: Uint8Array; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestAmino { - class_id: string; -} -export interface QueryClassRequestAminoMsg { - type: "cosmos-sdk/QueryClassRequest"; - value: QueryClassRequestAmino; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestSDKType { - class_id: string; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponse { - class: Class; -} -export interface QueryClassResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse"; - value: Uint8Array; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseAmino { - class?: ClassAmino; -} -export interface QueryClassResponseAminoMsg { - type: "cosmos-sdk/QueryClassResponse"; - value: QueryClassResponseAmino; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseSDKType { - class: ClassSDKType; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryClassesRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest"; - value: Uint8Array; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryClassesRequestAminoMsg { - type: "cosmos-sdk/QueryClassesRequest"; - value: QueryClassesRequestAmino; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponse { - classes: Class[]; - pagination: PageResponse; -} -export interface QueryClassesResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse"; - value: Uint8Array; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseAmino { - classes: ClassAmino[]; - pagination?: PageResponseAmino; -} -export interface QueryClassesResponseAminoMsg { - type: "cosmos-sdk/QueryClassesResponse"; - value: QueryClassesResponseAmino; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseSDKType { - classes: ClassSDKType[]; - pagination: PageResponseSDKType; -} -export declare const QueryBalanceRequest: { - encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest; - fromJSON(object: any): QueryBalanceRequest; - toJSON(message: QueryBalanceRequest): unknown; - fromPartial(object: Partial): QueryBalanceRequest; - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest; - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino; - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest; - toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg; - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest; - toProto(message: QueryBalanceRequest): Uint8Array; - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg; -}; -export declare const QueryBalanceResponse: { - encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse; - fromJSON(object: any): QueryBalanceResponse; - toJSON(message: QueryBalanceResponse): unknown; - fromPartial(object: Partial): QueryBalanceResponse; - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse; - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino; - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse; - toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg; - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse; - toProto(message: QueryBalanceResponse): Uint8Array; - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg; -}; -export declare const QueryOwnerRequest: { - encode(message: QueryOwnerRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerRequest; - fromJSON(object: any): QueryOwnerRequest; - toJSON(message: QueryOwnerRequest): unknown; - fromPartial(object: Partial): QueryOwnerRequest; - fromAmino(object: QueryOwnerRequestAmino): QueryOwnerRequest; - toAmino(message: QueryOwnerRequest): QueryOwnerRequestAmino; - fromAminoMsg(object: QueryOwnerRequestAminoMsg): QueryOwnerRequest; - toAminoMsg(message: QueryOwnerRequest): QueryOwnerRequestAminoMsg; - fromProtoMsg(message: QueryOwnerRequestProtoMsg): QueryOwnerRequest; - toProto(message: QueryOwnerRequest): Uint8Array; - toProtoMsg(message: QueryOwnerRequest): QueryOwnerRequestProtoMsg; -}; -export declare const QueryOwnerResponse: { - encode(message: QueryOwnerResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse; - fromJSON(object: any): QueryOwnerResponse; - toJSON(message: QueryOwnerResponse): unknown; - fromPartial(object: Partial): QueryOwnerResponse; - fromAmino(object: QueryOwnerResponseAmino): QueryOwnerResponse; - toAmino(message: QueryOwnerResponse): QueryOwnerResponseAmino; - fromAminoMsg(object: QueryOwnerResponseAminoMsg): QueryOwnerResponse; - toAminoMsg(message: QueryOwnerResponse): QueryOwnerResponseAminoMsg; - fromProtoMsg(message: QueryOwnerResponseProtoMsg): QueryOwnerResponse; - toProto(message: QueryOwnerResponse): Uint8Array; - toProtoMsg(message: QueryOwnerResponse): QueryOwnerResponseProtoMsg; -}; -export declare const QuerySupplyRequest: { - encode(message: QuerySupplyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest; - fromJSON(object: any): QuerySupplyRequest; - toJSON(message: QuerySupplyRequest): unknown; - fromPartial(object: Partial): QuerySupplyRequest; - fromAmino(object: QuerySupplyRequestAmino): QuerySupplyRequest; - toAmino(message: QuerySupplyRequest): QuerySupplyRequestAmino; - fromAminoMsg(object: QuerySupplyRequestAminoMsg): QuerySupplyRequest; - toAminoMsg(message: QuerySupplyRequest): QuerySupplyRequestAminoMsg; - fromProtoMsg(message: QuerySupplyRequestProtoMsg): QuerySupplyRequest; - toProto(message: QuerySupplyRequest): Uint8Array; - toProtoMsg(message: QuerySupplyRequest): QuerySupplyRequestProtoMsg; -}; -export declare const QuerySupplyResponse: { - encode(message: QuerySupplyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse; - fromJSON(object: any): QuerySupplyResponse; - toJSON(message: QuerySupplyResponse): unknown; - fromPartial(object: Partial): QuerySupplyResponse; - fromAmino(object: QuerySupplyResponseAmino): QuerySupplyResponse; - toAmino(message: QuerySupplyResponse): QuerySupplyResponseAmino; - fromAminoMsg(object: QuerySupplyResponseAminoMsg): QuerySupplyResponse; - toAminoMsg(message: QuerySupplyResponse): QuerySupplyResponseAminoMsg; - fromProtoMsg(message: QuerySupplyResponseProtoMsg): QuerySupplyResponse; - toProto(message: QuerySupplyResponse): Uint8Array; - toProtoMsg(message: QuerySupplyResponse): QuerySupplyResponseProtoMsg; -}; -export declare const QueryNFTsRequest: { - encode(message: QueryNFTsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsRequest; - fromJSON(object: any): QueryNFTsRequest; - toJSON(message: QueryNFTsRequest): unknown; - fromPartial(object: Partial): QueryNFTsRequest; - fromAmino(object: QueryNFTsRequestAmino): QueryNFTsRequest; - toAmino(message: QueryNFTsRequest): QueryNFTsRequestAmino; - fromAminoMsg(object: QueryNFTsRequestAminoMsg): QueryNFTsRequest; - toAminoMsg(message: QueryNFTsRequest): QueryNFTsRequestAminoMsg; - fromProtoMsg(message: QueryNFTsRequestProtoMsg): QueryNFTsRequest; - toProto(message: QueryNFTsRequest): Uint8Array; - toProtoMsg(message: QueryNFTsRequest): QueryNFTsRequestProtoMsg; -}; -export declare const QueryNFTsResponse: { - encode(message: QueryNFTsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse; - fromJSON(object: any): QueryNFTsResponse; - toJSON(message: QueryNFTsResponse): unknown; - fromPartial(object: Partial): QueryNFTsResponse; - fromAmino(object: QueryNFTsResponseAmino): QueryNFTsResponse; - toAmino(message: QueryNFTsResponse): QueryNFTsResponseAmino; - fromAminoMsg(object: QueryNFTsResponseAminoMsg): QueryNFTsResponse; - toAminoMsg(message: QueryNFTsResponse): QueryNFTsResponseAminoMsg; - fromProtoMsg(message: QueryNFTsResponseProtoMsg): QueryNFTsResponse; - toProto(message: QueryNFTsResponse): Uint8Array; - toProtoMsg(message: QueryNFTsResponse): QueryNFTsResponseProtoMsg; -}; -export declare const QueryNFTRequest: { - encode(message: QueryNFTRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest; - fromJSON(object: any): QueryNFTRequest; - toJSON(message: QueryNFTRequest): unknown; - fromPartial(object: Partial): QueryNFTRequest; - fromAmino(object: QueryNFTRequestAmino): QueryNFTRequest; - toAmino(message: QueryNFTRequest): QueryNFTRequestAmino; - fromAminoMsg(object: QueryNFTRequestAminoMsg): QueryNFTRequest; - toAminoMsg(message: QueryNFTRequest): QueryNFTRequestAminoMsg; - fromProtoMsg(message: QueryNFTRequestProtoMsg): QueryNFTRequest; - toProto(message: QueryNFTRequest): Uint8Array; - toProtoMsg(message: QueryNFTRequest): QueryNFTRequestProtoMsg; -}; -export declare const QueryNFTResponse: { - encode(message: QueryNFTResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse; - fromJSON(object: any): QueryNFTResponse; - toJSON(message: QueryNFTResponse): unknown; - fromPartial(object: Partial): QueryNFTResponse; - fromAmino(object: QueryNFTResponseAmino): QueryNFTResponse; - toAmino(message: QueryNFTResponse): QueryNFTResponseAmino; - fromAminoMsg(object: QueryNFTResponseAminoMsg): QueryNFTResponse; - toAminoMsg(message: QueryNFTResponse): QueryNFTResponseAminoMsg; - fromProtoMsg(message: QueryNFTResponseProtoMsg): QueryNFTResponse; - toProto(message: QueryNFTResponse): Uint8Array; - toProtoMsg(message: QueryNFTResponse): QueryNFTResponseProtoMsg; -}; -export declare const QueryClassRequest: { - encode(message: QueryClassRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest; - fromJSON(object: any): QueryClassRequest; - toJSON(message: QueryClassRequest): unknown; - fromPartial(object: Partial): QueryClassRequest; - fromAmino(object: QueryClassRequestAmino): QueryClassRequest; - toAmino(message: QueryClassRequest): QueryClassRequestAmino; - fromAminoMsg(object: QueryClassRequestAminoMsg): QueryClassRequest; - toAminoMsg(message: QueryClassRequest): QueryClassRequestAminoMsg; - fromProtoMsg(message: QueryClassRequestProtoMsg): QueryClassRequest; - toProto(message: QueryClassRequest): Uint8Array; - toProtoMsg(message: QueryClassRequest): QueryClassRequestProtoMsg; -}; -export declare const QueryClassResponse: { - encode(message: QueryClassResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse; - fromJSON(object: any): QueryClassResponse; - toJSON(message: QueryClassResponse): unknown; - fromPartial(object: Partial): QueryClassResponse; - fromAmino(object: QueryClassResponseAmino): QueryClassResponse; - toAmino(message: QueryClassResponse): QueryClassResponseAmino; - fromAminoMsg(object: QueryClassResponseAminoMsg): QueryClassResponse; - toAminoMsg(message: QueryClassResponse): QueryClassResponseAminoMsg; - fromProtoMsg(message: QueryClassResponseProtoMsg): QueryClassResponse; - toProto(message: QueryClassResponse): Uint8Array; - toProtoMsg(message: QueryClassResponse): QueryClassResponseProtoMsg; -}; -export declare const QueryClassesRequest: { - encode(message: QueryClassesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest; - fromJSON(object: any): QueryClassesRequest; - toJSON(message: QueryClassesRequest): unknown; - fromPartial(object: Partial): QueryClassesRequest; - fromAmino(object: QueryClassesRequestAmino): QueryClassesRequest; - toAmino(message: QueryClassesRequest): QueryClassesRequestAmino; - fromAminoMsg(object: QueryClassesRequestAminoMsg): QueryClassesRequest; - toAminoMsg(message: QueryClassesRequest): QueryClassesRequestAminoMsg; - fromProtoMsg(message: QueryClassesRequestProtoMsg): QueryClassesRequest; - toProto(message: QueryClassesRequest): Uint8Array; - toProtoMsg(message: QueryClassesRequest): QueryClassesRequestProtoMsg; -}; -export declare const QueryClassesResponse: { - encode(message: QueryClassesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse; - fromJSON(object: any): QueryClassesResponse; - toJSON(message: QueryClassesResponse): unknown; - fromPartial(object: Partial): QueryClassesResponse; - fromAmino(object: QueryClassesResponseAmino): QueryClassesResponse; - toAmino(message: QueryClassesResponse): QueryClassesResponseAmino; - fromAminoMsg(object: QueryClassesResponseAminoMsg): QueryClassesResponse; - toAminoMsg(message: QueryClassesResponse): QueryClassesResponseAminoMsg; - fromProtoMsg(message: QueryClassesResponseProtoMsg): QueryClassesResponse; - toProto(message: QueryClassesResponse): Uint8Array; - toProtoMsg(message: QueryClassesResponse): QueryClassesResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts deleted file mode 100644 index d5be0983..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - balance(params: QueryBalanceRequest): Promise; - owner(params: QueryOwnerRequest): Promise; - supply(params: QuerySupplyRequest): Promise; - nFTs(params: QueryNFTsRequest): Promise; - nFT(params: QueryNFTRequest): Promise; - class(params: QueryClassRequest): Promise; - classes(params?: QueryClassesRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index c8c650c0..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - balance(request: QueryBalanceRequest): Promise; - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - owner(request: QueryOwnerRequest): Promise; - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - supply(request: QuerySupplyRequest): Promise; - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - nFTs(request: QueryNFTsRequest): Promise; - /** NFT queries an NFT based on its class and id. */ - nFT(request: QueryNFTRequest): Promise; - /** Class queries an NFT class based on its id */ - class(request: QueryClassRequest): Promise; - /** Classes queries all NFT classes */ - classes(request?: QueryClassesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - balance(request: QueryBalanceRequest): Promise; - owner(request: QueryOwnerRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - nFTs(request: QueryNFTsRequest): Promise; - nFT(request: QueryNFTRequest): Promise; - class(request: QueryClassRequest): Promise; - classes(request?: QueryClassesRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - balance(request: QueryBalanceRequest): Promise; - owner(request: QueryOwnerRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - nFTs(request: QueryNFTsRequest): Promise; - nFT(request: QueryNFTRequest): Promise; - class(request: QueryClassRequest): Promise; - classes(request?: QueryClassesRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts deleted file mode 100644 index a7a8328d..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgSend } from "./tx"; -export declare const AminoConverter: { - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: MsgSend) => import("./tx").MsgSendAmino; - fromAmino: (object: import("./tx").MsgSendAmino) => MsgSend; - }; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/tx.d.ts deleted file mode 100644 index f42f2d66..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSend { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - classId: string; - /** id defines the unique identification of nft */ - id: string; - /** sender is the address of the owner of nft */ - sender: string; - /** receiver is the receiver address of nft */ - receiver: string; -} -export interface MsgSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSend"; - value: Uint8Array; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendAmino { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - class_id: string; - /** id defines the unique identification of nft */ - id: string; - /** sender is the address of the owner of nft */ - sender: string; - /** receiver is the receiver address of nft */ - receiver: string; -} -export interface MsgSendAminoMsg { - type: "cosmos-sdk/MsgNFTSend"; - value: MsgSendAmino; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse { -} -export interface MsgSendResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseAmino { -} -export interface MsgSendResponseAminoMsg { - type: "cosmos-sdk/MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType { -} -export declare const MsgSend: { - encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend; - fromJSON(object: any): MsgSend; - toJSON(message: MsgSend): unknown; - fromPartial(object: Partial): MsgSend; - fromAmino(object: MsgSendAmino): MsgSend; - toAmino(message: MsgSend): MsgSendAmino; - fromAminoMsg(object: MsgSendAminoMsg): MsgSend; - toAminoMsg(message: MsgSend): MsgSendAminoMsg; - fromProtoMsg(message: MsgSendProtoMsg): MsgSend; - toProto(message: MsgSend): Uint8Array; - toProtoMsg(message: MsgSend): MsgSendProtoMsg; -}; -export declare const MsgSendResponse: { - encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse; - fromJSON(_: any): MsgSendResponse; - toJSON(_: MsgSendResponse): unknown; - fromPartial(_: Partial): MsgSendResponse; - fromAmino(_: MsgSendResponseAmino): MsgSendResponse; - toAmino(_: MsgSendResponse): MsgSendResponseAmino; - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse; - toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg; - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse; - toProto(message: MsgSendResponse): Uint8Array; - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts deleted file mode 100644 index ab9cd65f..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSend } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - send(value: MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - }; - toJSON: { - send(value: MsgSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: MsgSend; - }; - }; - fromPartial: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 2c60038c..00000000 --- a/packages/api/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSend, MsgSendResponse } from "./tx"; -/** Msg defines the nft Msg service. */ -export interface Msg { - /** Send defines a method to send a nft from one account to another account. */ - send(request: MsgSend): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - send(request: MsgSend): Promise; -} diff --git a/packages/api/types/codegen/cosmos/orm/module/v1alpha1/module.d.ts b/packages/api/types/codegen/cosmos/orm/module/v1alpha1/module.d.ts deleted file mode 100644 index 6bb5862e..00000000 --- a/packages/api/types/codegen/cosmos/orm/module/v1alpha1/module.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * Module defines the ORM module which adds providers to the app container for - * module-scoped DB's. In the future it may provide gRPC services for interacting - * with ORM data. - */ -export interface Module { -} -export interface ModuleProtoMsg { - typeUrl: "/cosmos.orm.module.v1alpha1.Module"; - value: Uint8Array; -} -/** - * Module defines the ORM module which adds providers to the app container for - * module-scoped DB's. In the future it may provide gRPC services for interacting - * with ORM data. - */ -export interface ModuleAmino { -} -export interface ModuleAminoMsg { - type: "cosmos-sdk/Module"; - value: ModuleAmino; -} -/** - * Module defines the ORM module which adds providers to the app container for - * module-scoped DB's. In the future it may provide gRPC services for interacting - * with ORM data. - */ -export interface ModuleSDKType { -} -export declare const Module: { - encode(_: Module, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Module; - fromJSON(_: any): Module; - toJSON(_: Module): unknown; - fromPartial(_: Partial): Module; - fromAmino(_: ModuleAmino): Module; - toAmino(_: Module): ModuleAmino; - fromAminoMsg(object: ModuleAminoMsg): Module; - toAminoMsg(message: Module): ModuleAminoMsg; - fromProtoMsg(message: ModuleProtoMsg): Module; - toProto(message: Module): Uint8Array; - toProtoMsg(message: Module): ModuleProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/orm/v1/orm.d.ts b/packages/api/types/codegen/cosmos/orm/v1/orm.d.ts deleted file mode 100644 index 825fe976..00000000 --- a/packages/api/types/codegen/cosmos/orm/v1/orm.d.ts +++ /dev/null @@ -1,284 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptor { - /** primary_key defines the primary key for the table. */ - primaryKey: PrimaryKeyDescriptor; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptor[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface TableDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.TableDescriptor"; - value: Uint8Array; -} -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptorAmino { - /** primary_key defines the primary key for the table. */ - primary_key?: PrimaryKeyDescriptorAmino; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptorAmino[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface TableDescriptorAminoMsg { - type: "cosmos-sdk/TableDescriptor"; - value: TableDescriptorAmino; -} -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptorSDKType { - primary_key: PrimaryKeyDescriptorSDKType; - index: SecondaryIndexDescriptorSDKType[]; - id: number; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptor { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - autoIncrement: boolean; -} -export interface PrimaryKeyDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.PrimaryKeyDescriptor"; - value: Uint8Array; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptorAmino { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - auto_increment: boolean; -} -export interface PrimaryKeyDescriptorAminoMsg { - type: "cosmos-sdk/PrimaryKeyDescriptor"; - value: PrimaryKeyDescriptorAmino; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptorSDKType { - fields: string; - auto_increment: boolean; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptor { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the field segments, non-unique index keys are suffixed with - * any additional primary key fields not present in the index fields so that the - * primary key can be reconstructed. Unique indexes instead of being suffixed - * store the remaining primary key fields in the value.. - */ - fields: string; - /** - * id is a non-zero integer ID that must be unique within the indexes for this - * table and less than 32768. It may be deprecated in the future when this can - * be auto-generated. - */ - id: number; - /** unique specifies that this an unique index. */ - unique: boolean; -} -export interface SecondaryIndexDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.SecondaryIndexDescriptor"; - value: Uint8Array; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptorAmino { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the field segments, non-unique index keys are suffixed with - * any additional primary key fields not present in the index fields so that the - * primary key can be reconstructed. Unique indexes instead of being suffixed - * store the remaining primary key fields in the value.. - */ - fields: string; - /** - * id is a non-zero integer ID that must be unique within the indexes for this - * table and less than 32768. It may be deprecated in the future when this can - * be auto-generated. - */ - id: number; - /** unique specifies that this an unique index. */ - unique: boolean; -} -export interface SecondaryIndexDescriptorAminoMsg { - type: "cosmos-sdk/SecondaryIndexDescriptor"; - value: SecondaryIndexDescriptorAmino; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptorSDKType { - fields: string; - id: number; - unique: boolean; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptor { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface SingletonDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.SingletonDescriptor"; - value: Uint8Array; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptorAmino { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface SingletonDescriptorAminoMsg { - type: "cosmos-sdk/SingletonDescriptor"; - value: SingletonDescriptorAmino; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptorSDKType { - id: number; -} -export declare const TableDescriptor: { - encode(message: TableDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TableDescriptor; - fromJSON(object: any): TableDescriptor; - toJSON(message: TableDescriptor): unknown; - fromPartial(object: Partial): TableDescriptor; - fromAmino(object: TableDescriptorAmino): TableDescriptor; - toAmino(message: TableDescriptor): TableDescriptorAmino; - fromAminoMsg(object: TableDescriptorAminoMsg): TableDescriptor; - toAminoMsg(message: TableDescriptor): TableDescriptorAminoMsg; - fromProtoMsg(message: TableDescriptorProtoMsg): TableDescriptor; - toProto(message: TableDescriptor): Uint8Array; - toProtoMsg(message: TableDescriptor): TableDescriptorProtoMsg; -}; -export declare const PrimaryKeyDescriptor: { - encode(message: PrimaryKeyDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryKeyDescriptor; - fromJSON(object: any): PrimaryKeyDescriptor; - toJSON(message: PrimaryKeyDescriptor): unknown; - fromPartial(object: Partial): PrimaryKeyDescriptor; - fromAmino(object: PrimaryKeyDescriptorAmino): PrimaryKeyDescriptor; - toAmino(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorAmino; - fromAminoMsg(object: PrimaryKeyDescriptorAminoMsg): PrimaryKeyDescriptor; - toAminoMsg(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorAminoMsg; - fromProtoMsg(message: PrimaryKeyDescriptorProtoMsg): PrimaryKeyDescriptor; - toProto(message: PrimaryKeyDescriptor): Uint8Array; - toProtoMsg(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorProtoMsg; -}; -export declare const SecondaryIndexDescriptor: { - encode(message: SecondaryIndexDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SecondaryIndexDescriptor; - fromJSON(object: any): SecondaryIndexDescriptor; - toJSON(message: SecondaryIndexDescriptor): unknown; - fromPartial(object: Partial): SecondaryIndexDescriptor; - fromAmino(object: SecondaryIndexDescriptorAmino): SecondaryIndexDescriptor; - toAmino(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorAmino; - fromAminoMsg(object: SecondaryIndexDescriptorAminoMsg): SecondaryIndexDescriptor; - toAminoMsg(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorAminoMsg; - fromProtoMsg(message: SecondaryIndexDescriptorProtoMsg): SecondaryIndexDescriptor; - toProto(message: SecondaryIndexDescriptor): Uint8Array; - toProtoMsg(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorProtoMsg; -}; -export declare const SingletonDescriptor: { - encode(message: SingletonDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SingletonDescriptor; - fromJSON(object: any): SingletonDescriptor; - toJSON(message: SingletonDescriptor): unknown; - fromPartial(object: Partial): SingletonDescriptor; - fromAmino(object: SingletonDescriptorAmino): SingletonDescriptor; - toAmino(message: SingletonDescriptor): SingletonDescriptorAmino; - fromAminoMsg(object: SingletonDescriptorAminoMsg): SingletonDescriptor; - toAminoMsg(message: SingletonDescriptor): SingletonDescriptorAminoMsg; - fromProtoMsg(message: SingletonDescriptorProtoMsg): SingletonDescriptor; - toProto(message: SingletonDescriptor): Uint8Array; - toProtoMsg(message: SingletonDescriptor): SingletonDescriptorProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/orm/v1alpha1/schema.d.ts b/packages/api/types/codegen/cosmos/orm/v1alpha1/schema.d.ts deleted file mode 100644 index 6cff3a96..00000000 --- a/packages/api/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +++ /dev/null @@ -1,161 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** StorageType */ -export declare enum StorageType { - /** - * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - * KV-storage where primary key entries are stored in merkle-tree - * backed commitment storage and indexes and seqs are stored in - * fast index storage. Note that the Cosmos SDK before store/v2alpha1 - * does not support this. - */ - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0, - /** - * STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be - * reloaded every time an app restarts. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_MEMORY = 1, - /** - * STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - * at the end of every block. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_TRANSIENT = 2, - /** - * STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed - * by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - * before store/v2alpha1 does not support this. - */ - STORAGE_TYPE_INDEX = 3, - /** - * STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by - * a merkle-tree. With this type of storage, both primary and index keys - * will affect the app hash and this is generally less efficient - * than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - * keys into index storage. Note that modules built with the - * Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - * instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - * because this is the only type of persistent storage available. - */ - STORAGE_TYPE_COMMITMENT = 4, - UNRECOGNIZED = -1 -} -export declare const StorageTypeSDKType: typeof StorageType; -export declare const StorageTypeAmino: typeof StorageType; -export declare function storageTypeFromJSON(object: any): StorageType; -export declare function storageTypeToJSON(object: StorageType): string; -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptor { - schemaFile: ModuleSchemaDescriptor_FileEntry[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix: Uint8Array; -} -export interface ModuleSchemaDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor"; - value: Uint8Array; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorAmino { - schema_file: ModuleSchemaDescriptor_FileEntryAmino[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix: Uint8Array; -} -export interface ModuleSchemaDescriptorAminoMsg { - type: "cosmos-sdk/ModuleSchemaDescriptor"; - value: ModuleSchemaDescriptorAmino; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorSDKType { - schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; - prefix: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntry { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - protoFileName: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storageType: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry"; - value: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntryAmino { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - proto_file_name: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storage_type: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryAminoMsg { - type: "cosmos-sdk/FileEntry"; - value: ModuleSchemaDescriptor_FileEntryAmino; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntrySDKType { - id: number; - proto_file_name: string; - storage_type: StorageType; -} -export declare const ModuleSchemaDescriptor: { - encode(message: ModuleSchemaDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor; - fromJSON(object: any): ModuleSchemaDescriptor; - toJSON(message: ModuleSchemaDescriptor): unknown; - fromPartial(object: Partial): ModuleSchemaDescriptor; - fromAmino(object: ModuleSchemaDescriptorAmino): ModuleSchemaDescriptor; - toAmino(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAmino; - fromAminoMsg(object: ModuleSchemaDescriptorAminoMsg): ModuleSchemaDescriptor; - toAminoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAminoMsg; - fromProtoMsg(message: ModuleSchemaDescriptorProtoMsg): ModuleSchemaDescriptor; - toProto(message: ModuleSchemaDescriptor): Uint8Array; - toProtoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorProtoMsg; -}; -export declare const ModuleSchemaDescriptor_FileEntry: { - encode(message: ModuleSchemaDescriptor_FileEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry; - fromJSON(object: any): ModuleSchemaDescriptor_FileEntry; - toJSON(message: ModuleSchemaDescriptor_FileEntry): unknown; - fromPartial(object: Partial): ModuleSchemaDescriptor_FileEntry; - fromAmino(object: ModuleSchemaDescriptor_FileEntryAmino): ModuleSchemaDescriptor_FileEntry; - toAmino(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAmino; - fromAminoMsg(object: ModuleSchemaDescriptor_FileEntryAminoMsg): ModuleSchemaDescriptor_FileEntry; - toAminoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAminoMsg; - fromProtoMsg(message: ModuleSchemaDescriptor_FileEntryProtoMsg): ModuleSchemaDescriptor_FileEntry; - toProto(message: ModuleSchemaDescriptor_FileEntry): Uint8Array; - toProtoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/params/v1beta1/params.d.ts b/packages/api/types/codegen/cosmos/params/v1beta1/params.d.ts deleted file mode 100644 index 3b0fdd2b..00000000 --- a/packages/api/types/codegen/cosmos/params/v1beta1/params.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposal { - $typeUrl?: string; - title: string; - description: string; - changes: ParamChange[]; -} -export interface ParameterChangeProposalProtoMsg { - typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal"; - value: Uint8Array; -} -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposalAmino { - title: string; - description: string; - changes: ParamChangeAmino[]; -} -export interface ParameterChangeProposalAminoMsg { - type: "cosmos-sdk/ParameterChangeProposal"; - value: ParameterChangeProposalAmino; -} -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposalSDKType { - $typeUrl?: string; - title: string; - description: string; - changes: ParamChangeSDKType[]; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChange { - subspace: string; - key: string; - value: string; -} -export interface ParamChangeProtoMsg { - typeUrl: "/cosmos.params.v1beta1.ParamChange"; - value: Uint8Array; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChangeAmino { - subspace: string; - key: string; - value: string; -} -export interface ParamChangeAminoMsg { - type: "cosmos-sdk/ParamChange"; - value: ParamChangeAmino; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChangeSDKType { - subspace: string; - key: string; - value: string; -} -export declare const ParameterChangeProposal: { - encode(message: ParameterChangeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal; - fromJSON(object: any): ParameterChangeProposal; - toJSON(message: ParameterChangeProposal): unknown; - fromPartial(object: Partial): ParameterChangeProposal; - fromAmino(object: ParameterChangeProposalAmino): ParameterChangeProposal; - toAmino(message: ParameterChangeProposal): ParameterChangeProposalAmino; - fromAminoMsg(object: ParameterChangeProposalAminoMsg): ParameterChangeProposal; - toAminoMsg(message: ParameterChangeProposal): ParameterChangeProposalAminoMsg; - fromProtoMsg(message: ParameterChangeProposalProtoMsg): ParameterChangeProposal; - toProto(message: ParameterChangeProposal): Uint8Array; - toProtoMsg(message: ParameterChangeProposal): ParameterChangeProposalProtoMsg; -}; -export declare const ParamChange: { - encode(message: ParamChange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange; - fromJSON(object: any): ParamChange; - toJSON(message: ParamChange): unknown; - fromPartial(object: Partial): ParamChange; - fromAmino(object: ParamChangeAmino): ParamChange; - toAmino(message: ParamChange): ParamChangeAmino; - fromAminoMsg(object: ParamChangeAminoMsg): ParamChange; - toAminoMsg(message: ParamChange): ParamChangeAminoMsg; - fromProtoMsg(message: ParamChangeProtoMsg): ParamChange; - toProto(message: ParamChange): Uint8Array; - toProtoMsg(message: ParamChange): ParamChangeProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/params/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/params/v1beta1/query.d.ts deleted file mode 100644 index b5423a59..00000000 --- a/packages/api/types/codegen/cosmos/params/v1beta1/query.d.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { ParamChange, ParamChangeAmino, ParamChangeSDKType } from "./params"; -import * as _m0 from "protobufjs/minimal"; -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** subspace defines the module to query the parameter for. */ - subspace: string; - /** key defines the key of the parameter in the subspace. */ - key: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** subspace defines the module to query the parameter for. */ - subspace: string; - /** key defines the key of the parameter in the subspace. */ - key: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - subspace: string; - key: string; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** param defines the queried parameter. */ - param: ParamChange; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** param defines the queried parameter. */ - param?: ParamChangeAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - param: ParamChangeSDKType; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySubspacesRequest { -} -export interface QuerySubspacesRequestProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesRequest"; - value: Uint8Array; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySubspacesRequestAmino { -} -export interface QuerySubspacesRequestAminoMsg { - type: "cosmos-sdk/QuerySubspacesRequest"; - value: QuerySubspacesRequestAmino; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySubspacesRequestSDKType { -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySubspacesResponse { - subspaces: Subspace[]; -} -export interface QuerySubspacesResponseProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesResponse"; - value: Uint8Array; -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySubspacesResponseAmino { - subspaces: SubspaceAmino[]; -} -export interface QuerySubspacesResponseAminoMsg { - type: "cosmos-sdk/QuerySubspacesResponse"; - value: QuerySubspacesResponseAmino; -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface QuerySubspacesResponseSDKType { - subspaces: SubspaceSDKType[]; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface Subspace { - subspace: string; - keys: string[]; -} -export interface SubspaceProtoMsg { - typeUrl: "/cosmos.params.v1beta1.Subspace"; - value: Uint8Array; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface SubspaceAmino { - subspace: string; - keys: string[]; -} -export interface SubspaceAminoMsg { - type: "cosmos-sdk/Subspace"; - value: SubspaceAmino; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - * - * Since: cosmos-sdk 0.46 - */ -export interface SubspaceSDKType { - subspace: string; - keys: string[]; -} -export declare const QueryParamsRequest: { - encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(object: any): QueryParamsRequest; - toJSON(message: QueryParamsRequest): unknown; - fromPartial(object: Partial): QueryParamsRequest; - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QuerySubspacesRequest: { - encode(_: QuerySubspacesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesRequest; - fromJSON(_: any): QuerySubspacesRequest; - toJSON(_: QuerySubspacesRequest): unknown; - fromPartial(_: Partial): QuerySubspacesRequest; - fromAmino(_: QuerySubspacesRequestAmino): QuerySubspacesRequest; - toAmino(_: QuerySubspacesRequest): QuerySubspacesRequestAmino; - fromAminoMsg(object: QuerySubspacesRequestAminoMsg): QuerySubspacesRequest; - toAminoMsg(message: QuerySubspacesRequest): QuerySubspacesRequestAminoMsg; - fromProtoMsg(message: QuerySubspacesRequestProtoMsg): QuerySubspacesRequest; - toProto(message: QuerySubspacesRequest): Uint8Array; - toProtoMsg(message: QuerySubspacesRequest): QuerySubspacesRequestProtoMsg; -}; -export declare const QuerySubspacesResponse: { - encode(message: QuerySubspacesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse; - fromJSON(object: any): QuerySubspacesResponse; - toJSON(message: QuerySubspacesResponse): unknown; - fromPartial(object: Partial): QuerySubspacesResponse; - fromAmino(object: QuerySubspacesResponseAmino): QuerySubspacesResponse; - toAmino(message: QuerySubspacesResponse): QuerySubspacesResponseAmino; - fromAminoMsg(object: QuerySubspacesResponseAminoMsg): QuerySubspacesResponse; - toAminoMsg(message: QuerySubspacesResponse): QuerySubspacesResponseAminoMsg; - fromProtoMsg(message: QuerySubspacesResponseProtoMsg): QuerySubspacesResponse; - toProto(message: QuerySubspacesResponse): Uint8Array; - toProtoMsg(message: QuerySubspacesResponse): QuerySubspacesResponseProtoMsg; -}; -export declare const Subspace: { - encode(message: Subspace, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Subspace; - fromJSON(object: any): Subspace; - toJSON(message: Subspace): unknown; - fromPartial(object: Partial): Subspace; - fromAmino(object: SubspaceAmino): Subspace; - toAmino(message: Subspace): SubspaceAmino; - fromAminoMsg(object: SubspaceAminoMsg): Subspace; - toAminoMsg(message: Subspace): SubspaceAminoMsg; - fromProtoMsg(message: SubspaceProtoMsg): Subspace; - toProto(message: Subspace): Uint8Array; - toProtoMsg(message: Subspace): SubspaceProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts deleted file mode 100644 index 4d76132d..00000000 --- a/packages/api/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(params: QueryParamsRequest): Promise; - subspaces(_params?: QuerySubspacesRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 2fd53465..00000000 --- a/packages/api/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * Params queries a specific parameter of a module, given its subspace and - * key. - */ - params(request: QueryParamsRequest): Promise; - /** - * Subspaces queries for all registered subspaces and all keys for a subspace. - * - * Since: cosmos-sdk 0.46 - */ - subspaces(request?: QuerySubspacesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request: QueryParamsRequest): Promise; - subspaces(request?: QuerySubspacesRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request: QueryParamsRequest): Promise; - subspaces(request?: QuerySubspacesRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/rpc.query.d.ts b/packages/api/types/codegen/cosmos/rpc.query.d.ts deleted file mode 100644 index 2b68bb0f..00000000 --- a/packages/api/types/codegen/cosmos/rpc.query.d.ts +++ /dev/null @@ -1,195 +0,0 @@ -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | HttpEndpoint; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("./app/v1alpha1/query").QueryConfigRequest | undefined): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("./auth/v1beta1/query").QueryAccountsRequest | undefined): Promise; - account(request: import("./auth/v1beta1/query").QueryAccountRequest): Promise; - accountAddressByID(request: import("./auth/v1beta1/query").QueryAccountAddressByIDRequest): Promise; - params(request?: import("./auth/v1beta1/query").QueryParamsRequest | undefined): Promise; - moduleAccounts(request?: import("./auth/v1beta1/query").QueryModuleAccountsRequest | undefined): Promise; - moduleAccountByName(request: import("./auth/v1beta1/query").QueryModuleAccountByNameRequest): Promise; - bech32Prefix(request?: import("./auth/v1beta1/query").Bech32PrefixRequest | undefined): Promise; - addressBytesToString(request: import("./auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("./auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("./authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("./authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("./authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("./bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("./bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("./bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("./bank/v1beta1/query").QueryTotalSupplyRequest | undefined): Promise; - supplyOf(request: import("./bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("./bank/v1beta1/query").QueryParamsRequest | undefined): Promise; - denomMetadata(request: import("./bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("./bank/v1beta1/query").QueryDenomsMetadataRequest | undefined): Promise; - denomOwners(request: import("./bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - node: { - v1beta1: { - config(request?: import("./base/node/v1beta1/query").ConfigRequest | undefined): Promise; - }; - }; - tendermint: { - v1beta1: { - getNodeInfo(request?: import("./base/tendermint/v1beta1/query").GetNodeInfoRequest | undefined): Promise; - getSyncing(request?: import("./base/tendermint/v1beta1/query").GetSyncingRequest | undefined): Promise; - getLatestBlock(request?: import("./base/tendermint/v1beta1/query").GetLatestBlockRequest | undefined): Promise; - getBlockByHeight(request: import("./base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("./base/tendermint/v1beta1/query").GetLatestValidatorSetRequest | undefined): Promise; - getValidatorSetByHeight(request: import("./base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - aBCIQuery(request: import("./base/tendermint/v1beta1/query").ABCIQueryRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("./distribution/v1beta1/query").QueryParamsRequest | undefined): Promise; - validatorOutstandingRewards(request: import("./distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("./distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("./distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("./distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("./distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("./distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("./distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("./distribution/v1beta1/query").QueryCommunityPoolRequest | undefined): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("./evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("./evidence/v1beta1/query").QueryAllEvidenceRequest | undefined): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("./feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("./feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("./feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("./gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("./gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("./gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("./gov/v1/query").QueryVotesRequest): Promise; - params(request: import("./gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("./gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("./gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("./gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("./gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("./gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("./gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("./gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("./gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("./gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("./gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("./gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("./group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("./group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("./group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("./group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("./group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("./group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("./group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("./group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("./group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("./group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("./group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("./group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("./group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("./mint/v1beta1/query").QueryParamsRequest | undefined): Promise; - inflation(request?: import("./mint/v1beta1/query").QueryInflationRequest | undefined): Promise; - annualProvisions(request?: import("./mint/v1beta1/query").QueryAnnualProvisionsRequest | undefined): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("./nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("./nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("./nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("./nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("./nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("./nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("./nft/v1beta1/query").QueryClassesRequest | undefined): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("./params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("./params/v1beta1/query").QuerySubspacesRequest | undefined): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("./slashing/v1beta1/query").QueryParamsRequest | undefined): Promise; - signingInfo(request: import("./slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("./slashing/v1beta1/query").QuerySigningInfosRequest | undefined): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("./staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("./staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("./staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("./staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("./staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("./staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("./staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("./staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("./staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("./staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("./staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("./staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("./staking/v1beta1/query").QueryPoolRequest | undefined): Promise; - params(request?: import("./staking/v1beta1/query").QueryParamsRequest | undefined): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("./tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("./tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("./tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("./tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("./tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("./upgrade/v1beta1/query").QueryCurrentPlanRequest | undefined): Promise; - appliedPlan(request: import("./upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("./upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("./upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("./upgrade/v1beta1/query").QueryAuthorityRequest | undefined): Promise; - }; - }; - }; -}>; diff --git a/packages/api/types/codegen/cosmos/rpc.tx.d.ts b/packages/api/types/codegen/cosmos/rpc.tx.d.ts deleted file mode 100644 index 4e07ea0a..00000000 --- a/packages/api/types/codegen/cosmos/rpc.tx.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("./authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("./bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("./crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("./distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("./evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("./feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("./gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("./gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("./group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("./nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("./slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("./staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("./upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("./vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; -}>; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts deleted file mode 100644 index 0b27f0b2..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +++ /dev/null @@ -1,193 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params: Params; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signingInfos: SigningInfo[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missedBlocks: ValidatorMissedBlocks[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsAmino; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signing_infos: SigningInfoAmino[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missed_blocks: ValidatorMissedBlocksAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - signing_infos: SigningInfoSDKType[]; - missed_blocks: ValidatorMissedBlocksSDKType[]; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfo { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - validatorSigningInfo: ValidatorSigningInfo; -} -export interface SigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo"; - value: Uint8Array; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoAmino { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - validator_signing_info?: ValidatorSigningInfoAmino; -} -export interface SigningInfoAminoMsg { - type: "cosmos-sdk/SigningInfo"; - value: SigningInfoAmino; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoSDKType { - address: string; - validator_signing_info: ValidatorSigningInfoSDKType; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocks { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missedBlocks: MissedBlock[]; -} -export interface ValidatorMissedBlocksProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks"; - value: Uint8Array; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksAmino { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missed_blocks: MissedBlockAmino[]; -} -export interface ValidatorMissedBlocksAminoMsg { - type: "cosmos-sdk/ValidatorMissedBlocks"; - value: ValidatorMissedBlocksAmino; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksSDKType { - address: string; - missed_blocks: MissedBlockSDKType[]; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlock { - /** index is the height at which the block was missed. */ - index: Long; - /** missed is the missed status. */ - missed: boolean; -} -export interface MissedBlockProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock"; - value: Uint8Array; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockAmino { - /** index is the height at which the block was missed. */ - index: string; - /** missed is the missed status. */ - missed: boolean; -} -export interface MissedBlockAminoMsg { - type: "cosmos-sdk/MissedBlock"; - value: MissedBlockAmino; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockSDKType { - index: Long; - missed: boolean; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const SigningInfo: { - encode(message: SigningInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SigningInfo; - fromJSON(object: any): SigningInfo; - toJSON(message: SigningInfo): unknown; - fromPartial(object: Partial): SigningInfo; - fromAmino(object: SigningInfoAmino): SigningInfo; - toAmino(message: SigningInfo): SigningInfoAmino; - fromAminoMsg(object: SigningInfoAminoMsg): SigningInfo; - toAminoMsg(message: SigningInfo): SigningInfoAminoMsg; - fromProtoMsg(message: SigningInfoProtoMsg): SigningInfo; - toProto(message: SigningInfo): Uint8Array; - toProtoMsg(message: SigningInfo): SigningInfoProtoMsg; -}; -export declare const ValidatorMissedBlocks: { - encode(message: ValidatorMissedBlocks, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorMissedBlocks; - fromJSON(object: any): ValidatorMissedBlocks; - toJSON(message: ValidatorMissedBlocks): unknown; - fromPartial(object: Partial): ValidatorMissedBlocks; - fromAmino(object: ValidatorMissedBlocksAmino): ValidatorMissedBlocks; - toAmino(message: ValidatorMissedBlocks): ValidatorMissedBlocksAmino; - fromAminoMsg(object: ValidatorMissedBlocksAminoMsg): ValidatorMissedBlocks; - toAminoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksAminoMsg; - fromProtoMsg(message: ValidatorMissedBlocksProtoMsg): ValidatorMissedBlocks; - toProto(message: ValidatorMissedBlocks): Uint8Array; - toProtoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksProtoMsg; -}; -export declare const MissedBlock: { - encode(message: MissedBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MissedBlock; - fromJSON(object: any): MissedBlock; - toJSON(message: MissedBlock): unknown; - fromPartial(object: Partial): MissedBlock; - fromAmino(object: MissedBlockAmino): MissedBlock; - toAmino(message: MissedBlock): MissedBlockAmino; - fromAminoMsg(object: MissedBlockAminoMsg): MissedBlock; - toAminoMsg(message: MissedBlock): MissedBlockAminoMsg; - fromProtoMsg(message: MissedBlockProtoMsg): MissedBlock; - toProto(message: MissedBlock): Uint8Array; - toProtoMsg(message: MissedBlock): MissedBlockProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/query.d.ts deleted file mode 100644 index 08f8f58a..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/query.d.ts +++ /dev/null @@ -1,249 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import * as _m0 from "protobufjs/minimal"; -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponse { - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseAmino { - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequest { - /** cons_address is the address to query signing info of */ - consAddress: string; -} -export interface QuerySigningInfoRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestAmino { - /** cons_address is the address to query signing info of */ - cons_address: string; -} -export interface QuerySigningInfoRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfoRequest"; - value: QuerySigningInfoRequestAmino; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestSDKType { - cons_address: string; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponse { - /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo: ValidatorSigningInfo; -} -export interface QuerySigningInfoResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseAmino { - /** val_signing_info is the signing info of requested val cons address */ - val_signing_info?: ValidatorSigningInfoAmino; -} -export interface QuerySigningInfoResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfoResponse"; - value: QuerySigningInfoResponseAmino; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseSDKType { - val_signing_info: ValidatorSigningInfoSDKType; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequest { - pagination: PageRequest; -} -export interface QuerySigningInfosRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestAmino { - pagination?: PageRequestAmino; -} -export interface QuerySigningInfosRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfosRequest"; - value: QuerySigningInfosRequestAmino; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponse { - /** info is the signing info of all validators */ - info: ValidatorSigningInfo[]; - pagination: PageResponse; -} -export interface QuerySigningInfosResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseAmino { - /** info is the signing info of all validators */ - info: ValidatorSigningInfoAmino[]; - pagination?: PageResponseAmino; -} -export interface QuerySigningInfosResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfosResponse"; - value: QuerySigningInfosResponseAmino; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseSDKType { - info: ValidatorSigningInfoSDKType[]; - pagination: PageResponseSDKType; -} -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QuerySigningInfoRequest: { - encode(message: QuerySigningInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest; - fromJSON(object: any): QuerySigningInfoRequest; - toJSON(message: QuerySigningInfoRequest): unknown; - fromPartial(object: Partial): QuerySigningInfoRequest; - fromAmino(object: QuerySigningInfoRequestAmino): QuerySigningInfoRequest; - toAmino(message: QuerySigningInfoRequest): QuerySigningInfoRequestAmino; - fromAminoMsg(object: QuerySigningInfoRequestAminoMsg): QuerySigningInfoRequest; - toAminoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestAminoMsg; - fromProtoMsg(message: QuerySigningInfoRequestProtoMsg): QuerySigningInfoRequest; - toProto(message: QuerySigningInfoRequest): Uint8Array; - toProtoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestProtoMsg; -}; -export declare const QuerySigningInfoResponse: { - encode(message: QuerySigningInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse; - fromJSON(object: any): QuerySigningInfoResponse; - toJSON(message: QuerySigningInfoResponse): unknown; - fromPartial(object: Partial): QuerySigningInfoResponse; - fromAmino(object: QuerySigningInfoResponseAmino): QuerySigningInfoResponse; - toAmino(message: QuerySigningInfoResponse): QuerySigningInfoResponseAmino; - fromAminoMsg(object: QuerySigningInfoResponseAminoMsg): QuerySigningInfoResponse; - toAminoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseAminoMsg; - fromProtoMsg(message: QuerySigningInfoResponseProtoMsg): QuerySigningInfoResponse; - toProto(message: QuerySigningInfoResponse): Uint8Array; - toProtoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseProtoMsg; -}; -export declare const QuerySigningInfosRequest: { - encode(message: QuerySigningInfosRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest; - fromJSON(object: any): QuerySigningInfosRequest; - toJSON(message: QuerySigningInfosRequest): unknown; - fromPartial(object: Partial): QuerySigningInfosRequest; - fromAmino(object: QuerySigningInfosRequestAmino): QuerySigningInfosRequest; - toAmino(message: QuerySigningInfosRequest): QuerySigningInfosRequestAmino; - fromAminoMsg(object: QuerySigningInfosRequestAminoMsg): QuerySigningInfosRequest; - toAminoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestAminoMsg; - fromProtoMsg(message: QuerySigningInfosRequestProtoMsg): QuerySigningInfosRequest; - toProto(message: QuerySigningInfosRequest): Uint8Array; - toProtoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestProtoMsg; -}; -export declare const QuerySigningInfosResponse: { - encode(message: QuerySigningInfosResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse; - fromJSON(object: any): QuerySigningInfosResponse; - toJSON(message: QuerySigningInfosResponse): unknown; - fromPartial(object: Partial): QuerySigningInfosResponse; - fromAmino(object: QuerySigningInfosResponseAmino): QuerySigningInfosResponse; - toAmino(message: QuerySigningInfosResponse): QuerySigningInfosResponseAmino; - fromAminoMsg(object: QuerySigningInfosResponseAminoMsg): QuerySigningInfosResponse; - toAminoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseAminoMsg; - fromProtoMsg(message: QuerySigningInfosResponseProtoMsg): QuerySigningInfosResponse; - toProto(message: QuerySigningInfosResponse): Uint8Array; - toProtoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts deleted file mode 100644 index 68fa91bb..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(_params?: QueryParamsRequest): Promise; - signingInfo(params: QuerySigningInfoRequest): Promise; - signingInfos(params?: QuerySigningInfosRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index ff339175..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** Params queries the parameters of slashing module */ - params(request?: QueryParamsRequest): Promise; - /** SigningInfo queries the signing info of given cons address */ - signingInfo(request: QuerySigningInfoRequest): Promise; - /** SigningInfos queries signing info of all validators */ - signingInfos(request?: QuerySigningInfosRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request?: QueryParamsRequest): Promise; - signingInfo(request: QuerySigningInfoRequest): Promise; - signingInfos(request?: QuerySigningInfosRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request?: QueryParamsRequest): Promise; - signingInfo(request: QuerySigningInfoRequest): Promise; - signingInfos(request?: QuerySigningInfosRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts deleted file mode 100644 index 40ac2db0..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +++ /dev/null @@ -1,138 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfo { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - startHeight: Long; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - indexOffset: Long; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Timestamp; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missedBlocksCounter: Long; -} -export interface ValidatorSigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo"; - value: Uint8Array; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoAmino { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - start_height: string; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - index_offset: string; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailed_until?: TimestampAmino; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missed_blocks_counter: string; -} -export interface ValidatorSigningInfoAminoMsg { - type: "cosmos-sdk/ValidatorSigningInfo"; - value: ValidatorSigningInfoAmino; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoSDKType { - address: string; - start_height: Long; - index_offset: Long; - jailed_until: TimestampSDKType; - tombstoned: boolean; - missed_blocks_counter: Long; -} -/** Params represents the parameters used for by the slashing module. */ -export interface Params { - signedBlocksWindow: Long; - minSignedPerWindow: Uint8Array; - downtimeJailDuration: Duration; - slashFractionDoubleSign: Uint8Array; - slashFractionDowntime: Uint8Array; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.Params"; - value: Uint8Array; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsAmino { - signed_blocks_window: string; - min_signed_per_window: Uint8Array; - downtime_jail_duration?: DurationAmino; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsSDKType { - signed_blocks_window: Long; - min_signed_per_window: Uint8Array; - downtime_jail_duration: DurationSDKType; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} -export declare const ValidatorSigningInfo: { - encode(message: ValidatorSigningInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo; - fromJSON(object: any): ValidatorSigningInfo; - toJSON(message: ValidatorSigningInfo): unknown; - fromPartial(object: Partial): ValidatorSigningInfo; - fromAmino(object: ValidatorSigningInfoAmino): ValidatorSigningInfo; - toAmino(message: ValidatorSigningInfo): ValidatorSigningInfoAmino; - fromAminoMsg(object: ValidatorSigningInfoAminoMsg): ValidatorSigningInfo; - toAminoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoAminoMsg; - fromProtoMsg(message: ValidatorSigningInfoProtoMsg): ValidatorSigningInfo; - toProto(message: ValidatorSigningInfo): Uint8Array; - toProtoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoProtoMsg; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts deleted file mode 100644 index 691bfe90..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgUnjail } from "./tx"; -export declare const AminoConverter: { - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: string; - toAmino: (message: MsgUnjail) => import("./tx").MsgUnjailAmino; - fromAmino: (object: import("./tx").MsgUnjailAmino) => MsgUnjail; - }; -}; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.d.ts deleted file mode 100644 index d2fba435..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjail { - validatorAddr: string; -} -export interface MsgUnjailProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail"; - value: Uint8Array; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailAmino { - validator_addr: string; -} -export interface MsgUnjailAminoMsg { - type: "cosmos-sdk/MsgUnjail"; - value: MsgUnjailAmino; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailSDKType { - validator_addr: string; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponse { -} -export interface MsgUnjailResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse"; - value: Uint8Array; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseAmino { -} -export interface MsgUnjailResponseAminoMsg { - type: "cosmos-sdk/MsgUnjailResponse"; - value: MsgUnjailResponseAmino; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseSDKType { -} -export declare const MsgUnjail: { - encode(message: MsgUnjail, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjail; - fromJSON(object: any): MsgUnjail; - toJSON(message: MsgUnjail): unknown; - fromPartial(object: Partial): MsgUnjail; - fromAmino(object: MsgUnjailAmino): MsgUnjail; - toAmino(message: MsgUnjail): MsgUnjailAmino; - fromAminoMsg(object: MsgUnjailAminoMsg): MsgUnjail; - toAminoMsg(message: MsgUnjail): MsgUnjailAminoMsg; - fromProtoMsg(message: MsgUnjailProtoMsg): MsgUnjail; - toProto(message: MsgUnjail): Uint8Array; - toProtoMsg(message: MsgUnjail): MsgUnjailProtoMsg; -}; -export declare const MsgUnjailResponse: { - encode(_: MsgUnjailResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse; - fromJSON(_: any): MsgUnjailResponse; - toJSON(_: MsgUnjailResponse): unknown; - fromPartial(_: Partial): MsgUnjailResponse; - fromAmino(_: MsgUnjailResponseAmino): MsgUnjailResponse; - toAmino(_: MsgUnjailResponse): MsgUnjailResponseAmino; - fromAminoMsg(object: MsgUnjailResponseAminoMsg): MsgUnjailResponse; - toAminoMsg(message: MsgUnjailResponse): MsgUnjailResponseAminoMsg; - fromProtoMsg(message: MsgUnjailResponseProtoMsg): MsgUnjailResponse; - toProto(message: MsgUnjailResponse): Uint8Array; - toProtoMsg(message: MsgUnjailResponse): MsgUnjailResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts deleted file mode 100644 index dc72f4cf..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgUnjail } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: MsgUnjail; - }; - }; - toJSON: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - unjail(value: any): { - typeUrl: string; - value: MsgUnjail; - }; - }; - fromPartial: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: MsgUnjail; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 706396b1..00000000 --- a/packages/api/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgUnjail, MsgUnjailResponse } from "./tx"; -/** Msg defines the slashing Msg service. */ -export interface Msg { - /** - * Unjail defines a method for unjailing a jailed validator, thus returning - * them into the bonded validator set, so they can begin receiving provisions - * and rewards again. - */ - unjail(request: MsgUnjail): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - unjail(request: MsgUnjail): Promise; -} diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/authz.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/authz.d.ts deleted file mode 100644 index 14568c7e..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/authz.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** - * AuthorizationType defines the type of staking module authorization type - * - * Since: cosmos-sdk 0.43 - */ -export declare enum AuthorizationType { - /** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */ - AUTHORIZATION_TYPE_UNSPECIFIED = 0, - /** AUTHORIZATION_TYPE_DELEGATE - AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate */ - AUTHORIZATION_TYPE_DELEGATE = 1, - /** AUTHORIZATION_TYPE_UNDELEGATE - AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate */ - AUTHORIZATION_TYPE_UNDELEGATE = 2, - /** AUTHORIZATION_TYPE_REDELEGATE - AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate */ - AUTHORIZATION_TYPE_REDELEGATE = 3, - UNRECOGNIZED = -1 -} -export declare const AuthorizationTypeSDKType: typeof AuthorizationType; -export declare const AuthorizationTypeAmino: typeof AuthorizationType; -export declare function authorizationTypeFromJSON(object: any): AuthorizationType; -export declare function authorizationTypeToJSON(object: AuthorizationType): string; -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorization { - $typeUrl?: string; - /** - * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - * empty, there is no spend limit and any amount of coins can be delegated. - */ - maxTokens: Coin; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - allowList?: StakeAuthorization_Validators; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - denyList?: StakeAuthorization_Validators; - /** authorization_type defines one of AuthorizationType. */ - authorizationType: AuthorizationType; -} -export interface StakeAuthorizationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.StakeAuthorization"; - value: Uint8Array; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorizationAmino { - /** - * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - * empty, there is no spend limit and any amount of coins can be delegated. - */ - max_tokens?: CoinAmino; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - allow_list?: StakeAuthorization_ValidatorsAmino; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - deny_list?: StakeAuthorization_ValidatorsAmino; - /** authorization_type defines one of AuthorizationType. */ - authorization_type: AuthorizationType; -} -export interface StakeAuthorizationAminoMsg { - type: "cosmos-sdk/StakeAuthorization"; - value: StakeAuthorizationAmino; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorizationSDKType { - $typeUrl?: string; - max_tokens: CoinSDKType; - allow_list?: StakeAuthorization_ValidatorsSDKType; - deny_list?: StakeAuthorization_ValidatorsSDKType; - authorization_type: AuthorizationType; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_Validators { - address: string[]; -} -export interface StakeAuthorization_ValidatorsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Validators"; - value: Uint8Array; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_ValidatorsAmino { - address: string[]; -} -export interface StakeAuthorization_ValidatorsAminoMsg { - type: "cosmos-sdk/Validators"; - value: StakeAuthorization_ValidatorsAmino; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_ValidatorsSDKType { - address: string[]; -} -export declare const StakeAuthorization: { - encode(message: StakeAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization; - fromJSON(object: any): StakeAuthorization; - toJSON(message: StakeAuthorization): unknown; - fromPartial(object: Partial): StakeAuthorization; - fromAmino(object: StakeAuthorizationAmino): StakeAuthorization; - toAmino(message: StakeAuthorization): StakeAuthorizationAmino; - fromAminoMsg(object: StakeAuthorizationAminoMsg): StakeAuthorization; - toAminoMsg(message: StakeAuthorization): StakeAuthorizationAminoMsg; - fromProtoMsg(message: StakeAuthorizationProtoMsg): StakeAuthorization; - toProto(message: StakeAuthorization): Uint8Array; - toProtoMsg(message: StakeAuthorization): StakeAuthorizationProtoMsg; -}; -export declare const StakeAuthorization_Validators: { - encode(message: StakeAuthorization_Validators, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators; - fromJSON(object: any): StakeAuthorization_Validators; - toJSON(message: StakeAuthorization_Validators): unknown; - fromPartial(object: Partial): StakeAuthorization_Validators; - fromAmino(object: StakeAuthorization_ValidatorsAmino): StakeAuthorization_Validators; - toAmino(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsAmino; - fromAminoMsg(object: StakeAuthorization_ValidatorsAminoMsg): StakeAuthorization_Validators; - toAminoMsg(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsAminoMsg; - fromProtoMsg(message: StakeAuthorization_ValidatorsProtoMsg): StakeAuthorization_Validators; - toProto(message: StakeAuthorization_Validators): Uint8Array; - toProtoMsg(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/genesis.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/genesis.d.ts deleted file mode 100644 index aec8f75d..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, Validator, ValidatorAmino, ValidatorSDKType, Delegation, DelegationAmino, DelegationSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, Redelegation, RedelegationAmino, RedelegationSDKType } from "./staking"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params: Params; - /** - * last_total_power tracks the total amounts of bonded tokens recorded during - * the previous end block. - */ - lastTotalPower: Uint8Array; - /** - * last_validator_powers is a special index that provides a historical list - * of the last-block's bonded validators. - */ - lastValidatorPowers: LastValidatorPower[]; - /** delegations defines the validator set at genesis. */ - validators: Validator[]; - /** delegations defines the delegations active at genesis. */ - delegations: Delegation[]; - /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbondingDelegations: UnbondingDelegation[]; - /** redelegations defines the redelegations active at genesis. */ - redelegations: Redelegation[]; - exported: boolean; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsAmino; - /** - * last_total_power tracks the total amounts of bonded tokens recorded during - * the previous end block. - */ - last_total_power: Uint8Array; - /** - * last_validator_powers is a special index that provides a historical list - * of the last-block's bonded validators. - */ - last_validator_powers: LastValidatorPowerAmino[]; - /** delegations defines the validator set at genesis. */ - validators: ValidatorAmino[]; - /** delegations defines the delegations active at genesis. */ - delegations: DelegationAmino[]; - /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbonding_delegations: UnbondingDelegationAmino[]; - /** redelegations defines the redelegations active at genesis. */ - redelegations: RedelegationAmino[]; - exported: boolean; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - last_total_power: Uint8Array; - last_validator_powers: LastValidatorPowerSDKType[]; - validators: ValidatorSDKType[]; - delegations: DelegationSDKType[]; - unbonding_delegations: UnbondingDelegationSDKType[]; - redelegations: RedelegationSDKType[]; - exported: boolean; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPower { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - power: Long; -} -export interface LastValidatorPowerProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.LastValidatorPower"; - value: Uint8Array; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPowerAmino { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - power: string; -} -export interface LastValidatorPowerAminoMsg { - type: "cosmos-sdk/LastValidatorPower"; - value: LastValidatorPowerAmino; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPowerSDKType { - address: string; - power: Long; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const LastValidatorPower: { - encode(message: LastValidatorPower, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LastValidatorPower; - fromJSON(object: any): LastValidatorPower; - toJSON(message: LastValidatorPower): unknown; - fromPartial(object: Partial): LastValidatorPower; - fromAmino(object: LastValidatorPowerAmino): LastValidatorPower; - toAmino(message: LastValidatorPower): LastValidatorPowerAmino; - fromAminoMsg(object: LastValidatorPowerAminoMsg): LastValidatorPower; - toAminoMsg(message: LastValidatorPower): LastValidatorPowerAminoMsg; - fromProtoMsg(message: LastValidatorPowerProtoMsg): LastValidatorPower; - toProto(message: LastValidatorPower): Uint8Array; - toProtoMsg(message: LastValidatorPower): LastValidatorPowerProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/query.d.ts deleted file mode 100644 index 035f5dbf..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/query.d.ts +++ /dev/null @@ -1,1251 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Validator, ValidatorAmino, ValidatorSDKType, DelegationResponse, DelegationResponseAmino, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseAmino, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoAmino, HistoricalInfoSDKType, Pool, PoolAmino, PoolSDKType, Params, ParamsAmino, ParamsSDKType } from "./staking"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequest { - /** status enables to query for validators matching a given status. */ - status: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsRequest"; - value: Uint8Array; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequestAmino { - /** status enables to query for validators matching a given status. */ - status: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorsRequest"; - value: QueryValidatorsRequestAmino; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequestSDKType { - status: string; - pagination: PageRequestSDKType; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponse { - /** validators contains all the queried validators. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsResponse"; - value: Uint8Array; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponseAmino { - /** validators contains all the queried validators. */ - validators: ValidatorAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorsResponse"; - value: QueryValidatorsResponseAmino; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryValidatorRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorRequest"; - value: Uint8Array; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryValidatorRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorRequest"; - value: QueryValidatorRequestAmino; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequestSDKType { - validator_addr: string; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponse { - /** validator defines the validator info. */ - validator: Validator; -} -export interface QueryValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorResponse"; - value: Uint8Array; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponseAmino { - /** validator defines the validator info. */ - validator?: ValidatorAmino; -} -export interface QueryValidatorResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorResponse"; - value: QueryValidatorResponseAmino; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponseSDKType { - validator: ValidatorSDKType; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorDelegationsRequest"; - value: QueryValidatorDelegationsRequestAmino; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequestSDKType { - validator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponse { - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponseAmino { - delegation_responses: DelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorDelegationsResponse"; - value: QueryValidatorDelegationsResponseAmino; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorUnbondingDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorUnbondingDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsRequest"; - value: QueryValidatorUnbondingDelegationsRequestAmino; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequestSDKType { - validator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorUnbondingDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponseAmino { - unbonding_responses: UnbondingDelegationAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorUnbondingDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsResponse"; - value: QueryValidatorUnbondingDelegationsResponseAmino; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryDelegationRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationRequest"; - value: Uint8Array; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryDelegationRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationRequest"; - value: QueryDelegationRequestAmino; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponse { - /** delegation_responses defines the delegation info of a delegation. */ - delegationResponse: DelegationResponse; -} -export interface QueryDelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationResponse"; - value: Uint8Array; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponseAmino { - /** delegation_responses defines the delegation info of a delegation. */ - delegation_response?: DelegationResponseAmino; -} -export interface QueryDelegationResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationResponse"; - value: QueryDelegationResponseAmino; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponseSDKType { - delegation_response: DelegationResponseSDKType; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryUnbondingDelegationRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest"; - value: Uint8Array; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryUnbondingDelegationRequestAminoMsg { - type: "cosmos-sdk/QueryUnbondingDelegationRequest"; - value: QueryUnbondingDelegationRequestAmino; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponse { - /** unbond defines the unbonding information of a delegation. */ - unbond: UnbondingDelegation; -} -export interface QueryUnbondingDelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse"; - value: Uint8Array; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponseAmino { - /** unbond defines the unbonding information of a delegation. */ - unbond?: UnbondingDelegationAmino; -} -export interface QueryUnbondingDelegationResponseAminoMsg { - type: "cosmos-sdk/QueryUnbondingDelegationResponse"; - value: QueryUnbondingDelegationResponseAmino; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponseSDKType { - unbond: UnbondingDelegationSDKType; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDelegatorDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDelegatorDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorDelegationsRequest"; - value: QueryDelegatorDelegationsRequestAmino; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequestSDKType { - delegator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponse { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDelegatorDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponseAmino { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegation_responses: DelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDelegatorDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorDelegationsResponse"; - value: QueryDelegatorDelegationsResponseAmino; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDelegatorUnbondingDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDelegatorUnbondingDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsRequest"; - value: QueryDelegatorUnbondingDelegationsRequestAmino; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequestSDKType { - delegator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDelegatorUnbondingDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponseAmino { - unbonding_responses: UnbondingDelegationAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDelegatorUnbondingDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsResponse"; - value: QueryDelegatorUnbondingDelegationsResponseAmino; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** src_validator_addr defines the validator address to redelegate from. */ - srcValidatorAddr: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryRedelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsRequest"; - value: Uint8Array; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** src_validator_addr defines the validator address to redelegate from. */ - src_validator_addr: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - dst_validator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryRedelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryRedelegationsRequest"; - value: QueryRedelegationsRequestAmino; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequestSDKType { - delegator_addr: string; - src_validator_addr: string; - dst_validator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponse { - redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryRedelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsResponse"; - value: Uint8Array; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponseAmino { - redelegation_responses: RedelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryRedelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryRedelegationsResponse"; - value: QueryRedelegationsResponseAmino; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponseSDKType { - redelegation_responses: RedelegationResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDelegatorValidatorsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDelegatorValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest"; - value: QueryDelegatorValidatorsRequestAmino; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the validators' info of a delegator. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDelegatorValidatorsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseAmino { - /** validators defines the validators' info of a delegator. */ - validators: ValidatorAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDelegatorValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse"; - value: QueryDelegatorValidatorsResponseAmino; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryDelegatorValidatorRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryDelegatorValidatorRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorRequest"; - value: QueryDelegatorValidatorRequestAmino; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponse { - /** validator defines the validator info. */ - validator: Validator; -} -export interface QueryDelegatorValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponseAmino { - /** validator defines the validator info. */ - validator?: ValidatorAmino; -} -export interface QueryDelegatorValidatorResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorResponse"; - value: QueryDelegatorValidatorResponseAmino; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponseSDKType { - validator: ValidatorSDKType; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequest { - /** height defines at which height to query the historical info. */ - height: Long; -} -export interface QueryHistoricalInfoRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest"; - value: Uint8Array; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequestAmino { - /** height defines at which height to query the historical info. */ - height: string; -} -export interface QueryHistoricalInfoRequestAminoMsg { - type: "cosmos-sdk/QueryHistoricalInfoRequest"; - value: QueryHistoricalInfoRequestAmino; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequestSDKType { - height: Long; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponse { - /** hist defines the historical info at the given height. */ - hist: HistoricalInfo; -} -export interface QueryHistoricalInfoResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse"; - value: Uint8Array; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponseAmino { - /** hist defines the historical info at the given height. */ - hist?: HistoricalInfoAmino; -} -export interface QueryHistoricalInfoResponseAminoMsg { - type: "cosmos-sdk/QueryHistoricalInfoResponse"; - value: QueryHistoricalInfoResponseAmino; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponseSDKType { - hist: HistoricalInfoSDKType; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequest { -} -export interface QueryPoolRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolRequest"; - value: Uint8Array; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequestAmino { -} -export interface QueryPoolRequestAminoMsg { - type: "cosmos-sdk/QueryPoolRequest"; - value: QueryPoolRequestAmino; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequestSDKType { -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponse { - /** pool defines the pool info. */ - pool: Pool; -} -export interface QueryPoolResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolResponse"; - value: Uint8Array; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponseAmino { - /** pool defines the pool info. */ - pool?: PoolAmino; -} -export interface QueryPoolResponseAminoMsg { - type: "cosmos-sdk/QueryPoolResponse"; - value: QueryPoolResponseAmino; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponseSDKType { - pool: PoolSDKType; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params holds all the parameters of this module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params holds all the parameters of this module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -export declare const QueryValidatorsRequest: { - encode(message: QueryValidatorsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest; - fromJSON(object: any): QueryValidatorsRequest; - toJSON(message: QueryValidatorsRequest): unknown; - fromPartial(object: Partial): QueryValidatorsRequest; - fromAmino(object: QueryValidatorsRequestAmino): QueryValidatorsRequest; - toAmino(message: QueryValidatorsRequest): QueryValidatorsRequestAmino; - fromAminoMsg(object: QueryValidatorsRequestAminoMsg): QueryValidatorsRequest; - toAminoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorsRequestProtoMsg): QueryValidatorsRequest; - toProto(message: QueryValidatorsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestProtoMsg; -}; -export declare const QueryValidatorsResponse: { - encode(message: QueryValidatorsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse; - fromJSON(object: any): QueryValidatorsResponse; - toJSON(message: QueryValidatorsResponse): unknown; - fromPartial(object: Partial): QueryValidatorsResponse; - fromAmino(object: QueryValidatorsResponseAmino): QueryValidatorsResponse; - toAmino(message: QueryValidatorsResponse): QueryValidatorsResponseAmino; - fromAminoMsg(object: QueryValidatorsResponseAminoMsg): QueryValidatorsResponse; - toAminoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorsResponseProtoMsg): QueryValidatorsResponse; - toProto(message: QueryValidatorsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseProtoMsg; -}; -export declare const QueryValidatorRequest: { - encode(message: QueryValidatorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest; - fromJSON(object: any): QueryValidatorRequest; - toJSON(message: QueryValidatorRequest): unknown; - fromPartial(object: Partial): QueryValidatorRequest; - fromAmino(object: QueryValidatorRequestAmino): QueryValidatorRequest; - toAmino(message: QueryValidatorRequest): QueryValidatorRequestAmino; - fromAminoMsg(object: QueryValidatorRequestAminoMsg): QueryValidatorRequest; - toAminoMsg(message: QueryValidatorRequest): QueryValidatorRequestAminoMsg; - fromProtoMsg(message: QueryValidatorRequestProtoMsg): QueryValidatorRequest; - toProto(message: QueryValidatorRequest): Uint8Array; - toProtoMsg(message: QueryValidatorRequest): QueryValidatorRequestProtoMsg; -}; -export declare const QueryValidatorResponse: { - encode(message: QueryValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse; - fromJSON(object: any): QueryValidatorResponse; - toJSON(message: QueryValidatorResponse): unknown; - fromPartial(object: Partial): QueryValidatorResponse; - fromAmino(object: QueryValidatorResponseAmino): QueryValidatorResponse; - toAmino(message: QueryValidatorResponse): QueryValidatorResponseAmino; - fromAminoMsg(object: QueryValidatorResponseAminoMsg): QueryValidatorResponse; - toAminoMsg(message: QueryValidatorResponse): QueryValidatorResponseAminoMsg; - fromProtoMsg(message: QueryValidatorResponseProtoMsg): QueryValidatorResponse; - toProto(message: QueryValidatorResponse): Uint8Array; - toProtoMsg(message: QueryValidatorResponse): QueryValidatorResponseProtoMsg; -}; -export declare const QueryValidatorDelegationsRequest: { - encode(message: QueryValidatorDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest; - fromJSON(object: any): QueryValidatorDelegationsRequest; - toJSON(message: QueryValidatorDelegationsRequest): unknown; - fromPartial(object: Partial): QueryValidatorDelegationsRequest; - fromAmino(object: QueryValidatorDelegationsRequestAmino): QueryValidatorDelegationsRequest; - toAmino(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAmino; - fromAminoMsg(object: QueryValidatorDelegationsRequestAminoMsg): QueryValidatorDelegationsRequest; - toAminoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorDelegationsRequestProtoMsg): QueryValidatorDelegationsRequest; - toProto(message: QueryValidatorDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestProtoMsg; -}; -export declare const QueryValidatorDelegationsResponse: { - encode(message: QueryValidatorDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse; - fromJSON(object: any): QueryValidatorDelegationsResponse; - toJSON(message: QueryValidatorDelegationsResponse): unknown; - fromPartial(object: Partial): QueryValidatorDelegationsResponse; - fromAmino(object: QueryValidatorDelegationsResponseAmino): QueryValidatorDelegationsResponse; - toAmino(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAmino; - fromAminoMsg(object: QueryValidatorDelegationsResponseAminoMsg): QueryValidatorDelegationsResponse; - toAminoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorDelegationsResponseProtoMsg): QueryValidatorDelegationsResponse; - toProto(message: QueryValidatorDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseProtoMsg; -}; -export declare const QueryValidatorUnbondingDelegationsRequest: { - encode(message: QueryValidatorUnbondingDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest; - fromJSON(object: any): QueryValidatorUnbondingDelegationsRequest; - toJSON(message: QueryValidatorUnbondingDelegationsRequest): unknown; - fromPartial(object: Partial): QueryValidatorUnbondingDelegationsRequest; - fromAmino(object: QueryValidatorUnbondingDelegationsRequestAmino): QueryValidatorUnbondingDelegationsRequest; - toAmino(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: QueryValidatorUnbondingDelegationsRequestAminoMsg): QueryValidatorUnbondingDelegationsRequest; - toAminoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorUnbondingDelegationsRequestProtoMsg): QueryValidatorUnbondingDelegationsRequest; - toProto(message: QueryValidatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestProtoMsg; -}; -export declare const QueryValidatorUnbondingDelegationsResponse: { - encode(message: QueryValidatorUnbondingDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse; - fromJSON(object: any): QueryValidatorUnbondingDelegationsResponse; - toJSON(message: QueryValidatorUnbondingDelegationsResponse): unknown; - fromPartial(object: Partial): QueryValidatorUnbondingDelegationsResponse; - fromAmino(object: QueryValidatorUnbondingDelegationsResponseAmino): QueryValidatorUnbondingDelegationsResponse; - toAmino(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: QueryValidatorUnbondingDelegationsResponseAminoMsg): QueryValidatorUnbondingDelegationsResponse; - toAminoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorUnbondingDelegationsResponseProtoMsg): QueryValidatorUnbondingDelegationsResponse; - toProto(message: QueryValidatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseProtoMsg; -}; -export declare const QueryDelegationRequest: { - encode(message: QueryDelegationRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest; - fromJSON(object: any): QueryDelegationRequest; - toJSON(message: QueryDelegationRequest): unknown; - fromPartial(object: Partial): QueryDelegationRequest; - fromAmino(object: QueryDelegationRequestAmino): QueryDelegationRequest; - toAmino(message: QueryDelegationRequest): QueryDelegationRequestAmino; - fromAminoMsg(object: QueryDelegationRequestAminoMsg): QueryDelegationRequest; - toAminoMsg(message: QueryDelegationRequest): QueryDelegationRequestAminoMsg; - fromProtoMsg(message: QueryDelegationRequestProtoMsg): QueryDelegationRequest; - toProto(message: QueryDelegationRequest): Uint8Array; - toProtoMsg(message: QueryDelegationRequest): QueryDelegationRequestProtoMsg; -}; -export declare const QueryDelegationResponse: { - encode(message: QueryDelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse; - fromJSON(object: any): QueryDelegationResponse; - toJSON(message: QueryDelegationResponse): unknown; - fromPartial(object: Partial): QueryDelegationResponse; - fromAmino(object: QueryDelegationResponseAmino): QueryDelegationResponse; - toAmino(message: QueryDelegationResponse): QueryDelegationResponseAmino; - fromAminoMsg(object: QueryDelegationResponseAminoMsg): QueryDelegationResponse; - toAminoMsg(message: QueryDelegationResponse): QueryDelegationResponseAminoMsg; - fromProtoMsg(message: QueryDelegationResponseProtoMsg): QueryDelegationResponse; - toProto(message: QueryDelegationResponse): Uint8Array; - toProtoMsg(message: QueryDelegationResponse): QueryDelegationResponseProtoMsg; -}; -export declare const QueryUnbondingDelegationRequest: { - encode(message: QueryUnbondingDelegationRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest; - fromJSON(object: any): QueryUnbondingDelegationRequest; - toJSON(message: QueryUnbondingDelegationRequest): unknown; - fromPartial(object: Partial): QueryUnbondingDelegationRequest; - fromAmino(object: QueryUnbondingDelegationRequestAmino): QueryUnbondingDelegationRequest; - toAmino(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestAmino; - fromAminoMsg(object: QueryUnbondingDelegationRequestAminoMsg): QueryUnbondingDelegationRequest; - toAminoMsg(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestAminoMsg; - fromProtoMsg(message: QueryUnbondingDelegationRequestProtoMsg): QueryUnbondingDelegationRequest; - toProto(message: QueryUnbondingDelegationRequest): Uint8Array; - toProtoMsg(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestProtoMsg; -}; -export declare const QueryUnbondingDelegationResponse: { - encode(message: QueryUnbondingDelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse; - fromJSON(object: any): QueryUnbondingDelegationResponse; - toJSON(message: QueryUnbondingDelegationResponse): unknown; - fromPartial(object: Partial): QueryUnbondingDelegationResponse; - fromAmino(object: QueryUnbondingDelegationResponseAmino): QueryUnbondingDelegationResponse; - toAmino(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseAmino; - fromAminoMsg(object: QueryUnbondingDelegationResponseAminoMsg): QueryUnbondingDelegationResponse; - toAminoMsg(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseAminoMsg; - fromProtoMsg(message: QueryUnbondingDelegationResponseProtoMsg): QueryUnbondingDelegationResponse; - toProto(message: QueryUnbondingDelegationResponse): Uint8Array; - toProtoMsg(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseProtoMsg; -}; -export declare const QueryDelegatorDelegationsRequest: { - encode(message: QueryDelegatorDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest; - fromJSON(object: any): QueryDelegatorDelegationsRequest; - toJSON(message: QueryDelegatorDelegationsRequest): unknown; - fromPartial(object: Partial): QueryDelegatorDelegationsRequest; - fromAmino(object: QueryDelegatorDelegationsRequestAmino): QueryDelegatorDelegationsRequest; - toAmino(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestAmino; - fromAminoMsg(object: QueryDelegatorDelegationsRequestAminoMsg): QueryDelegatorDelegationsRequest; - toAminoMsg(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorDelegationsRequestProtoMsg): QueryDelegatorDelegationsRequest; - toProto(message: QueryDelegatorDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestProtoMsg; -}; -export declare const QueryDelegatorDelegationsResponse: { - encode(message: QueryDelegatorDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse; - fromJSON(object: any): QueryDelegatorDelegationsResponse; - toJSON(message: QueryDelegatorDelegationsResponse): unknown; - fromPartial(object: Partial): QueryDelegatorDelegationsResponse; - fromAmino(object: QueryDelegatorDelegationsResponseAmino): QueryDelegatorDelegationsResponse; - toAmino(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseAmino; - fromAminoMsg(object: QueryDelegatorDelegationsResponseAminoMsg): QueryDelegatorDelegationsResponse; - toAminoMsg(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorDelegationsResponseProtoMsg): QueryDelegatorDelegationsResponse; - toProto(message: QueryDelegatorDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseProtoMsg; -}; -export declare const QueryDelegatorUnbondingDelegationsRequest: { - encode(message: QueryDelegatorUnbondingDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest; - fromJSON(object: any): QueryDelegatorUnbondingDelegationsRequest; - toJSON(message: QueryDelegatorUnbondingDelegationsRequest): unknown; - fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsRequest; - fromAmino(object: QueryDelegatorUnbondingDelegationsRequestAmino): QueryDelegatorUnbondingDelegationsRequest; - toAmino(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: QueryDelegatorUnbondingDelegationsRequestAminoMsg): QueryDelegatorUnbondingDelegationsRequest; - toAminoMsg(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorUnbondingDelegationsRequestProtoMsg): QueryDelegatorUnbondingDelegationsRequest; - toProto(message: QueryDelegatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestProtoMsg; -}; -export declare const QueryDelegatorUnbondingDelegationsResponse: { - encode(message: QueryDelegatorUnbondingDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse; - fromJSON(object: any): QueryDelegatorUnbondingDelegationsResponse; - toJSON(message: QueryDelegatorUnbondingDelegationsResponse): unknown; - fromPartial(object: Partial): QueryDelegatorUnbondingDelegationsResponse; - fromAmino(object: QueryDelegatorUnbondingDelegationsResponseAmino): QueryDelegatorUnbondingDelegationsResponse; - toAmino(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: QueryDelegatorUnbondingDelegationsResponseAminoMsg): QueryDelegatorUnbondingDelegationsResponse; - toAminoMsg(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorUnbondingDelegationsResponseProtoMsg): QueryDelegatorUnbondingDelegationsResponse; - toProto(message: QueryDelegatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseProtoMsg; -}; -export declare const QueryRedelegationsRequest: { - encode(message: QueryRedelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest; - fromJSON(object: any): QueryRedelegationsRequest; - toJSON(message: QueryRedelegationsRequest): unknown; - fromPartial(object: Partial): QueryRedelegationsRequest; - fromAmino(object: QueryRedelegationsRequestAmino): QueryRedelegationsRequest; - toAmino(message: QueryRedelegationsRequest): QueryRedelegationsRequestAmino; - fromAminoMsg(object: QueryRedelegationsRequestAminoMsg): QueryRedelegationsRequest; - toAminoMsg(message: QueryRedelegationsRequest): QueryRedelegationsRequestAminoMsg; - fromProtoMsg(message: QueryRedelegationsRequestProtoMsg): QueryRedelegationsRequest; - toProto(message: QueryRedelegationsRequest): Uint8Array; - toProtoMsg(message: QueryRedelegationsRequest): QueryRedelegationsRequestProtoMsg; -}; -export declare const QueryRedelegationsResponse: { - encode(message: QueryRedelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse; - fromJSON(object: any): QueryRedelegationsResponse; - toJSON(message: QueryRedelegationsResponse): unknown; - fromPartial(object: Partial): QueryRedelegationsResponse; - fromAmino(object: QueryRedelegationsResponseAmino): QueryRedelegationsResponse; - toAmino(message: QueryRedelegationsResponse): QueryRedelegationsResponseAmino; - fromAminoMsg(object: QueryRedelegationsResponseAminoMsg): QueryRedelegationsResponse; - toAminoMsg(message: QueryRedelegationsResponse): QueryRedelegationsResponseAminoMsg; - fromProtoMsg(message: QueryRedelegationsResponseProtoMsg): QueryRedelegationsResponse; - toProto(message: QueryRedelegationsResponse): Uint8Array; - toProtoMsg(message: QueryRedelegationsResponse): QueryRedelegationsResponseProtoMsg; -}; -export declare const QueryDelegatorValidatorsRequest: { - encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; - fromJSON(object: any): QueryDelegatorValidatorsRequest; - toJSON(message: QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: Partial): QueryDelegatorValidatorsRequest; - fromAmino(object: QueryDelegatorValidatorsRequestAmino): QueryDelegatorValidatorsRequest; - toAmino(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: QueryDelegatorValidatorsRequestAminoMsg): QueryDelegatorValidatorsRequest; - toAminoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsRequestProtoMsg): QueryDelegatorValidatorsRequest; - toProto(message: QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestProtoMsg; -}; -export declare const QueryDelegatorValidatorsResponse: { - encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; - fromJSON(object: any): QueryDelegatorValidatorsResponse; - toJSON(message: QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: Partial): QueryDelegatorValidatorsResponse; - fromAmino(object: QueryDelegatorValidatorsResponseAmino): QueryDelegatorValidatorsResponse; - toAmino(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: QueryDelegatorValidatorsResponseAminoMsg): QueryDelegatorValidatorsResponse; - toAminoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsResponseProtoMsg): QueryDelegatorValidatorsResponse; - toProto(message: QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseProtoMsg; -}; -export declare const QueryDelegatorValidatorRequest: { - encode(message: QueryDelegatorValidatorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest; - fromJSON(object: any): QueryDelegatorValidatorRequest; - toJSON(message: QueryDelegatorValidatorRequest): unknown; - fromPartial(object: Partial): QueryDelegatorValidatorRequest; - fromAmino(object: QueryDelegatorValidatorRequestAmino): QueryDelegatorValidatorRequest; - toAmino(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestAmino; - fromAminoMsg(object: QueryDelegatorValidatorRequestAminoMsg): QueryDelegatorValidatorRequest; - toAminoMsg(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorRequestProtoMsg): QueryDelegatorValidatorRequest; - toProto(message: QueryDelegatorValidatorRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestProtoMsg; -}; -export declare const QueryDelegatorValidatorResponse: { - encode(message: QueryDelegatorValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse; - fromJSON(object: any): QueryDelegatorValidatorResponse; - toJSON(message: QueryDelegatorValidatorResponse): unknown; - fromPartial(object: Partial): QueryDelegatorValidatorResponse; - fromAmino(object: QueryDelegatorValidatorResponseAmino): QueryDelegatorValidatorResponse; - toAmino(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseAmino; - fromAminoMsg(object: QueryDelegatorValidatorResponseAminoMsg): QueryDelegatorValidatorResponse; - toAminoMsg(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorResponseProtoMsg): QueryDelegatorValidatorResponse; - toProto(message: QueryDelegatorValidatorResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseProtoMsg; -}; -export declare const QueryHistoricalInfoRequest: { - encode(message: QueryHistoricalInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest; - fromJSON(object: any): QueryHistoricalInfoRequest; - toJSON(message: QueryHistoricalInfoRequest): unknown; - fromPartial(object: Partial): QueryHistoricalInfoRequest; - fromAmino(object: QueryHistoricalInfoRequestAmino): QueryHistoricalInfoRequest; - toAmino(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestAmino; - fromAminoMsg(object: QueryHistoricalInfoRequestAminoMsg): QueryHistoricalInfoRequest; - toAminoMsg(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestAminoMsg; - fromProtoMsg(message: QueryHistoricalInfoRequestProtoMsg): QueryHistoricalInfoRequest; - toProto(message: QueryHistoricalInfoRequest): Uint8Array; - toProtoMsg(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestProtoMsg; -}; -export declare const QueryHistoricalInfoResponse: { - encode(message: QueryHistoricalInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse; - fromJSON(object: any): QueryHistoricalInfoResponse; - toJSON(message: QueryHistoricalInfoResponse): unknown; - fromPartial(object: Partial): QueryHistoricalInfoResponse; - fromAmino(object: QueryHistoricalInfoResponseAmino): QueryHistoricalInfoResponse; - toAmino(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseAmino; - fromAminoMsg(object: QueryHistoricalInfoResponseAminoMsg): QueryHistoricalInfoResponse; - toAminoMsg(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseAminoMsg; - fromProtoMsg(message: QueryHistoricalInfoResponseProtoMsg): QueryHistoricalInfoResponse; - toProto(message: QueryHistoricalInfoResponse): Uint8Array; - toProtoMsg(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseProtoMsg; -}; -export declare const QueryPoolRequest: { - encode(_: QueryPoolRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest; - fromJSON(_: any): QueryPoolRequest; - toJSON(_: QueryPoolRequest): unknown; - fromPartial(_: Partial): QueryPoolRequest; - fromAmino(_: QueryPoolRequestAmino): QueryPoolRequest; - toAmino(_: QueryPoolRequest): QueryPoolRequestAmino; - fromAminoMsg(object: QueryPoolRequestAminoMsg): QueryPoolRequest; - toAminoMsg(message: QueryPoolRequest): QueryPoolRequestAminoMsg; - fromProtoMsg(message: QueryPoolRequestProtoMsg): QueryPoolRequest; - toProto(message: QueryPoolRequest): Uint8Array; - toProtoMsg(message: QueryPoolRequest): QueryPoolRequestProtoMsg; -}; -export declare const QueryPoolResponse: { - encode(message: QueryPoolResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse; - fromJSON(object: any): QueryPoolResponse; - toJSON(message: QueryPoolResponse): unknown; - fromPartial(object: Partial): QueryPoolResponse; - fromAmino(object: QueryPoolResponseAmino): QueryPoolResponse; - toAmino(message: QueryPoolResponse): QueryPoolResponseAmino; - fromAminoMsg(object: QueryPoolResponseAminoMsg): QueryPoolResponse; - toAminoMsg(message: QueryPoolResponse): QueryPoolResponseAminoMsg; - fromProtoMsg(message: QueryPoolResponseProtoMsg): QueryPoolResponse; - toProto(message: QueryPoolResponse): Uint8Array; - toProtoMsg(message: QueryPoolResponse): QueryPoolResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts deleted file mode 100644 index f477464b..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryValidatorsRequest, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - validators(params: QueryValidatorsRequest): Promise; - validator(params: QueryValidatorRequest): Promise; - validatorDelegations(params: QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(params: QueryDelegationRequest): Promise; - unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(params: QueryRedelegationsRequest): Promise; - delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(params: QueryDelegatorValidatorRequest): Promise; - historicalInfo(params: QueryHistoricalInfoRequest): Promise; - pool(_params?: QueryPoolRequest): Promise; - params(_params?: QueryParamsRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 6f710e5d..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Validators queries all validators that match the given status. */ - validators(request: QueryValidatorsRequest): Promise; - /** Validator queries validator info for given validator address. */ - validator(request: QueryValidatorRequest): Promise; - /** ValidatorDelegations queries delegate info for given validator. */ - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; - /** Delegation queries delegate info for given validator delegator pair. */ - delegation(request: QueryDelegationRequest): Promise; - /** - * UnbondingDelegation queries unbonding info for given validator delegator - * pair. - */ - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; - /** DelegatorDelegations queries all delegations of a given delegator address. */ - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; - /** - * DelegatorUnbondingDelegations queries all unbonding delegations of a given - * delegator address. - */ - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; - /** Redelegations queries redelegations of given address. */ - redelegations(request: QueryRedelegationsRequest): Promise; - /** - * DelegatorValidators queries all validators info for given delegator - * address. - */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - /** - * DelegatorValidator queries validator info for given delegator validator - * pair. - */ - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; - /** HistoricalInfo queries the historical info for given height. */ - historicalInfo(request: QueryHistoricalInfoRequest): Promise; - /** Pool queries the pool info. */ - pool(request?: QueryPoolRequest): Promise; - /** Parameters queries the staking parameters. */ - params(request?: QueryParamsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - validators(request: QueryValidatorsRequest): Promise; - validator(request: QueryValidatorRequest): Promise; - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: QueryDelegationRequest): Promise; - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: QueryRedelegationsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: QueryHistoricalInfoRequest): Promise; - pool(request?: QueryPoolRequest): Promise; - params(request?: QueryParamsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - validators(request: QueryValidatorsRequest): Promise; - validator(request: QueryValidatorRequest): Promise; - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: QueryDelegationRequest): Promise; - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: QueryRedelegationsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: QueryHistoricalInfoRequest): Promise; - pool(request?: QueryPoolRequest): Promise; - params(request?: QueryParamsRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/staking.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/staking.d.ts deleted file mode 100644 index 61e3d2fe..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/staking.d.ts +++ /dev/null @@ -1,1089 +0,0 @@ -import { Header, HeaderAmino, HeaderSDKType } from "../../../tendermint/types/types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** BondStatus is the status of a validator. */ -export declare enum BondStatus { - /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */ - BOND_STATUS_UNSPECIFIED = 0, - /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */ - BOND_STATUS_UNBONDED = 1, - /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */ - BOND_STATUS_UNBONDING = 2, - /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */ - BOND_STATUS_BONDED = 3, - UNRECOGNIZED = -1 -} -export declare const BondStatusSDKType: typeof BondStatus; -export declare const BondStatusAmino: typeof BondStatus; -export declare function bondStatusFromJSON(object: any): BondStatus; -export declare function bondStatusToJSON(object: BondStatus): string; -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfo { - header: Header; - valset: Validator[]; -} -export interface HistoricalInfoProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo"; - value: Uint8Array; -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfoAmino { - header?: HeaderAmino; - valset: ValidatorAmino[]; -} -export interface HistoricalInfoAminoMsg { - type: "cosmos-sdk/HistoricalInfo"; - value: HistoricalInfoAmino; -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfoSDKType { - header: HeaderSDKType; - valset: ValidatorSDKType[]; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRates { - /** rate is the commission rate charged to delegators, as a fraction. */ - rate: string; - /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */ - maxRate: string; - /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ - maxChangeRate: string; -} -export interface CommissionRatesProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.CommissionRates"; - value: Uint8Array; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRatesAmino { - /** rate is the commission rate charged to delegators, as a fraction. */ - rate: string; - /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */ - max_rate: string; - /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ - max_change_rate: string; -} -export interface CommissionRatesAminoMsg { - type: "cosmos-sdk/CommissionRates"; - value: CommissionRatesAmino; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRatesSDKType { - rate: string; - max_rate: string; - max_change_rate: string; -} -/** Commission defines commission parameters for a given validator. */ -export interface Commission { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commissionRates: CommissionRates; - /** update_time is the last time the commission rate was changed. */ - updateTime: Timestamp; -} -export interface CommissionProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Commission"; - value: Uint8Array; -} -/** Commission defines commission parameters for a given validator. */ -export interface CommissionAmino { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commission_rates?: CommissionRatesAmino; - /** update_time is the last time the commission rate was changed. */ - update_time?: TimestampAmino; -} -export interface CommissionAminoMsg { - type: "cosmos-sdk/Commission"; - value: CommissionAmino; -} -/** Commission defines commission parameters for a given validator. */ -export interface CommissionSDKType { - commission_rates: CommissionRatesSDKType; - update_time: TimestampSDKType; -} -/** Description defines a validator description. */ -export interface Description { - /** moniker defines a human-readable name for the validator. */ - moniker: string; - /** identity defines an optional identity signature (ex. UPort or Keybase). */ - identity: string; - /** website defines an optional website link. */ - website: string; - /** security_contact defines an optional email for security contact. */ - securityContact: string; - /** details define other optional details. */ - details: string; -} -export interface DescriptionProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Description"; - value: Uint8Array; -} -/** Description defines a validator description. */ -export interface DescriptionAmino { - /** moniker defines a human-readable name for the validator. */ - moniker: string; - /** identity defines an optional identity signature (ex. UPort or Keybase). */ - identity: string; - /** website defines an optional website link. */ - website: string; - /** security_contact defines an optional email for security contact. */ - security_contact: string; - /** details define other optional details. */ - details: string; -} -export interface DescriptionAminoMsg { - type: "cosmos-sdk/Description"; - value: DescriptionAmino; -} -/** Description defines a validator description. */ -export interface DescriptionSDKType { - moniker: string; - identity: string; - website: string; - security_contact: string; - details: string; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface Validator { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operatorAddress: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensusPubkey: (Any) | undefined; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - delegatorShares: string; - /** description defines the description terms for the validator. */ - description: Description; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbondingHeight: Long; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbondingTime: Timestamp; - /** commission defines the commission parameters. */ - commission: Commission; - /** - * min_self_delegation is the validator's self declared minimum self delegation. - * - * Since: cosmos-sdk 0.46 - */ - minSelfDelegation: string; -} -export interface ValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Validator"; - value: Uint8Array; -} -export type ValidatorEncoded = Omit & { - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ consensusPubkey?: AnyProtoMsg | undefined; -}; -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface ValidatorAmino { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operator_address: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensus_pubkey?: AnyAmino; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - delegator_shares: string; - /** description defines the description terms for the validator. */ - description?: DescriptionAmino; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbonding_height: string; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbonding_time?: TimestampAmino; - /** commission defines the commission parameters. */ - commission?: CommissionAmino; - /** - * min_self_delegation is the validator's self declared minimum self delegation. - * - * Since: cosmos-sdk 0.46 - */ - min_self_delegation: string; -} -export interface ValidatorAminoMsg { - type: "cosmos-sdk/Validator"; - value: ValidatorAmino; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface ValidatorSDKType { - operator_address: string; - consensus_pubkey: AnySDKType | undefined; - jailed: boolean; - status: BondStatus; - tokens: string; - delegator_shares: string; - description: DescriptionSDKType; - unbonding_height: Long; - unbonding_time: TimestampSDKType; - commission: CommissionSDKType; - min_self_delegation: string; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddresses { - addresses: string[]; -} -export interface ValAddressesProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.ValAddresses"; - value: Uint8Array; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddressesAmino { - addresses: string[]; -} -export interface ValAddressesAminoMsg { - type: "cosmos-sdk/ValAddresses"; - value: ValAddressesAmino; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddressesSDKType { - addresses: string[]; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPair { - delegatorAddress: string; - validatorAddress: string; -} -export interface DVPairProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVPair"; - value: Uint8Array; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPairAmino { - delegator_address: string; - validator_address: string; -} -export interface DVPairAminoMsg { - type: "cosmos-sdk/DVPair"; - value: DVPairAmino; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPairSDKType { - delegator_address: string; - validator_address: string; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairs { - pairs: DVPair[]; -} -export interface DVPairsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVPairs"; - value: Uint8Array; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairsAmino { - pairs: DVPairAmino[]; -} -export interface DVPairsAminoMsg { - type: "cosmos-sdk/DVPairs"; - value: DVPairsAmino; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairsSDKType { - pairs: DVPairSDKType[]; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTriplet { - delegatorAddress: string; - validatorSrcAddress: string; - validatorDstAddress: string; -} -export interface DVVTripletProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplet"; - value: Uint8Array; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTripletAmino { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; -} -export interface DVVTripletAminoMsg { - type: "cosmos-sdk/DVVTriplet"; - value: DVVTripletAmino; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTripletSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTriplets { - triplets: DVVTriplet[]; -} -export interface DVVTripletsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplets"; - value: Uint8Array; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTripletsAmino { - triplets: DVVTripletAmino[]; -} -export interface DVVTripletsAminoMsg { - type: "cosmos-sdk/DVVTriplets"; - value: DVVTripletsAmino; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTripletsSDKType { - triplets: DVVTripletSDKType[]; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface Delegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - validatorAddress: string; - /** shares define the delegation shares received. */ - shares: string; -} -export interface DelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Delegation"; - value: Uint8Array; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface DelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address: string; - /** validator_address is the bech32-encoded address of the validator. */ - validator_address: string; - /** shares define the delegation shares received. */ - shares: string; -} -export interface DelegationAminoMsg { - type: "cosmos-sdk/Delegation"; - value: DelegationAmino; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface DelegationSDKType { - delegator_address: string; - validator_address: string; - shares: string; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - validatorAddress: string; - /** entries are the unbonding delegation entries. */ - entries: UnbondingDelegationEntry[]; -} -export interface UnbondingDelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation"; - value: Uint8Array; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address: string; - /** validator_address is the bech32-encoded address of the validator. */ - validator_address: string; - /** entries are the unbonding delegation entries. */ - entries: UnbondingDelegationEntryAmino[]; -} -export interface UnbondingDelegationAminoMsg { - type: "cosmos-sdk/UnbondingDelegation"; - value: UnbondingDelegationAmino; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegationSDKType { - delegator_address: string; - validator_address: string; - entries: UnbondingDelegationEntrySDKType[]; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntry { - /** creation_height is the height which the unbonding took place. */ - creationHeight: Long; - /** completion_time is the unix time for unbonding completion. */ - completionTime: Timestamp; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initialBalance: string; - /** balance defines the tokens to receive at completion. */ - balance: string; -} -export interface UnbondingDelegationEntryProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry"; - value: Uint8Array; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntryAmino { - /** creation_height is the height which the unbonding took place. */ - creation_height: string; - /** completion_time is the unix time for unbonding completion. */ - completion_time?: TimestampAmino; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initial_balance: string; - /** balance defines the tokens to receive at completion. */ - balance: string; -} -export interface UnbondingDelegationEntryAminoMsg { - type: "cosmos-sdk/UnbondingDelegationEntry"; - value: UnbondingDelegationEntryAmino; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntrySDKType { - creation_height: Long; - completion_time: TimestampSDKType; - initial_balance: string; - balance: string; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntry { - /** creation_height defines the height which the redelegation took place. */ - creationHeight: Long; - /** completion_time defines the unix time for redelegation completion. */ - completionTime: Timestamp; - /** initial_balance defines the initial balance when redelegation started. */ - initialBalance: string; - /** shares_dst is the amount of destination-validator shares created by redelegation. */ - sharesDst: string; -} -export interface RedelegationEntryProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry"; - value: Uint8Array; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntryAmino { - /** creation_height defines the height which the redelegation took place. */ - creation_height: string; - /** completion_time defines the unix time for redelegation completion. */ - completion_time?: TimestampAmino; - /** initial_balance defines the initial balance when redelegation started. */ - initial_balance: string; - /** shares_dst is the amount of destination-validator shares created by redelegation. */ - shares_dst: string; -} -export interface RedelegationEntryAminoMsg { - type: "cosmos-sdk/RedelegationEntry"; - value: RedelegationEntryAmino; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntrySDKType { - creation_height: Long; - completion_time: TimestampSDKType; - initial_balance: string; - shares_dst: string; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface Redelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_src_address is the validator redelegation source operator address. */ - validatorSrcAddress: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - validatorDstAddress: string; - /** entries are the redelegation entries. */ - entries: RedelegationEntry[]; -} -export interface RedelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Redelegation"; - value: Uint8Array; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface RedelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address: string; - /** validator_src_address is the validator redelegation source operator address. */ - validator_src_address: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - validator_dst_address: string; - /** entries are the redelegation entries. */ - entries: RedelegationEntryAmino[]; -} -export interface RedelegationAminoMsg { - type: "cosmos-sdk/Redelegation"; - value: RedelegationAmino; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface RedelegationSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - entries: RedelegationEntrySDKType[]; -} -/** Params defines the parameters for the staking module. */ -export interface Params { - /** unbonding_time is the time duration of unbonding. */ - unbondingTime: Duration; - /** max_validators is the maximum number of validators. */ - maxValidators: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - maxEntries: number; - /** historical_entries is the number of historical entries to persist. */ - historicalEntries: number; - /** bond_denom defines the bondable coin denomination. */ - bondDenom: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - minCommissionRate: string; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the staking module. */ -export interface ParamsAmino { - /** unbonding_time is the time duration of unbonding. */ - unbonding_time?: DurationAmino; - /** max_validators is the maximum number of validators. */ - max_validators: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - max_entries: number; - /** historical_entries is the number of historical entries to persist. */ - historical_entries: number; - /** bond_denom defines the bondable coin denomination. */ - bond_denom: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - min_commission_rate: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the staking module. */ -export interface ParamsSDKType { - unbonding_time: DurationSDKType; - max_validators: number; - max_entries: number; - historical_entries: number; - bond_denom: string; - min_commission_rate: string; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponse { - delegation: Delegation; - balance: Coin; -} -export interface DelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DelegationResponse"; - value: Uint8Array; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponseAmino { - delegation?: DelegationAmino; - balance?: CoinAmino; -} -export interface DelegationResponseAminoMsg { - type: "cosmos-sdk/DelegationResponse"; - value: DelegationResponseAmino; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponseSDKType { - delegation: DelegationSDKType; - balance: CoinSDKType; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponse { - redelegationEntry: RedelegationEntry; - balance: string; -} -export interface RedelegationEntryResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse"; - value: Uint8Array; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponseAmino { - redelegation_entry?: RedelegationEntryAmino; - balance: string; -} -export interface RedelegationEntryResponseAminoMsg { - type: "cosmos-sdk/RedelegationEntryResponse"; - value: RedelegationEntryResponseAmino; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponseSDKType { - redelegation_entry: RedelegationEntrySDKType; - balance: string; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponse { - redelegation: Redelegation; - entries: RedelegationEntryResponse[]; -} -export interface RedelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse"; - value: Uint8Array; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponseAmino { - redelegation?: RedelegationAmino; - entries: RedelegationEntryResponseAmino[]; -} -export interface RedelegationResponseAminoMsg { - type: "cosmos-sdk/RedelegationResponse"; - value: RedelegationResponseAmino; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponseSDKType { - redelegation: RedelegationSDKType; - entries: RedelegationEntryResponseSDKType[]; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface Pool { - notBondedTokens: string; - bondedTokens: string; -} -export interface PoolProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Pool"; - value: Uint8Array; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface PoolAmino { - not_bonded_tokens: string; - bonded_tokens: string; -} -export interface PoolAminoMsg { - type: "cosmos-sdk/Pool"; - value: PoolAmino; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface PoolSDKType { - not_bonded_tokens: string; - bonded_tokens: string; -} -export declare const HistoricalInfo: { - encode(message: HistoricalInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo; - fromJSON(object: any): HistoricalInfo; - toJSON(message: HistoricalInfo): unknown; - fromPartial(object: Partial): HistoricalInfo; - fromAmino(object: HistoricalInfoAmino): HistoricalInfo; - toAmino(message: HistoricalInfo): HistoricalInfoAmino; - fromAminoMsg(object: HistoricalInfoAminoMsg): HistoricalInfo; - toAminoMsg(message: HistoricalInfo): HistoricalInfoAminoMsg; - fromProtoMsg(message: HistoricalInfoProtoMsg): HistoricalInfo; - toProto(message: HistoricalInfo): Uint8Array; - toProtoMsg(message: HistoricalInfo): HistoricalInfoProtoMsg; -}; -export declare const CommissionRates: { - encode(message: CommissionRates, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates; - fromJSON(object: any): CommissionRates; - toJSON(message: CommissionRates): unknown; - fromPartial(object: Partial): CommissionRates; - fromAmino(object: CommissionRatesAmino): CommissionRates; - toAmino(message: CommissionRates): CommissionRatesAmino; - fromAminoMsg(object: CommissionRatesAminoMsg): CommissionRates; - toAminoMsg(message: CommissionRates): CommissionRatesAminoMsg; - fromProtoMsg(message: CommissionRatesProtoMsg): CommissionRates; - toProto(message: CommissionRates): Uint8Array; - toProtoMsg(message: CommissionRates): CommissionRatesProtoMsg; -}; -export declare const Commission: { - encode(message: Commission, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Commission; - fromJSON(object: any): Commission; - toJSON(message: Commission): unknown; - fromPartial(object: Partial): Commission; - fromAmino(object: CommissionAmino): Commission; - toAmino(message: Commission): CommissionAmino; - fromAminoMsg(object: CommissionAminoMsg): Commission; - toAminoMsg(message: Commission): CommissionAminoMsg; - fromProtoMsg(message: CommissionProtoMsg): Commission; - toProto(message: Commission): Uint8Array; - toProtoMsg(message: Commission): CommissionProtoMsg; -}; -export declare const Description: { - encode(message: Description, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Description; - fromJSON(object: any): Description; - toJSON(message: Description): unknown; - fromPartial(object: Partial): Description; - fromAmino(object: DescriptionAmino): Description; - toAmino(message: Description): DescriptionAmino; - fromAminoMsg(object: DescriptionAminoMsg): Description; - toAminoMsg(message: Description): DescriptionAminoMsg; - fromProtoMsg(message: DescriptionProtoMsg): Description; - toProto(message: Description): Uint8Array; - toProtoMsg(message: Description): DescriptionProtoMsg; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: Partial): Validator; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - toAminoMsg(message: Validator): ValidatorAminoMsg; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const ValAddresses: { - encode(message: ValAddresses, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses; - fromJSON(object: any): ValAddresses; - toJSON(message: ValAddresses): unknown; - fromPartial(object: Partial): ValAddresses; - fromAmino(object: ValAddressesAmino): ValAddresses; - toAmino(message: ValAddresses): ValAddressesAmino; - fromAminoMsg(object: ValAddressesAminoMsg): ValAddresses; - toAminoMsg(message: ValAddresses): ValAddressesAminoMsg; - fromProtoMsg(message: ValAddressesProtoMsg): ValAddresses; - toProto(message: ValAddresses): Uint8Array; - toProtoMsg(message: ValAddresses): ValAddressesProtoMsg; -}; -export declare const DVPair: { - encode(message: DVPair, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVPair; - fromJSON(object: any): DVPair; - toJSON(message: DVPair): unknown; - fromPartial(object: Partial): DVPair; - fromAmino(object: DVPairAmino): DVPair; - toAmino(message: DVPair): DVPairAmino; - fromAminoMsg(object: DVPairAminoMsg): DVPair; - toAminoMsg(message: DVPair): DVPairAminoMsg; - fromProtoMsg(message: DVPairProtoMsg): DVPair; - toProto(message: DVPair): Uint8Array; - toProtoMsg(message: DVPair): DVPairProtoMsg; -}; -export declare const DVPairs: { - encode(message: DVPairs, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs; - fromJSON(object: any): DVPairs; - toJSON(message: DVPairs): unknown; - fromPartial(object: Partial): DVPairs; - fromAmino(object: DVPairsAmino): DVPairs; - toAmino(message: DVPairs): DVPairsAmino; - fromAminoMsg(object: DVPairsAminoMsg): DVPairs; - toAminoMsg(message: DVPairs): DVPairsAminoMsg; - fromProtoMsg(message: DVPairsProtoMsg): DVPairs; - toProto(message: DVPairs): Uint8Array; - toProtoMsg(message: DVPairs): DVPairsProtoMsg; -}; -export declare const DVVTriplet: { - encode(message: DVVTriplet, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet; - fromJSON(object: any): DVVTriplet; - toJSON(message: DVVTriplet): unknown; - fromPartial(object: Partial): DVVTriplet; - fromAmino(object: DVVTripletAmino): DVVTriplet; - toAmino(message: DVVTriplet): DVVTripletAmino; - fromAminoMsg(object: DVVTripletAminoMsg): DVVTriplet; - toAminoMsg(message: DVVTriplet): DVVTripletAminoMsg; - fromProtoMsg(message: DVVTripletProtoMsg): DVVTriplet; - toProto(message: DVVTriplet): Uint8Array; - toProtoMsg(message: DVVTriplet): DVVTripletProtoMsg; -}; -export declare const DVVTriplets: { - encode(message: DVVTriplets, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets; - fromJSON(object: any): DVVTriplets; - toJSON(message: DVVTriplets): unknown; - fromPartial(object: Partial): DVVTriplets; - fromAmino(object: DVVTripletsAmino): DVVTriplets; - toAmino(message: DVVTriplets): DVVTripletsAmino; - fromAminoMsg(object: DVVTripletsAminoMsg): DVVTriplets; - toAminoMsg(message: DVVTriplets): DVVTripletsAminoMsg; - fromProtoMsg(message: DVVTripletsProtoMsg): DVVTriplets; - toProto(message: DVVTriplets): Uint8Array; - toProtoMsg(message: DVVTriplets): DVVTripletsProtoMsg; -}; -export declare const Delegation: { - encode(message: Delegation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Delegation; - fromJSON(object: any): Delegation; - toJSON(message: Delegation): unknown; - fromPartial(object: Partial): Delegation; - fromAmino(object: DelegationAmino): Delegation; - toAmino(message: Delegation): DelegationAmino; - fromAminoMsg(object: DelegationAminoMsg): Delegation; - toAminoMsg(message: Delegation): DelegationAminoMsg; - fromProtoMsg(message: DelegationProtoMsg): Delegation; - toProto(message: Delegation): Uint8Array; - toProtoMsg(message: Delegation): DelegationProtoMsg; -}; -export declare const UnbondingDelegation: { - encode(message: UnbondingDelegation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation; - fromJSON(object: any): UnbondingDelegation; - toJSON(message: UnbondingDelegation): unknown; - fromPartial(object: Partial): UnbondingDelegation; - fromAmino(object: UnbondingDelegationAmino): UnbondingDelegation; - toAmino(message: UnbondingDelegation): UnbondingDelegationAmino; - fromAminoMsg(object: UnbondingDelegationAminoMsg): UnbondingDelegation; - toAminoMsg(message: UnbondingDelegation): UnbondingDelegationAminoMsg; - fromProtoMsg(message: UnbondingDelegationProtoMsg): UnbondingDelegation; - toProto(message: UnbondingDelegation): Uint8Array; - toProtoMsg(message: UnbondingDelegation): UnbondingDelegationProtoMsg; -}; -export declare const UnbondingDelegationEntry: { - encode(message: UnbondingDelegationEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry; - fromJSON(object: any): UnbondingDelegationEntry; - toJSON(message: UnbondingDelegationEntry): unknown; - fromPartial(object: Partial): UnbondingDelegationEntry; - fromAmino(object: UnbondingDelegationEntryAmino): UnbondingDelegationEntry; - toAmino(message: UnbondingDelegationEntry): UnbondingDelegationEntryAmino; - fromAminoMsg(object: UnbondingDelegationEntryAminoMsg): UnbondingDelegationEntry; - toAminoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryAminoMsg; - fromProtoMsg(message: UnbondingDelegationEntryProtoMsg): UnbondingDelegationEntry; - toProto(message: UnbondingDelegationEntry): Uint8Array; - toProtoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryProtoMsg; -}; -export declare const RedelegationEntry: { - encode(message: RedelegationEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry; - fromJSON(object: any): RedelegationEntry; - toJSON(message: RedelegationEntry): unknown; - fromPartial(object: Partial): RedelegationEntry; - fromAmino(object: RedelegationEntryAmino): RedelegationEntry; - toAmino(message: RedelegationEntry): RedelegationEntryAmino; - fromAminoMsg(object: RedelegationEntryAminoMsg): RedelegationEntry; - toAminoMsg(message: RedelegationEntry): RedelegationEntryAminoMsg; - fromProtoMsg(message: RedelegationEntryProtoMsg): RedelegationEntry; - toProto(message: RedelegationEntry): Uint8Array; - toProtoMsg(message: RedelegationEntry): RedelegationEntryProtoMsg; -}; -export declare const Redelegation: { - encode(message: Redelegation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation; - fromJSON(object: any): Redelegation; - toJSON(message: Redelegation): unknown; - fromPartial(object: Partial): Redelegation; - fromAmino(object: RedelegationAmino): Redelegation; - toAmino(message: Redelegation): RedelegationAmino; - fromAminoMsg(object: RedelegationAminoMsg): Redelegation; - toAminoMsg(message: Redelegation): RedelegationAminoMsg; - fromProtoMsg(message: RedelegationProtoMsg): Redelegation; - toProto(message: Redelegation): Uint8Array; - toProtoMsg(message: Redelegation): RedelegationProtoMsg; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const DelegationResponse: { - encode(message: DelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse; - fromJSON(object: any): DelegationResponse; - toJSON(message: DelegationResponse): unknown; - fromPartial(object: Partial): DelegationResponse; - fromAmino(object: DelegationResponseAmino): DelegationResponse; - toAmino(message: DelegationResponse): DelegationResponseAmino; - fromAminoMsg(object: DelegationResponseAminoMsg): DelegationResponse; - toAminoMsg(message: DelegationResponse): DelegationResponseAminoMsg; - fromProtoMsg(message: DelegationResponseProtoMsg): DelegationResponse; - toProto(message: DelegationResponse): Uint8Array; - toProtoMsg(message: DelegationResponse): DelegationResponseProtoMsg; -}; -export declare const RedelegationEntryResponse: { - encode(message: RedelegationEntryResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse; - fromJSON(object: any): RedelegationEntryResponse; - toJSON(message: RedelegationEntryResponse): unknown; - fromPartial(object: Partial): RedelegationEntryResponse; - fromAmino(object: RedelegationEntryResponseAmino): RedelegationEntryResponse; - toAmino(message: RedelegationEntryResponse): RedelegationEntryResponseAmino; - fromAminoMsg(object: RedelegationEntryResponseAminoMsg): RedelegationEntryResponse; - toAminoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseAminoMsg; - fromProtoMsg(message: RedelegationEntryResponseProtoMsg): RedelegationEntryResponse; - toProto(message: RedelegationEntryResponse): Uint8Array; - toProtoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseProtoMsg; -}; -export declare const RedelegationResponse: { - encode(message: RedelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse; - fromJSON(object: any): RedelegationResponse; - toJSON(message: RedelegationResponse): unknown; - fromPartial(object: Partial): RedelegationResponse; - fromAmino(object: RedelegationResponseAmino): RedelegationResponse; - toAmino(message: RedelegationResponse): RedelegationResponseAmino; - fromAminoMsg(object: RedelegationResponseAminoMsg): RedelegationResponse; - toAminoMsg(message: RedelegationResponse): RedelegationResponseAminoMsg; - fromProtoMsg(message: RedelegationResponseProtoMsg): RedelegationResponse; - toProto(message: RedelegationResponse): Uint8Array; - toProtoMsg(message: RedelegationResponse): RedelegationResponseProtoMsg; -}; -export declare const Pool: { - encode(message: Pool, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Pool; - fromJSON(object: any): Pool; - toJSON(message: Pool): unknown; - fromPartial(object: Partial): Pool; - fromAmino(object: PoolAmino): Pool; - toAmino(message: Pool): PoolAmino; - fromAminoMsg(object: PoolAminoMsg): Pool; - toAminoMsg(message: Pool): PoolAminoMsg; - fromProtoMsg(message: PoolProtoMsg): Pool; - toProto(message: Pool): Uint8Array; - toProtoMsg(message: Pool): PoolProtoMsg; -}; -export declare const Cosmos_cryptoPubKey_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => Any; -export declare const Cosmos_cryptoPubKey_FromAmino: (content: AnyAmino) => string; -export declare const Cosmos_cryptoPubKey_ToAmino: (content: Any) => { - typeUrl: string; - value: Uint8Array; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts deleted file mode 100644 index 91d9e145..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation } from "./tx"; -export declare const AminoConverter: { - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: string; - toAmino: (message: MsgCreateValidator) => import("./tx").MsgCreateValidatorAmino; - fromAmino: (object: import("./tx").MsgCreateValidatorAmino) => MsgCreateValidator; - }; - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: string; - toAmino: (message: MsgEditValidator) => import("./tx").MsgEditValidatorAmino; - fromAmino: (object: import("./tx").MsgEditValidatorAmino) => MsgEditValidator; - }; - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: string; - toAmino: (message: MsgDelegate) => import("./tx").MsgDelegateAmino; - fromAmino: (object: import("./tx").MsgDelegateAmino) => MsgDelegate; - }; - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: string; - toAmino: (message: MsgBeginRedelegate) => import("./tx").MsgBeginRedelegateAmino; - fromAmino: (object: import("./tx").MsgBeginRedelegateAmino) => MsgBeginRedelegate; - }; - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: string; - toAmino: (message: MsgUndelegate) => import("./tx").MsgUndelegateAmino; - fromAmino: (object: import("./tx").MsgUndelegateAmino) => MsgUndelegate; - }; - "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation": { - aminoType: string; - toAmino: (message: MsgCancelUnbondingDelegation) => import("./tx").MsgCancelUnbondingDelegationAmino; - fromAmino: (object: import("./tx").MsgCancelUnbondingDelegationAmino) => MsgCancelUnbondingDelegation; - }; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/tx.d.ts deleted file mode 100644 index f47e5f6b..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.d.ts +++ /dev/null @@ -1,535 +0,0 @@ -import { Description, DescriptionAmino, DescriptionSDKType, CommissionRates, CommissionRatesAmino, CommissionRatesSDKType } from "./staking"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidator { - description: Description; - commission: CommissionRates; - minSelfDelegation: string; - delegatorAddress: string; - validatorAddress: string; - pubkey: (Any) | undefined; - value: Coin; -} -export interface MsgCreateValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator"; - value: Uint8Array; -} -export type MsgCreateValidatorEncoded = Omit & { - pubkey?: AnyProtoMsg | undefined; -}; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidatorAmino { - description?: DescriptionAmino; - commission?: CommissionRatesAmino; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey?: AnyAmino; - value?: CoinAmino; -} -export interface MsgCreateValidatorAminoMsg { - type: "cosmos-sdk/MsgCreateValidator"; - value: MsgCreateValidatorAmino; -} -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidatorSDKType { - description: DescriptionSDKType; - commission: CommissionRatesSDKType; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey: AnySDKType | undefined; - value: CoinSDKType; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponse { -} -export interface MsgCreateValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse"; - value: Uint8Array; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponseAmino { -} -export interface MsgCreateValidatorResponseAminoMsg { - type: "cosmos-sdk/MsgCreateValidatorResponse"; - value: MsgCreateValidatorResponseAmino; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponseSDKType { -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidator { - description: Description; - validatorAddress: string; - /** - * We pass a reference to the new commission rate and min self delegation as - * it's not mandatory to update. If not updated, the deserialized rate will be - * zero with no way to distinguish if an update was intended. - * REF: #2373 - */ - commissionRate: string; - minSelfDelegation: string; -} -export interface MsgEditValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator"; - value: Uint8Array; -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidatorAmino { - description?: DescriptionAmino; - validator_address: string; - /** - * We pass a reference to the new commission rate and min self delegation as - * it's not mandatory to update. If not updated, the deserialized rate will be - * zero with no way to distinguish if an update was intended. - * REF: #2373 - */ - commission_rate: string; - min_self_delegation: string; -} -export interface MsgEditValidatorAminoMsg { - type: "cosmos-sdk/MsgEditValidator"; - value: MsgEditValidatorAmino; -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidatorSDKType { - description: DescriptionSDKType; - validator_address: string; - commission_rate: string; - min_self_delegation: string; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponse { -} -export interface MsgEditValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse"; - value: Uint8Array; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponseAmino { -} -export interface MsgEditValidatorResponseAminoMsg { - type: "cosmos-sdk/MsgEditValidatorResponse"; - value: MsgEditValidatorResponseAmino; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponseSDKType { -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegate { - delegatorAddress: string; - validatorAddress: string; - amount: Coin; -} -export interface MsgDelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate"; - value: Uint8Array; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegateAmino { - delegator_address: string; - validator_address: string; - amount?: CoinAmino; -} -export interface MsgDelegateAminoMsg { - type: "cosmos-sdk/MsgDelegate"; - value: MsgDelegateAmino; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegateSDKType { - delegator_address: string; - validator_address: string; - amount: CoinSDKType; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponse { -} -export interface MsgDelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse"; - value: Uint8Array; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponseAmino { -} -export interface MsgDelegateResponseAminoMsg { - type: "cosmos-sdk/MsgDelegateResponse"; - value: MsgDelegateResponseAmino; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponseSDKType { -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegate { - delegatorAddress: string; - validatorSrcAddress: string; - validatorDstAddress: string; - amount: Coin; -} -export interface MsgBeginRedelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate"; - value: Uint8Array; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegateAmino { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount?: CoinAmino; -} -export interface MsgBeginRedelegateAminoMsg { - type: "cosmos-sdk/MsgBeginRedelegate"; - value: MsgBeginRedelegateAmino; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegateSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount: CoinSDKType; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponse { - completionTime: Timestamp; -} -export interface MsgBeginRedelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse"; - value: Uint8Array; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponseAmino { - completion_time?: TimestampAmino; -} -export interface MsgBeginRedelegateResponseAminoMsg { - type: "cosmos-sdk/MsgBeginRedelegateResponse"; - value: MsgBeginRedelegateResponseAmino; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponseSDKType { - completion_time: TimestampSDKType; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegate { - delegatorAddress: string; - validatorAddress: string; - amount: Coin; -} -export interface MsgUndelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate"; - value: Uint8Array; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegateAmino { - delegator_address: string; - validator_address: string; - amount?: CoinAmino; -} -export interface MsgUndelegateAminoMsg { - type: "cosmos-sdk/MsgUndelegate"; - value: MsgUndelegateAmino; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegateSDKType { - delegator_address: string; - validator_address: string; - amount: CoinSDKType; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponse { - completionTime: Timestamp; -} -export interface MsgUndelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse"; - value: Uint8Array; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponseAmino { - completion_time?: TimestampAmino; -} -export interface MsgUndelegateResponseAminoMsg { - type: "cosmos-sdk/MsgUndelegateResponse"; - value: MsgUndelegateResponseAmino; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponseSDKType { - completion_time: TimestampSDKType; -} -/** - * MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUnbondingDelegation { - delegatorAddress: string; - validatorAddress: string; - /** amount is always less than or equal to unbonding delegation entry balance */ - amount: Coin; - /** creation_height is the height which the unbonding took place. */ - creationHeight: Long; -} -export interface MsgCancelUnbondingDelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation"; - value: Uint8Array; -} -/** - * MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUnbondingDelegationAmino { - delegator_address: string; - validator_address: string; - /** amount is always less than or equal to unbonding delegation entry balance */ - amount?: CoinAmino; - /** creation_height is the height which the unbonding took place. */ - creation_height: string; -} -export interface MsgCancelUnbondingDelegationAminoMsg { - type: "cosmos-sdk/MsgCancelUnbondingDelegation"; - value: MsgCancelUnbondingDelegationAmino; -} -/** - * MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUnbondingDelegationSDKType { - delegator_address: string; - validator_address: string; - amount: CoinSDKType; - creation_height: Long; -} -/** - * MsgCancelUnbondingDelegationResponse - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUnbondingDelegationResponse { -} -export interface MsgCancelUnbondingDelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse"; - value: Uint8Array; -} -/** - * MsgCancelUnbondingDelegationResponse - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUnbondingDelegationResponseAmino { -} -export interface MsgCancelUnbondingDelegationResponseAminoMsg { - type: "cosmos-sdk/MsgCancelUnbondingDelegationResponse"; - value: MsgCancelUnbondingDelegationResponseAmino; -} -/** - * MsgCancelUnbondingDelegationResponse - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUnbondingDelegationResponseSDKType { -} -export declare const MsgCreateValidator: { - encode(message: MsgCreateValidator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator; - fromJSON(object: any): MsgCreateValidator; - toJSON(message: MsgCreateValidator): unknown; - fromPartial(object: Partial): MsgCreateValidator; - fromAmino(object: MsgCreateValidatorAmino): MsgCreateValidator; - toAmino(message: MsgCreateValidator): MsgCreateValidatorAmino; - fromAminoMsg(object: MsgCreateValidatorAminoMsg): MsgCreateValidator; - toAminoMsg(message: MsgCreateValidator): MsgCreateValidatorAminoMsg; - fromProtoMsg(message: MsgCreateValidatorProtoMsg): MsgCreateValidator; - toProto(message: MsgCreateValidator): Uint8Array; - toProtoMsg(message: MsgCreateValidator): MsgCreateValidatorProtoMsg; -}; -export declare const MsgCreateValidatorResponse: { - encode(_: MsgCreateValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse; - fromJSON(_: any): MsgCreateValidatorResponse; - toJSON(_: MsgCreateValidatorResponse): unknown; - fromPartial(_: Partial): MsgCreateValidatorResponse; - fromAmino(_: MsgCreateValidatorResponseAmino): MsgCreateValidatorResponse; - toAmino(_: MsgCreateValidatorResponse): MsgCreateValidatorResponseAmino; - fromAminoMsg(object: MsgCreateValidatorResponseAminoMsg): MsgCreateValidatorResponse; - toAminoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseAminoMsg; - fromProtoMsg(message: MsgCreateValidatorResponseProtoMsg): MsgCreateValidatorResponse; - toProto(message: MsgCreateValidatorResponse): Uint8Array; - toProtoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseProtoMsg; -}; -export declare const MsgEditValidator: { - encode(message: MsgEditValidator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator; - fromJSON(object: any): MsgEditValidator; - toJSON(message: MsgEditValidator): unknown; - fromPartial(object: Partial): MsgEditValidator; - fromAmino(object: MsgEditValidatorAmino): MsgEditValidator; - toAmino(message: MsgEditValidator): MsgEditValidatorAmino; - fromAminoMsg(object: MsgEditValidatorAminoMsg): MsgEditValidator; - toAminoMsg(message: MsgEditValidator): MsgEditValidatorAminoMsg; - fromProtoMsg(message: MsgEditValidatorProtoMsg): MsgEditValidator; - toProto(message: MsgEditValidator): Uint8Array; - toProtoMsg(message: MsgEditValidator): MsgEditValidatorProtoMsg; -}; -export declare const MsgEditValidatorResponse: { - encode(_: MsgEditValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse; - fromJSON(_: any): MsgEditValidatorResponse; - toJSON(_: MsgEditValidatorResponse): unknown; - fromPartial(_: Partial): MsgEditValidatorResponse; - fromAmino(_: MsgEditValidatorResponseAmino): MsgEditValidatorResponse; - toAmino(_: MsgEditValidatorResponse): MsgEditValidatorResponseAmino; - fromAminoMsg(object: MsgEditValidatorResponseAminoMsg): MsgEditValidatorResponse; - toAminoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseAminoMsg; - fromProtoMsg(message: MsgEditValidatorResponseProtoMsg): MsgEditValidatorResponse; - toProto(message: MsgEditValidatorResponse): Uint8Array; - toProtoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseProtoMsg; -}; -export declare const MsgDelegate: { - encode(message: MsgDelegate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate; - fromJSON(object: any): MsgDelegate; - toJSON(message: MsgDelegate): unknown; - fromPartial(object: Partial): MsgDelegate; - fromAmino(object: MsgDelegateAmino): MsgDelegate; - toAmino(message: MsgDelegate): MsgDelegateAmino; - fromAminoMsg(object: MsgDelegateAminoMsg): MsgDelegate; - toAminoMsg(message: MsgDelegate): MsgDelegateAminoMsg; - fromProtoMsg(message: MsgDelegateProtoMsg): MsgDelegate; - toProto(message: MsgDelegate): Uint8Array; - toProtoMsg(message: MsgDelegate): MsgDelegateProtoMsg; -}; -export declare const MsgDelegateResponse: { - encode(_: MsgDelegateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse; - fromJSON(_: any): MsgDelegateResponse; - toJSON(_: MsgDelegateResponse): unknown; - fromPartial(_: Partial): MsgDelegateResponse; - fromAmino(_: MsgDelegateResponseAmino): MsgDelegateResponse; - toAmino(_: MsgDelegateResponse): MsgDelegateResponseAmino; - fromAminoMsg(object: MsgDelegateResponseAminoMsg): MsgDelegateResponse; - toAminoMsg(message: MsgDelegateResponse): MsgDelegateResponseAminoMsg; - fromProtoMsg(message: MsgDelegateResponseProtoMsg): MsgDelegateResponse; - toProto(message: MsgDelegateResponse): Uint8Array; - toProtoMsg(message: MsgDelegateResponse): MsgDelegateResponseProtoMsg; -}; -export declare const MsgBeginRedelegate: { - encode(message: MsgBeginRedelegate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate; - fromJSON(object: any): MsgBeginRedelegate; - toJSON(message: MsgBeginRedelegate): unknown; - fromPartial(object: Partial): MsgBeginRedelegate; - fromAmino(object: MsgBeginRedelegateAmino): MsgBeginRedelegate; - toAmino(message: MsgBeginRedelegate): MsgBeginRedelegateAmino; - fromAminoMsg(object: MsgBeginRedelegateAminoMsg): MsgBeginRedelegate; - toAminoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateAminoMsg; - fromProtoMsg(message: MsgBeginRedelegateProtoMsg): MsgBeginRedelegate; - toProto(message: MsgBeginRedelegate): Uint8Array; - toProtoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateProtoMsg; -}; -export declare const MsgBeginRedelegateResponse: { - encode(message: MsgBeginRedelegateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse; - fromJSON(object: any): MsgBeginRedelegateResponse; - toJSON(message: MsgBeginRedelegateResponse): unknown; - fromPartial(object: Partial): MsgBeginRedelegateResponse; - fromAmino(object: MsgBeginRedelegateResponseAmino): MsgBeginRedelegateResponse; - toAmino(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAmino; - fromAminoMsg(object: MsgBeginRedelegateResponseAminoMsg): MsgBeginRedelegateResponse; - toAminoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAminoMsg; - fromProtoMsg(message: MsgBeginRedelegateResponseProtoMsg): MsgBeginRedelegateResponse; - toProto(message: MsgBeginRedelegateResponse): Uint8Array; - toProtoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseProtoMsg; -}; -export declare const MsgUndelegate: { - encode(message: MsgUndelegate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate; - fromJSON(object: any): MsgUndelegate; - toJSON(message: MsgUndelegate): unknown; - fromPartial(object: Partial): MsgUndelegate; - fromAmino(object: MsgUndelegateAmino): MsgUndelegate; - toAmino(message: MsgUndelegate): MsgUndelegateAmino; - fromAminoMsg(object: MsgUndelegateAminoMsg): MsgUndelegate; - toAminoMsg(message: MsgUndelegate): MsgUndelegateAminoMsg; - fromProtoMsg(message: MsgUndelegateProtoMsg): MsgUndelegate; - toProto(message: MsgUndelegate): Uint8Array; - toProtoMsg(message: MsgUndelegate): MsgUndelegateProtoMsg; -}; -export declare const MsgUndelegateResponse: { - encode(message: MsgUndelegateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse; - fromJSON(object: any): MsgUndelegateResponse; - toJSON(message: MsgUndelegateResponse): unknown; - fromPartial(object: Partial): MsgUndelegateResponse; - fromAmino(object: MsgUndelegateResponseAmino): MsgUndelegateResponse; - toAmino(message: MsgUndelegateResponse): MsgUndelegateResponseAmino; - fromAminoMsg(object: MsgUndelegateResponseAminoMsg): MsgUndelegateResponse; - toAminoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseAminoMsg; - fromProtoMsg(message: MsgUndelegateResponseProtoMsg): MsgUndelegateResponse; - toProto(message: MsgUndelegateResponse): Uint8Array; - toProtoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseProtoMsg; -}; -export declare const MsgCancelUnbondingDelegation: { - encode(message: MsgCancelUnbondingDelegation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUnbondingDelegation; - fromJSON(object: any): MsgCancelUnbondingDelegation; - toJSON(message: MsgCancelUnbondingDelegation): unknown; - fromPartial(object: Partial): MsgCancelUnbondingDelegation; - fromAmino(object: MsgCancelUnbondingDelegationAmino): MsgCancelUnbondingDelegation; - toAmino(message: MsgCancelUnbondingDelegation): MsgCancelUnbondingDelegationAmino; - fromAminoMsg(object: MsgCancelUnbondingDelegationAminoMsg): MsgCancelUnbondingDelegation; - toAminoMsg(message: MsgCancelUnbondingDelegation): MsgCancelUnbondingDelegationAminoMsg; - fromProtoMsg(message: MsgCancelUnbondingDelegationProtoMsg): MsgCancelUnbondingDelegation; - toProto(message: MsgCancelUnbondingDelegation): Uint8Array; - toProtoMsg(message: MsgCancelUnbondingDelegation): MsgCancelUnbondingDelegationProtoMsg; -}; -export declare const MsgCancelUnbondingDelegationResponse: { - encode(_: MsgCancelUnbondingDelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUnbondingDelegationResponse; - fromJSON(_: any): MsgCancelUnbondingDelegationResponse; - toJSON(_: MsgCancelUnbondingDelegationResponse): unknown; - fromPartial(_: Partial): MsgCancelUnbondingDelegationResponse; - fromAmino(_: MsgCancelUnbondingDelegationResponseAmino): MsgCancelUnbondingDelegationResponse; - toAmino(_: MsgCancelUnbondingDelegationResponse): MsgCancelUnbondingDelegationResponseAmino; - fromAminoMsg(object: MsgCancelUnbondingDelegationResponseAminoMsg): MsgCancelUnbondingDelegationResponse; - toAminoMsg(message: MsgCancelUnbondingDelegationResponse): MsgCancelUnbondingDelegationResponseAminoMsg; - fromProtoMsg(message: MsgCancelUnbondingDelegationResponseProtoMsg): MsgCancelUnbondingDelegationResponse; - toProto(message: MsgCancelUnbondingDelegationResponse): Uint8Array; - toProtoMsg(message: MsgCancelUnbondingDelegationResponse): MsgCancelUnbondingDelegationResponseProtoMsg; -}; -export declare const Cosmos_cryptoPubKey_InterfaceDecoder: (input: _m0.Reader | Uint8Array) => Any; -export declare const Cosmos_cryptoPubKey_FromAmino: (content: AnyAmino) => string; -export declare const Cosmos_cryptoPubKey_ToAmino: (content: Any) => { - typeUrl: string; - value: Uint8Array; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts deleted file mode 100644 index 58406e5f..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate, MsgCancelUnbondingDelegation } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: Uint8Array; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: Uint8Array; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: Uint8Array; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: Uint8Array; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: Uint8Array; - }; - cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: MsgCreateValidator; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: MsgEditValidator; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: MsgDelegate; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: MsgBeginRedelegate; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: MsgUndelegate; - }; - cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): { - typeUrl: string; - value: MsgCancelUnbondingDelegation; - }; - }; - toJSON: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: unknown; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: unknown; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: unknown; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: unknown; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: unknown; - }; - cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createValidator(value: any): { - typeUrl: string; - value: MsgCreateValidator; - }; - editValidator(value: any): { - typeUrl: string; - value: MsgEditValidator; - }; - delegate(value: any): { - typeUrl: string; - value: MsgDelegate; - }; - beginRedelegate(value: any): { - typeUrl: string; - value: MsgBeginRedelegate; - }; - undelegate(value: any): { - typeUrl: string; - value: MsgUndelegate; - }; - cancelUnbondingDelegation(value: any): { - typeUrl: string; - value: MsgCancelUnbondingDelegation; - }; - }; - fromPartial: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: MsgCreateValidator; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: MsgEditValidator; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: MsgDelegate; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: MsgBeginRedelegate; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: MsgUndelegate; - }; - cancelUnbondingDelegation(value: MsgCancelUnbondingDelegation): { - typeUrl: string; - value: MsgCancelUnbondingDelegation; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index c57e500e..00000000 --- a/packages/api/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgCreateValidator, MsgCreateValidatorResponse, MsgEditValidator, MsgEditValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgUndelegate, MsgUndelegateResponse, MsgCancelUnbondingDelegation, MsgCancelUnbondingDelegationResponse } from "./tx"; -/** Msg defines the staking Msg service. */ -export interface Msg { - /** CreateValidator defines a method for creating a new validator. */ - createValidator(request: MsgCreateValidator): Promise; - /** EditValidator defines a method for editing an existing validator. */ - editValidator(request: MsgEditValidator): Promise; - /** - * Delegate defines a method for performing a delegation of coins - * from a delegator to a validator. - */ - delegate(request: MsgDelegate): Promise; - /** - * BeginRedelegate defines a method for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ - beginRedelegate(request: MsgBeginRedelegate): Promise; - /** - * Undelegate defines a method for performing an undelegation from a - * delegate and a validator. - */ - undelegate(request: MsgUndelegate): Promise; - /** - * CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation - * and delegate back to previous validator. - * - * Since: cosmos-sdk 0.46 - */ - cancelUnbondingDelegation(request: MsgCancelUnbondingDelegation): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createValidator(request: MsgCreateValidator): Promise; - editValidator(request: MsgEditValidator): Promise; - delegate(request: MsgDelegate): Promise; - beginRedelegate(request: MsgBeginRedelegate): Promise; - undelegate(request: MsgUndelegate): Promise; - cancelUnbondingDelegation(request: MsgCancelUnbondingDelegation): Promise; -} diff --git a/packages/api/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts b/packages/api/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts deleted file mode 100644 index 7ac8b66e..00000000 --- a/packages/api/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +++ /dev/null @@ -1,290 +0,0 @@ -import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * SignMode represents a signing mode with its own security guarantees. - * - * This enum should be considered a registry of all known sign modes - * in the Cosmos ecosystem. Apps are not expected to support all known - * sign modes. Apps that would like to support custom sign modes are - * encouraged to open a small PR against this file to add a new case - * to this SignMode enum describing their sign mode so that different - * apps have a consistent version of this enum. - */ -export declare enum SignMode { - /** - * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be - * rejected. - */ - SIGN_MODE_UNSPECIFIED = 0, - /** - * SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is - * verified with raw bytes from Tx. - */ - SIGN_MODE_DIRECT = 1, - /** - * SIGN_MODE_TEXTUAL - SIGN_MODE_TEXTUAL is a future signing mode that will verify some - * human-readable textual representation on top of the binary representation - * from SIGN_MODE_DIRECT. It is currently not supported. - */ - SIGN_MODE_TEXTUAL = 2, - /** - * SIGN_MODE_DIRECT_AUX - SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - * SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not - * require signers signing over other signers' `signer_info`. It also allows - * for adding Tips in transactions. - * - * Since: cosmos-sdk 0.46 - */ - SIGN_MODE_DIRECT_AUX = 3, - /** - * SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses - * Amino JSON and will be removed in the future. - */ - SIGN_MODE_LEGACY_AMINO_JSON = 127, - /** - * SIGN_MODE_EIP_191 - SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos - * SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 - * - * Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, - * but is not implemented on the SDK by default. To enable EIP-191, you need - * to pass a custom `TxConfig` that has an implementation of - * `SignModeHandler` for EIP-191. The SDK may decide to fully support - * EIP-191 in the future. - * - * Since: cosmos-sdk 0.45.2 - */ - SIGN_MODE_EIP_191 = 191, - UNRECOGNIZED = -1 -} -export declare const SignModeSDKType: typeof SignMode; -export declare const SignModeAmino: typeof SignMode; -export declare function signModeFromJSON(object: any): SignMode; -export declare function signModeToJSON(object: SignMode): string; -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptors { - /** signatures are the signature descriptors */ - signatures: SignatureDescriptor[]; -} -export interface SignatureDescriptorsProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptors"; - value: Uint8Array; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptorsAmino { - /** signatures are the signature descriptors */ - signatures: SignatureDescriptorAmino[]; -} -export interface SignatureDescriptorsAminoMsg { - type: "cosmos-sdk/SignatureDescriptors"; - value: SignatureDescriptorsAmino; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptorsSDKType { - signatures: SignatureDescriptorSDKType[]; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptor { - /** public_key is the public key of the signer */ - publicKey: Any; - data: SignatureDescriptor_Data; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - sequence: Long; -} -export interface SignatureDescriptorProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptor"; - value: Uint8Array; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptorAmino { - /** public_key is the public key of the signer */ - public_key?: AnyAmino; - data?: SignatureDescriptor_DataAmino; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - sequence: string; -} -export interface SignatureDescriptorAminoMsg { - type: "cosmos-sdk/SignatureDescriptor"; - value: SignatureDescriptorAmino; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptorSDKType { - public_key: AnySDKType; - data: SignatureDescriptor_DataSDKType; - sequence: Long; -} -/** Data represents signature data */ -export interface SignatureDescriptor_Data { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_Single; - /** multi represents a multisig signer */ - multi?: SignatureDescriptor_Data_Multi; -} -export interface SignatureDescriptor_DataProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Data"; - value: Uint8Array; -} -/** Data represents signature data */ -export interface SignatureDescriptor_DataAmino { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_SingleAmino; - /** multi represents a multisig signer */ - multi?: SignatureDescriptor_Data_MultiAmino; -} -export interface SignatureDescriptor_DataAminoMsg { - type: "cosmos-sdk/Data"; - value: SignatureDescriptor_DataAmino; -} -/** Data represents signature data */ -export interface SignatureDescriptor_DataSDKType { - single?: SignatureDescriptor_Data_SingleSDKType; - multi?: SignatureDescriptor_Data_MultiSDKType; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** signature is the raw signature bytes */ - signature: Uint8Array; -} -export interface SignatureDescriptor_Data_SingleProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Single"; - value: Uint8Array; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_SingleAmino { - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** signature is the raw signature bytes */ - signature: Uint8Array; -} -export interface SignatureDescriptor_Data_SingleAminoMsg { - type: "cosmos-sdk/Single"; - value: SignatureDescriptor_Data_SingleAmino; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_SingleSDKType { - mode: SignMode; - signature: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray; - /** signatures is the signatures of the multi-signature */ - signatures: SignatureDescriptor_Data[]; -} -export interface SignatureDescriptor_Data_MultiProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Multi"; - value: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_MultiAmino { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArrayAmino; - /** signatures is the signatures of the multi-signature */ - signatures: SignatureDescriptor_DataAmino[]; -} -export interface SignatureDescriptor_Data_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: SignatureDescriptor_Data_MultiAmino; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_MultiSDKType { - bitarray: CompactBitArraySDKType; - signatures: SignatureDescriptor_DataSDKType[]; -} -export declare const SignatureDescriptors: { - encode(message: SignatureDescriptors, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptors; - fromJSON(object: any): SignatureDescriptors; - toJSON(message: SignatureDescriptors): unknown; - fromPartial(object: Partial): SignatureDescriptors; - fromAmino(object: SignatureDescriptorsAmino): SignatureDescriptors; - toAmino(message: SignatureDescriptors): SignatureDescriptorsAmino; - fromAminoMsg(object: SignatureDescriptorsAminoMsg): SignatureDescriptors; - toAminoMsg(message: SignatureDescriptors): SignatureDescriptorsAminoMsg; - fromProtoMsg(message: SignatureDescriptorsProtoMsg): SignatureDescriptors; - toProto(message: SignatureDescriptors): Uint8Array; - toProtoMsg(message: SignatureDescriptors): SignatureDescriptorsProtoMsg; -}; -export declare const SignatureDescriptor: { - encode(message: SignatureDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor; - fromJSON(object: any): SignatureDescriptor; - toJSON(message: SignatureDescriptor): unknown; - fromPartial(object: Partial): SignatureDescriptor; - fromAmino(object: SignatureDescriptorAmino): SignatureDescriptor; - toAmino(message: SignatureDescriptor): SignatureDescriptorAmino; - fromAminoMsg(object: SignatureDescriptorAminoMsg): SignatureDescriptor; - toAminoMsg(message: SignatureDescriptor): SignatureDescriptorAminoMsg; - fromProtoMsg(message: SignatureDescriptorProtoMsg): SignatureDescriptor; - toProto(message: SignatureDescriptor): Uint8Array; - toProtoMsg(message: SignatureDescriptor): SignatureDescriptorProtoMsg; -}; -export declare const SignatureDescriptor_Data: { - encode(message: SignatureDescriptor_Data, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data; - fromJSON(object: any): SignatureDescriptor_Data; - toJSON(message: SignatureDescriptor_Data): unknown; - fromPartial(object: Partial): SignatureDescriptor_Data; - fromAmino(object: SignatureDescriptor_DataAmino): SignatureDescriptor_Data; - toAmino(message: SignatureDescriptor_Data): SignatureDescriptor_DataAmino; - fromAminoMsg(object: SignatureDescriptor_DataAminoMsg): SignatureDescriptor_Data; - toAminoMsg(message: SignatureDescriptor_Data): SignatureDescriptor_DataAminoMsg; - fromProtoMsg(message: SignatureDescriptor_DataProtoMsg): SignatureDescriptor_Data; - toProto(message: SignatureDescriptor_Data): Uint8Array; - toProtoMsg(message: SignatureDescriptor_Data): SignatureDescriptor_DataProtoMsg; -}; -export declare const SignatureDescriptor_Data_Single: { - encode(message: SignatureDescriptor_Data_Single, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Single; - fromJSON(object: any): SignatureDescriptor_Data_Single; - toJSON(message: SignatureDescriptor_Data_Single): unknown; - fromPartial(object: Partial): SignatureDescriptor_Data_Single; - fromAmino(object: SignatureDescriptor_Data_SingleAmino): SignatureDescriptor_Data_Single; - toAmino(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleAmino; - fromAminoMsg(object: SignatureDescriptor_Data_SingleAminoMsg): SignatureDescriptor_Data_Single; - toAminoMsg(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleAminoMsg; - fromProtoMsg(message: SignatureDescriptor_Data_SingleProtoMsg): SignatureDescriptor_Data_Single; - toProto(message: SignatureDescriptor_Data_Single): Uint8Array; - toProtoMsg(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleProtoMsg; -}; -export declare const SignatureDescriptor_Data_Multi: { - encode(message: SignatureDescriptor_Data_Multi, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi; - fromJSON(object: any): SignatureDescriptor_Data_Multi; - toJSON(message: SignatureDescriptor_Data_Multi): unknown; - fromPartial(object: Partial): SignatureDescriptor_Data_Multi; - fromAmino(object: SignatureDescriptor_Data_MultiAmino): SignatureDescriptor_Data_Multi; - toAmino(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiAmino; - fromAminoMsg(object: SignatureDescriptor_Data_MultiAminoMsg): SignatureDescriptor_Data_Multi; - toAminoMsg(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiAminoMsg; - fromProtoMsg(message: SignatureDescriptor_Data_MultiProtoMsg): SignatureDescriptor_Data_Multi; - toProto(message: SignatureDescriptor_Data_Multi): Uint8Array; - toProtoMsg(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/tx/v1beta1/service.d.ts b/packages/api/types/codegen/cosmos/tx/v1beta1/service.d.ts deleted file mode 100644 index 7de34e6b..00000000 --- a/packages/api/types/codegen/cosmos/tx/v1beta1/service.d.ts +++ /dev/null @@ -1,604 +0,0 @@ -import { Tx, TxAmino, TxSDKType } from "./tx"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { TxResponse, TxResponseAmino, TxResponseSDKType, GasInfo, GasInfoAmino, GasInfoSDKType, Result, ResultAmino, ResultSDKType } from "../../base/abci/v1beta1/abci"; -import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../tendermint/types/types"; -import { Block, BlockAmino, BlockSDKType } from "../../../tendermint/types/block"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** OrderBy defines the sorting order */ -export declare enum OrderBy { - /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */ - ORDER_BY_UNSPECIFIED = 0, - /** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */ - ORDER_BY_ASC = 1, - /** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */ - ORDER_BY_DESC = 2, - UNRECOGNIZED = -1 -} -export declare const OrderBySDKType: typeof OrderBy; -export declare const OrderByAmino: typeof OrderBy; -export declare function orderByFromJSON(object: any): OrderBy; -export declare function orderByToJSON(object: OrderBy): string; -/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ -export declare enum BroadcastMode { - /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ - BROADCAST_MODE_UNSPECIFIED = 0, - /** - * BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - * the tx to be committed in a block. - */ - BROADCAST_MODE_BLOCK = 1, - /** - * BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - * a CheckTx execution response only. - */ - BROADCAST_MODE_SYNC = 2, - /** - * BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - * immediately. - */ - BROADCAST_MODE_ASYNC = 3, - UNRECOGNIZED = -1 -} -export declare const BroadcastModeSDKType: typeof BroadcastMode; -export declare const BroadcastModeAmino: typeof BroadcastMode; -export declare function broadcastModeFromJSON(object: any): BroadcastMode; -export declare function broadcastModeToJSON(object: BroadcastMode): string; -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequest { - /** events is the list of transaction event type. */ - events: string[]; - /** - * pagination defines a pagination for the request. - * Deprecated post v0.46.x: use page and limit instead. - */ - /** @deprecated */ - pagination: PageRequest; - orderBy: OrderBy; - /** page is the page number to query, starts at 1. If not provided, will default to first page. */ - page: Long; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: Long; -} -export interface GetTxsEventRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest"; - value: Uint8Array; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequestAmino { - /** events is the list of transaction event type. */ - events: string[]; - /** - * pagination defines a pagination for the request. - * Deprecated post v0.46.x: use page and limit instead. - */ - /** @deprecated */ - pagination?: PageRequestAmino; - order_by: OrderBy; - /** page is the page number to query, starts at 1. If not provided, will default to first page. */ - page: string; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: string; -} -export interface GetTxsEventRequestAminoMsg { - type: "cosmos-sdk/GetTxsEventRequest"; - value: GetTxsEventRequestAmino; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequestSDKType { - events: string[]; - /** @deprecated */ - pagination: PageRequestSDKType; - order_by: OrderBy; - page: Long; - limit: Long; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponse { - /** txs is the list of queried transactions. */ - txs: Tx[]; - /** tx_responses is the list of queried TxResponses. */ - txResponses: TxResponse[]; - /** - * pagination defines a pagination for the response. - * Deprecated post v0.46.x: use total instead. - */ - /** @deprecated */ - pagination: PageResponse; - /** total is total number of results available */ - total: Long; -} -export interface GetTxsEventResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse"; - value: Uint8Array; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponseAmino { - /** txs is the list of queried transactions. */ - txs: TxAmino[]; - /** tx_responses is the list of queried TxResponses. */ - tx_responses: TxResponseAmino[]; - /** - * pagination defines a pagination for the response. - * Deprecated post v0.46.x: use total instead. - */ - /** @deprecated */ - pagination?: PageResponseAmino; - /** total is total number of results available */ - total: string; -} -export interface GetTxsEventResponseAminoMsg { - type: "cosmos-sdk/GetTxsEventResponse"; - value: GetTxsEventResponseAmino; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponseSDKType { - txs: TxSDKType[]; - tx_responses: TxResponseSDKType[]; - /** @deprecated */ - pagination: PageResponseSDKType; - total: Long; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequest { - /** tx_bytes is the raw transaction. */ - txBytes: Uint8Array; - mode: BroadcastMode; -} -export interface BroadcastTxRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest"; - value: Uint8Array; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequestAmino { - /** tx_bytes is the raw transaction. */ - tx_bytes: Uint8Array; - mode: BroadcastMode; -} -export interface BroadcastTxRequestAminoMsg { - type: "cosmos-sdk/BroadcastTxRequest"; - value: BroadcastTxRequestAmino; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequestSDKType { - tx_bytes: Uint8Array; - mode: BroadcastMode; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponse { - /** tx_response is the queried TxResponses. */ - txResponse: TxResponse; -} -export interface BroadcastTxResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse"; - value: Uint8Array; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponseAmino { - /** tx_response is the queried TxResponses. */ - tx_response?: TxResponseAmino; -} -export interface BroadcastTxResponseAminoMsg { - type: "cosmos-sdk/BroadcastTxResponse"; - value: BroadcastTxResponseAmino; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponseSDKType { - tx_response: TxResponseSDKType; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequest { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - /** @deprecated */ - tx: Tx; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - txBytes: Uint8Array; -} -export interface SimulateRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SimulateRequest"; - value: Uint8Array; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequestAmino { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - /** @deprecated */ - tx?: TxAmino; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - tx_bytes: Uint8Array; -} -export interface SimulateRequestAminoMsg { - type: "cosmos-sdk/SimulateRequest"; - value: SimulateRequestAmino; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequestSDKType { - /** @deprecated */ - tx: TxSDKType; - tx_bytes: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponse { - /** gas_info is the information about gas used in the simulation. */ - gasInfo: GasInfo; - /** result is the result of the simulation. */ - result: Result; -} -export interface SimulateResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SimulateResponse"; - value: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponseAmino { - /** gas_info is the information about gas used in the simulation. */ - gas_info?: GasInfoAmino; - /** result is the result of the simulation. */ - result?: ResultAmino; -} -export interface SimulateResponseAminoMsg { - type: "cosmos-sdk/SimulateResponse"; - value: SimulateResponseAmino; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponseSDKType { - gas_info: GasInfoSDKType; - result: ResultSDKType; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequest { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -export interface GetTxRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxRequest"; - value: Uint8Array; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequestAmino { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -export interface GetTxRequestAminoMsg { - type: "cosmos-sdk/GetTxRequest"; - value: GetTxRequestAmino; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequestSDKType { - hash: string; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponse { - /** tx is the queried transaction. */ - tx: Tx; - /** tx_response is the queried TxResponses. */ - txResponse: TxResponse; -} -export interface GetTxResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxResponse"; - value: Uint8Array; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponseAmino { - /** tx is the queried transaction. */ - tx?: TxAmino; - /** tx_response is the queried TxResponses. */ - tx_response?: TxResponseAmino; -} -export interface GetTxResponseAminoMsg { - type: "cosmos-sdk/GetTxResponse"; - value: GetTxResponseAmino; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponseSDKType { - tx: TxSDKType; - tx_response: TxResponseSDKType; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequest { - /** height is the height of the block to query. */ - height: Long; - /** pagination defines a pagination for the request. */ - pagination: PageRequest; -} -export interface GetBlockWithTxsRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest"; - value: Uint8Array; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequestAmino { - /** height is the height of the block to query. */ - height: string; - /** pagination defines a pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetBlockWithTxsRequestAminoMsg { - type: "cosmos-sdk/GetBlockWithTxsRequest"; - value: GetBlockWithTxsRequestAmino; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequestSDKType { - height: Long; - pagination: PageRequestSDKType; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponse { - /** txs are the transactions in the block. */ - txs: Tx[]; - blockId: BlockID; - block: Block; - /** pagination defines a pagination for the response. */ - pagination: PageResponse; -} -export interface GetBlockWithTxsResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse"; - value: Uint8Array; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponseAmino { - /** txs are the transactions in the block. */ - txs: TxAmino[]; - block_id?: BlockIDAmino; - block?: BlockAmino; - /** pagination defines a pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetBlockWithTxsResponseAminoMsg { - type: "cosmos-sdk/GetBlockWithTxsResponse"; - value: GetBlockWithTxsResponseAmino; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponseSDKType { - txs: TxSDKType[]; - block_id: BlockIDSDKType; - block: BlockSDKType; - pagination: PageResponseSDKType; -} -export declare const GetTxsEventRequest: { - encode(message: GetTxsEventRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventRequest; - fromJSON(object: any): GetTxsEventRequest; - toJSON(message: GetTxsEventRequest): unknown; - fromPartial(object: Partial): GetTxsEventRequest; - fromAmino(object: GetTxsEventRequestAmino): GetTxsEventRequest; - toAmino(message: GetTxsEventRequest): GetTxsEventRequestAmino; - fromAminoMsg(object: GetTxsEventRequestAminoMsg): GetTxsEventRequest; - toAminoMsg(message: GetTxsEventRequest): GetTxsEventRequestAminoMsg; - fromProtoMsg(message: GetTxsEventRequestProtoMsg): GetTxsEventRequest; - toProto(message: GetTxsEventRequest): Uint8Array; - toProtoMsg(message: GetTxsEventRequest): GetTxsEventRequestProtoMsg; -}; -export declare const GetTxsEventResponse: { - encode(message: GetTxsEventResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse; - fromJSON(object: any): GetTxsEventResponse; - toJSON(message: GetTxsEventResponse): unknown; - fromPartial(object: Partial): GetTxsEventResponse; - fromAmino(object: GetTxsEventResponseAmino): GetTxsEventResponse; - toAmino(message: GetTxsEventResponse): GetTxsEventResponseAmino; - fromAminoMsg(object: GetTxsEventResponseAminoMsg): GetTxsEventResponse; - toAminoMsg(message: GetTxsEventResponse): GetTxsEventResponseAminoMsg; - fromProtoMsg(message: GetTxsEventResponseProtoMsg): GetTxsEventResponse; - toProto(message: GetTxsEventResponse): Uint8Array; - toProtoMsg(message: GetTxsEventResponse): GetTxsEventResponseProtoMsg; -}; -export declare const BroadcastTxRequest: { - encode(message: BroadcastTxRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest; - fromJSON(object: any): BroadcastTxRequest; - toJSON(message: BroadcastTxRequest): unknown; - fromPartial(object: Partial): BroadcastTxRequest; - fromAmino(object: BroadcastTxRequestAmino): BroadcastTxRequest; - toAmino(message: BroadcastTxRequest): BroadcastTxRequestAmino; - fromAminoMsg(object: BroadcastTxRequestAminoMsg): BroadcastTxRequest; - toAminoMsg(message: BroadcastTxRequest): BroadcastTxRequestAminoMsg; - fromProtoMsg(message: BroadcastTxRequestProtoMsg): BroadcastTxRequest; - toProto(message: BroadcastTxRequest): Uint8Array; - toProtoMsg(message: BroadcastTxRequest): BroadcastTxRequestProtoMsg; -}; -export declare const BroadcastTxResponse: { - encode(message: BroadcastTxResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse; - fromJSON(object: any): BroadcastTxResponse; - toJSON(message: BroadcastTxResponse): unknown; - fromPartial(object: Partial): BroadcastTxResponse; - fromAmino(object: BroadcastTxResponseAmino): BroadcastTxResponse; - toAmino(message: BroadcastTxResponse): BroadcastTxResponseAmino; - fromAminoMsg(object: BroadcastTxResponseAminoMsg): BroadcastTxResponse; - toAminoMsg(message: BroadcastTxResponse): BroadcastTxResponseAminoMsg; - fromProtoMsg(message: BroadcastTxResponseProtoMsg): BroadcastTxResponse; - toProto(message: BroadcastTxResponse): Uint8Array; - toProtoMsg(message: BroadcastTxResponse): BroadcastTxResponseProtoMsg; -}; -export declare const SimulateRequest: { - encode(message: SimulateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateRequest; - fromJSON(object: any): SimulateRequest; - toJSON(message: SimulateRequest): unknown; - fromPartial(object: Partial): SimulateRequest; - fromAmino(object: SimulateRequestAmino): SimulateRequest; - toAmino(message: SimulateRequest): SimulateRequestAmino; - fromAminoMsg(object: SimulateRequestAminoMsg): SimulateRequest; - toAminoMsg(message: SimulateRequest): SimulateRequestAminoMsg; - fromProtoMsg(message: SimulateRequestProtoMsg): SimulateRequest; - toProto(message: SimulateRequest): Uint8Array; - toProtoMsg(message: SimulateRequest): SimulateRequestProtoMsg; -}; -export declare const SimulateResponse: { - encode(message: SimulateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse; - fromJSON(object: any): SimulateResponse; - toJSON(message: SimulateResponse): unknown; - fromPartial(object: Partial): SimulateResponse; - fromAmino(object: SimulateResponseAmino): SimulateResponse; - toAmino(message: SimulateResponse): SimulateResponseAmino; - fromAminoMsg(object: SimulateResponseAminoMsg): SimulateResponse; - toAminoMsg(message: SimulateResponse): SimulateResponseAminoMsg; - fromProtoMsg(message: SimulateResponseProtoMsg): SimulateResponse; - toProto(message: SimulateResponse): Uint8Array; - toProtoMsg(message: SimulateResponse): SimulateResponseProtoMsg; -}; -export declare const GetTxRequest: { - encode(message: GetTxRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxRequest; - fromJSON(object: any): GetTxRequest; - toJSON(message: GetTxRequest): unknown; - fromPartial(object: Partial): GetTxRequest; - fromAmino(object: GetTxRequestAmino): GetTxRequest; - toAmino(message: GetTxRequest): GetTxRequestAmino; - fromAminoMsg(object: GetTxRequestAminoMsg): GetTxRequest; - toAminoMsg(message: GetTxRequest): GetTxRequestAminoMsg; - fromProtoMsg(message: GetTxRequestProtoMsg): GetTxRequest; - toProto(message: GetTxRequest): Uint8Array; - toProtoMsg(message: GetTxRequest): GetTxRequestProtoMsg; -}; -export declare const GetTxResponse: { - encode(message: GetTxResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse; - fromJSON(object: any): GetTxResponse; - toJSON(message: GetTxResponse): unknown; - fromPartial(object: Partial): GetTxResponse; - fromAmino(object: GetTxResponseAmino): GetTxResponse; - toAmino(message: GetTxResponse): GetTxResponseAmino; - fromAminoMsg(object: GetTxResponseAminoMsg): GetTxResponse; - toAminoMsg(message: GetTxResponse): GetTxResponseAminoMsg; - fromProtoMsg(message: GetTxResponseProtoMsg): GetTxResponse; - toProto(message: GetTxResponse): Uint8Array; - toProtoMsg(message: GetTxResponse): GetTxResponseProtoMsg; -}; -export declare const GetBlockWithTxsRequest: { - encode(message: GetBlockWithTxsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsRequest; - fromJSON(object: any): GetBlockWithTxsRequest; - toJSON(message: GetBlockWithTxsRequest): unknown; - fromPartial(object: Partial): GetBlockWithTxsRequest; - fromAmino(object: GetBlockWithTxsRequestAmino): GetBlockWithTxsRequest; - toAmino(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAmino; - fromAminoMsg(object: GetBlockWithTxsRequestAminoMsg): GetBlockWithTxsRequest; - toAminoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAminoMsg; - fromProtoMsg(message: GetBlockWithTxsRequestProtoMsg): GetBlockWithTxsRequest; - toProto(message: GetBlockWithTxsRequest): Uint8Array; - toProtoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestProtoMsg; -}; -export declare const GetBlockWithTxsResponse: { - encode(message: GetBlockWithTxsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse; - fromJSON(object: any): GetBlockWithTxsResponse; - toJSON(message: GetBlockWithTxsResponse): unknown; - fromPartial(object: Partial): GetBlockWithTxsResponse; - fromAmino(object: GetBlockWithTxsResponseAmino): GetBlockWithTxsResponse; - toAmino(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAmino; - fromAminoMsg(object: GetBlockWithTxsResponseAminoMsg): GetBlockWithTxsResponse; - toAminoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAminoMsg; - fromProtoMsg(message: GetBlockWithTxsResponseProtoMsg): GetBlockWithTxsResponse; - toProto(message: GetBlockWithTxsResponse): Uint8Array; - toProtoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts b/packages/api/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts deleted file mode 100644 index 5a4e8c97..00000000 --- a/packages/api/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - getTx(params: GetTxRequest): Promise; - getTxsEvent(params: GetTxsEventRequest): Promise; - getBlockWithTxs(params: GetBlockWithTxsRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts b/packages/api/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts deleted file mode 100644 index 8ce5bc4f..00000000 --- a/packages/api/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; -/** Service defines a gRPC service for interacting with transactions. */ -export interface Service { - /** Simulate simulates executing a transaction for estimating gas usage. */ - simulate(request: SimulateRequest): Promise; - /** GetTx fetches a tx by hash. */ - getTx(request: GetTxRequest): Promise; - /** BroadcastTx broadcast transaction. */ - broadcastTx(request: BroadcastTxRequest): Promise; - /** GetTxsEvent fetches txs by event. */ - getTxsEvent(request: GetTxsEventRequest): Promise; - /** - * GetBlockWithTxs fetches a block with decoded txs. - * - * Since: cosmos-sdk 0.45.2 - */ - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; -} -export declare class ServiceClientImpl implements Service { - private readonly rpc; - constructor(rpc: Rpc); - simulate(request: SimulateRequest): Promise; - getTx(request: GetTxRequest): Promise; - broadcastTx(request: BroadcastTxRequest): Promise; - getTxsEvent(request: GetTxsEventRequest): Promise; - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - simulate(request: SimulateRequest): Promise; - getTx(request: GetTxRequest): Promise; - broadcastTx(request: BroadcastTxRequest): Promise; - getTxsEvent(request: GetTxsEventRequest): Promise; - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/tx/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/tx/v1beta1/tx.d.ts deleted file mode 100644 index 099908d5..00000000 --- a/packages/api/types/codegen/cosmos/tx/v1beta1/tx.d.ts +++ /dev/null @@ -1,955 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { SignMode } from "../signing/v1beta1/signing"; -import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Tx is the standard type used for broadcasting transactions. */ -export interface Tx { - /** body is the processable content of the transaction */ - body: TxBody; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - authInfo: AuthInfo; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Tx"; - value: Uint8Array; -} -/** Tx is the standard type used for broadcasting transactions. */ -export interface TxAmino { - /** body is the processable content of the transaction */ - body?: TxBodyAmino; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - auth_info?: AuthInfoAmino; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxAminoMsg { - type: "cosmos-sdk/Tx"; - value: TxAmino; -} -/** Tx is the standard type used for broadcasting transactions. */ -export interface TxSDKType { - body: TxBodySDKType; - auth_info: AuthInfoSDKType; - signatures: Uint8Array[]; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRaw { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - authInfoBytes: Uint8Array; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxRawProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.TxRaw"; - value: Uint8Array; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRawAmino { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - body_bytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - auth_info_bytes: Uint8Array; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxRawAminoMsg { - type: "cosmos-sdk/TxRaw"; - value: TxRawAmino; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRawSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - signatures: Uint8Array[]; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDoc { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - authInfoBytes: Uint8Array; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - chainId: string; - /** account_number is the account number of the account in state */ - accountNumber: Long; -} -export interface SignDocProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignDoc"; - value: Uint8Array; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDocAmino { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - body_bytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - auth_info_bytes: Uint8Array; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - chain_id: string; - /** account_number is the account number of the account in state */ - account_number: string; -} -export interface SignDocAminoMsg { - type: "cosmos-sdk/SignDoc"; - value: SignDocAmino; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDocSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - chain_id: string; - account_number: Long; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAux { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** public_key is the public key of the signing account. */ - publicKey: Any; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - chainId: string; - /** account_number is the account number of the account in state. */ - accountNumber: Long; - /** sequence is the sequence number of the signing account. */ - sequence: Long; - /** - * Tip is the optional tip used for transactions fees paid in another denom. - * It should be left empty if the signer is not the tipper for this - * transaction. - * - * This field is ignored if the chain didn't enable tips, i.e. didn't add the - * `TipDecorator` in its posthandler. - */ - tip: Tip; -} -export interface SignDocDirectAuxProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux"; - value: Uint8Array; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAuxAmino { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - body_bytes: Uint8Array; - /** public_key is the public key of the signing account. */ - public_key?: AnyAmino; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - chain_id: string; - /** account_number is the account number of the account in state. */ - account_number: string; - /** sequence is the sequence number of the signing account. */ - sequence: string; - /** - * Tip is the optional tip used for transactions fees paid in another denom. - * It should be left empty if the signer is not the tipper for this - * transaction. - * - * This field is ignored if the chain didn't enable tips, i.e. didn't add the - * `TipDecorator` in its posthandler. - */ - tip?: TipAmino; -} -export interface SignDocDirectAuxAminoMsg { - type: "cosmos-sdk/SignDocDirectAux"; - value: SignDocDirectAuxAmino; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAuxSDKType { - body_bytes: Uint8Array; - public_key: AnySDKType; - chain_id: string; - account_number: Long; - sequence: Long; - tip: TipSDKType; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBody { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages: Any[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - memo: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - timeoutHeight: Long; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - extensionOptions: Any[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - nonCriticalExtensionOptions: Any[]; -} -export interface TxBodyProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.TxBody"; - value: Uint8Array; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBodyAmino { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages: AnyAmino[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - memo: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - timeout_height: string; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - extension_options: AnyAmino[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - non_critical_extension_options: AnyAmino[]; -} -export interface TxBodyAminoMsg { - type: "cosmos-sdk/TxBody"; - value: TxBodyAmino; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBodySDKType { - messages: AnySDKType[]; - memo: string; - timeout_height: Long; - extension_options: AnySDKType[]; - non_critical_extension_options: AnySDKType[]; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfo { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signerInfos: SignerInfo[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - fee: Fee; - /** - * Tip is the optional tip used for transactions fees paid in another denom. - * - * This field is ignored if the chain didn't enable tips, i.e. didn't add the - * `TipDecorator` in its posthandler. - * - * Since: cosmos-sdk 0.46 - */ - tip: Tip; -} -export interface AuthInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.AuthInfo"; - value: Uint8Array; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfoAmino { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signer_infos: SignerInfoAmino[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - fee?: FeeAmino; - /** - * Tip is the optional tip used for transactions fees paid in another denom. - * - * This field is ignored if the chain didn't enable tips, i.e. didn't add the - * `TipDecorator` in its posthandler. - * - * Since: cosmos-sdk 0.46 - */ - tip?: TipAmino; -} -export interface AuthInfoAminoMsg { - type: "cosmos-sdk/AuthInfo"; - value: AuthInfoAmino; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfoSDKType { - signer_infos: SignerInfoSDKType[]; - fee: FeeSDKType; - tip: TipSDKType; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfo { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - publicKey: Any; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - modeInfo: ModeInfo; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - sequence: Long; -} -export interface SignerInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignerInfo"; - value: Uint8Array; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfoAmino { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - public_key?: AnyAmino; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - mode_info?: ModeInfoAmino; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - sequence: string; -} -export interface SignerInfoAminoMsg { - type: "cosmos-sdk/SignerInfo"; - value: SignerInfoAmino; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfoSDKType { - public_key: AnySDKType; - mode_info: ModeInfoSDKType; - sequence: Long; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfo { - /** single represents a single signer */ - single?: ModeInfo_Single; - /** multi represents a nested multisig signer */ - multi?: ModeInfo_Multi; -} -export interface ModeInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.ModeInfo"; - value: Uint8Array; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfoAmino { - /** single represents a single signer */ - single?: ModeInfo_SingleAmino; - /** multi represents a nested multisig signer */ - multi?: ModeInfo_MultiAmino; -} -export interface ModeInfoAminoMsg { - type: "cosmos-sdk/ModeInfo"; - value: ModeInfoAmino; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfoSDKType { - single?: ModeInfo_SingleSDKType; - multi?: ModeInfo_MultiSDKType; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; -} -export interface ModeInfo_SingleProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Single"; - value: Uint8Array; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_SingleAmino { - /** mode is the signing mode of the single signer */ - mode: SignMode; -} -export interface ModeInfo_SingleAminoMsg { - type: "cosmos-sdk/Single"; - value: ModeInfo_SingleAmino; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_SingleSDKType { - mode: SignMode; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - modeInfos: ModeInfo[]; -} -export interface ModeInfo_MultiProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Multi"; - value: Uint8Array; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_MultiAmino { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArrayAmino; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - mode_infos: ModeInfoAmino[]; -} -export interface ModeInfo_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: ModeInfo_MultiAmino; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_MultiSDKType { - bitarray: CompactBitArraySDKType; - mode_infos: ModeInfoSDKType[]; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface Fee { - /** amount is the amount of coins to be paid as a fee */ - amount: Coin[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - gasLimit: Long; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - payer: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - granter: string; -} -export interface FeeProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Fee"; - value: Uint8Array; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface FeeAmino { - /** amount is the amount of coins to be paid as a fee */ - amount: CoinAmino[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - gas_limit: string; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - payer: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - granter: string; -} -export interface FeeAminoMsg { - type: "cosmos-sdk/Fee"; - value: FeeAmino; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface FeeSDKType { - amount: CoinSDKType[]; - gas_limit: Long; - payer: string; - granter: string; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface Tip { - /** amount is the amount of the tip */ - amount: Coin[]; - /** tipper is the address of the account paying for the tip */ - tipper: string; -} -export interface TipProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Tip"; - value: Uint8Array; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface TipAmino { - /** amount is the amount of the tip */ - amount: CoinAmino[]; - /** tipper is the address of the account paying for the tip */ - tipper: string; -} -export interface TipAminoMsg { - type: "cosmos-sdk/Tip"; - value: TipAmino; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface TipSDKType { - amount: CoinSDKType[]; - tipper: string; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerData { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address: string; - /** - * sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the auxiliary signer - * signs. Note: we use the same sign doc even if we're signing with - * LEGACY_AMINO_JSON. - */ - signDoc: SignDocDirectAux; - /** mode is the signing mode of the single signer. */ - mode: SignMode; - /** sig is the signature of the sign doc. */ - sig: Uint8Array; -} -export interface AuxSignerDataProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.AuxSignerData"; - value: Uint8Array; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerDataAmino { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address: string; - /** - * sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the auxiliary signer - * signs. Note: we use the same sign doc even if we're signing with - * LEGACY_AMINO_JSON. - */ - sign_doc?: SignDocDirectAuxAmino; - /** mode is the signing mode of the single signer. */ - mode: SignMode; - /** sig is the signature of the sign doc. */ - sig: Uint8Array; -} -export interface AuxSignerDataAminoMsg { - type: "cosmos-sdk/AuxSignerData"; - value: AuxSignerDataAmino; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerDataSDKType { - address: string; - sign_doc: SignDocDirectAuxSDKType; - mode: SignMode; - sig: Uint8Array; -} -export declare const Tx: { - encode(message: Tx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Tx; - fromJSON(object: any): Tx; - toJSON(message: Tx): unknown; - fromPartial(object: Partial): Tx; - fromAmino(object: TxAmino): Tx; - toAmino(message: Tx): TxAmino; - fromAminoMsg(object: TxAminoMsg): Tx; - toAminoMsg(message: Tx): TxAminoMsg; - fromProtoMsg(message: TxProtoMsg): Tx; - toProto(message: Tx): Uint8Array; - toProtoMsg(message: Tx): TxProtoMsg; -}; -export declare const TxRaw: { - encode(message: TxRaw, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw; - fromJSON(object: any): TxRaw; - toJSON(message: TxRaw): unknown; - fromPartial(object: Partial): TxRaw; - fromAmino(object: TxRawAmino): TxRaw; - toAmino(message: TxRaw): TxRawAmino; - fromAminoMsg(object: TxRawAminoMsg): TxRaw; - toAminoMsg(message: TxRaw): TxRawAminoMsg; - fromProtoMsg(message: TxRawProtoMsg): TxRaw; - toProto(message: TxRaw): Uint8Array; - toProtoMsg(message: TxRaw): TxRawProtoMsg; -}; -export declare const SignDoc: { - encode(message: SignDoc, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc; - fromJSON(object: any): SignDoc; - toJSON(message: SignDoc): unknown; - fromPartial(object: Partial): SignDoc; - fromAmino(object: SignDocAmino): SignDoc; - toAmino(message: SignDoc): SignDocAmino; - fromAminoMsg(object: SignDocAminoMsg): SignDoc; - toAminoMsg(message: SignDoc): SignDocAminoMsg; - fromProtoMsg(message: SignDocProtoMsg): SignDoc; - toProto(message: SignDoc): Uint8Array; - toProtoMsg(message: SignDoc): SignDocProtoMsg; -}; -export declare const SignDocDirectAux: { - encode(message: SignDocDirectAux, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux; - fromJSON(object: any): SignDocDirectAux; - toJSON(message: SignDocDirectAux): unknown; - fromPartial(object: Partial): SignDocDirectAux; - fromAmino(object: SignDocDirectAuxAmino): SignDocDirectAux; - toAmino(message: SignDocDirectAux): SignDocDirectAuxAmino; - fromAminoMsg(object: SignDocDirectAuxAminoMsg): SignDocDirectAux; - toAminoMsg(message: SignDocDirectAux): SignDocDirectAuxAminoMsg; - fromProtoMsg(message: SignDocDirectAuxProtoMsg): SignDocDirectAux; - toProto(message: SignDocDirectAux): Uint8Array; - toProtoMsg(message: SignDocDirectAux): SignDocDirectAuxProtoMsg; -}; -export declare const TxBody: { - encode(message: TxBody, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxBody; - fromJSON(object: any): TxBody; - toJSON(message: TxBody): unknown; - fromPartial(object: Partial): TxBody; - fromAmino(object: TxBodyAmino): TxBody; - toAmino(message: TxBody): TxBodyAmino; - fromAminoMsg(object: TxBodyAminoMsg): TxBody; - toAminoMsg(message: TxBody): TxBodyAminoMsg; - fromProtoMsg(message: TxBodyProtoMsg): TxBody; - toProto(message: TxBody): Uint8Array; - toProtoMsg(message: TxBody): TxBodyProtoMsg; -}; -export declare const AuthInfo: { - encode(message: AuthInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo; - fromJSON(object: any): AuthInfo; - toJSON(message: AuthInfo): unknown; - fromPartial(object: Partial): AuthInfo; - fromAmino(object: AuthInfoAmino): AuthInfo; - toAmino(message: AuthInfo): AuthInfoAmino; - fromAminoMsg(object: AuthInfoAminoMsg): AuthInfo; - toAminoMsg(message: AuthInfo): AuthInfoAminoMsg; - fromProtoMsg(message: AuthInfoProtoMsg): AuthInfo; - toProto(message: AuthInfo): Uint8Array; - toProtoMsg(message: AuthInfo): AuthInfoProtoMsg; -}; -export declare const SignerInfo: { - encode(message: SignerInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo; - fromJSON(object: any): SignerInfo; - toJSON(message: SignerInfo): unknown; - fromPartial(object: Partial): SignerInfo; - fromAmino(object: SignerInfoAmino): SignerInfo; - toAmino(message: SignerInfo): SignerInfoAmino; - fromAminoMsg(object: SignerInfoAminoMsg): SignerInfo; - toAminoMsg(message: SignerInfo): SignerInfoAminoMsg; - fromProtoMsg(message: SignerInfoProtoMsg): SignerInfo; - toProto(message: SignerInfo): Uint8Array; - toProtoMsg(message: SignerInfo): SignerInfoProtoMsg; -}; -export declare const ModeInfo: { - encode(message: ModeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo; - fromJSON(object: any): ModeInfo; - toJSON(message: ModeInfo): unknown; - fromPartial(object: Partial): ModeInfo; - fromAmino(object: ModeInfoAmino): ModeInfo; - toAmino(message: ModeInfo): ModeInfoAmino; - fromAminoMsg(object: ModeInfoAminoMsg): ModeInfo; - toAminoMsg(message: ModeInfo): ModeInfoAminoMsg; - fromProtoMsg(message: ModeInfoProtoMsg): ModeInfo; - toProto(message: ModeInfo): Uint8Array; - toProtoMsg(message: ModeInfo): ModeInfoProtoMsg; -}; -export declare const ModeInfo_Single: { - encode(message: ModeInfo_Single, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single; - fromJSON(object: any): ModeInfo_Single; - toJSON(message: ModeInfo_Single): unknown; - fromPartial(object: Partial): ModeInfo_Single; - fromAmino(object: ModeInfo_SingleAmino): ModeInfo_Single; - toAmino(message: ModeInfo_Single): ModeInfo_SingleAmino; - fromAminoMsg(object: ModeInfo_SingleAminoMsg): ModeInfo_Single; - toAminoMsg(message: ModeInfo_Single): ModeInfo_SingleAminoMsg; - fromProtoMsg(message: ModeInfo_SingleProtoMsg): ModeInfo_Single; - toProto(message: ModeInfo_Single): Uint8Array; - toProtoMsg(message: ModeInfo_Single): ModeInfo_SingleProtoMsg; -}; -export declare const ModeInfo_Multi: { - encode(message: ModeInfo_Multi, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi; - fromJSON(object: any): ModeInfo_Multi; - toJSON(message: ModeInfo_Multi): unknown; - fromPartial(object: Partial): ModeInfo_Multi; - fromAmino(object: ModeInfo_MultiAmino): ModeInfo_Multi; - toAmino(message: ModeInfo_Multi): ModeInfo_MultiAmino; - fromAminoMsg(object: ModeInfo_MultiAminoMsg): ModeInfo_Multi; - toAminoMsg(message: ModeInfo_Multi): ModeInfo_MultiAminoMsg; - fromProtoMsg(message: ModeInfo_MultiProtoMsg): ModeInfo_Multi; - toProto(message: ModeInfo_Multi): Uint8Array; - toProtoMsg(message: ModeInfo_Multi): ModeInfo_MultiProtoMsg; -}; -export declare const Fee: { - encode(message: Fee, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Fee; - fromJSON(object: any): Fee; - toJSON(message: Fee): unknown; - fromPartial(object: Partial): Fee; - fromAmino(object: FeeAmino): Fee; - toAmino(message: Fee): FeeAmino; - fromAminoMsg(object: FeeAminoMsg): Fee; - toAminoMsg(message: Fee): FeeAminoMsg; - fromProtoMsg(message: FeeProtoMsg): Fee; - toProto(message: Fee): Uint8Array; - toProtoMsg(message: Fee): FeeProtoMsg; -}; -export declare const Tip: { - encode(message: Tip, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Tip; - fromJSON(object: any): Tip; - toJSON(message: Tip): unknown; - fromPartial(object: Partial): Tip; - fromAmino(object: TipAmino): Tip; - toAmino(message: Tip): TipAmino; - fromAminoMsg(object: TipAminoMsg): Tip; - toAminoMsg(message: Tip): TipAminoMsg; - fromProtoMsg(message: TipProtoMsg): Tip; - toProto(message: Tip): Uint8Array; - toProtoMsg(message: Tip): TipProtoMsg; -}; -export declare const AuxSignerData: { - encode(message: AuxSignerData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData; - fromJSON(object: any): AuxSignerData; - toJSON(message: AuxSignerData): unknown; - fromPartial(object: Partial): AuxSignerData; - fromAmino(object: AuxSignerDataAmino): AuxSignerData; - toAmino(message: AuxSignerData): AuxSignerDataAmino; - fromAminoMsg(object: AuxSignerDataAminoMsg): AuxSignerData; - toAminoMsg(message: AuxSignerData): AuxSignerDataAminoMsg; - fromProtoMsg(message: AuxSignerDataProtoMsg): AuxSignerData; - toProto(message: AuxSignerData): Uint8Array; - toProtoMsg(message: AuxSignerData): AuxSignerDataProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.d.ts deleted file mode 100644 index 5ce555f3..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +++ /dev/null @@ -1,479 +0,0 @@ -import { Plan, PlanAmino, PlanSDKType, ModuleVersion, ModuleVersionAmino, ModuleVersionSDKType } from "./upgrade"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequest { -} -export interface QueryCurrentPlanRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest"; - value: Uint8Array; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequestAmino { -} -export interface QueryCurrentPlanRequestAminoMsg { - type: "cosmos-sdk/QueryCurrentPlanRequest"; - value: QueryCurrentPlanRequestAmino; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequestSDKType { -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponse { - /** plan is the current upgrade plan. */ - plan: Plan; -} -export interface QueryCurrentPlanResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse"; - value: Uint8Array; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponseAmino { - /** plan is the current upgrade plan. */ - plan?: PlanAmino; -} -export interface QueryCurrentPlanResponseAminoMsg { - type: "cosmos-sdk/QueryCurrentPlanResponse"; - value: QueryCurrentPlanResponseAmino; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponseSDKType { - plan: PlanSDKType; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequest { - /** name is the name of the applied plan to query for. */ - name: string; -} -export interface QueryAppliedPlanRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest"; - value: Uint8Array; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequestAmino { - /** name is the name of the applied plan to query for. */ - name: string; -} -export interface QueryAppliedPlanRequestAminoMsg { - type: "cosmos-sdk/QueryAppliedPlanRequest"; - value: QueryAppliedPlanRequestAmino; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequestSDKType { - name: string; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponse { - /** height is the block height at which the plan was applied. */ - height: Long; -} -export interface QueryAppliedPlanResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse"; - value: Uint8Array; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponseAmino { - /** height is the block height at which the plan was applied. */ - height: string; -} -export interface QueryAppliedPlanResponseAminoMsg { - type: "cosmos-sdk/QueryAppliedPlanResponse"; - value: QueryAppliedPlanResponseAmino; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponseSDKType { - height: Long; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequest { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - lastHeight: Long; -} -export interface QueryUpgradedConsensusStateRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequestAmino { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - last_height: string; -} -export interface QueryUpgradedConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateRequest"; - value: QueryUpgradedConsensusStateRequestAmino; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequestSDKType { - last_height: Long; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponse { - /** Since: cosmos-sdk 0.43 */ - upgradedConsensusState: Uint8Array; -} -export interface QueryUpgradedConsensusStateResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponseAmino { - /** Since: cosmos-sdk 0.43 */ - upgraded_consensus_state: Uint8Array; -} -export interface QueryUpgradedConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateResponse"; - value: QueryUpgradedConsensusStateResponseAmino; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequest { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - moduleName: string; -} -export interface QueryModuleVersionsRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest"; - value: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequestAmino { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - module_name: string; -} -export interface QueryModuleVersionsRequestAminoMsg { - type: "cosmos-sdk/QueryModuleVersionsRequest"; - value: QueryModuleVersionsRequestAmino; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequestSDKType { - module_name: string; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponse { - /** module_versions is a list of module names with their consensus versions. */ - moduleVersions: ModuleVersion[]; -} -export interface QueryModuleVersionsResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse"; - value: Uint8Array; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponseAmino { - /** module_versions is a list of module names with their consensus versions. */ - module_versions: ModuleVersionAmino[]; -} -export interface QueryModuleVersionsResponseAminoMsg { - type: "cosmos-sdk/QueryModuleVersionsResponse"; - value: QueryModuleVersionsResponseAmino; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponseSDKType { - module_versions: ModuleVersionSDKType[]; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequest { -} -export interface QueryAuthorityRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityRequest"; - value: Uint8Array; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequestAmino { -} -export interface QueryAuthorityRequestAminoMsg { - type: "cosmos-sdk/QueryAuthorityRequest"; - value: QueryAuthorityRequestAmino; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequestSDKType { -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponse { - address: string; -} -export interface QueryAuthorityResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityResponse"; - value: Uint8Array; -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponseAmino { - address: string; -} -export interface QueryAuthorityResponseAminoMsg { - type: "cosmos-sdk/QueryAuthorityResponse"; - value: QueryAuthorityResponseAmino; -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponseSDKType { - address: string; -} -export declare const QueryCurrentPlanRequest: { - encode(_: QueryCurrentPlanRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest; - fromJSON(_: any): QueryCurrentPlanRequest; - toJSON(_: QueryCurrentPlanRequest): unknown; - fromPartial(_: Partial): QueryCurrentPlanRequest; - fromAmino(_: QueryCurrentPlanRequestAmino): QueryCurrentPlanRequest; - toAmino(_: QueryCurrentPlanRequest): QueryCurrentPlanRequestAmino; - fromAminoMsg(object: QueryCurrentPlanRequestAminoMsg): QueryCurrentPlanRequest; - toAminoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestAminoMsg; - fromProtoMsg(message: QueryCurrentPlanRequestProtoMsg): QueryCurrentPlanRequest; - toProto(message: QueryCurrentPlanRequest): Uint8Array; - toProtoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestProtoMsg; -}; -export declare const QueryCurrentPlanResponse: { - encode(message: QueryCurrentPlanResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse; - fromJSON(object: any): QueryCurrentPlanResponse; - toJSON(message: QueryCurrentPlanResponse): unknown; - fromPartial(object: Partial): QueryCurrentPlanResponse; - fromAmino(object: QueryCurrentPlanResponseAmino): QueryCurrentPlanResponse; - toAmino(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAmino; - fromAminoMsg(object: QueryCurrentPlanResponseAminoMsg): QueryCurrentPlanResponse; - toAminoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAminoMsg; - fromProtoMsg(message: QueryCurrentPlanResponseProtoMsg): QueryCurrentPlanResponse; - toProto(message: QueryCurrentPlanResponse): Uint8Array; - toProtoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseProtoMsg; -}; -export declare const QueryAppliedPlanRequest: { - encode(message: QueryAppliedPlanRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest; - fromJSON(object: any): QueryAppliedPlanRequest; - toJSON(message: QueryAppliedPlanRequest): unknown; - fromPartial(object: Partial): QueryAppliedPlanRequest; - fromAmino(object: QueryAppliedPlanRequestAmino): QueryAppliedPlanRequest; - toAmino(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAmino; - fromAminoMsg(object: QueryAppliedPlanRequestAminoMsg): QueryAppliedPlanRequest; - toAminoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAminoMsg; - fromProtoMsg(message: QueryAppliedPlanRequestProtoMsg): QueryAppliedPlanRequest; - toProto(message: QueryAppliedPlanRequest): Uint8Array; - toProtoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestProtoMsg; -}; -export declare const QueryAppliedPlanResponse: { - encode(message: QueryAppliedPlanResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse; - fromJSON(object: any): QueryAppliedPlanResponse; - toJSON(message: QueryAppliedPlanResponse): unknown; - fromPartial(object: Partial): QueryAppliedPlanResponse; - fromAmino(object: QueryAppliedPlanResponseAmino): QueryAppliedPlanResponse; - toAmino(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAmino; - fromAminoMsg(object: QueryAppliedPlanResponseAminoMsg): QueryAppliedPlanResponse; - toAminoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAminoMsg; - fromProtoMsg(message: QueryAppliedPlanResponseProtoMsg): QueryAppliedPlanResponse; - toProto(message: QueryAppliedPlanResponse): Uint8Array; - toProtoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseProtoMsg; -}; -export declare const QueryUpgradedConsensusStateRequest: { - encode(message: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest; - fromJSON(object: any): QueryUpgradedConsensusStateRequest; - toJSON(message: QueryUpgradedConsensusStateRequest): unknown; - fromPartial(object: Partial): QueryUpgradedConsensusStateRequest; - fromAmino(object: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest; - toAmino(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest; - toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest; - toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg; -}; -export declare const QueryUpgradedConsensusStateResponse: { - encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse; - fromJSON(object: any): QueryUpgradedConsensusStateResponse; - toJSON(message: QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: Partial): QueryUpgradedConsensusStateResponse; - fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse; - toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse; - toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse; - toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg; -}; -export declare const QueryModuleVersionsRequest: { - encode(message: QueryModuleVersionsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest; - fromJSON(object: any): QueryModuleVersionsRequest; - toJSON(message: QueryModuleVersionsRequest): unknown; - fromPartial(object: Partial): QueryModuleVersionsRequest; - fromAmino(object: QueryModuleVersionsRequestAmino): QueryModuleVersionsRequest; - toAmino(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAmino; - fromAminoMsg(object: QueryModuleVersionsRequestAminoMsg): QueryModuleVersionsRequest; - toAminoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAminoMsg; - fromProtoMsg(message: QueryModuleVersionsRequestProtoMsg): QueryModuleVersionsRequest; - toProto(message: QueryModuleVersionsRequest): Uint8Array; - toProtoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestProtoMsg; -}; -export declare const QueryModuleVersionsResponse: { - encode(message: QueryModuleVersionsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse; - fromJSON(object: any): QueryModuleVersionsResponse; - toJSON(message: QueryModuleVersionsResponse): unknown; - fromPartial(object: Partial): QueryModuleVersionsResponse; - fromAmino(object: QueryModuleVersionsResponseAmino): QueryModuleVersionsResponse; - toAmino(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAmino; - fromAminoMsg(object: QueryModuleVersionsResponseAminoMsg): QueryModuleVersionsResponse; - toAminoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAminoMsg; - fromProtoMsg(message: QueryModuleVersionsResponseProtoMsg): QueryModuleVersionsResponse; - toProto(message: QueryModuleVersionsResponse): Uint8Array; - toProtoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseProtoMsg; -}; -export declare const QueryAuthorityRequest: { - encode(_: QueryAuthorityRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest; - fromJSON(_: any): QueryAuthorityRequest; - toJSON(_: QueryAuthorityRequest): unknown; - fromPartial(_: Partial): QueryAuthorityRequest; - fromAmino(_: QueryAuthorityRequestAmino): QueryAuthorityRequest; - toAmino(_: QueryAuthorityRequest): QueryAuthorityRequestAmino; - fromAminoMsg(object: QueryAuthorityRequestAminoMsg): QueryAuthorityRequest; - toAminoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestAminoMsg; - fromProtoMsg(message: QueryAuthorityRequestProtoMsg): QueryAuthorityRequest; - toProto(message: QueryAuthorityRequest): Uint8Array; - toProtoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestProtoMsg; -}; -export declare const QueryAuthorityResponse: { - encode(message: QueryAuthorityResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse; - fromJSON(object: any): QueryAuthorityResponse; - toJSON(message: QueryAuthorityResponse): unknown; - fromPartial(object: Partial): QueryAuthorityResponse; - fromAmino(object: QueryAuthorityResponseAmino): QueryAuthorityResponse; - toAmino(message: QueryAuthorityResponse): QueryAuthorityResponseAmino; - fromAminoMsg(object: QueryAuthorityResponseAminoMsg): QueryAuthorityResponse; - toAminoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseAminoMsg; - fromProtoMsg(message: QueryAuthorityResponseProtoMsg): QueryAuthorityResponse; - toProto(message: QueryAuthorityResponse): Uint8Array; - toProtoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts deleted file mode 100644 index 2096c970..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - currentPlan(_params?: QueryCurrentPlanRequest): Promise; - appliedPlan(params: QueryAppliedPlanRequest): Promise; - upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(params: QueryModuleVersionsRequest): Promise; - authority(_params?: QueryAuthorityRequest): Promise; -} diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index aaf18b79..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; -/** Query defines the gRPC upgrade querier service. */ -export interface Query { - /** CurrentPlan queries the current upgrade plan. */ - currentPlan(request?: QueryCurrentPlanRequest): Promise; - /** AppliedPlan queries a previously applied upgrade plan by its name. */ - appliedPlan(request: QueryAppliedPlanRequest): Promise; - /** - * UpgradedConsensusState queries the consensus state that will serve - * as a trusted kernel for the next version of this chain. It will only be - * stored at the last height of this chain. - * UpgradedConsensusState RPC not supported with legacy querier - * This rpc is deprecated now that IBC has its own replacement - * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - */ - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; - /** - * ModuleVersions queries the list of module versions from state. - * - * Since: cosmos-sdk 0.43 - */ - moduleVersions(request: QueryModuleVersionsRequest): Promise; - /** - * Returns the account with authority to conduct upgrades - * - * Since: cosmos-sdk 0.46 - */ - authority(request?: QueryAuthorityRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - currentPlan(request?: QueryCurrentPlanRequest): Promise; - appliedPlan(request: QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: QueryModuleVersionsRequest): Promise; - authority(request?: QueryAuthorityRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - currentPlan(request?: QueryCurrentPlanRequest): Promise; - appliedPlan(request: QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: QueryModuleVersionsRequest): Promise; - authority(request?: QueryAuthorityRequest): Promise; -}; diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts deleted file mode 100644 index a4777694..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; -export declare const AminoConverter: { - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: string; - toAmino: (message: MsgSoftwareUpgrade) => import("./tx").MsgSoftwareUpgradeAmino; - fromAmino: (object: import("./tx").MsgSoftwareUpgradeAmino) => MsgSoftwareUpgrade; - }; - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: string; - toAmino: (message: MsgCancelUpgrade) => import("./tx").MsgCancelUpgradeAmino; - fromAmino: (object: import("./tx").MsgCancelUpgradeAmino) => MsgCancelUpgrade; - }; -}; diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts deleted file mode 100644 index c88776b3..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +++ /dev/null @@ -1,189 +0,0 @@ -import { Plan, PlanAmino, PlanSDKType } from "./upgrade"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgrade { - /** authority is the address of the governance account. */ - authority: string; - /** plan is the upgrade plan. */ - plan: Plan; -} -export interface MsgSoftwareUpgradeProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade"; - value: Uint8Array; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeAmino { - /** authority is the address of the governance account. */ - authority: string; - /** plan is the upgrade plan. */ - plan?: PlanAmino; -} -export interface MsgSoftwareUpgradeAminoMsg { - type: "cosmos-sdk/MsgSoftwareUpgrade"; - value: MsgSoftwareUpgradeAmino; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeSDKType { - authority: string; - plan: PlanSDKType; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponse { -} -export interface MsgSoftwareUpgradeResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse"; - value: Uint8Array; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponseAmino { -} -export interface MsgSoftwareUpgradeResponseAminoMsg { - type: "cosmos-sdk/MsgSoftwareUpgradeResponse"; - value: MsgSoftwareUpgradeResponseAmino; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponseSDKType { -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgrade { - /** authority is the address of the governance account. */ - authority: string; -} -export interface MsgCancelUpgradeProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade"; - value: Uint8Array; -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeAmino { - /** authority is the address of the governance account. */ - authority: string; -} -export interface MsgCancelUpgradeAminoMsg { - type: "cosmos-sdk/MsgCancelUpgrade"; - value: MsgCancelUpgradeAmino; -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeSDKType { - authority: string; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponse { -} -export interface MsgCancelUpgradeResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse"; - value: Uint8Array; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponseAmino { -} -export interface MsgCancelUpgradeResponseAminoMsg { - type: "cosmos-sdk/MsgCancelUpgradeResponse"; - value: MsgCancelUpgradeResponseAmino; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponseSDKType { -} -export declare const MsgSoftwareUpgrade: { - encode(message: MsgSoftwareUpgrade, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade; - fromJSON(object: any): MsgSoftwareUpgrade; - toJSON(message: MsgSoftwareUpgrade): unknown; - fromPartial(object: Partial): MsgSoftwareUpgrade; - fromAmino(object: MsgSoftwareUpgradeAmino): MsgSoftwareUpgrade; - toAmino(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeAmino; - fromAminoMsg(object: MsgSoftwareUpgradeAminoMsg): MsgSoftwareUpgrade; - toAminoMsg(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeAminoMsg; - fromProtoMsg(message: MsgSoftwareUpgradeProtoMsg): MsgSoftwareUpgrade; - toProto(message: MsgSoftwareUpgrade): Uint8Array; - toProtoMsg(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeProtoMsg; -}; -export declare const MsgSoftwareUpgradeResponse: { - encode(_: MsgSoftwareUpgradeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse; - fromJSON(_: any): MsgSoftwareUpgradeResponse; - toJSON(_: MsgSoftwareUpgradeResponse): unknown; - fromPartial(_: Partial): MsgSoftwareUpgradeResponse; - fromAmino(_: MsgSoftwareUpgradeResponseAmino): MsgSoftwareUpgradeResponse; - toAmino(_: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseAmino; - fromAminoMsg(object: MsgSoftwareUpgradeResponseAminoMsg): MsgSoftwareUpgradeResponse; - toAminoMsg(message: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseAminoMsg; - fromProtoMsg(message: MsgSoftwareUpgradeResponseProtoMsg): MsgSoftwareUpgradeResponse; - toProto(message: MsgSoftwareUpgradeResponse): Uint8Array; - toProtoMsg(message: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseProtoMsg; -}; -export declare const MsgCancelUpgrade: { - encode(message: MsgCancelUpgrade, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade; - fromJSON(object: any): MsgCancelUpgrade; - toJSON(message: MsgCancelUpgrade): unknown; - fromPartial(object: Partial): MsgCancelUpgrade; - fromAmino(object: MsgCancelUpgradeAmino): MsgCancelUpgrade; - toAmino(message: MsgCancelUpgrade): MsgCancelUpgradeAmino; - fromAminoMsg(object: MsgCancelUpgradeAminoMsg): MsgCancelUpgrade; - toAminoMsg(message: MsgCancelUpgrade): MsgCancelUpgradeAminoMsg; - fromProtoMsg(message: MsgCancelUpgradeProtoMsg): MsgCancelUpgrade; - toProto(message: MsgCancelUpgrade): Uint8Array; - toProtoMsg(message: MsgCancelUpgrade): MsgCancelUpgradeProtoMsg; -}; -export declare const MsgCancelUpgradeResponse: { - encode(_: MsgCancelUpgradeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse; - fromJSON(_: any): MsgCancelUpgradeResponse; - toJSON(_: MsgCancelUpgradeResponse): unknown; - fromPartial(_: Partial): MsgCancelUpgradeResponse; - fromAmino(_: MsgCancelUpgradeResponseAmino): MsgCancelUpgradeResponse; - toAmino(_: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseAmino; - fromAminoMsg(object: MsgCancelUpgradeResponseAminoMsg): MsgCancelUpgradeResponse; - toAminoMsg(message: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseAminoMsg; - fromProtoMsg(message: MsgCancelUpgradeResponseProtoMsg): MsgCancelUpgradeResponse; - toProto(message: MsgCancelUpgradeResponse): Uint8Array; - toProtoMsg(message: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts deleted file mode 100644 index 7020bc9d..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: MsgSoftwareUpgrade; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: MsgCancelUpgrade; - }; - }; - toJSON: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: unknown; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - softwareUpgrade(value: any): { - typeUrl: string; - value: MsgSoftwareUpgrade; - }; - cancelUpgrade(value: any): { - typeUrl: string; - value: MsgCancelUpgrade; - }; - }; - fromPartial: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: MsgSoftwareUpgrade; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: MsgCancelUpgrade; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 66d0b9a7..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; -/** Msg defines the upgrade Msg service. */ -export interface Msg { - /** - * SoftwareUpgrade is a governance operation for initiating a software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; - /** - * CancelUpgrade is a governance operation for cancelling a previously - * approvid software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - cancelUpgrade(request: MsgCancelUpgrade): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; - cancelUpgrade(request: MsgCancelUpgrade): Promise; -} diff --git a/packages/api/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts b/packages/api/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts deleted file mode 100644 index 7edafd7f..00000000 --- a/packages/api/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +++ /dev/null @@ -1,280 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface Plan { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - time: Timestamp; - /** - * The height at which the upgrade must be performed. - * Only used if Time is not set. - */ - height: Long; - /** - * Any application specific upgrade info to be included on-chain - * such as a git commit that validators could automatically upgrade to - */ - info: string; - /** - * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - * moved to the IBC module in the sub module 02-client. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - upgradedClientState: Any; -} -export interface PlanProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.Plan"; - value: Uint8Array; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface PlanAmino { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - time?: TimestampAmino; - /** - * The height at which the upgrade must be performed. - * Only used if Time is not set. - */ - height: string; - /** - * Any application specific upgrade info to be included on-chain - * such as a git commit that validators could automatically upgrade to - */ - info: string; - /** - * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - * moved to the IBC module in the sub module 02-client. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - upgraded_client_state?: AnyAmino; -} -export interface PlanAminoMsg { - type: "cosmos-sdk/Plan"; - value: PlanAmino; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface PlanSDKType { - name: string; - /** @deprecated */ - time: TimestampSDKType; - height: Long; - info: string; - /** @deprecated */ - upgraded_client_state: AnySDKType; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposal { - $typeUrl?: string; - title: string; - description: string; - plan: Plan; -} -export interface SoftwareUpgradeProposalProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal"; - value: Uint8Array; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposalAmino { - title: string; - description: string; - plan?: PlanAmino; -} -export interface SoftwareUpgradeProposalAminoMsg { - type: "cosmos-sdk/SoftwareUpgradeProposal"; - value: SoftwareUpgradeProposalAmino; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposalSDKType { - $typeUrl?: string; - title: string; - description: string; - plan: PlanSDKType; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposal { - $typeUrl?: string; - title: string; - description: string; -} -export interface CancelSoftwareUpgradeProposalProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal"; - value: Uint8Array; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposalAmino { - title: string; - description: string; -} -export interface CancelSoftwareUpgradeProposalAminoMsg { - type: "cosmos-sdk/CancelSoftwareUpgradeProposal"; - value: CancelSoftwareUpgradeProposalAmino; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposalSDKType { - $typeUrl?: string; - title: string; - description: string; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersion { - /** name of the app module */ - name: string; - /** consensus version of the app module */ - version: Long; -} -export interface ModuleVersionProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.ModuleVersion"; - value: Uint8Array; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersionAmino { - /** name of the app module */ - name: string; - /** consensus version of the app module */ - version: string; -} -export interface ModuleVersionAminoMsg { - type: "cosmos-sdk/ModuleVersion"; - value: ModuleVersionAmino; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersionSDKType { - name: string; - version: Long; -} -export declare const Plan: { - encode(message: Plan, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Plan; - fromJSON(object: any): Plan; - toJSON(message: Plan): unknown; - fromPartial(object: Partial): Plan; - fromAmino(object: PlanAmino): Plan; - toAmino(message: Plan): PlanAmino; - fromAminoMsg(object: PlanAminoMsg): Plan; - toAminoMsg(message: Plan): PlanAminoMsg; - fromProtoMsg(message: PlanProtoMsg): Plan; - toProto(message: Plan): Uint8Array; - toProtoMsg(message: Plan): PlanProtoMsg; -}; -export declare const SoftwareUpgradeProposal: { - encode(message: SoftwareUpgradeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal; - fromJSON(object: any): SoftwareUpgradeProposal; - toJSON(message: SoftwareUpgradeProposal): unknown; - fromPartial(object: Partial): SoftwareUpgradeProposal; - fromAmino(object: SoftwareUpgradeProposalAmino): SoftwareUpgradeProposal; - toAmino(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalAmino; - fromAminoMsg(object: SoftwareUpgradeProposalAminoMsg): SoftwareUpgradeProposal; - toAminoMsg(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: SoftwareUpgradeProposalProtoMsg): SoftwareUpgradeProposal; - toProto(message: SoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalProtoMsg; -}; -export declare const CancelSoftwareUpgradeProposal: { - encode(message: CancelSoftwareUpgradeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal; - fromJSON(object: any): CancelSoftwareUpgradeProposal; - toJSON(message: CancelSoftwareUpgradeProposal): unknown; - fromPartial(object: Partial): CancelSoftwareUpgradeProposal; - fromAmino(object: CancelSoftwareUpgradeProposalAmino): CancelSoftwareUpgradeProposal; - toAmino(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalAmino; - fromAminoMsg(object: CancelSoftwareUpgradeProposalAminoMsg): CancelSoftwareUpgradeProposal; - toAminoMsg(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: CancelSoftwareUpgradeProposalProtoMsg): CancelSoftwareUpgradeProposal; - toProto(message: CancelSoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalProtoMsg; -}; -export declare const ModuleVersion: { - encode(message: ModuleVersion, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion; - fromJSON(object: any): ModuleVersion; - toJSON(message: ModuleVersion): unknown; - fromPartial(object: Partial): ModuleVersion; - fromAmino(object: ModuleVersionAmino): ModuleVersion; - toAmino(message: ModuleVersion): ModuleVersionAmino; - fromAminoMsg(object: ModuleVersionAminoMsg): ModuleVersion; - toAminoMsg(message: ModuleVersion): ModuleVersionAminoMsg; - fromProtoMsg(message: ModuleVersionProtoMsg): ModuleVersion; - toProto(message: ModuleVersion): Uint8Array; - toProtoMsg(message: ModuleVersion): ModuleVersionProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts b/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts deleted file mode 100644 index 136d9688..00000000 --- a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; -export declare const AminoConverter: { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: string; - toAmino: (message: MsgCreateVestingAccount) => import("./tx").MsgCreateVestingAccountAmino; - fromAmino: (object: import("./tx").MsgCreateVestingAccountAmino) => MsgCreateVestingAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: string; - toAmino: (message: MsgCreatePermanentLockedAccount) => import("./tx").MsgCreatePermanentLockedAccountAmino; - fromAmino: (object: import("./tx").MsgCreatePermanentLockedAccountAmino) => MsgCreatePermanentLockedAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: string; - toAmino: (message: MsgCreatePeriodicVestingAccount) => import("./tx").MsgCreatePeriodicVestingAccountAmino; - fromAmino: (object: import("./tx").MsgCreatePeriodicVestingAccountAmino) => MsgCreatePeriodicVestingAccount; - }; -}; diff --git a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.d.ts b/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.d.ts deleted file mode 100644 index c2afe080..00000000 --- a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +++ /dev/null @@ -1,292 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodAmino, PeriodSDKType } from "./vesting"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; - endTime: Long; - delayed: boolean; -} -export interface MsgCreateVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccountAmino { - from_address: string; - to_address: string; - amount: CoinAmino[]; - end_time: string; - delayed: boolean; -} -export interface MsgCreateVestingAccountAminoMsg { - type: "cosmos-sdk/MsgCreateVestingAccount"; - value: MsgCreateVestingAccountAmino; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccountSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; - end_time: Long; - delayed: boolean; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponse { -} -export interface MsgCreateVestingAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse"; - value: Uint8Array; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponseAmino { -} -export interface MsgCreateVestingAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreateVestingAccountResponse"; - value: MsgCreateVestingAccountResponseAmino; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponseSDKType { -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePermanentLockedAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; -} -export interface MsgCreatePermanentLockedAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount"; - value: Uint8Array; -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePermanentLockedAccountAmino { - from_address: string; - to_address: string; - amount: CoinAmino[]; -} -export interface MsgCreatePermanentLockedAccountAminoMsg { - type: "cosmos-sdk/MsgCreatePermanentLockedAccount"; - value: MsgCreatePermanentLockedAccountAmino; -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePermanentLockedAccountSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; -} -/** - * MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePermanentLockedAccountResponse { -} -export interface MsgCreatePermanentLockedAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse"; - value: Uint8Array; -} -/** - * MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePermanentLockedAccountResponseAmino { -} -export interface MsgCreatePermanentLockedAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreatePermanentLockedAccountResponse"; - value: MsgCreatePermanentLockedAccountResponseAmino; -} -/** - * MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePermanentLockedAccountResponseSDKType { -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePeriodicVestingAccount { - fromAddress: string; - toAddress: string; - startTime: Long; - vestingPeriods: Period[]; -} -export interface MsgCreatePeriodicVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePeriodicVestingAccountAmino { - from_address: string; - to_address: string; - start_time: string; - vesting_periods: PeriodAmino[]; -} -export interface MsgCreatePeriodicVestingAccountAminoMsg { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccount"; - value: MsgCreatePeriodicVestingAccountAmino; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePeriodicVestingAccountSDKType { - from_address: string; - to_address: string; - start_time: Long; - vesting_periods: PeriodSDKType[]; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePeriodicVestingAccountResponse { -} -export interface MsgCreatePeriodicVestingAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePeriodicVestingAccountResponseAmino { -} -export interface MsgCreatePeriodicVestingAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccountResponse"; - value: MsgCreatePeriodicVestingAccountResponseAmino; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCreatePeriodicVestingAccountResponseSDKType { -} -export declare const MsgCreateVestingAccount: { - encode(message: MsgCreateVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount; - fromJSON(object: any): MsgCreateVestingAccount; - toJSON(message: MsgCreateVestingAccount): unknown; - fromPartial(object: Partial): MsgCreateVestingAccount; - fromAmino(object: MsgCreateVestingAccountAmino): MsgCreateVestingAccount; - toAmino(message: MsgCreateVestingAccount): MsgCreateVestingAccountAmino; - fromAminoMsg(object: MsgCreateVestingAccountAminoMsg): MsgCreateVestingAccount; - toAminoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountAminoMsg; - fromProtoMsg(message: MsgCreateVestingAccountProtoMsg): MsgCreateVestingAccount; - toProto(message: MsgCreateVestingAccount): Uint8Array; - toProtoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountProtoMsg; -}; -export declare const MsgCreateVestingAccountResponse: { - encode(_: MsgCreateVestingAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse; - fromJSON(_: any): MsgCreateVestingAccountResponse; - toJSON(_: MsgCreateVestingAccountResponse): unknown; - fromPartial(_: Partial): MsgCreateVestingAccountResponse; - fromAmino(_: MsgCreateVestingAccountResponseAmino): MsgCreateVestingAccountResponse; - toAmino(_: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAmino; - fromAminoMsg(object: MsgCreateVestingAccountResponseAminoMsg): MsgCreateVestingAccountResponse; - toAminoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAminoMsg; - fromProtoMsg(message: MsgCreateVestingAccountResponseProtoMsg): MsgCreateVestingAccountResponse; - toProto(message: MsgCreateVestingAccountResponse): Uint8Array; - toProtoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseProtoMsg; -}; -export declare const MsgCreatePermanentLockedAccount: { - encode(message: MsgCreatePermanentLockedAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount; - fromJSON(object: any): MsgCreatePermanentLockedAccount; - toJSON(message: MsgCreatePermanentLockedAccount): unknown; - fromPartial(object: Partial): MsgCreatePermanentLockedAccount; - fromAmino(object: MsgCreatePermanentLockedAccountAmino): MsgCreatePermanentLockedAccount; - toAmino(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountAmino; - fromAminoMsg(object: MsgCreatePermanentLockedAccountAminoMsg): MsgCreatePermanentLockedAccount; - toAminoMsg(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountAminoMsg; - fromProtoMsg(message: MsgCreatePermanentLockedAccountProtoMsg): MsgCreatePermanentLockedAccount; - toProto(message: MsgCreatePermanentLockedAccount): Uint8Array; - toProtoMsg(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountProtoMsg; -}; -export declare const MsgCreatePermanentLockedAccountResponse: { - encode(_: MsgCreatePermanentLockedAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse; - fromJSON(_: any): MsgCreatePermanentLockedAccountResponse; - toJSON(_: MsgCreatePermanentLockedAccountResponse): unknown; - fromPartial(_: Partial): MsgCreatePermanentLockedAccountResponse; - fromAmino(_: MsgCreatePermanentLockedAccountResponseAmino): MsgCreatePermanentLockedAccountResponse; - toAmino(_: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseAmino; - fromAminoMsg(object: MsgCreatePermanentLockedAccountResponseAminoMsg): MsgCreatePermanentLockedAccountResponse; - toAminoMsg(message: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseAminoMsg; - fromProtoMsg(message: MsgCreatePermanentLockedAccountResponseProtoMsg): MsgCreatePermanentLockedAccountResponse; - toProto(message: MsgCreatePermanentLockedAccountResponse): Uint8Array; - toProtoMsg(message: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseProtoMsg; -}; -export declare const MsgCreatePeriodicVestingAccount: { - encode(message: MsgCreatePeriodicVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount; - fromJSON(object: any): MsgCreatePeriodicVestingAccount; - toJSON(message: MsgCreatePeriodicVestingAccount): unknown; - fromPartial(object: Partial): MsgCreatePeriodicVestingAccount; - fromAmino(object: MsgCreatePeriodicVestingAccountAmino): MsgCreatePeriodicVestingAccount; - toAmino(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountAmino; - fromAminoMsg(object: MsgCreatePeriodicVestingAccountAminoMsg): MsgCreatePeriodicVestingAccount; - toAminoMsg(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountAminoMsg; - fromProtoMsg(message: MsgCreatePeriodicVestingAccountProtoMsg): MsgCreatePeriodicVestingAccount; - toProto(message: MsgCreatePeriodicVestingAccount): Uint8Array; - toProtoMsg(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountProtoMsg; -}; -export declare const MsgCreatePeriodicVestingAccountResponse: { - encode(_: MsgCreatePeriodicVestingAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse; - fromJSON(_: any): MsgCreatePeriodicVestingAccountResponse; - toJSON(_: MsgCreatePeriodicVestingAccountResponse): unknown; - fromPartial(_: Partial): MsgCreatePeriodicVestingAccountResponse; - fromAmino(_: MsgCreatePeriodicVestingAccountResponseAmino): MsgCreatePeriodicVestingAccountResponse; - toAmino(_: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseAmino; - fromAminoMsg(object: MsgCreatePeriodicVestingAccountResponseAminoMsg): MsgCreatePeriodicVestingAccountResponse; - toAminoMsg(message: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseAminoMsg; - fromProtoMsg(message: MsgCreatePeriodicVestingAccountResponseProtoMsg): MsgCreatePeriodicVestingAccountResponse; - toProto(message: MsgCreatePeriodicVestingAccountResponse): Uint8Array; - toProtoMsg(message: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts b/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts deleted file mode 100644 index 6432e90b..00000000 --- a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: MsgCreatePeriodicVestingAccount; - }; - }; - toJSON: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: unknown; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: unknown; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createVestingAccount(value: any): { - typeUrl: string; - value: MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: any): { - typeUrl: string; - value: MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: any): { - typeUrl: string; - value: MsgCreatePeriodicVestingAccount; - }; - }; - fromPartial: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: MsgCreatePeriodicVestingAccount; - }; - }; -}; diff --git a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts b/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 53bd60d0..00000000 --- a/packages/api/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** - * CreateVestingAccount defines a method that enables creating a vesting - * account. - */ - createVestingAccount(request: MsgCreateVestingAccount): Promise; - /** - * CreatePermanentLockedAccount defines a method that enables creating a permanent - * locked account. - * - * Since: cosmos-sdk 0.46 - */ - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; - /** - * CreatePeriodicVestingAccount defines a method that enables creating a - * periodic vesting account. - * - * Since: cosmos-sdk 0.46 - */ - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createVestingAccount(request: MsgCreateVestingAccount): Promise; - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; -} diff --git a/packages/api/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts b/packages/api/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts deleted file mode 100644 index 033f8822..00000000 --- a/packages/api/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +++ /dev/null @@ -1,289 +0,0 @@ -import { BaseAccount, BaseAccountAmino, BaseAccountSDKType } from "../../auth/v1beta1/auth"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccount { - baseAccount: BaseAccount; - originalVesting: Coin[]; - delegatedFree: Coin[]; - delegatedVesting: Coin[]; - endTime: Long; -} -export interface BaseVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.BaseVestingAccount"; - value: Uint8Array; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccountAmino { - base_account?: BaseAccountAmino; - original_vesting: CoinAmino[]; - delegated_free: CoinAmino[]; - delegated_vesting: CoinAmino[]; - end_time: string; -} -export interface BaseVestingAccountAminoMsg { - type: "cosmos-sdk/BaseVestingAccount"; - value: BaseVestingAccountAmino; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccountSDKType { - base_account: BaseAccountSDKType; - original_vesting: CoinSDKType[]; - delegated_free: CoinSDKType[]; - delegated_vesting: CoinSDKType[]; - end_time: Long; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccount { - baseVestingAccount: BaseVestingAccount; - startTime: Long; -} -export interface ContinuousVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.ContinuousVestingAccount"; - value: Uint8Array; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; - start_time: string; -} -export interface ContinuousVestingAccountAminoMsg { - type: "cosmos-sdk/ContinuousVestingAccount"; - value: ContinuousVestingAccountAmino; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; - start_time: Long; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccount { - baseVestingAccount: BaseVestingAccount; -} -export interface DelayedVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.DelayedVestingAccount"; - value: Uint8Array; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; -} -export interface DelayedVestingAccountAminoMsg { - type: "cosmos-sdk/DelayedVestingAccount"; - value: DelayedVestingAccountAmino; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface Period { - length: Long; - amount: Coin[]; -} -export interface PeriodProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.Period"; - value: Uint8Array; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface PeriodAmino { - length: string; - amount: CoinAmino[]; -} -export interface PeriodAminoMsg { - type: "cosmos-sdk/Period"; - value: PeriodAmino; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface PeriodSDKType { - length: Long; - amount: CoinSDKType[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccount { - baseVestingAccount: BaseVestingAccount; - startTime: Long; - vestingPeriods: Period[]; -} -export interface PeriodicVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.PeriodicVestingAccount"; - value: Uint8Array; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; - start_time: string; - vesting_periods: PeriodAmino[]; -} -export interface PeriodicVestingAccountAminoMsg { - type: "cosmos-sdk/PeriodicVestingAccount"; - value: PeriodicVestingAccountAmino; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; - start_time: Long; - vesting_periods: PeriodSDKType[]; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccount { - baseVestingAccount: BaseVestingAccount; -} -export interface PermanentLockedAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.PermanentLockedAccount"; - value: Uint8Array; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; -} -export interface PermanentLockedAccountAminoMsg { - type: "cosmos-sdk/PermanentLockedAccount"; - value: PermanentLockedAccountAmino; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; -} -export declare const BaseVestingAccount: { - encode(message: BaseVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount; - fromJSON(object: any): BaseVestingAccount; - toJSON(message: BaseVestingAccount): unknown; - fromPartial(object: Partial): BaseVestingAccount; - fromAmino(object: BaseVestingAccountAmino): BaseVestingAccount; - toAmino(message: BaseVestingAccount): BaseVestingAccountAmino; - fromAminoMsg(object: BaseVestingAccountAminoMsg): BaseVestingAccount; - toAminoMsg(message: BaseVestingAccount): BaseVestingAccountAminoMsg; - fromProtoMsg(message: BaseVestingAccountProtoMsg): BaseVestingAccount; - toProto(message: BaseVestingAccount): Uint8Array; - toProtoMsg(message: BaseVestingAccount): BaseVestingAccountProtoMsg; -}; -export declare const ContinuousVestingAccount: { - encode(message: ContinuousVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount; - fromJSON(object: any): ContinuousVestingAccount; - toJSON(message: ContinuousVestingAccount): unknown; - fromPartial(object: Partial): ContinuousVestingAccount; - fromAmino(object: ContinuousVestingAccountAmino): ContinuousVestingAccount; - toAmino(message: ContinuousVestingAccount): ContinuousVestingAccountAmino; - fromAminoMsg(object: ContinuousVestingAccountAminoMsg): ContinuousVestingAccount; - toAminoMsg(message: ContinuousVestingAccount): ContinuousVestingAccountAminoMsg; - fromProtoMsg(message: ContinuousVestingAccountProtoMsg): ContinuousVestingAccount; - toProto(message: ContinuousVestingAccount): Uint8Array; - toProtoMsg(message: ContinuousVestingAccount): ContinuousVestingAccountProtoMsg; -}; -export declare const DelayedVestingAccount: { - encode(message: DelayedVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount; - fromJSON(object: any): DelayedVestingAccount; - toJSON(message: DelayedVestingAccount): unknown; - fromPartial(object: Partial): DelayedVestingAccount; - fromAmino(object: DelayedVestingAccountAmino): DelayedVestingAccount; - toAmino(message: DelayedVestingAccount): DelayedVestingAccountAmino; - fromAminoMsg(object: DelayedVestingAccountAminoMsg): DelayedVestingAccount; - toAminoMsg(message: DelayedVestingAccount): DelayedVestingAccountAminoMsg; - fromProtoMsg(message: DelayedVestingAccountProtoMsg): DelayedVestingAccount; - toProto(message: DelayedVestingAccount): Uint8Array; - toProtoMsg(message: DelayedVestingAccount): DelayedVestingAccountProtoMsg; -}; -export declare const Period: { - encode(message: Period, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Period; - fromJSON(object: any): Period; - toJSON(message: Period): unknown; - fromPartial(object: Partial): Period; - fromAmino(object: PeriodAmino): Period; - toAmino(message: Period): PeriodAmino; - fromAminoMsg(object: PeriodAminoMsg): Period; - toAminoMsg(message: Period): PeriodAminoMsg; - fromProtoMsg(message: PeriodProtoMsg): Period; - toProto(message: Period): Uint8Array; - toProtoMsg(message: Period): PeriodProtoMsg; -}; -export declare const PeriodicVestingAccount: { - encode(message: PeriodicVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount; - fromJSON(object: any): PeriodicVestingAccount; - toJSON(message: PeriodicVestingAccount): unknown; - fromPartial(object: Partial): PeriodicVestingAccount; - fromAmino(object: PeriodicVestingAccountAmino): PeriodicVestingAccount; - toAmino(message: PeriodicVestingAccount): PeriodicVestingAccountAmino; - fromAminoMsg(object: PeriodicVestingAccountAminoMsg): PeriodicVestingAccount; - toAminoMsg(message: PeriodicVestingAccount): PeriodicVestingAccountAminoMsg; - fromProtoMsg(message: PeriodicVestingAccountProtoMsg): PeriodicVestingAccount; - toProto(message: PeriodicVestingAccount): Uint8Array; - toProtoMsg(message: PeriodicVestingAccount): PeriodicVestingAccountProtoMsg; -}; -export declare const PermanentLockedAccount: { - encode(message: PermanentLockedAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount; - fromJSON(object: any): PermanentLockedAccount; - toJSON(message: PermanentLockedAccount): unknown; - fromPartial(object: Partial): PermanentLockedAccount; - fromAmino(object: PermanentLockedAccountAmino): PermanentLockedAccount; - toAmino(message: PermanentLockedAccount): PermanentLockedAccountAmino; - fromAminoMsg(object: PermanentLockedAccountAminoMsg): PermanentLockedAccount; - toAminoMsg(message: PermanentLockedAccount): PermanentLockedAccountAminoMsg; - fromProtoMsg(message: PermanentLockedAccountProtoMsg): PermanentLockedAccount; - toProto(message: PermanentLockedAccount): Uint8Array; - toProtoMsg(message: PermanentLockedAccount): PermanentLockedAccountProtoMsg; -}; diff --git a/packages/api/types/codegen/cosmos_proto/bundle.d.ts b/packages/api/types/codegen/cosmos_proto/bundle.d.ts deleted file mode 100644 index aa94a24b..00000000 --- a/packages/api/types/codegen/cosmos_proto/bundle.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import * as _1 from "./cosmos"; -export declare const cosmos_proto: { - scalarTypeFromJSON(object: any): _1.ScalarType; - scalarTypeToJSON(object: _1.ScalarType): string; - ScalarType: typeof _1.ScalarType; - ScalarTypeSDKType: typeof _1.ScalarType; - ScalarTypeAmino: typeof _1.ScalarType; - InterfaceDescriptor: { - encode(message: _1.InterfaceDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _1.InterfaceDescriptor; - fromJSON(object: any): _1.InterfaceDescriptor; - toJSON(message: _1.InterfaceDescriptor): unknown; - fromPartial(object: Partial<_1.InterfaceDescriptor>): _1.InterfaceDescriptor; - fromAmino(object: _1.InterfaceDescriptorAmino): _1.InterfaceDescriptor; - toAmino(message: _1.InterfaceDescriptor): _1.InterfaceDescriptorAmino; - fromAminoMsg(object: _1.InterfaceDescriptorAminoMsg): _1.InterfaceDescriptor; - fromProtoMsg(message: _1.InterfaceDescriptorProtoMsg): _1.InterfaceDescriptor; - toProto(message: _1.InterfaceDescriptor): Uint8Array; - toProtoMsg(message: _1.InterfaceDescriptor): _1.InterfaceDescriptorProtoMsg; - }; - ScalarDescriptor: { - encode(message: _1.ScalarDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _1.ScalarDescriptor; - fromJSON(object: any): _1.ScalarDescriptor; - toJSON(message: _1.ScalarDescriptor): unknown; - fromPartial(object: Partial<_1.ScalarDescriptor>): _1.ScalarDescriptor; - fromAmino(object: _1.ScalarDescriptorAmino): _1.ScalarDescriptor; - toAmino(message: _1.ScalarDescriptor): _1.ScalarDescriptorAmino; - fromAminoMsg(object: _1.ScalarDescriptorAminoMsg): _1.ScalarDescriptor; - fromProtoMsg(message: _1.ScalarDescriptorProtoMsg): _1.ScalarDescriptor; - toProto(message: _1.ScalarDescriptor): Uint8Array; - toProtoMsg(message: _1.ScalarDescriptor): _1.ScalarDescriptorProtoMsg; - }; -}; diff --git a/packages/api/types/codegen/cosmos_proto/cosmos.d.ts b/packages/api/types/codegen/cosmos_proto/cosmos.d.ts deleted file mode 100644 index 4e1cf240..00000000 --- a/packages/api/types/codegen/cosmos_proto/cosmos.d.ts +++ /dev/null @@ -1,173 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -export declare enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0, - SCALAR_TYPE_STRING = 1, - SCALAR_TYPE_BYTES = 2, - UNRECOGNIZED = -1 -} -export declare const ScalarTypeSDKType: typeof ScalarType; -export declare const ScalarTypeAmino: typeof ScalarType; -export declare function scalarTypeFromJSON(object: any): ScalarType; -export declare function scalarTypeToJSON(object: ScalarType): string; -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptor { - /** - * name is the name of the interface. It should be a short-name (without - * a period) such that the fully qualified name of the interface will be - * package.name, ex. for the package a.b and interface named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the interface and its - * purpose. - */ - description: string; -} -export interface InterfaceDescriptorProtoMsg { - typeUrl: "/cosmos_proto.InterfaceDescriptor"; - value: Uint8Array; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptorAmino { - /** - * name is the name of the interface. It should be a short-name (without - * a period) such that the fully qualified name of the interface will be - * package.name, ex. for the package a.b and interface named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the interface and its - * purpose. - */ - description: string; -} -export interface InterfaceDescriptorAminoMsg { - type: "/cosmos_proto.InterfaceDescriptor"; - value: InterfaceDescriptorAmino; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptorSDKType { - name: string; - description: string; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptor { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - description: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - fieldType: ScalarType[]; -} -export interface ScalarDescriptorProtoMsg { - typeUrl: "/cosmos_proto.ScalarDescriptor"; - value: Uint8Array; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptorAmino { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - description: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - field_type: ScalarType[]; -} -export interface ScalarDescriptorAminoMsg { - type: "/cosmos_proto.ScalarDescriptor"; - value: ScalarDescriptorAmino; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptorSDKType { - name: string; - description: string; - field_type: ScalarType[]; -} -export declare const InterfaceDescriptor: { - encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor; - fromJSON(object: any): InterfaceDescriptor; - toJSON(message: InterfaceDescriptor): unknown; - fromPartial(object: Partial): InterfaceDescriptor; - fromAmino(object: InterfaceDescriptorAmino): InterfaceDescriptor; - toAmino(message: InterfaceDescriptor): InterfaceDescriptorAmino; - fromAminoMsg(object: InterfaceDescriptorAminoMsg): InterfaceDescriptor; - fromProtoMsg(message: InterfaceDescriptorProtoMsg): InterfaceDescriptor; - toProto(message: InterfaceDescriptor): Uint8Array; - toProtoMsg(message: InterfaceDescriptor): InterfaceDescriptorProtoMsg; -}; -export declare const ScalarDescriptor: { - encode(message: ScalarDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor; - fromJSON(object: any): ScalarDescriptor; - toJSON(message: ScalarDescriptor): unknown; - fromPartial(object: Partial): ScalarDescriptor; - fromAmino(object: ScalarDescriptorAmino): ScalarDescriptor; - toAmino(message: ScalarDescriptor): ScalarDescriptorAmino; - fromAminoMsg(object: ScalarDescriptorAminoMsg): ScalarDescriptor; - fromProtoMsg(message: ScalarDescriptorProtoMsg): ScalarDescriptor; - toProto(message: ScalarDescriptor): Uint8Array; - toProtoMsg(message: ScalarDescriptor): ScalarDescriptorProtoMsg; -}; diff --git a/packages/api/types/codegen/gogoproto/bundle.d.ts b/packages/api/types/codegen/gogoproto/bundle.d.ts deleted file mode 100644 index 55791e68..00000000 --- a/packages/api/types/codegen/gogoproto/bundle.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const gogoproto: {}; diff --git a/packages/api/types/codegen/gogoproto/gogo.d.ts b/packages/api/types/codegen/gogoproto/gogo.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/api/types/codegen/gogoproto/gogo.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/api/types/codegen/google/api/annotations.d.ts b/packages/api/types/codegen/google/api/annotations.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/api/types/codegen/google/api/annotations.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/api/types/codegen/google/bundle.d.ts b/packages/api/types/codegen/google/bundle.d.ts deleted file mode 100644 index c551af3d..00000000 --- a/packages/api/types/codegen/google/bundle.d.ts +++ /dev/null @@ -1,429 +0,0 @@ -import * as _100 from "./protobuf/descriptor"; -import * as _101 from "./protobuf/any"; -import * as _102 from "./protobuf/timestamp"; -import * as _103 from "./protobuf/duration"; -export declare namespace google { - const api: {}; - const protobuf: { - Duration: { - encode(message: _103.Duration, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _103.Duration; - fromJSON(object: any): _103.Duration; - toJSON(message: _103.Duration): unknown; - fromPartial(object: Partial<_103.Duration>): _103.Duration; - fromAmino(object: string): _103.Duration; - toAmino(message: _103.Duration): string; - fromAminoMsg(object: _103.DurationAminoMsg): _103.Duration; - fromProtoMsg(message: _103.DurationProtoMsg): _103.Duration; - toProto(message: _103.Duration): Uint8Array; - toProtoMsg(message: _103.Duration): _103.DurationProtoMsg; - }; - Timestamp: { - encode(message: _102.Timestamp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _102.Timestamp; - fromJSON(object: any): _102.Timestamp; - toJSON(message: _102.Timestamp): unknown; - fromPartial(object: Partial<_102.Timestamp>): _102.Timestamp; - fromAmino(object: string): _102.Timestamp; - toAmino(message: _102.Timestamp): string; - fromAminoMsg(object: _102.TimestampAminoMsg): _102.Timestamp; - fromProtoMsg(message: _102.TimestampProtoMsg): _102.Timestamp; - toProto(message: _102.Timestamp): Uint8Array; - toProtoMsg(message: _102.Timestamp): _102.TimestampProtoMsg; - }; - Any: { - encode(message: _101.Any, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _101.Any; - fromJSON(object: any): _101.Any; - toJSON(message: _101.Any): unknown; - fromPartial(object: Partial<_101.Any>): _101.Any; - fromAmino(object: _101.AnyAmino): _101.Any; - toAmino(message: _101.Any): _101.AnyAmino; - fromAminoMsg(object: _101.AnyAminoMsg): _101.Any; - fromProtoMsg(message: _101.AnyProtoMsg): _101.Any; - toProto(message: _101.Any): Uint8Array; - toProtoMsg(message: _101.Any): _101.AnyProtoMsg; - }; - fieldDescriptorProto_TypeFromJSON(object: any): _100.FieldDescriptorProto_Type; - fieldDescriptorProto_TypeToJSON(object: _100.FieldDescriptorProto_Type): string; - fieldDescriptorProto_LabelFromJSON(object: any): _100.FieldDescriptorProto_Label; - fieldDescriptorProto_LabelToJSON(object: _100.FieldDescriptorProto_Label): string; - fileOptions_OptimizeModeFromJSON(object: any): _100.FileOptions_OptimizeMode; - fileOptions_OptimizeModeToJSON(object: _100.FileOptions_OptimizeMode): string; - fieldOptions_CTypeFromJSON(object: any): _100.FieldOptions_CType; - fieldOptions_CTypeToJSON(object: _100.FieldOptions_CType): string; - fieldOptions_JSTypeFromJSON(object: any): _100.FieldOptions_JSType; - fieldOptions_JSTypeToJSON(object: _100.FieldOptions_JSType): string; - methodOptions_IdempotencyLevelFromJSON(object: any): _100.MethodOptions_IdempotencyLevel; - methodOptions_IdempotencyLevelToJSON(object: _100.MethodOptions_IdempotencyLevel): string; - FieldDescriptorProto_Type: typeof _100.FieldDescriptorProto_Type; - FieldDescriptorProto_TypeSDKType: typeof _100.FieldDescriptorProto_Type; - FieldDescriptorProto_TypeAmino: typeof _100.FieldDescriptorProto_Type; - FieldDescriptorProto_Label: typeof _100.FieldDescriptorProto_Label; - FieldDescriptorProto_LabelSDKType: typeof _100.FieldDescriptorProto_Label; - FieldDescriptorProto_LabelAmino: typeof _100.FieldDescriptorProto_Label; - FileOptions_OptimizeMode: typeof _100.FileOptions_OptimizeMode; - FileOptions_OptimizeModeSDKType: typeof _100.FileOptions_OptimizeMode; - FileOptions_OptimizeModeAmino: typeof _100.FileOptions_OptimizeMode; - FieldOptions_CType: typeof _100.FieldOptions_CType; - FieldOptions_CTypeSDKType: typeof _100.FieldOptions_CType; - FieldOptions_CTypeAmino: typeof _100.FieldOptions_CType; - FieldOptions_JSType: typeof _100.FieldOptions_JSType; - FieldOptions_JSTypeSDKType: typeof _100.FieldOptions_JSType; - FieldOptions_JSTypeAmino: typeof _100.FieldOptions_JSType; - MethodOptions_IdempotencyLevel: typeof _100.MethodOptions_IdempotencyLevel; - MethodOptions_IdempotencyLevelSDKType: typeof _100.MethodOptions_IdempotencyLevel; - MethodOptions_IdempotencyLevelAmino: typeof _100.MethodOptions_IdempotencyLevel; - FileDescriptorSet: { - encode(message: _100.FileDescriptorSet, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.FileDescriptorSet; - fromJSON(object: any): _100.FileDescriptorSet; - toJSON(message: _100.FileDescriptorSet): unknown; - fromPartial(object: Partial<_100.FileDescriptorSet>): _100.FileDescriptorSet; - fromAmino(object: _100.FileDescriptorSetAmino): _100.FileDescriptorSet; - toAmino(message: _100.FileDescriptorSet): _100.FileDescriptorSetAmino; - fromAminoMsg(object: _100.FileDescriptorSetAminoMsg): _100.FileDescriptorSet; - fromProtoMsg(message: _100.FileDescriptorSetProtoMsg): _100.FileDescriptorSet; - toProto(message: _100.FileDescriptorSet): Uint8Array; - toProtoMsg(message: _100.FileDescriptorSet): _100.FileDescriptorSetProtoMsg; - }; - FileDescriptorProto: { - encode(message: _100.FileDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.FileDescriptorProto; - fromJSON(object: any): _100.FileDescriptorProto; - toJSON(message: _100.FileDescriptorProto): unknown; - fromPartial(object: Partial<_100.FileDescriptorProto>): _100.FileDescriptorProto; - fromAmino(object: _100.FileDescriptorProtoAmino): _100.FileDescriptorProto; - toAmino(message: _100.FileDescriptorProto): _100.FileDescriptorProtoAmino; - fromAminoMsg(object: _100.FileDescriptorProtoAminoMsg): _100.FileDescriptorProto; - fromProtoMsg(message: _100.FileDescriptorProtoProtoMsg): _100.FileDescriptorProto; - toProto(message: _100.FileDescriptorProto): Uint8Array; - toProtoMsg(message: _100.FileDescriptorProto): _100.FileDescriptorProtoProtoMsg; - }; - DescriptorProto: { - encode(message: _100.DescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.DescriptorProto; - fromJSON(object: any): _100.DescriptorProto; - toJSON(message: _100.DescriptorProto): unknown; - fromPartial(object: Partial<_100.DescriptorProto>): _100.DescriptorProto; - fromAmino(object: _100.DescriptorProtoAmino): _100.DescriptorProto; - toAmino(message: _100.DescriptorProto): _100.DescriptorProtoAmino; - fromAminoMsg(object: _100.DescriptorProtoAminoMsg): _100.DescriptorProto; - fromProtoMsg(message: _100.DescriptorProtoProtoMsg): _100.DescriptorProto; - toProto(message: _100.DescriptorProto): Uint8Array; - toProtoMsg(message: _100.DescriptorProto): _100.DescriptorProtoProtoMsg; - }; - DescriptorProto_ExtensionRange: { - encode(message: _100.DescriptorProto_ExtensionRange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.DescriptorProto_ExtensionRange; - fromJSON(object: any): _100.DescriptorProto_ExtensionRange; - toJSON(message: _100.DescriptorProto_ExtensionRange): unknown; - fromPartial(object: Partial<_100.DescriptorProto_ExtensionRange>): _100.DescriptorProto_ExtensionRange; - fromAmino(object: _100.DescriptorProto_ExtensionRangeAmino): _100.DescriptorProto_ExtensionRange; - toAmino(message: _100.DescriptorProto_ExtensionRange): _100.DescriptorProto_ExtensionRangeAmino; - fromAminoMsg(object: _100.DescriptorProto_ExtensionRangeAminoMsg): _100.DescriptorProto_ExtensionRange; - fromProtoMsg(message: _100.DescriptorProto_ExtensionRangeProtoMsg): _100.DescriptorProto_ExtensionRange; - toProto(message: _100.DescriptorProto_ExtensionRange): Uint8Array; - toProtoMsg(message: _100.DescriptorProto_ExtensionRange): _100.DescriptorProto_ExtensionRangeProtoMsg; - }; - DescriptorProto_ReservedRange: { - encode(message: _100.DescriptorProto_ReservedRange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.DescriptorProto_ReservedRange; - fromJSON(object: any): _100.DescriptorProto_ReservedRange; - toJSON(message: _100.DescriptorProto_ReservedRange): unknown; - fromPartial(object: Partial<_100.DescriptorProto_ReservedRange>): _100.DescriptorProto_ReservedRange; - fromAmino(object: _100.DescriptorProto_ReservedRangeAmino): _100.DescriptorProto_ReservedRange; - toAmino(message: _100.DescriptorProto_ReservedRange): _100.DescriptorProto_ReservedRangeAmino; - fromAminoMsg(object: _100.DescriptorProto_ReservedRangeAminoMsg): _100.DescriptorProto_ReservedRange; - fromProtoMsg(message: _100.DescriptorProto_ReservedRangeProtoMsg): _100.DescriptorProto_ReservedRange; - toProto(message: _100.DescriptorProto_ReservedRange): Uint8Array; - toProtoMsg(message: _100.DescriptorProto_ReservedRange): _100.DescriptorProto_ReservedRangeProtoMsg; - }; - ExtensionRangeOptions: { - encode(message: _100.ExtensionRangeOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.ExtensionRangeOptions; - fromJSON(object: any): _100.ExtensionRangeOptions; - toJSON(message: _100.ExtensionRangeOptions): unknown; - fromPartial(object: Partial<_100.ExtensionRangeOptions>): _100.ExtensionRangeOptions; - fromAmino(object: _100.ExtensionRangeOptionsAmino): _100.ExtensionRangeOptions; - toAmino(message: _100.ExtensionRangeOptions): _100.ExtensionRangeOptionsAmino; - fromAminoMsg(object: _100.ExtensionRangeOptionsAminoMsg): _100.ExtensionRangeOptions; - fromProtoMsg(message: _100.ExtensionRangeOptionsProtoMsg): _100.ExtensionRangeOptions; - toProto(message: _100.ExtensionRangeOptions): Uint8Array; - toProtoMsg(message: _100.ExtensionRangeOptions): _100.ExtensionRangeOptionsProtoMsg; - }; - FieldDescriptorProto: { - encode(message: _100.FieldDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.FieldDescriptorProto; - fromJSON(object: any): _100.FieldDescriptorProto; - toJSON(message: _100.FieldDescriptorProto): unknown; - fromPartial(object: Partial<_100.FieldDescriptorProto>): _100.FieldDescriptorProto; - fromAmino(object: _100.FieldDescriptorProtoAmino): _100.FieldDescriptorProto; - toAmino(message: _100.FieldDescriptorProto): _100.FieldDescriptorProtoAmino; - fromAminoMsg(object: _100.FieldDescriptorProtoAminoMsg): _100.FieldDescriptorProto; - fromProtoMsg(message: _100.FieldDescriptorProtoProtoMsg): _100.FieldDescriptorProto; - toProto(message: _100.FieldDescriptorProto): Uint8Array; - toProtoMsg(message: _100.FieldDescriptorProto): _100.FieldDescriptorProtoProtoMsg; - }; - OneofDescriptorProto: { - encode(message: _100.OneofDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.OneofDescriptorProto; - fromJSON(object: any): _100.OneofDescriptorProto; - toJSON(message: _100.OneofDescriptorProto): unknown; - fromPartial(object: Partial<_100.OneofDescriptorProto>): _100.OneofDescriptorProto; - fromAmino(object: _100.OneofDescriptorProtoAmino): _100.OneofDescriptorProto; - toAmino(message: _100.OneofDescriptorProto): _100.OneofDescriptorProtoAmino; - fromAminoMsg(object: _100.OneofDescriptorProtoAminoMsg): _100.OneofDescriptorProto; - fromProtoMsg(message: _100.OneofDescriptorProtoProtoMsg): _100.OneofDescriptorProto; - toProto(message: _100.OneofDescriptorProto): Uint8Array; - toProtoMsg(message: _100.OneofDescriptorProto): _100.OneofDescriptorProtoProtoMsg; - }; - EnumDescriptorProto: { - encode(message: _100.EnumDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.EnumDescriptorProto; - fromJSON(object: any): _100.EnumDescriptorProto; - toJSON(message: _100.EnumDescriptorProto): unknown; - fromPartial(object: Partial<_100.EnumDescriptorProto>): _100.EnumDescriptorProto; - fromAmino(object: _100.EnumDescriptorProtoAmino): _100.EnumDescriptorProto; - toAmino(message: _100.EnumDescriptorProto): _100.EnumDescriptorProtoAmino; - fromAminoMsg(object: _100.EnumDescriptorProtoAminoMsg): _100.EnumDescriptorProto; - fromProtoMsg(message: _100.EnumDescriptorProtoProtoMsg): _100.EnumDescriptorProto; - toProto(message: _100.EnumDescriptorProto): Uint8Array; - toProtoMsg(message: _100.EnumDescriptorProto): _100.EnumDescriptorProtoProtoMsg; - }; - EnumDescriptorProto_EnumReservedRange: { - encode(message: _100.EnumDescriptorProto_EnumReservedRange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.EnumDescriptorProto_EnumReservedRange; - fromJSON(object: any): _100.EnumDescriptorProto_EnumReservedRange; - toJSON(message: _100.EnumDescriptorProto_EnumReservedRange): unknown; - fromPartial(object: Partial<_100.EnumDescriptorProto_EnumReservedRange>): _100.EnumDescriptorProto_EnumReservedRange; - fromAmino(object: _100.EnumDescriptorProto_EnumReservedRangeAmino): _100.EnumDescriptorProto_EnumReservedRange; - toAmino(message: _100.EnumDescriptorProto_EnumReservedRange): _100.EnumDescriptorProto_EnumReservedRangeAmino; - fromAminoMsg(object: _100.EnumDescriptorProto_EnumReservedRangeAminoMsg): _100.EnumDescriptorProto_EnumReservedRange; - fromProtoMsg(message: _100.EnumDescriptorProto_EnumReservedRangeProtoMsg): _100.EnumDescriptorProto_EnumReservedRange; - toProto(message: _100.EnumDescriptorProto_EnumReservedRange): Uint8Array; - toProtoMsg(message: _100.EnumDescriptorProto_EnumReservedRange): _100.EnumDescriptorProto_EnumReservedRangeProtoMsg; - }; - EnumValueDescriptorProto: { - encode(message: _100.EnumValueDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.EnumValueDescriptorProto; - fromJSON(object: any): _100.EnumValueDescriptorProto; - toJSON(message: _100.EnumValueDescriptorProto): unknown; - fromPartial(object: Partial<_100.EnumValueDescriptorProto>): _100.EnumValueDescriptorProto; - fromAmino(object: _100.EnumValueDescriptorProtoAmino): _100.EnumValueDescriptorProto; - toAmino(message: _100.EnumValueDescriptorProto): _100.EnumValueDescriptorProtoAmino; - fromAminoMsg(object: _100.EnumValueDescriptorProtoAminoMsg): _100.EnumValueDescriptorProto; - fromProtoMsg(message: _100.EnumValueDescriptorProtoProtoMsg): _100.EnumValueDescriptorProto; - toProto(message: _100.EnumValueDescriptorProto): Uint8Array; - toProtoMsg(message: _100.EnumValueDescriptorProto): _100.EnumValueDescriptorProtoProtoMsg; - }; - ServiceDescriptorProto: { - encode(message: _100.ServiceDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.ServiceDescriptorProto; - fromJSON(object: any): _100.ServiceDescriptorProto; - toJSON(message: _100.ServiceDescriptorProto): unknown; - fromPartial(object: Partial<_100.ServiceDescriptorProto>): _100.ServiceDescriptorProto; - fromAmino(object: _100.ServiceDescriptorProtoAmino): _100.ServiceDescriptorProto; - toAmino(message: _100.ServiceDescriptorProto): _100.ServiceDescriptorProtoAmino; - fromAminoMsg(object: _100.ServiceDescriptorProtoAminoMsg): _100.ServiceDescriptorProto; - fromProtoMsg(message: _100.ServiceDescriptorProtoProtoMsg): _100.ServiceDescriptorProto; - toProto(message: _100.ServiceDescriptorProto): Uint8Array; - toProtoMsg(message: _100.ServiceDescriptorProto): _100.ServiceDescriptorProtoProtoMsg; - }; - MethodDescriptorProto: { - encode(message: _100.MethodDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.MethodDescriptorProto; - fromJSON(object: any): _100.MethodDescriptorProto; - toJSON(message: _100.MethodDescriptorProto): unknown; - fromPartial(object: Partial<_100.MethodDescriptorProto>): _100.MethodDescriptorProto; - fromAmino(object: _100.MethodDescriptorProtoAmino): _100.MethodDescriptorProto; - toAmino(message: _100.MethodDescriptorProto): _100.MethodDescriptorProtoAmino; - fromAminoMsg(object: _100.MethodDescriptorProtoAminoMsg): _100.MethodDescriptorProto; - fromProtoMsg(message: _100.MethodDescriptorProtoProtoMsg): _100.MethodDescriptorProto; - toProto(message: _100.MethodDescriptorProto): Uint8Array; - toProtoMsg(message: _100.MethodDescriptorProto): _100.MethodDescriptorProtoProtoMsg; - }; - FileOptions: { - encode(message: _100.FileOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.FileOptions; - fromJSON(object: any): _100.FileOptions; - toJSON(message: _100.FileOptions): unknown; - fromPartial(object: Partial<_100.FileOptions>): _100.FileOptions; - fromAmino(object: _100.FileOptionsAmino): _100.FileOptions; - toAmino(message: _100.FileOptions): _100.FileOptionsAmino; - fromAminoMsg(object: _100.FileOptionsAminoMsg): _100.FileOptions; - fromProtoMsg(message: _100.FileOptionsProtoMsg): _100.FileOptions; - toProto(message: _100.FileOptions): Uint8Array; - toProtoMsg(message: _100.FileOptions): _100.FileOptionsProtoMsg; - }; - MessageOptions: { - encode(message: _100.MessageOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.MessageOptions; - fromJSON(object: any): _100.MessageOptions; - toJSON(message: _100.MessageOptions): unknown; - fromPartial(object: Partial<_100.MessageOptions>): _100.MessageOptions; - fromAmino(object: _100.MessageOptionsAmino): _100.MessageOptions; - toAmino(message: _100.MessageOptions): _100.MessageOptionsAmino; - fromAminoMsg(object: _100.MessageOptionsAminoMsg): _100.MessageOptions; - fromProtoMsg(message: _100.MessageOptionsProtoMsg): _100.MessageOptions; - toProto(message: _100.MessageOptions): Uint8Array; - toProtoMsg(message: _100.MessageOptions): _100.MessageOptionsProtoMsg; - }; - FieldOptions: { - encode(message: _100.FieldOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.FieldOptions; - fromJSON(object: any): _100.FieldOptions; - toJSON(message: _100.FieldOptions): unknown; - fromPartial(object: Partial<_100.FieldOptions>): _100.FieldOptions; - fromAmino(object: _100.FieldOptionsAmino): _100.FieldOptions; - toAmino(message: _100.FieldOptions): _100.FieldOptionsAmino; - fromAminoMsg(object: _100.FieldOptionsAminoMsg): _100.FieldOptions; - fromProtoMsg(message: _100.FieldOptionsProtoMsg): _100.FieldOptions; - toProto(message: _100.FieldOptions): Uint8Array; - toProtoMsg(message: _100.FieldOptions): _100.FieldOptionsProtoMsg; - }; - OneofOptions: { - encode(message: _100.OneofOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.OneofOptions; - fromJSON(object: any): _100.OneofOptions; - toJSON(message: _100.OneofOptions): unknown; - fromPartial(object: Partial<_100.OneofOptions>): _100.OneofOptions; - fromAmino(object: _100.OneofOptionsAmino): _100.OneofOptions; - toAmino(message: _100.OneofOptions): _100.OneofOptionsAmino; - fromAminoMsg(object: _100.OneofOptionsAminoMsg): _100.OneofOptions; - fromProtoMsg(message: _100.OneofOptionsProtoMsg): _100.OneofOptions; - toProto(message: _100.OneofOptions): Uint8Array; - toProtoMsg(message: _100.OneofOptions): _100.OneofOptionsProtoMsg; - }; - EnumOptions: { - encode(message: _100.EnumOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.EnumOptions; - fromJSON(object: any): _100.EnumOptions; - toJSON(message: _100.EnumOptions): unknown; - fromPartial(object: Partial<_100.EnumOptions>): _100.EnumOptions; - fromAmino(object: _100.EnumOptionsAmino): _100.EnumOptions; - toAmino(message: _100.EnumOptions): _100.EnumOptionsAmino; - fromAminoMsg(object: _100.EnumOptionsAminoMsg): _100.EnumOptions; - fromProtoMsg(message: _100.EnumOptionsProtoMsg): _100.EnumOptions; - toProto(message: _100.EnumOptions): Uint8Array; - toProtoMsg(message: _100.EnumOptions): _100.EnumOptionsProtoMsg; - }; - EnumValueOptions: { - encode(message: _100.EnumValueOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.EnumValueOptions; - fromJSON(object: any): _100.EnumValueOptions; - toJSON(message: _100.EnumValueOptions): unknown; - fromPartial(object: Partial<_100.EnumValueOptions>): _100.EnumValueOptions; - fromAmino(object: _100.EnumValueOptionsAmino): _100.EnumValueOptions; - toAmino(message: _100.EnumValueOptions): _100.EnumValueOptionsAmino; - fromAminoMsg(object: _100.EnumValueOptionsAminoMsg): _100.EnumValueOptions; - fromProtoMsg(message: _100.EnumValueOptionsProtoMsg): _100.EnumValueOptions; - toProto(message: _100.EnumValueOptions): Uint8Array; - toProtoMsg(message: _100.EnumValueOptions): _100.EnumValueOptionsProtoMsg; - }; - ServiceOptions: { - encode(message: _100.ServiceOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.ServiceOptions; - fromJSON(object: any): _100.ServiceOptions; - toJSON(message: _100.ServiceOptions): unknown; - fromPartial(object: Partial<_100.ServiceOptions>): _100.ServiceOptions; - fromAmino(object: _100.ServiceOptionsAmino): _100.ServiceOptions; - toAmino(message: _100.ServiceOptions): _100.ServiceOptionsAmino; - fromAminoMsg(object: _100.ServiceOptionsAminoMsg): _100.ServiceOptions; - fromProtoMsg(message: _100.ServiceOptionsProtoMsg): _100.ServiceOptions; - toProto(message: _100.ServiceOptions): Uint8Array; - toProtoMsg(message: _100.ServiceOptions): _100.ServiceOptionsProtoMsg; - }; - MethodOptions: { - encode(message: _100.MethodOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.MethodOptions; - fromJSON(object: any): _100.MethodOptions; - toJSON(message: _100.MethodOptions): unknown; - fromPartial(object: Partial<_100.MethodOptions>): _100.MethodOptions; - fromAmino(object: _100.MethodOptionsAmino): _100.MethodOptions; - toAmino(message: _100.MethodOptions): _100.MethodOptionsAmino; - fromAminoMsg(object: _100.MethodOptionsAminoMsg): _100.MethodOptions; - fromProtoMsg(message: _100.MethodOptionsProtoMsg): _100.MethodOptions; - toProto(message: _100.MethodOptions): Uint8Array; - toProtoMsg(message: _100.MethodOptions): _100.MethodOptionsProtoMsg; - }; - UninterpretedOption: { - encode(message: _100.UninterpretedOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.UninterpretedOption; - fromJSON(object: any): _100.UninterpretedOption; - toJSON(message: _100.UninterpretedOption): unknown; - fromPartial(object: Partial<_100.UninterpretedOption>): _100.UninterpretedOption; - fromAmino(object: _100.UninterpretedOptionAmino): _100.UninterpretedOption; - toAmino(message: _100.UninterpretedOption): _100.UninterpretedOptionAmino; - fromAminoMsg(object: _100.UninterpretedOptionAminoMsg): _100.UninterpretedOption; - fromProtoMsg(message: _100.UninterpretedOptionProtoMsg): _100.UninterpretedOption; - toProto(message: _100.UninterpretedOption): Uint8Array; - toProtoMsg(message: _100.UninterpretedOption): _100.UninterpretedOptionProtoMsg; - }; - UninterpretedOption_NamePart: { - encode(message: _100.UninterpretedOption_NamePart, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.UninterpretedOption_NamePart; - fromJSON(object: any): _100.UninterpretedOption_NamePart; - toJSON(message: _100.UninterpretedOption_NamePart): unknown; - fromPartial(object: Partial<_100.UninterpretedOption_NamePart>): _100.UninterpretedOption_NamePart; - fromAmino(object: _100.UninterpretedOption_NamePartAmino): _100.UninterpretedOption_NamePart; - toAmino(message: _100.UninterpretedOption_NamePart): _100.UninterpretedOption_NamePartAmino; - fromAminoMsg(object: _100.UninterpretedOption_NamePartAminoMsg): _100.UninterpretedOption_NamePart; - fromProtoMsg(message: _100.UninterpretedOption_NamePartProtoMsg): _100.UninterpretedOption_NamePart; - toProto(message: _100.UninterpretedOption_NamePart): Uint8Array; - toProtoMsg(message: _100.UninterpretedOption_NamePart): _100.UninterpretedOption_NamePartProtoMsg; - }; - SourceCodeInfo: { - encode(message: _100.SourceCodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.SourceCodeInfo; - fromJSON(object: any): _100.SourceCodeInfo; - toJSON(message: _100.SourceCodeInfo): unknown; - fromPartial(object: Partial<_100.SourceCodeInfo>): _100.SourceCodeInfo; - fromAmino(object: _100.SourceCodeInfoAmino): _100.SourceCodeInfo; - toAmino(message: _100.SourceCodeInfo): _100.SourceCodeInfoAmino; - fromAminoMsg(object: _100.SourceCodeInfoAminoMsg): _100.SourceCodeInfo; - fromProtoMsg(message: _100.SourceCodeInfoProtoMsg): _100.SourceCodeInfo; - toProto(message: _100.SourceCodeInfo): Uint8Array; - toProtoMsg(message: _100.SourceCodeInfo): _100.SourceCodeInfoProtoMsg; - }; - SourceCodeInfo_Location: { - encode(message: _100.SourceCodeInfo_Location, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.SourceCodeInfo_Location; - fromJSON(object: any): _100.SourceCodeInfo_Location; - toJSON(message: _100.SourceCodeInfo_Location): unknown; - fromPartial(object: Partial<_100.SourceCodeInfo_Location>): _100.SourceCodeInfo_Location; - fromAmino(object: _100.SourceCodeInfo_LocationAmino): _100.SourceCodeInfo_Location; - toAmino(message: _100.SourceCodeInfo_Location): _100.SourceCodeInfo_LocationAmino; - fromAminoMsg(object: _100.SourceCodeInfo_LocationAminoMsg): _100.SourceCodeInfo_Location; - fromProtoMsg(message: _100.SourceCodeInfo_LocationProtoMsg): _100.SourceCodeInfo_Location; - toProto(message: _100.SourceCodeInfo_Location): Uint8Array; - toProtoMsg(message: _100.SourceCodeInfo_Location): _100.SourceCodeInfo_LocationProtoMsg; - }; - GeneratedCodeInfo: { - encode(message: _100.GeneratedCodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.GeneratedCodeInfo; - fromJSON(object: any): _100.GeneratedCodeInfo; - toJSON(message: _100.GeneratedCodeInfo): unknown; - fromPartial(object: Partial<_100.GeneratedCodeInfo>): _100.GeneratedCodeInfo; - fromAmino(object: _100.GeneratedCodeInfoAmino): _100.GeneratedCodeInfo; - toAmino(message: _100.GeneratedCodeInfo): _100.GeneratedCodeInfoAmino; - fromAminoMsg(object: _100.GeneratedCodeInfoAminoMsg): _100.GeneratedCodeInfo; - fromProtoMsg(message: _100.GeneratedCodeInfoProtoMsg): _100.GeneratedCodeInfo; - toProto(message: _100.GeneratedCodeInfo): Uint8Array; - toProtoMsg(message: _100.GeneratedCodeInfo): _100.GeneratedCodeInfoProtoMsg; - }; - GeneratedCodeInfo_Annotation: { - encode(message: _100.GeneratedCodeInfo_Annotation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _100.GeneratedCodeInfo_Annotation; - fromJSON(object: any): _100.GeneratedCodeInfo_Annotation; - toJSON(message: _100.GeneratedCodeInfo_Annotation): unknown; - fromPartial(object: Partial<_100.GeneratedCodeInfo_Annotation>): _100.GeneratedCodeInfo_Annotation; - fromAmino(object: _100.GeneratedCodeInfo_AnnotationAmino): _100.GeneratedCodeInfo_Annotation; - toAmino(message: _100.GeneratedCodeInfo_Annotation): _100.GeneratedCodeInfo_AnnotationAmino; - fromAminoMsg(object: _100.GeneratedCodeInfo_AnnotationAminoMsg): _100.GeneratedCodeInfo_Annotation; - fromProtoMsg(message: _100.GeneratedCodeInfo_AnnotationProtoMsg): _100.GeneratedCodeInfo_Annotation; - toProto(message: _100.GeneratedCodeInfo_Annotation): Uint8Array; - toProtoMsg(message: _100.GeneratedCodeInfo_Annotation): _100.GeneratedCodeInfo_AnnotationProtoMsg; - }; - }; -} diff --git a/packages/api/types/codegen/google/protobuf/any.d.ts b/packages/api/types/codegen/google/protobuf/any.d.ts deleted file mode 100644 index 449d9370..00000000 --- a/packages/api/types/codegen/google/protobuf/any.d.ts +++ /dev/null @@ -1,339 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface Any { - $typeUrl?: string; - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - */ - typeUrl: string; - /** Must be a valid serialized protocol buffer of the above specified type. */ - value: Uint8Array; -} -export interface AnyProtoMsg { - typeUrl: "/google.protobuf.Any"; - value: Uint8Array; -} -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface AnyAmino { - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - */ - type: string; - /** Must be a valid serialized protocol buffer of the above specified type. */ - value: any; -} -export interface AnyAminoMsg { - type: string; - value: AnyAmino; -} -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface AnySDKType { - $typeUrl?: string; - type_url: string; - value: Uint8Array; -} -export declare const Any: { - encode(message: Any, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Any; - fromJSON(object: any): Any; - toJSON(message: Any): unknown; - fromPartial(object: Partial): Any; - fromAmino(object: AnyAmino): Any; - toAmino(message: Any): AnyAmino; - fromAminoMsg(object: AnyAminoMsg): Any; - fromProtoMsg(message: AnyProtoMsg): Any; - toProto(message: Any): Uint8Array; - toProtoMsg(message: Any): AnyProtoMsg; -}; diff --git a/packages/api/types/codegen/google/protobuf/descriptor.d.ts b/packages/api/types/codegen/google/protobuf/descriptor.d.ts deleted file mode 100644 index 3765d311..00000000 --- a/packages/api/types/codegen/google/protobuf/descriptor.d.ts +++ /dev/null @@ -1,2306 +0,0 @@ -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export declare enum FieldDescriptorProto_Type { - /** - * TYPE_DOUBLE - 0 is reserved for errors. - * Order is weird for historical reasons. - */ - TYPE_DOUBLE = 1, - TYPE_FLOAT = 2, - /** - * TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - */ - TYPE_INT64 = 3, - TYPE_UINT64 = 4, - /** - * TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - */ - TYPE_INT32 = 5, - TYPE_FIXED64 = 6, - TYPE_FIXED32 = 7, - TYPE_BOOL = 8, - TYPE_STRING = 9, - /** - * TYPE_GROUP - Tag-delimited aggregate. - * Group type is deprecated and not supported in proto3. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. - */ - TYPE_GROUP = 10, - TYPE_MESSAGE = 11, - /** TYPE_BYTES - New in version 2. */ - TYPE_BYTES = 12, - TYPE_UINT32 = 13, - TYPE_ENUM = 14, - TYPE_SFIXED32 = 15, - TYPE_SFIXED64 = 16, - /** TYPE_SINT32 - Uses ZigZag encoding. */ - TYPE_SINT32 = 17, - /** TYPE_SINT64 - Uses ZigZag encoding. */ - TYPE_SINT64 = 18, - UNRECOGNIZED = -1 -} -export declare const FieldDescriptorProto_TypeSDKType: typeof FieldDescriptorProto_Type; -export declare const FieldDescriptorProto_TypeAmino: typeof FieldDescriptorProto_Type; -export declare function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type; -export declare function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string; -export declare enum FieldDescriptorProto_Label { - /** LABEL_OPTIONAL - 0 is reserved for errors */ - LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3, - UNRECOGNIZED = -1 -} -export declare const FieldDescriptorProto_LabelSDKType: typeof FieldDescriptorProto_Label; -export declare const FieldDescriptorProto_LabelAmino: typeof FieldDescriptorProto_Label; -export declare function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label; -export declare function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string; -/** Generated classes can be optimized for speed or code size. */ -export declare enum FileOptions_OptimizeMode { - /** - * SPEED - Generate complete code for parsing, serialization, - * etc. - */ - SPEED = 1, - /** CODE_SIZE - Use ReflectionOps to implement these methods. */ - CODE_SIZE = 2, - /** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */ - LITE_RUNTIME = 3, - UNRECOGNIZED = -1 -} -export declare const FileOptions_OptimizeModeSDKType: typeof FileOptions_OptimizeMode; -export declare const FileOptions_OptimizeModeAmino: typeof FileOptions_OptimizeMode; -export declare function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode; -export declare function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string; -export declare enum FieldOptions_CType { - /** STRING - Default mode. */ - STRING = 0, - CORD = 1, - STRING_PIECE = 2, - UNRECOGNIZED = -1 -} -export declare const FieldOptions_CTypeSDKType: typeof FieldOptions_CType; -export declare const FieldOptions_CTypeAmino: typeof FieldOptions_CType; -export declare function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType; -export declare function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string; -export declare enum FieldOptions_JSType { - /** JS_NORMAL - Use the default type. */ - JS_NORMAL = 0, - /** JS_STRING - Use JavaScript strings. */ - JS_STRING = 1, - /** JS_NUMBER - Use JavaScript numbers. */ - JS_NUMBER = 2, - UNRECOGNIZED = -1 -} -export declare const FieldOptions_JSTypeSDKType: typeof FieldOptions_JSType; -export declare const FieldOptions_JSTypeAmino: typeof FieldOptions_JSType; -export declare function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType; -export declare function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string; -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - */ -export declare enum MethodOptions_IdempotencyLevel { - IDEMPOTENCY_UNKNOWN = 0, - /** NO_SIDE_EFFECTS - implies idempotent */ - NO_SIDE_EFFECTS = 1, - /** IDEMPOTENT - idempotent, but may have side effects */ - IDEMPOTENT = 2, - UNRECOGNIZED = -1 -} -export declare const MethodOptions_IdempotencyLevelSDKType: typeof MethodOptions_IdempotencyLevel; -export declare const MethodOptions_IdempotencyLevelAmino: typeof MethodOptions_IdempotencyLevel; -export declare function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel; -export declare function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string; -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSet { - file: FileDescriptorProto[]; -} -export interface FileDescriptorSetProtoMsg { - typeUrl: "/google.protobuf.FileDescriptorSet"; - value: Uint8Array; -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSetAmino { - file: FileDescriptorProtoAmino[]; -} -export interface FileDescriptorSetAminoMsg { - type: "/google.protobuf.FileDescriptorSet"; - value: FileDescriptorSetAmino; -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSetSDKType { - file: FileDescriptorProtoSDKType[]; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProto { - /** file name, relative to root of source tree */ - name: string; - package: string; - /** Names of files imported by this file. */ - dependency: string[]; - /** Indexes of the public imported files in the dependency list above. */ - publicDependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - */ - weakDependency: number[]; - /** All top-level definitions in this file. */ - messageType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - service: ServiceDescriptorProto[]; - extension: FieldDescriptorProto[]; - options: FileOptions; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - sourceCodeInfo: SourceCodeInfo; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - syntax: string; -} -export interface FileDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.FileDescriptorProto"; - value: Uint8Array; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProtoAmino { - /** file name, relative to root of source tree */ - name: string; - package: string; - /** Names of files imported by this file. */ - dependency: string[]; - /** Indexes of the public imported files in the dependency list above. */ - public_dependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - */ - weak_dependency: number[]; - /** All top-level definitions in this file. */ - message_type: DescriptorProtoAmino[]; - enum_type: EnumDescriptorProtoAmino[]; - service: ServiceDescriptorProtoAmino[]; - extension: FieldDescriptorProtoAmino[]; - options?: FileOptionsAmino; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - source_code_info?: SourceCodeInfoAmino; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - syntax: string; -} -export interface FileDescriptorProtoAminoMsg { - type: "/google.protobuf.FileDescriptorProto"; - value: FileDescriptorProtoAmino; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProtoSDKType { - name: string; - package: string; - dependency: string[]; - public_dependency: number[]; - weak_dependency: number[]; - message_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - service: ServiceDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - options: FileOptionsSDKType; - source_code_info: SourceCodeInfoSDKType; - syntax: string; -} -/** Describes a message type. */ -export interface DescriptorProto { - name: string; - field: FieldDescriptorProto[]; - extension: FieldDescriptorProto[]; - nestedType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - extensionRange: DescriptorProto_ExtensionRange[]; - oneofDecl: OneofDescriptorProto[]; - options: MessageOptions; - reservedRange: DescriptorProto_ReservedRange[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - reservedName: string[]; -} -export interface DescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.DescriptorProto"; - value: Uint8Array; -} -/** Describes a message type. */ -export interface DescriptorProtoAmino { - name: string; - field: FieldDescriptorProtoAmino[]; - extension: FieldDescriptorProtoAmino[]; - nested_type: DescriptorProtoAmino[]; - enum_type: EnumDescriptorProtoAmino[]; - extension_range: DescriptorProto_ExtensionRangeAmino[]; - oneof_decl: OneofDescriptorProtoAmino[]; - options?: MessageOptionsAmino; - reserved_range: DescriptorProto_ReservedRangeAmino[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - reserved_name: string[]; -} -export interface DescriptorProtoAminoMsg { - type: "/google.protobuf.DescriptorProto"; - value: DescriptorProtoAmino; -} -/** Describes a message type. */ -export interface DescriptorProtoSDKType { - name: string; - field: FieldDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - nested_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - extension_range: DescriptorProto_ExtensionRangeSDKType[]; - oneof_decl: OneofDescriptorProtoSDKType[]; - options: MessageOptionsSDKType; - reserved_range: DescriptorProto_ReservedRangeSDKType[]; - reserved_name: string[]; -} -export interface DescriptorProto_ExtensionRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; - options: ExtensionRangeOptions; -} -export interface DescriptorProto_ExtensionRangeProtoMsg { - typeUrl: "/google.protobuf.ExtensionRange"; - value: Uint8Array; -} -export interface DescriptorProto_ExtensionRangeAmino { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; - options?: ExtensionRangeOptionsAmino; -} -export interface DescriptorProto_ExtensionRangeAminoMsg { - type: "/google.protobuf.ExtensionRange"; - value: DescriptorProto_ExtensionRangeAmino; -} -export interface DescriptorProto_ExtensionRangeSDKType { - start: number; - end: number; - options: ExtensionRangeOptionsSDKType; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; -} -export interface DescriptorProto_ReservedRangeProtoMsg { - typeUrl: "/google.protobuf.ReservedRange"; - value: Uint8Array; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRangeAmino { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; -} -export interface DescriptorProto_ReservedRangeAminoMsg { - type: "/google.protobuf.ReservedRange"; - value: DescriptorProto_ReservedRangeAmino; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRangeSDKType { - start: number; - end: number; -} -export interface ExtensionRangeOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ExtensionRangeOptionsProtoMsg { - typeUrl: "/google.protobuf.ExtensionRangeOptions"; - value: Uint8Array; -} -export interface ExtensionRangeOptionsAmino { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface ExtensionRangeOptionsAminoMsg { - type: "/google.protobuf.ExtensionRangeOptions"; - value: ExtensionRangeOptionsAmino; -} -export interface ExtensionRangeOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProto { - name: string; - number: number; - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - typeName: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - defaultValue: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - oneofIndex: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - jsonName: string; - options: FieldOptions; -} -export interface FieldDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.FieldDescriptorProto"; - value: Uint8Array; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProtoAmino { - name: string; - number: number; - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - type_name: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - default_value: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - oneof_index: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - json_name: string; - options?: FieldOptionsAmino; -} -export interface FieldDescriptorProtoAminoMsg { - type: "/google.protobuf.FieldDescriptorProto"; - value: FieldDescriptorProtoAmino; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProtoSDKType { - name: string; - number: number; - label: FieldDescriptorProto_Label; - type: FieldDescriptorProto_Type; - type_name: string; - extendee: string; - default_value: string; - oneof_index: number; - json_name: string; - options: FieldOptionsSDKType; -} -/** Describes a oneof. */ -export interface OneofDescriptorProto { - name: string; - options: OneofOptions; -} -export interface OneofDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.OneofDescriptorProto"; - value: Uint8Array; -} -/** Describes a oneof. */ -export interface OneofDescriptorProtoAmino { - name: string; - options?: OneofOptionsAmino; -} -export interface OneofDescriptorProtoAminoMsg { - type: "/google.protobuf.OneofDescriptorProto"; - value: OneofDescriptorProtoAmino; -} -/** Describes a oneof. */ -export interface OneofDescriptorProtoSDKType { - name: string; - options: OneofOptionsSDKType; -} -/** Describes an enum type. */ -export interface EnumDescriptorProto { - name: string; - value: EnumValueDescriptorProto[]; - options: EnumOptions; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - reservedRange: EnumDescriptorProto_EnumReservedRange[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - reservedName: string[]; -} -export interface EnumDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.EnumDescriptorProto"; - value: Uint8Array; -} -/** Describes an enum type. */ -export interface EnumDescriptorProtoAmino { - name: string; - value: EnumValueDescriptorProtoAmino[]; - options?: EnumOptionsAmino; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - reserved_range: EnumDescriptorProto_EnumReservedRangeAmino[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - reserved_name: string[]; -} -export interface EnumDescriptorProtoAminoMsg { - type: "/google.protobuf.EnumDescriptorProto"; - value: EnumDescriptorProtoAmino; -} -/** Describes an enum type. */ -export interface EnumDescriptorProtoSDKType { - name: string; - value: EnumValueDescriptorProtoSDKType[]; - options: EnumOptionsSDKType; - reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[]; - reserved_name: string[]; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRange { - /** Inclusive. */ - start: number; - /** Inclusive. */ - end: number; -} -export interface EnumDescriptorProto_EnumReservedRangeProtoMsg { - typeUrl: "/google.protobuf.EnumReservedRange"; - value: Uint8Array; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRangeAmino { - /** Inclusive. */ - start: number; - /** Inclusive. */ - end: number; -} -export interface EnumDescriptorProto_EnumReservedRangeAminoMsg { - type: "/google.protobuf.EnumReservedRange"; - value: EnumDescriptorProto_EnumReservedRangeAmino; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRangeSDKType { - start: number; - end: number; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProto { - name: string; - number: number; - options: EnumValueOptions; -} -export interface EnumValueDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.EnumValueDescriptorProto"; - value: Uint8Array; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProtoAmino { - name: string; - number: number; - options?: EnumValueOptionsAmino; -} -export interface EnumValueDescriptorProtoAminoMsg { - type: "/google.protobuf.EnumValueDescriptorProto"; - value: EnumValueDescriptorProtoAmino; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProtoSDKType { - name: string; - number: number; - options: EnumValueOptionsSDKType; -} -/** Describes a service. */ -export interface ServiceDescriptorProto { - name: string; - method: MethodDescriptorProto[]; - options: ServiceOptions; -} -export interface ServiceDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.ServiceDescriptorProto"; - value: Uint8Array; -} -/** Describes a service. */ -export interface ServiceDescriptorProtoAmino { - name: string; - method: MethodDescriptorProtoAmino[]; - options?: ServiceOptionsAmino; -} -export interface ServiceDescriptorProtoAminoMsg { - type: "/google.protobuf.ServiceDescriptorProto"; - value: ServiceDescriptorProtoAmino; -} -/** Describes a service. */ -export interface ServiceDescriptorProtoSDKType { - name: string; - method: MethodDescriptorProtoSDKType[]; - options: ServiceOptionsSDKType; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProto { - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - inputType: string; - outputType: string; - options: MethodOptions; - /** Identifies if client streams multiple client messages */ - clientStreaming: boolean; - /** Identifies if server streams multiple server messages */ - serverStreaming: boolean; -} -export interface MethodDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.MethodDescriptorProto"; - value: Uint8Array; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProtoAmino { - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - input_type: string; - output_type: string; - options?: MethodOptionsAmino; - /** Identifies if client streams multiple client messages */ - client_streaming: boolean; - /** Identifies if server streams multiple server messages */ - server_streaming: boolean; -} -export interface MethodDescriptorProtoAminoMsg { - type: "/google.protobuf.MethodDescriptorProto"; - value: MethodDescriptorProtoAmino; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProtoSDKType { - name: string; - input_type: string; - output_type: string; - options: MethodOptionsSDKType; - client_streaming: boolean; - server_streaming: boolean; -} -export interface FileOptions { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - javaPackage: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - javaOuterClassname: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - javaMultipleFiles: boolean; - /** This option does nothing. */ - /** @deprecated */ - javaGenerateEqualsAndHash: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - javaStringCheckUtf8: boolean; - optimizeFor: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - goPackage: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - ccGenericServices: boolean; - javaGenericServices: boolean; - pyGenericServices: boolean; - phpGenericServices: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - ccEnableArenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - objcClassPrefix: string; - /** Namespace for generated classes; defaults to the package. */ - csharpNamespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - swiftPrefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - phpClassPrefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - phpNamespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - phpMetadataNamespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - rubyPackage: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FileOptionsProtoMsg { - typeUrl: "/google.protobuf.FileOptions"; - value: Uint8Array; -} -export interface FileOptionsAmino { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - java_package: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - java_outer_classname: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - java_multiple_files: boolean; - /** This option does nothing. */ - /** @deprecated */ - java_generate_equals_and_hash: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - java_string_check_utf8: boolean; - optimize_for: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - go_package: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - cc_generic_services: boolean; - java_generic_services: boolean; - py_generic_services: boolean; - php_generic_services: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - cc_enable_arenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - objc_class_prefix: string; - /** Namespace for generated classes; defaults to the package. */ - csharp_namespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - swift_prefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - php_class_prefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - php_namespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - php_metadata_namespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - ruby_package: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface FileOptionsAminoMsg { - type: "/google.protobuf.FileOptions"; - value: FileOptionsAmino; -} -export interface FileOptionsSDKType { - java_package: string; - java_outer_classname: string; - java_multiple_files: boolean; - /** @deprecated */ - java_generate_equals_and_hash: boolean; - java_string_check_utf8: boolean; - optimize_for: FileOptions_OptimizeMode; - go_package: string; - cc_generic_services: boolean; - java_generic_services: boolean; - py_generic_services: boolean; - php_generic_services: boolean; - deprecated: boolean; - cc_enable_arenas: boolean; - objc_class_prefix: string; - csharp_namespace: string; - swift_prefix: string; - php_class_prefix: string; - php_namespace: string; - php_metadata_namespace: string; - ruby_package: string; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MessageOptions { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - messageSetWireFormat: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - noStandardDescriptorAccessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - mapEntry: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MessageOptionsProtoMsg { - typeUrl: "/google.protobuf.MessageOptions"; - value: Uint8Array; -} -export interface MessageOptionsAmino { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - message_set_wire_format: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - no_standard_descriptor_accessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - map_entry: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface MessageOptionsAminoMsg { - type: "/google.protobuf.MessageOptions"; - value: MessageOptionsAmino; -} -export interface MessageOptionsSDKType { - message_set_wire_format: boolean; - no_standard_descriptor_accessor: boolean; - deprecated: boolean; - map_entry: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface FieldOptions { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - lazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - deprecated: boolean; - /** For Google-internal migration only. Do not use. */ - weak: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FieldOptionsProtoMsg { - typeUrl: "/google.protobuf.FieldOptions"; - value: Uint8Array; -} -export interface FieldOptionsAmino { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - lazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - deprecated: boolean; - /** For Google-internal migration only. Do not use. */ - weak: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface FieldOptionsAminoMsg { - type: "/google.protobuf.FieldOptions"; - value: FieldOptionsAmino; -} -export interface FieldOptionsSDKType { - ctype: FieldOptions_CType; - packed: boolean; - jstype: FieldOptions_JSType; - lazy: boolean; - deprecated: boolean; - weak: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface OneofOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface OneofOptionsProtoMsg { - typeUrl: "/google.protobuf.OneofOptions"; - value: Uint8Array; -} -export interface OneofOptionsAmino { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface OneofOptionsAminoMsg { - type: "/google.protobuf.OneofOptions"; - value: OneofOptionsAmino; -} -export interface OneofOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumOptions { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allowAlias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumOptionsProtoMsg { - typeUrl: "/google.protobuf.EnumOptions"; - value: Uint8Array; -} -export interface EnumOptionsAmino { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allow_alias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface EnumOptionsAminoMsg { - type: "/google.protobuf.EnumOptions"; - value: EnumOptionsAmino; -} -export interface EnumOptionsSDKType { - allow_alias: boolean; - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumValueOptions { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumValueOptionsProtoMsg { - typeUrl: "/google.protobuf.EnumValueOptions"; - value: Uint8Array; -} -export interface EnumValueOptionsAmino { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface EnumValueOptionsAminoMsg { - type: "/google.protobuf.EnumValueOptions"; - value: EnumValueOptionsAmino; -} -export interface EnumValueOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface ServiceOptions { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ServiceOptionsProtoMsg { - typeUrl: "/google.protobuf.ServiceOptions"; - value: Uint8Array; -} -export interface ServiceOptionsAmino { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface ServiceOptionsAminoMsg { - type: "/google.protobuf.ServiceOptions"; - value: ServiceOptionsAmino; -} -export interface ServiceOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MethodOptions { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated: boolean; - idempotencyLevel: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MethodOptionsProtoMsg { - typeUrl: "/google.protobuf.MethodOptions"; - value: Uint8Array; -} -export interface MethodOptionsAmino { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated: boolean; - idempotency_level: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface MethodOptionsAminoMsg { - type: "/google.protobuf.MethodOptions"; - value: MethodOptionsAmino; -} -export interface MethodOptionsSDKType { - deprecated: boolean; - idempotency_level: MethodOptions_IdempotencyLevel; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOption { - name: UninterpretedOption_NamePart[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - identifierValue: string; - positiveIntValue: Long; - negativeIntValue: Long; - doubleValue: number; - stringValue: Uint8Array; - aggregateValue: string; -} -export interface UninterpretedOptionProtoMsg { - typeUrl: "/google.protobuf.UninterpretedOption"; - value: Uint8Array; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOptionAmino { - name: UninterpretedOption_NamePartAmino[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - identifier_value: string; - positive_int_value: string; - negative_int_value: string; - double_value: number; - string_value: Uint8Array; - aggregate_value: string; -} -export interface UninterpretedOptionAminoMsg { - type: "/google.protobuf.UninterpretedOption"; - value: UninterpretedOptionAmino; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOptionSDKType { - name: UninterpretedOption_NamePartSDKType[]; - identifier_value: string; - positive_int_value: Long; - negative_int_value: Long; - double_value: number; - string_value: Uint8Array; - aggregate_value: string; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePart { - namePart: string; - isExtension: boolean; -} -export interface UninterpretedOption_NamePartProtoMsg { - typeUrl: "/google.protobuf.NamePart"; - value: Uint8Array; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePartAmino { - name_part: string; - is_extension: boolean; -} -export interface UninterpretedOption_NamePartAminoMsg { - type: "/google.protobuf.NamePart"; - value: UninterpretedOption_NamePartAmino; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePartSDKType { - name_part: string; - is_extension: boolean; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfo { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - */ - location: SourceCodeInfo_Location[]; -} -export interface SourceCodeInfoProtoMsg { - typeUrl: "/google.protobuf.SourceCodeInfo"; - value: Uint8Array; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfoAmino { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - */ - location: SourceCodeInfo_LocationAmino[]; -} -export interface SourceCodeInfoAminoMsg { - type: "/google.protobuf.SourceCodeInfo"; - value: SourceCodeInfoAmino; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfoSDKType { - location: SourceCodeInfo_LocationSDKType[]; -} -export interface SourceCodeInfo_Location { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition. For - * example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - */ - path: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - */ - span: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to qux. - * // - * // Another line attached to qux. - * optional double qux = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to qux or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - */ - leadingComments: string; - trailingComments: string; - leadingDetachedComments: string[]; -} -export interface SourceCodeInfo_LocationProtoMsg { - typeUrl: "/google.protobuf.Location"; - value: Uint8Array; -} -export interface SourceCodeInfo_LocationAmino { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition. For - * example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - */ - path: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - */ - span: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to qux. - * // - * // Another line attached to qux. - * optional double qux = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to qux or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - */ - leading_comments: string; - trailing_comments: string; - leading_detached_comments: string[]; -} -export interface SourceCodeInfo_LocationAminoMsg { - type: "/google.protobuf.Location"; - value: SourceCodeInfo_LocationAmino; -} -export interface SourceCodeInfo_LocationSDKType { - path: number[]; - span: number[]; - leading_comments: string; - trailing_comments: string; - leading_detached_comments: string[]; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfo { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation: GeneratedCodeInfo_Annotation[]; -} -export interface GeneratedCodeInfoProtoMsg { - typeUrl: "/google.protobuf.GeneratedCodeInfo"; - value: Uint8Array; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfoAmino { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation: GeneratedCodeInfo_AnnotationAmino[]; -} -export interface GeneratedCodeInfoAminoMsg { - type: "/google.protobuf.GeneratedCodeInfo"; - value: GeneratedCodeInfoAmino; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfoSDKType { - annotation: GeneratedCodeInfo_AnnotationSDKType[]; -} -export interface GeneratedCodeInfo_Annotation { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path: number[]; - /** Identifies the filesystem path to the original source .proto. */ - sourceFile: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - end: number; -} -export interface GeneratedCodeInfo_AnnotationProtoMsg { - typeUrl: "/google.protobuf.Annotation"; - value: Uint8Array; -} -export interface GeneratedCodeInfo_AnnotationAmino { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path: number[]; - /** Identifies the filesystem path to the original source .proto. */ - source_file: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - end: number; -} -export interface GeneratedCodeInfo_AnnotationAminoMsg { - type: "/google.protobuf.Annotation"; - value: GeneratedCodeInfo_AnnotationAmino; -} -export interface GeneratedCodeInfo_AnnotationSDKType { - path: number[]; - source_file: string; - begin: number; - end: number; -} -export declare const FileDescriptorSet: { - encode(message: FileDescriptorSet, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet; - fromJSON(object: any): FileDescriptorSet; - toJSON(message: FileDescriptorSet): unknown; - fromPartial(object: Partial): FileDescriptorSet; - fromAmino(object: FileDescriptorSetAmino): FileDescriptorSet; - toAmino(message: FileDescriptorSet): FileDescriptorSetAmino; - fromAminoMsg(object: FileDescriptorSetAminoMsg): FileDescriptorSet; - fromProtoMsg(message: FileDescriptorSetProtoMsg): FileDescriptorSet; - toProto(message: FileDescriptorSet): Uint8Array; - toProtoMsg(message: FileDescriptorSet): FileDescriptorSetProtoMsg; -}; -export declare const FileDescriptorProto: { - encode(message: FileDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto; - fromJSON(object: any): FileDescriptorProto; - toJSON(message: FileDescriptorProto): unknown; - fromPartial(object: Partial): FileDescriptorProto; - fromAmino(object: FileDescriptorProtoAmino): FileDescriptorProto; - toAmino(message: FileDescriptorProto): FileDescriptorProtoAmino; - fromAminoMsg(object: FileDescriptorProtoAminoMsg): FileDescriptorProto; - fromProtoMsg(message: FileDescriptorProtoProtoMsg): FileDescriptorProto; - toProto(message: FileDescriptorProto): Uint8Array; - toProtoMsg(message: FileDescriptorProto): FileDescriptorProtoProtoMsg; -}; -export declare const DescriptorProto: { - encode(message: DescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto; - fromJSON(object: any): DescriptorProto; - toJSON(message: DescriptorProto): unknown; - fromPartial(object: Partial): DescriptorProto; - fromAmino(object: DescriptorProtoAmino): DescriptorProto; - toAmino(message: DescriptorProto): DescriptorProtoAmino; - fromAminoMsg(object: DescriptorProtoAminoMsg): DescriptorProto; - fromProtoMsg(message: DescriptorProtoProtoMsg): DescriptorProto; - toProto(message: DescriptorProto): Uint8Array; - toProtoMsg(message: DescriptorProto): DescriptorProtoProtoMsg; -}; -export declare const DescriptorProto_ExtensionRange: { - encode(message: DescriptorProto_ExtensionRange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange; - fromJSON(object: any): DescriptorProto_ExtensionRange; - toJSON(message: DescriptorProto_ExtensionRange): unknown; - fromPartial(object: Partial): DescriptorProto_ExtensionRange; - fromAmino(object: DescriptorProto_ExtensionRangeAmino): DescriptorProto_ExtensionRange; - toAmino(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeAmino; - fromAminoMsg(object: DescriptorProto_ExtensionRangeAminoMsg): DescriptorProto_ExtensionRange; - fromProtoMsg(message: DescriptorProto_ExtensionRangeProtoMsg): DescriptorProto_ExtensionRange; - toProto(message: DescriptorProto_ExtensionRange): Uint8Array; - toProtoMsg(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeProtoMsg; -}; -export declare const DescriptorProto_ReservedRange: { - encode(message: DescriptorProto_ReservedRange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange; - fromJSON(object: any): DescriptorProto_ReservedRange; - toJSON(message: DescriptorProto_ReservedRange): unknown; - fromPartial(object: Partial): DescriptorProto_ReservedRange; - fromAmino(object: DescriptorProto_ReservedRangeAmino): DescriptorProto_ReservedRange; - toAmino(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeAmino; - fromAminoMsg(object: DescriptorProto_ReservedRangeAminoMsg): DescriptorProto_ReservedRange; - fromProtoMsg(message: DescriptorProto_ReservedRangeProtoMsg): DescriptorProto_ReservedRange; - toProto(message: DescriptorProto_ReservedRange): Uint8Array; - toProtoMsg(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeProtoMsg; -}; -export declare const ExtensionRangeOptions: { - encode(message: ExtensionRangeOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions; - fromJSON(object: any): ExtensionRangeOptions; - toJSON(message: ExtensionRangeOptions): unknown; - fromPartial(object: Partial): ExtensionRangeOptions; - fromAmino(object: ExtensionRangeOptionsAmino): ExtensionRangeOptions; - toAmino(message: ExtensionRangeOptions): ExtensionRangeOptionsAmino; - fromAminoMsg(object: ExtensionRangeOptionsAminoMsg): ExtensionRangeOptions; - fromProtoMsg(message: ExtensionRangeOptionsProtoMsg): ExtensionRangeOptions; - toProto(message: ExtensionRangeOptions): Uint8Array; - toProtoMsg(message: ExtensionRangeOptions): ExtensionRangeOptionsProtoMsg; -}; -export declare const FieldDescriptorProto: { - encode(message: FieldDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto; - fromJSON(object: any): FieldDescriptorProto; - toJSON(message: FieldDescriptorProto): unknown; - fromPartial(object: Partial): FieldDescriptorProto; - fromAmino(object: FieldDescriptorProtoAmino): FieldDescriptorProto; - toAmino(message: FieldDescriptorProto): FieldDescriptorProtoAmino; - fromAminoMsg(object: FieldDescriptorProtoAminoMsg): FieldDescriptorProto; - fromProtoMsg(message: FieldDescriptorProtoProtoMsg): FieldDescriptorProto; - toProto(message: FieldDescriptorProto): Uint8Array; - toProtoMsg(message: FieldDescriptorProto): FieldDescriptorProtoProtoMsg; -}; -export declare const OneofDescriptorProto: { - encode(message: OneofDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto; - fromJSON(object: any): OneofDescriptorProto; - toJSON(message: OneofDescriptorProto): unknown; - fromPartial(object: Partial): OneofDescriptorProto; - fromAmino(object: OneofDescriptorProtoAmino): OneofDescriptorProto; - toAmino(message: OneofDescriptorProto): OneofDescriptorProtoAmino; - fromAminoMsg(object: OneofDescriptorProtoAminoMsg): OneofDescriptorProto; - fromProtoMsg(message: OneofDescriptorProtoProtoMsg): OneofDescriptorProto; - toProto(message: OneofDescriptorProto): Uint8Array; - toProtoMsg(message: OneofDescriptorProto): OneofDescriptorProtoProtoMsg; -}; -export declare const EnumDescriptorProto: { - encode(message: EnumDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto; - fromJSON(object: any): EnumDescriptorProto; - toJSON(message: EnumDescriptorProto): unknown; - fromPartial(object: Partial): EnumDescriptorProto; - fromAmino(object: EnumDescriptorProtoAmino): EnumDescriptorProto; - toAmino(message: EnumDescriptorProto): EnumDescriptorProtoAmino; - fromAminoMsg(object: EnumDescriptorProtoAminoMsg): EnumDescriptorProto; - fromProtoMsg(message: EnumDescriptorProtoProtoMsg): EnumDescriptorProto; - toProto(message: EnumDescriptorProto): Uint8Array; - toProtoMsg(message: EnumDescriptorProto): EnumDescriptorProtoProtoMsg; -}; -export declare const EnumDescriptorProto_EnumReservedRange: { - encode(message: EnumDescriptorProto_EnumReservedRange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange; - fromJSON(object: any): EnumDescriptorProto_EnumReservedRange; - toJSON(message: EnumDescriptorProto_EnumReservedRange): unknown; - fromPartial(object: Partial): EnumDescriptorProto_EnumReservedRange; - fromAmino(object: EnumDescriptorProto_EnumReservedRangeAmino): EnumDescriptorProto_EnumReservedRange; - toAmino(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeAmino; - fromAminoMsg(object: EnumDescriptorProto_EnumReservedRangeAminoMsg): EnumDescriptorProto_EnumReservedRange; - fromProtoMsg(message: EnumDescriptorProto_EnumReservedRangeProtoMsg): EnumDescriptorProto_EnumReservedRange; - toProto(message: EnumDescriptorProto_EnumReservedRange): Uint8Array; - toProtoMsg(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeProtoMsg; -}; -export declare const EnumValueDescriptorProto: { - encode(message: EnumValueDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto; - fromJSON(object: any): EnumValueDescriptorProto; - toJSON(message: EnumValueDescriptorProto): unknown; - fromPartial(object: Partial): EnumValueDescriptorProto; - fromAmino(object: EnumValueDescriptorProtoAmino): EnumValueDescriptorProto; - toAmino(message: EnumValueDescriptorProto): EnumValueDescriptorProtoAmino; - fromAminoMsg(object: EnumValueDescriptorProtoAminoMsg): EnumValueDescriptorProto; - fromProtoMsg(message: EnumValueDescriptorProtoProtoMsg): EnumValueDescriptorProto; - toProto(message: EnumValueDescriptorProto): Uint8Array; - toProtoMsg(message: EnumValueDescriptorProto): EnumValueDescriptorProtoProtoMsg; -}; -export declare const ServiceDescriptorProto: { - encode(message: ServiceDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto; - fromJSON(object: any): ServiceDescriptorProto; - toJSON(message: ServiceDescriptorProto): unknown; - fromPartial(object: Partial): ServiceDescriptorProto; - fromAmino(object: ServiceDescriptorProtoAmino): ServiceDescriptorProto; - toAmino(message: ServiceDescriptorProto): ServiceDescriptorProtoAmino; - fromAminoMsg(object: ServiceDescriptorProtoAminoMsg): ServiceDescriptorProto; - fromProtoMsg(message: ServiceDescriptorProtoProtoMsg): ServiceDescriptorProto; - toProto(message: ServiceDescriptorProto): Uint8Array; - toProtoMsg(message: ServiceDescriptorProto): ServiceDescriptorProtoProtoMsg; -}; -export declare const MethodDescriptorProto: { - encode(message: MethodDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto; - fromJSON(object: any): MethodDescriptorProto; - toJSON(message: MethodDescriptorProto): unknown; - fromPartial(object: Partial): MethodDescriptorProto; - fromAmino(object: MethodDescriptorProtoAmino): MethodDescriptorProto; - toAmino(message: MethodDescriptorProto): MethodDescriptorProtoAmino; - fromAminoMsg(object: MethodDescriptorProtoAminoMsg): MethodDescriptorProto; - fromProtoMsg(message: MethodDescriptorProtoProtoMsg): MethodDescriptorProto; - toProto(message: MethodDescriptorProto): Uint8Array; - toProtoMsg(message: MethodDescriptorProto): MethodDescriptorProtoProtoMsg; -}; -export declare const FileOptions: { - encode(message: FileOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions; - fromJSON(object: any): FileOptions; - toJSON(message: FileOptions): unknown; - fromPartial(object: Partial): FileOptions; - fromAmino(object: FileOptionsAmino): FileOptions; - toAmino(message: FileOptions): FileOptionsAmino; - fromAminoMsg(object: FileOptionsAminoMsg): FileOptions; - fromProtoMsg(message: FileOptionsProtoMsg): FileOptions; - toProto(message: FileOptions): Uint8Array; - toProtoMsg(message: FileOptions): FileOptionsProtoMsg; -}; -export declare const MessageOptions: { - encode(message: MessageOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions; - fromJSON(object: any): MessageOptions; - toJSON(message: MessageOptions): unknown; - fromPartial(object: Partial): MessageOptions; - fromAmino(object: MessageOptionsAmino): MessageOptions; - toAmino(message: MessageOptions): MessageOptionsAmino; - fromAminoMsg(object: MessageOptionsAminoMsg): MessageOptions; - fromProtoMsg(message: MessageOptionsProtoMsg): MessageOptions; - toProto(message: MessageOptions): Uint8Array; - toProtoMsg(message: MessageOptions): MessageOptionsProtoMsg; -}; -export declare const FieldOptions: { - encode(message: FieldOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions; - fromJSON(object: any): FieldOptions; - toJSON(message: FieldOptions): unknown; - fromPartial(object: Partial): FieldOptions; - fromAmino(object: FieldOptionsAmino): FieldOptions; - toAmino(message: FieldOptions): FieldOptionsAmino; - fromAminoMsg(object: FieldOptionsAminoMsg): FieldOptions; - fromProtoMsg(message: FieldOptionsProtoMsg): FieldOptions; - toProto(message: FieldOptions): Uint8Array; - toProtoMsg(message: FieldOptions): FieldOptionsProtoMsg; -}; -export declare const OneofOptions: { - encode(message: OneofOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions; - fromJSON(object: any): OneofOptions; - toJSON(message: OneofOptions): unknown; - fromPartial(object: Partial): OneofOptions; - fromAmino(object: OneofOptionsAmino): OneofOptions; - toAmino(message: OneofOptions): OneofOptionsAmino; - fromAminoMsg(object: OneofOptionsAminoMsg): OneofOptions; - fromProtoMsg(message: OneofOptionsProtoMsg): OneofOptions; - toProto(message: OneofOptions): Uint8Array; - toProtoMsg(message: OneofOptions): OneofOptionsProtoMsg; -}; -export declare const EnumOptions: { - encode(message: EnumOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions; - fromJSON(object: any): EnumOptions; - toJSON(message: EnumOptions): unknown; - fromPartial(object: Partial): EnumOptions; - fromAmino(object: EnumOptionsAmino): EnumOptions; - toAmino(message: EnumOptions): EnumOptionsAmino; - fromAminoMsg(object: EnumOptionsAminoMsg): EnumOptions; - fromProtoMsg(message: EnumOptionsProtoMsg): EnumOptions; - toProto(message: EnumOptions): Uint8Array; - toProtoMsg(message: EnumOptions): EnumOptionsProtoMsg; -}; -export declare const EnumValueOptions: { - encode(message: EnumValueOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions; - fromJSON(object: any): EnumValueOptions; - toJSON(message: EnumValueOptions): unknown; - fromPartial(object: Partial): EnumValueOptions; - fromAmino(object: EnumValueOptionsAmino): EnumValueOptions; - toAmino(message: EnumValueOptions): EnumValueOptionsAmino; - fromAminoMsg(object: EnumValueOptionsAminoMsg): EnumValueOptions; - fromProtoMsg(message: EnumValueOptionsProtoMsg): EnumValueOptions; - toProto(message: EnumValueOptions): Uint8Array; - toProtoMsg(message: EnumValueOptions): EnumValueOptionsProtoMsg; -}; -export declare const ServiceOptions: { - encode(message: ServiceOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions; - fromJSON(object: any): ServiceOptions; - toJSON(message: ServiceOptions): unknown; - fromPartial(object: Partial): ServiceOptions; - fromAmino(object: ServiceOptionsAmino): ServiceOptions; - toAmino(message: ServiceOptions): ServiceOptionsAmino; - fromAminoMsg(object: ServiceOptionsAminoMsg): ServiceOptions; - fromProtoMsg(message: ServiceOptionsProtoMsg): ServiceOptions; - toProto(message: ServiceOptions): Uint8Array; - toProtoMsg(message: ServiceOptions): ServiceOptionsProtoMsg; -}; -export declare const MethodOptions: { - encode(message: MethodOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions; - fromJSON(object: any): MethodOptions; - toJSON(message: MethodOptions): unknown; - fromPartial(object: Partial): MethodOptions; - fromAmino(object: MethodOptionsAmino): MethodOptions; - toAmino(message: MethodOptions): MethodOptionsAmino; - fromAminoMsg(object: MethodOptionsAminoMsg): MethodOptions; - fromProtoMsg(message: MethodOptionsProtoMsg): MethodOptions; - toProto(message: MethodOptions): Uint8Array; - toProtoMsg(message: MethodOptions): MethodOptionsProtoMsg; -}; -export declare const UninterpretedOption: { - encode(message: UninterpretedOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption; - fromJSON(object: any): UninterpretedOption; - toJSON(message: UninterpretedOption): unknown; - fromPartial(object: Partial): UninterpretedOption; - fromAmino(object: UninterpretedOptionAmino): UninterpretedOption; - toAmino(message: UninterpretedOption): UninterpretedOptionAmino; - fromAminoMsg(object: UninterpretedOptionAminoMsg): UninterpretedOption; - fromProtoMsg(message: UninterpretedOptionProtoMsg): UninterpretedOption; - toProto(message: UninterpretedOption): Uint8Array; - toProtoMsg(message: UninterpretedOption): UninterpretedOptionProtoMsg; -}; -export declare const UninterpretedOption_NamePart: { - encode(message: UninterpretedOption_NamePart, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart; - fromJSON(object: any): UninterpretedOption_NamePart; - toJSON(message: UninterpretedOption_NamePart): unknown; - fromPartial(object: Partial): UninterpretedOption_NamePart; - fromAmino(object: UninterpretedOption_NamePartAmino): UninterpretedOption_NamePart; - toAmino(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartAmino; - fromAminoMsg(object: UninterpretedOption_NamePartAminoMsg): UninterpretedOption_NamePart; - fromProtoMsg(message: UninterpretedOption_NamePartProtoMsg): UninterpretedOption_NamePart; - toProto(message: UninterpretedOption_NamePart): Uint8Array; - toProtoMsg(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartProtoMsg; -}; -export declare const SourceCodeInfo: { - encode(message: SourceCodeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo; - fromJSON(object: any): SourceCodeInfo; - toJSON(message: SourceCodeInfo): unknown; - fromPartial(object: Partial): SourceCodeInfo; - fromAmino(object: SourceCodeInfoAmino): SourceCodeInfo; - toAmino(message: SourceCodeInfo): SourceCodeInfoAmino; - fromAminoMsg(object: SourceCodeInfoAminoMsg): SourceCodeInfo; - fromProtoMsg(message: SourceCodeInfoProtoMsg): SourceCodeInfo; - toProto(message: SourceCodeInfo): Uint8Array; - toProtoMsg(message: SourceCodeInfo): SourceCodeInfoProtoMsg; -}; -export declare const SourceCodeInfo_Location: { - encode(message: SourceCodeInfo_Location, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location; - fromJSON(object: any): SourceCodeInfo_Location; - toJSON(message: SourceCodeInfo_Location): unknown; - fromPartial(object: Partial): SourceCodeInfo_Location; - fromAmino(object: SourceCodeInfo_LocationAmino): SourceCodeInfo_Location; - toAmino(message: SourceCodeInfo_Location): SourceCodeInfo_LocationAmino; - fromAminoMsg(object: SourceCodeInfo_LocationAminoMsg): SourceCodeInfo_Location; - fromProtoMsg(message: SourceCodeInfo_LocationProtoMsg): SourceCodeInfo_Location; - toProto(message: SourceCodeInfo_Location): Uint8Array; - toProtoMsg(message: SourceCodeInfo_Location): SourceCodeInfo_LocationProtoMsg; -}; -export declare const GeneratedCodeInfo: { - encode(message: GeneratedCodeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo; - fromJSON(object: any): GeneratedCodeInfo; - toJSON(message: GeneratedCodeInfo): unknown; - fromPartial(object: Partial): GeneratedCodeInfo; - fromAmino(object: GeneratedCodeInfoAmino): GeneratedCodeInfo; - toAmino(message: GeneratedCodeInfo): GeneratedCodeInfoAmino; - fromAminoMsg(object: GeneratedCodeInfoAminoMsg): GeneratedCodeInfo; - fromProtoMsg(message: GeneratedCodeInfoProtoMsg): GeneratedCodeInfo; - toProto(message: GeneratedCodeInfo): Uint8Array; - toProtoMsg(message: GeneratedCodeInfo): GeneratedCodeInfoProtoMsg; -}; -export declare const GeneratedCodeInfo_Annotation: { - encode(message: GeneratedCodeInfo_Annotation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation; - fromJSON(object: any): GeneratedCodeInfo_Annotation; - toJSON(message: GeneratedCodeInfo_Annotation): unknown; - fromPartial(object: Partial): GeneratedCodeInfo_Annotation; - fromAmino(object: GeneratedCodeInfo_AnnotationAmino): GeneratedCodeInfo_Annotation; - toAmino(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationAmino; - fromAminoMsg(object: GeneratedCodeInfo_AnnotationAminoMsg): GeneratedCodeInfo_Annotation; - fromProtoMsg(message: GeneratedCodeInfo_AnnotationProtoMsg): GeneratedCodeInfo_Annotation; - toProto(message: GeneratedCodeInfo_Annotation): Uint8Array; - toProtoMsg(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationProtoMsg; -}; diff --git a/packages/api/types/codegen/google/protobuf/duration.d.ts b/packages/api/types/codegen/google/protobuf/duration.d.ts deleted file mode 100644 index bcbbf4b2..00000000 --- a/packages/api/types/codegen/google/protobuf/duration.d.ts +++ /dev/null @@ -1,225 +0,0 @@ -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: Long; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - nanos: number; -} -export interface DurationProtoMsg { - typeUrl: "/google.protobuf.Duration"; - value: Uint8Array; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export type DurationAmino = string; -export interface DurationAminoMsg { - type: "/google.protobuf.Duration"; - value: DurationAmino; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface DurationSDKType { - seconds: Long; - nanos: number; -} -export declare const Duration: { - encode(message: Duration, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Duration; - fromJSON(object: any): Duration; - toJSON(message: Duration): unknown; - fromPartial(object: Partial): Duration; - fromAmino(object: DurationAmino): Duration; - toAmino(message: Duration): DurationAmino; - fromAminoMsg(object: DurationAminoMsg): Duration; - fromProtoMsg(message: DurationProtoMsg): Duration; - toProto(message: Duration): Uint8Array; - toProtoMsg(message: Duration): DurationProtoMsg; -}; diff --git a/packages/api/types/codegen/google/protobuf/timestamp.d.ts b/packages/api/types/codegen/google/protobuf/timestamp.d.ts deleted file mode 100644 index b6d7ead1..00000000 --- a/packages/api/types/codegen/google/protobuf/timestamp.d.ts +++ /dev/null @@ -1,295 +0,0 @@ -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: Long; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - nanos: number; -} -export interface TimestampProtoMsg { - typeUrl: "/google.protobuf.Timestamp"; - value: Uint8Array; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export type TimestampAmino = string; -export interface TimestampAminoMsg { - type: "/google.protobuf.Timestamp"; - value: TimestampAmino; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface TimestampSDKType { - seconds: Long; - nanos: number; -} -export declare const Timestamp: { - encode(message: Timestamp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp; - fromJSON(object: any): Timestamp; - toJSON(message: Timestamp): unknown; - fromPartial(object: Partial): Timestamp; - fromAmino(object: TimestampAmino): Timestamp; - toAmino(message: Timestamp): TimestampAmino; - fromAminoMsg(object: TimestampAminoMsg): Timestamp; - fromProtoMsg(message: TimestampProtoMsg): Timestamp; - toProto(message: Timestamp): Uint8Array; - toProtoMsg(message: Timestamp): TimestampProtoMsg; -}; diff --git a/packages/api/types/codegen/helpers.d.ts b/packages/api/types/codegen/helpers.d.ts deleted file mode 100644 index 89ae3fb4..00000000 --- a/packages/api/types/codegen/helpers.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @osmonauts/telescope@0.99.0 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -import Long from 'long'; -export { Long }; -export declare function bytesFromBase64(b64: string): Uint8Array; -export declare function base64FromBytes(arr: Uint8Array): string; -export interface AminoHeight { - readonly revision_number?: string; - readonly revision_height?: string; -} -export declare function omitDefault(input: T): T | undefined; -interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: Long; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - nanos: number; -} -export declare function toDuration(duration: string): Duration; -export declare function fromDuration(duration: Duration): string; -export declare function isSet(value: any): boolean; -export declare function isObject(value: any): boolean; -export interface PageRequest { - key: Uint8Array; - offset: Long; - limit: Long; - countTotal: boolean; - reverse: boolean; -} -export interface PageRequestParams { - "pagination.key"?: string; - "pagination.offset"?: string; - "pagination.limit"?: string; - "pagination.count_total"?: boolean; - "pagination.reverse"?: boolean; -} -export interface Params { - params: PageRequestParams; -} -export declare const setPaginationParams: (options: Params, pagination?: PageRequest) => Params; -type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; -export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? 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; -} & Record>, never>; -export interface Rpc { - request(service: string, method: string, data: Uint8Array): Promise; -} -interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: Long; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - nanos: number; -} -export declare function toTimestamp(date: Date): Timestamp; -export declare function fromTimestamp(t: Timestamp): Date; -export declare function fromJsonTimestamp(o: any): Timestamp; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/genesis.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/genesis.d.ts deleted file mode 100644 index 38ed6404..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { DenomTrace, DenomTraceAmino, DenomTraceSDKType, Params, ParamsAmino, ParamsSDKType } from "./transfer"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisState { - portId: string; - denomTraces: DenomTrace[]; - params: Params; -} -export interface GenesisStateProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisStateAmino { - port_id: string; - denom_traces: DenomTraceAmino[]; - params?: ParamsAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisStateSDKType { - port_id: string; - denom_traces: DenomTraceSDKType[]; - params: ParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/query.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/query.d.ts deleted file mode 100644 index 75ccbdf2..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/query.d.ts +++ /dev/null @@ -1,422 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, DenomTraceAmino, DenomTraceSDKType, Params, ParamsAmino, ParamsSDKType } from "./transfer"; -import * as _m0 from "protobufjs/minimal"; -/** - * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC - * method - */ -export interface QueryDenomTraceRequest { - /** hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information. */ - hash: string; -} -export interface QueryDenomTraceRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTraceRequest"; - value: Uint8Array; -} -/** - * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC - * method - */ -export interface QueryDenomTraceRequestAmino { - /** hash (in hex format) or denom (full denom with ibc prefix) of the denomination trace information. */ - hash: string; -} -export interface QueryDenomTraceRequestAminoMsg { - type: "cosmos-sdk/QueryDenomTraceRequest"; - value: QueryDenomTraceRequestAmino; -} -/** - * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC - * method - */ -export interface QueryDenomTraceRequestSDKType { - hash: string; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ -export interface QueryDenomTraceResponse { - /** denom_trace returns the requested denomination trace information. */ - denomTrace: DenomTrace; -} -export interface QueryDenomTraceResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTraceResponse"; - value: Uint8Array; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ -export interface QueryDenomTraceResponseAmino { - /** denom_trace returns the requested denomination trace information. */ - denom_trace?: DenomTraceAmino; -} -export interface QueryDenomTraceResponseAminoMsg { - type: "cosmos-sdk/QueryDenomTraceResponse"; - value: QueryDenomTraceResponseAmino; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ -export interface QueryDenomTraceResponseSDKType { - denom_trace: DenomTraceSDKType; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDenomTracesRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTracesRequest"; - value: Uint8Array; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDenomTracesRequestAminoMsg { - type: "cosmos-sdk/QueryDenomTracesRequest"; - value: QueryDenomTracesRequestAmino; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponse { - /** denom_traces returns all denominations trace information. */ - denomTraces: DenomTrace[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDenomTracesResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTracesResponse"; - value: Uint8Array; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponseAmino { - /** denom_traces returns all denominations trace information. */ - denom_traces: DenomTraceAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDenomTracesResponseAminoMsg { - type: "cosmos-sdk/QueryDenomTracesResponse"; - value: QueryDenomTracesResponseAmino; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponseSDKType { - denom_traces: DenomTraceSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QueryDenomHashRequest is the request type for the Query/DenomHash RPC - * method - */ -export interface QueryDenomHashRequest { - /** The denomination trace ([port_id]/[channel_id])+/[denom] */ - trace: string; -} -export interface QueryDenomHashRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomHashRequest"; - value: Uint8Array; -} -/** - * QueryDenomHashRequest is the request type for the Query/DenomHash RPC - * method - */ -export interface QueryDenomHashRequestAmino { - /** The denomination trace ([port_id]/[channel_id])+/[denom] */ - trace: string; -} -export interface QueryDenomHashRequestAminoMsg { - type: "cosmos-sdk/QueryDenomHashRequest"; - value: QueryDenomHashRequestAmino; -} -/** - * QueryDenomHashRequest is the request type for the Query/DenomHash RPC - * method - */ -export interface QueryDenomHashRequestSDKType { - trace: string; -} -/** - * QueryDenomHashResponse is the response type for the Query/DenomHash RPC - * method. - */ -export interface QueryDenomHashResponse { - /** hash (in hex format) of the denomination trace information. */ - hash: string; -} -export interface QueryDenomHashResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomHashResponse"; - value: Uint8Array; -} -/** - * QueryDenomHashResponse is the response type for the Query/DenomHash RPC - * method. - */ -export interface QueryDenomHashResponseAmino { - /** hash (in hex format) of the denomination trace information. */ - hash: string; -} -export interface QueryDenomHashResponseAminoMsg { - type: "cosmos-sdk/QueryDenomHashResponse"; - value: QueryDenomHashResponseAmino; -} -/** - * QueryDenomHashResponse is the response type for the Query/DenomHash RPC - * method. - */ -export interface QueryDenomHashResponseSDKType { - hash: string; -} -/** QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. */ -export interface QueryEscrowAddressRequest { - /** unique port identifier */ - portId: string; - /** unique channel identifier */ - channelId: string; -} -export interface QueryEscrowAddressRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryEscrowAddressRequest"; - value: Uint8Array; -} -/** QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. */ -export interface QueryEscrowAddressRequestAmino { - /** unique port identifier */ - port_id: string; - /** unique channel identifier */ - channel_id: string; -} -export interface QueryEscrowAddressRequestAminoMsg { - type: "cosmos-sdk/QueryEscrowAddressRequest"; - value: QueryEscrowAddressRequestAmino; -} -/** QueryEscrowAddressRequest is the request type for the EscrowAddress RPC method. */ -export interface QueryEscrowAddressRequestSDKType { - port_id: string; - channel_id: string; -} -/** QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. */ -export interface QueryEscrowAddressResponse { - /** the escrow account address */ - escrowAddress: string; -} -export interface QueryEscrowAddressResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryEscrowAddressResponse"; - value: Uint8Array; -} -/** QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. */ -export interface QueryEscrowAddressResponseAmino { - /** the escrow account address */ - escrow_address: string; -} -export interface QueryEscrowAddressResponseAminoMsg { - type: "cosmos-sdk/QueryEscrowAddressResponse"; - value: QueryEscrowAddressResponseAmino; -} -/** QueryEscrowAddressResponse is the response type of the EscrowAddress RPC method. */ -export interface QueryEscrowAddressResponseSDKType { - escrow_address: string; -} -export declare const QueryDenomTraceRequest: { - encode(message: QueryDenomTraceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceRequest; - fromJSON(object: any): QueryDenomTraceRequest; - toJSON(message: QueryDenomTraceRequest): unknown; - fromPartial(object: Partial): QueryDenomTraceRequest; - fromAmino(object: QueryDenomTraceRequestAmino): QueryDenomTraceRequest; - toAmino(message: QueryDenomTraceRequest): QueryDenomTraceRequestAmino; - fromAminoMsg(object: QueryDenomTraceRequestAminoMsg): QueryDenomTraceRequest; - toAminoMsg(message: QueryDenomTraceRequest): QueryDenomTraceRequestAminoMsg; - fromProtoMsg(message: QueryDenomTraceRequestProtoMsg): QueryDenomTraceRequest; - toProto(message: QueryDenomTraceRequest): Uint8Array; - toProtoMsg(message: QueryDenomTraceRequest): QueryDenomTraceRequestProtoMsg; -}; -export declare const QueryDenomTraceResponse: { - encode(message: QueryDenomTraceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse; - fromJSON(object: any): QueryDenomTraceResponse; - toJSON(message: QueryDenomTraceResponse): unknown; - fromPartial(object: Partial): QueryDenomTraceResponse; - fromAmino(object: QueryDenomTraceResponseAmino): QueryDenomTraceResponse; - toAmino(message: QueryDenomTraceResponse): QueryDenomTraceResponseAmino; - fromAminoMsg(object: QueryDenomTraceResponseAminoMsg): QueryDenomTraceResponse; - toAminoMsg(message: QueryDenomTraceResponse): QueryDenomTraceResponseAminoMsg; - fromProtoMsg(message: QueryDenomTraceResponseProtoMsg): QueryDenomTraceResponse; - toProto(message: QueryDenomTraceResponse): Uint8Array; - toProtoMsg(message: QueryDenomTraceResponse): QueryDenomTraceResponseProtoMsg; -}; -export declare const QueryDenomTracesRequest: { - encode(message: QueryDenomTracesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesRequest; - fromJSON(object: any): QueryDenomTracesRequest; - toJSON(message: QueryDenomTracesRequest): unknown; - fromPartial(object: Partial): QueryDenomTracesRequest; - fromAmino(object: QueryDenomTracesRequestAmino): QueryDenomTracesRequest; - toAmino(message: QueryDenomTracesRequest): QueryDenomTracesRequestAmino; - fromAminoMsg(object: QueryDenomTracesRequestAminoMsg): QueryDenomTracesRequest; - toAminoMsg(message: QueryDenomTracesRequest): QueryDenomTracesRequestAminoMsg; - fromProtoMsg(message: QueryDenomTracesRequestProtoMsg): QueryDenomTracesRequest; - toProto(message: QueryDenomTracesRequest): Uint8Array; - toProtoMsg(message: QueryDenomTracesRequest): QueryDenomTracesRequestProtoMsg; -}; -export declare const QueryDenomTracesResponse: { - encode(message: QueryDenomTracesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse; - fromJSON(object: any): QueryDenomTracesResponse; - toJSON(message: QueryDenomTracesResponse): unknown; - fromPartial(object: Partial): QueryDenomTracesResponse; - fromAmino(object: QueryDenomTracesResponseAmino): QueryDenomTracesResponse; - toAmino(message: QueryDenomTracesResponse): QueryDenomTracesResponseAmino; - fromAminoMsg(object: QueryDenomTracesResponseAminoMsg): QueryDenomTracesResponse; - toAminoMsg(message: QueryDenomTracesResponse): QueryDenomTracesResponseAminoMsg; - fromProtoMsg(message: QueryDenomTracesResponseProtoMsg): QueryDenomTracesResponse; - toProto(message: QueryDenomTracesResponse): Uint8Array; - toProtoMsg(message: QueryDenomTracesResponse): QueryDenomTracesResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDenomHashRequest: { - encode(message: QueryDenomHashRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomHashRequest; - fromJSON(object: any): QueryDenomHashRequest; - toJSON(message: QueryDenomHashRequest): unknown; - fromPartial(object: Partial): QueryDenomHashRequest; - fromAmino(object: QueryDenomHashRequestAmino): QueryDenomHashRequest; - toAmino(message: QueryDenomHashRequest): QueryDenomHashRequestAmino; - fromAminoMsg(object: QueryDenomHashRequestAminoMsg): QueryDenomHashRequest; - toAminoMsg(message: QueryDenomHashRequest): QueryDenomHashRequestAminoMsg; - fromProtoMsg(message: QueryDenomHashRequestProtoMsg): QueryDenomHashRequest; - toProto(message: QueryDenomHashRequest): Uint8Array; - toProtoMsg(message: QueryDenomHashRequest): QueryDenomHashRequestProtoMsg; -}; -export declare const QueryDenomHashResponse: { - encode(message: QueryDenomHashResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomHashResponse; - fromJSON(object: any): QueryDenomHashResponse; - toJSON(message: QueryDenomHashResponse): unknown; - fromPartial(object: Partial): QueryDenomHashResponse; - fromAmino(object: QueryDenomHashResponseAmino): QueryDenomHashResponse; - toAmino(message: QueryDenomHashResponse): QueryDenomHashResponseAmino; - fromAminoMsg(object: QueryDenomHashResponseAminoMsg): QueryDenomHashResponse; - toAminoMsg(message: QueryDenomHashResponse): QueryDenomHashResponseAminoMsg; - fromProtoMsg(message: QueryDenomHashResponseProtoMsg): QueryDenomHashResponse; - toProto(message: QueryDenomHashResponse): Uint8Array; - toProtoMsg(message: QueryDenomHashResponse): QueryDenomHashResponseProtoMsg; -}; -export declare const QueryEscrowAddressRequest: { - encode(message: QueryEscrowAddressRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEscrowAddressRequest; - fromJSON(object: any): QueryEscrowAddressRequest; - toJSON(message: QueryEscrowAddressRequest): unknown; - fromPartial(object: Partial): QueryEscrowAddressRequest; - fromAmino(object: QueryEscrowAddressRequestAmino): QueryEscrowAddressRequest; - toAmino(message: QueryEscrowAddressRequest): QueryEscrowAddressRequestAmino; - fromAminoMsg(object: QueryEscrowAddressRequestAminoMsg): QueryEscrowAddressRequest; - toAminoMsg(message: QueryEscrowAddressRequest): QueryEscrowAddressRequestAminoMsg; - fromProtoMsg(message: QueryEscrowAddressRequestProtoMsg): QueryEscrowAddressRequest; - toProto(message: QueryEscrowAddressRequest): Uint8Array; - toProtoMsg(message: QueryEscrowAddressRequest): QueryEscrowAddressRequestProtoMsg; -}; -export declare const QueryEscrowAddressResponse: { - encode(message: QueryEscrowAddressResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEscrowAddressResponse; - fromJSON(object: any): QueryEscrowAddressResponse; - toJSON(message: QueryEscrowAddressResponse): unknown; - fromPartial(object: Partial): QueryEscrowAddressResponse; - fromAmino(object: QueryEscrowAddressResponseAmino): QueryEscrowAddressResponse; - toAmino(message: QueryEscrowAddressResponse): QueryEscrowAddressResponseAmino; - fromAminoMsg(object: QueryEscrowAddressResponseAminoMsg): QueryEscrowAddressResponse; - toAminoMsg(message: QueryEscrowAddressResponse): QueryEscrowAddressResponseAminoMsg; - fromProtoMsg(message: QueryEscrowAddressResponseProtoMsg): QueryEscrowAddressResponse; - toProto(message: QueryEscrowAddressResponse): Uint8Array; - toProtoMsg(message: QueryEscrowAddressResponse): QueryEscrowAddressResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts deleted file mode 100644 index 3c02e8aa..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDenomHashRequest, QueryDenomHashResponseSDKType, QueryEscrowAddressRequest, QueryEscrowAddressResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - denomTrace(params: QueryDenomTraceRequest): Promise; - denomTraces(params?: QueryDenomTracesRequest): Promise; - params(_params?: QueryParamsRequest): Promise; - denomHash(params: QueryDenomHashRequest): Promise; - escrowAddress(params: QueryEscrowAddressRequest): Promise; -} diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts deleted file mode 100644 index 3df3adea..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomHashRequest, QueryDenomHashResponse, QueryEscrowAddressRequest, QueryEscrowAddressResponse } from "./query"; -/** Query provides defines the gRPC querier service. */ -export interface Query { - /** DenomTrace queries a denomination trace information. */ - denomTrace(request: QueryDenomTraceRequest): Promise; - /** DenomTraces queries all denomination traces. */ - denomTraces(request?: QueryDenomTracesRequest): Promise; - /** Params queries all parameters of the ibc-transfer module. */ - params(request?: QueryParamsRequest): Promise; - /** DenomHash queries a denomination hash information. */ - denomHash(request: QueryDenomHashRequest): Promise; - /** EscrowAddress returns the escrow address for a particular port and channel id. */ - escrowAddress(request: QueryEscrowAddressRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - denomTrace(request: QueryDenomTraceRequest): Promise; - denomTraces(request?: QueryDenomTracesRequest): Promise; - params(request?: QueryParamsRequest): Promise; - denomHash(request: QueryDenomHashRequest): Promise; - escrowAddress(request: QueryEscrowAddressRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - denomTrace(request: QueryDenomTraceRequest): Promise; - denomTraces(request?: QueryDenomTracesRequest): Promise; - params(request?: QueryParamsRequest): Promise; - denomHash(request: QueryDenomHashRequest): Promise; - escrowAddress(request: QueryEscrowAddressRequest): Promise; -}; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/transfer.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/transfer.d.ts deleted file mode 100644 index ecdc0930..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * DenomTrace contains the base denomination for ICS20 fungible tokens and the - * source tracing information path. - */ -export interface DenomTrace { - /** - * path defines the chain of port/channel identifiers used for tracing the - * source of the fungible token. - */ - path: string; - /** base denomination of the relayed fungible token. */ - baseDenom: string; -} -export interface DenomTraceProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.DenomTrace"; - value: Uint8Array; -} -/** - * DenomTrace contains the base denomination for ICS20 fungible tokens and the - * source tracing information path. - */ -export interface DenomTraceAmino { - /** - * path defines the chain of port/channel identifiers used for tracing the - * source of the fungible token. - */ - path: string; - /** base denomination of the relayed fungible token. */ - base_denom: string; -} -export interface DenomTraceAminoMsg { - type: "cosmos-sdk/DenomTrace"; - value: DenomTraceAmino; -} -/** - * DenomTrace contains the base denomination for ICS20 fungible tokens and the - * source tracing information path. - */ -export interface DenomTraceSDKType { - path: string; - base_denom: string; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface Params { - /** - * send_enabled enables or disables all cross-chain token transfers from this - * chain. - */ - sendEnabled: boolean; - /** - * receive_enabled enables or disables all cross-chain token transfers to this - * chain. - */ - receiveEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.Params"; - value: Uint8Array; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface ParamsAmino { - /** - * send_enabled enables or disables all cross-chain token transfers from this - * chain. - */ - send_enabled: boolean; - /** - * receive_enabled enables or disables all cross-chain token transfers to this - * chain. - */ - receive_enabled: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface ParamsSDKType { - send_enabled: boolean; - receive_enabled: boolean; -} -export declare const DenomTrace: { - encode(message: DenomTrace, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DenomTrace; - fromJSON(object: any): DenomTrace; - toJSON(message: DenomTrace): unknown; - fromPartial(object: Partial): DenomTrace; - fromAmino(object: DenomTraceAmino): DenomTrace; - toAmino(message: DenomTrace): DenomTraceAmino; - fromAminoMsg(object: DenomTraceAminoMsg): DenomTrace; - toAminoMsg(message: DenomTrace): DenomTraceAminoMsg; - fromProtoMsg(message: DenomTraceProtoMsg): DenomTrace; - toProto(message: DenomTrace): Uint8Array; - toProtoMsg(message: DenomTrace): DenomTraceProtoMsg; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts deleted file mode 100644 index 7bd64477..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgTransfer } from "./tx"; -export declare const AminoConverter: { - "/ibc.applications.transfer.v1.MsgTransfer": { - aminoType: string; - toAmino: (message: MsgTransfer) => import("./tx").MsgTransferAmino; - fromAmino: (object: import("./tx").MsgTransferAmino) => MsgTransfer; - }; -}; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/tx.d.ts deleted file mode 100644 index 75d2babc..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Height, HeightAmino, HeightSDKType } from "../../../core/client/v1/client"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface MsgTransfer { - /** the port on which the packet will be sent */ - sourcePort: string; - /** the channel by which the packet will be sent */ - sourceChannel: string; - /** the tokens to be transferred */ - token: Coin; - /** the sender address */ - sender: string; - /** the recipient address on the destination chain */ - receiver: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeoutHeight: Height; - /** - * Timeout timestamp in absolute nanoseconds since unix epoch. - * The timeout is disabled when set to 0. - */ - timeoutTimestamp: Long; -} -export interface MsgTransferProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.MsgTransfer"; - value: Uint8Array; -} -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface MsgTransferAmino { - /** the port on which the packet will be sent */ - source_port: string; - /** the channel by which the packet will be sent */ - source_channel: string; - /** the tokens to be transferred */ - token?: CoinAmino; - /** the sender address */ - sender: string; - /** the recipient address on the destination chain */ - receiver: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeout_height?: HeightAmino; - /** - * Timeout timestamp in absolute nanoseconds since unix epoch. - * The timeout is disabled when set to 0. - */ - timeout_timestamp: string; -} -export interface MsgTransferAminoMsg { - type: "cosmos-sdk/MsgTransfer"; - value: MsgTransferAmino; -} -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface MsgTransferSDKType { - source_port: string; - source_channel: string; - token: CoinSDKType; - sender: string; - receiver: string; - timeout_height: HeightSDKType; - timeout_timestamp: Long; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponse { -} -export interface MsgTransferResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.MsgTransferResponse"; - value: Uint8Array; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponseAmino { -} -export interface MsgTransferResponseAminoMsg { - type: "cosmos-sdk/MsgTransferResponse"; - value: MsgTransferResponseAmino; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponseSDKType { -} -export declare const MsgTransfer: { - encode(message: MsgTransfer, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransfer; - fromJSON(object: any): MsgTransfer; - toJSON(message: MsgTransfer): unknown; - fromPartial(object: Partial): MsgTransfer; - fromAmino(object: MsgTransferAmino): MsgTransfer; - toAmino(message: MsgTransfer): MsgTransferAmino; - fromAminoMsg(object: MsgTransferAminoMsg): MsgTransfer; - toAminoMsg(message: MsgTransfer): MsgTransferAminoMsg; - fromProtoMsg(message: MsgTransferProtoMsg): MsgTransfer; - toProto(message: MsgTransfer): Uint8Array; - toProtoMsg(message: MsgTransfer): MsgTransferProtoMsg; -}; -export declare const MsgTransferResponse: { - encode(_: MsgTransferResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse; - fromJSON(_: any): MsgTransferResponse; - toJSON(_: MsgTransferResponse): unknown; - fromPartial(_: Partial): MsgTransferResponse; - fromAmino(_: MsgTransferResponseAmino): MsgTransferResponse; - toAmino(_: MsgTransferResponse): MsgTransferResponseAmino; - fromAminoMsg(object: MsgTransferResponseAminoMsg): MsgTransferResponse; - toAminoMsg(message: MsgTransferResponse): MsgTransferResponseAminoMsg; - fromProtoMsg(message: MsgTransferResponseProtoMsg): MsgTransferResponse; - toProto(message: MsgTransferResponse): Uint8Array; - toProtoMsg(message: MsgTransferResponse): MsgTransferResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts deleted file mode 100644 index bd48f7e9..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgTransfer } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: MsgTransfer; - }; - }; - toJSON: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - transfer(value: any): { - typeUrl: string; - value: MsgTransfer; - }; - }; - fromPartial: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: MsgTransfer; - }; - }; -}; diff --git a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts deleted file mode 100644 index d000d7b5..00000000 --- a/packages/api/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { MsgTransfer, MsgTransferResponse } from "./tx"; -/** Msg defines the ibc/transfer Msg service. */ -export interface Msg { - /** Transfer defines a rpc handler method for MsgTransfer. */ - transfer(request: MsgTransfer): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - transfer(request: MsgTransfer): Promise; -} diff --git a/packages/api/types/codegen/ibc/bundle.d.ts b/packages/api/types/codegen/ibc/bundle.d.ts deleted file mode 100644 index 31fa3aa6..00000000 --- a/packages/api/types/codegen/ibc/bundle.d.ts +++ /dev/null @@ -1,1277 +0,0 @@ -import * as _104 from "./applications/transfer/v1/genesis"; -import * as _105 from "./applications/transfer/v1/query"; -import * as _106 from "./applications/transfer/v1/transfer"; -import * as _107 from "./applications/transfer/v1/tx"; -import * as _108 from "./core/client/v1/client"; -import * as _109 from "./core/client/v1/genesis"; -import * as _110 from "./core/client/v1/query"; -import * as _111 from "./core/client/v1/tx"; -import * as _234 from "./applications/transfer/v1/query.lcd"; -import * as _235 from "./core/client/v1/query.lcd"; -import * as _236 from "./applications/transfer/v1/query.rpc.Query"; -import * as _237 from "./core/client/v1/query.rpc.Query"; -import * as _238 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _239 from "./core/client/v1/tx.rpc.msg"; -export declare namespace ibc { - namespace applications { - namespace transfer { - const v1: { - MsgClientImpl: typeof _238.MsgClientImpl; - QueryClientImpl: typeof _236.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - denomTrace(request: _105.QueryDenomTraceRequest): Promise<_105.QueryDenomTraceResponse>; - denomTraces(request?: _105.QueryDenomTracesRequest | undefined): Promise<_105.QueryDenomTracesResponse>; - params(request?: _105.QueryParamsRequest | undefined): Promise<_105.QueryParamsResponse>; - denomHash(request: _105.QueryDenomHashRequest): Promise<_105.QueryDenomHashResponse>; - escrowAddress(request: _105.QueryEscrowAddressRequest): Promise<_105.QueryEscrowAddressResponse>; - }; - LCDQueryClient: typeof _234.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - transfer(value: _107.MsgTransfer): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - transfer(value: _107.MsgTransfer): { - typeUrl: string; - value: _107.MsgTransfer; - }; - }; - toJSON: { - transfer(value: _107.MsgTransfer): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - transfer(value: any): { - typeUrl: string; - value: _107.MsgTransfer; - }; - }; - fromPartial: { - transfer(value: _107.MsgTransfer): { - typeUrl: string; - value: _107.MsgTransfer; - }; - }; - }; - AminoConverter: { - "/ibc.applications.transfer.v1.MsgTransfer": { - aminoType: string; - toAmino: (message: _107.MsgTransfer) => _107.MsgTransferAmino; - fromAmino: (object: _107.MsgTransferAmino) => _107.MsgTransfer; - }; - }; - MsgTransfer: { - encode(message: _107.MsgTransfer, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _107.MsgTransfer; - fromJSON(object: any): _107.MsgTransfer; - toJSON(message: _107.MsgTransfer): unknown; - fromPartial(object: Partial<_107.MsgTransfer>): _107.MsgTransfer; - fromAmino(object: _107.MsgTransferAmino): _107.MsgTransfer; - toAmino(message: _107.MsgTransfer): _107.MsgTransferAmino; - fromAminoMsg(object: _107.MsgTransferAminoMsg): _107.MsgTransfer; - toAminoMsg(message: _107.MsgTransfer): _107.MsgTransferAminoMsg; - fromProtoMsg(message: _107.MsgTransferProtoMsg): _107.MsgTransfer; - toProto(message: _107.MsgTransfer): Uint8Array; - toProtoMsg(message: _107.MsgTransfer): _107.MsgTransferProtoMsg; - }; - MsgTransferResponse: { - encode(_: _107.MsgTransferResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _107.MsgTransferResponse; - fromJSON(_: any): _107.MsgTransferResponse; - toJSON(_: _107.MsgTransferResponse): unknown; - fromPartial(_: Partial<_107.MsgTransferResponse>): _107.MsgTransferResponse; - fromAmino(_: _107.MsgTransferResponseAmino): _107.MsgTransferResponse; - toAmino(_: _107.MsgTransferResponse): _107.MsgTransferResponseAmino; - fromAminoMsg(object: _107.MsgTransferResponseAminoMsg): _107.MsgTransferResponse; - toAminoMsg(message: _107.MsgTransferResponse): _107.MsgTransferResponseAminoMsg; - fromProtoMsg(message: _107.MsgTransferResponseProtoMsg): _107.MsgTransferResponse; - toProto(message: _107.MsgTransferResponse): Uint8Array; - toProtoMsg(message: _107.MsgTransferResponse): _107.MsgTransferResponseProtoMsg; - }; - DenomTrace: { - encode(message: _106.DenomTrace, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _106.DenomTrace; - fromJSON(object: any): _106.DenomTrace; - toJSON(message: _106.DenomTrace): unknown; - fromPartial(object: Partial<_106.DenomTrace>): _106.DenomTrace; - fromAmino(object: _106.DenomTraceAmino): _106.DenomTrace; - toAmino(message: _106.DenomTrace): _106.DenomTraceAmino; - fromAminoMsg(object: _106.DenomTraceAminoMsg): _106.DenomTrace; - toAminoMsg(message: _106.DenomTrace): _106.DenomTraceAminoMsg; - fromProtoMsg(message: _106.DenomTraceProtoMsg): _106.DenomTrace; - toProto(message: _106.DenomTrace): Uint8Array; - toProtoMsg(message: _106.DenomTrace): _106.DenomTraceProtoMsg; - }; - Params: { - encode(message: _106.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _106.Params; - fromJSON(object: any): _106.Params; - toJSON(message: _106.Params): unknown; - fromPartial(object: Partial<_106.Params>): _106.Params; - fromAmino(object: _106.ParamsAmino): _106.Params; - toAmino(message: _106.Params): _106.ParamsAmino; - fromAminoMsg(object: _106.ParamsAminoMsg): _106.Params; - toAminoMsg(message: _106.Params): _106.ParamsAminoMsg; - fromProtoMsg(message: _106.ParamsProtoMsg): _106.Params; - toProto(message: _106.Params): Uint8Array; - toProtoMsg(message: _106.Params): _106.ParamsProtoMsg; - }; - QueryDenomTraceRequest: { - encode(message: _105.QueryDenomTraceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryDenomTraceRequest; - fromJSON(object: any): _105.QueryDenomTraceRequest; - toJSON(message: _105.QueryDenomTraceRequest): unknown; - fromPartial(object: Partial<_105.QueryDenomTraceRequest>): _105.QueryDenomTraceRequest; - fromAmino(object: _105.QueryDenomTraceRequestAmino): _105.QueryDenomTraceRequest; - toAmino(message: _105.QueryDenomTraceRequest): _105.QueryDenomTraceRequestAmino; - fromAminoMsg(object: _105.QueryDenomTraceRequestAminoMsg): _105.QueryDenomTraceRequest; - toAminoMsg(message: _105.QueryDenomTraceRequest): _105.QueryDenomTraceRequestAminoMsg; - fromProtoMsg(message: _105.QueryDenomTraceRequestProtoMsg): _105.QueryDenomTraceRequest; - toProto(message: _105.QueryDenomTraceRequest): Uint8Array; - toProtoMsg(message: _105.QueryDenomTraceRequest): _105.QueryDenomTraceRequestProtoMsg; - }; - QueryDenomTraceResponse: { - encode(message: _105.QueryDenomTraceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryDenomTraceResponse; - fromJSON(object: any): _105.QueryDenomTraceResponse; - toJSON(message: _105.QueryDenomTraceResponse): unknown; - fromPartial(object: Partial<_105.QueryDenomTraceResponse>): _105.QueryDenomTraceResponse; - fromAmino(object: _105.QueryDenomTraceResponseAmino): _105.QueryDenomTraceResponse; - toAmino(message: _105.QueryDenomTraceResponse): _105.QueryDenomTraceResponseAmino; - fromAminoMsg(object: _105.QueryDenomTraceResponseAminoMsg): _105.QueryDenomTraceResponse; - toAminoMsg(message: _105.QueryDenomTraceResponse): _105.QueryDenomTraceResponseAminoMsg; - fromProtoMsg(message: _105.QueryDenomTraceResponseProtoMsg): _105.QueryDenomTraceResponse; - toProto(message: _105.QueryDenomTraceResponse): Uint8Array; - toProtoMsg(message: _105.QueryDenomTraceResponse): _105.QueryDenomTraceResponseProtoMsg; - }; - QueryDenomTracesRequest: { - encode(message: _105.QueryDenomTracesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryDenomTracesRequest; - fromJSON(object: any): _105.QueryDenomTracesRequest; - toJSON(message: _105.QueryDenomTracesRequest): unknown; - fromPartial(object: Partial<_105.QueryDenomTracesRequest>): _105.QueryDenomTracesRequest; - fromAmino(object: _105.QueryDenomTracesRequestAmino): _105.QueryDenomTracesRequest; - toAmino(message: _105.QueryDenomTracesRequest): _105.QueryDenomTracesRequestAmino; - fromAminoMsg(object: _105.QueryDenomTracesRequestAminoMsg): _105.QueryDenomTracesRequest; - toAminoMsg(message: _105.QueryDenomTracesRequest): _105.QueryDenomTracesRequestAminoMsg; - fromProtoMsg(message: _105.QueryDenomTracesRequestProtoMsg): _105.QueryDenomTracesRequest; - toProto(message: _105.QueryDenomTracesRequest): Uint8Array; - toProtoMsg(message: _105.QueryDenomTracesRequest): _105.QueryDenomTracesRequestProtoMsg; - }; - QueryDenomTracesResponse: { - encode(message: _105.QueryDenomTracesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryDenomTracesResponse; - fromJSON(object: any): _105.QueryDenomTracesResponse; - toJSON(message: _105.QueryDenomTracesResponse): unknown; - fromPartial(object: Partial<_105.QueryDenomTracesResponse>): _105.QueryDenomTracesResponse; - fromAmino(object: _105.QueryDenomTracesResponseAmino): _105.QueryDenomTracesResponse; - toAmino(message: _105.QueryDenomTracesResponse): _105.QueryDenomTracesResponseAmino; - fromAminoMsg(object: _105.QueryDenomTracesResponseAminoMsg): _105.QueryDenomTracesResponse; - toAminoMsg(message: _105.QueryDenomTracesResponse): _105.QueryDenomTracesResponseAminoMsg; - fromProtoMsg(message: _105.QueryDenomTracesResponseProtoMsg): _105.QueryDenomTracesResponse; - toProto(message: _105.QueryDenomTracesResponse): Uint8Array; - toProtoMsg(message: _105.QueryDenomTracesResponse): _105.QueryDenomTracesResponseProtoMsg; - }; - QueryParamsRequest: { - encode(_: _105.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryParamsRequest; - fromJSON(_: any): _105.QueryParamsRequest; - toJSON(_: _105.QueryParamsRequest): unknown; - fromPartial(_: Partial<_105.QueryParamsRequest>): _105.QueryParamsRequest; - fromAmino(_: _105.QueryParamsRequestAmino): _105.QueryParamsRequest; - toAmino(_: _105.QueryParamsRequest): _105.QueryParamsRequestAmino; - fromAminoMsg(object: _105.QueryParamsRequestAminoMsg): _105.QueryParamsRequest; - toAminoMsg(message: _105.QueryParamsRequest): _105.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _105.QueryParamsRequestProtoMsg): _105.QueryParamsRequest; - toProto(message: _105.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _105.QueryParamsRequest): _105.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _105.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryParamsResponse; - fromJSON(object: any): _105.QueryParamsResponse; - toJSON(message: _105.QueryParamsResponse): unknown; - fromPartial(object: Partial<_105.QueryParamsResponse>): _105.QueryParamsResponse; - fromAmino(object: _105.QueryParamsResponseAmino): _105.QueryParamsResponse; - toAmino(message: _105.QueryParamsResponse): _105.QueryParamsResponseAmino; - fromAminoMsg(object: _105.QueryParamsResponseAminoMsg): _105.QueryParamsResponse; - toAminoMsg(message: _105.QueryParamsResponse): _105.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _105.QueryParamsResponseProtoMsg): _105.QueryParamsResponse; - toProto(message: _105.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _105.QueryParamsResponse): _105.QueryParamsResponseProtoMsg; - }; - QueryDenomHashRequest: { - encode(message: _105.QueryDenomHashRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryDenomHashRequest; - fromJSON(object: any): _105.QueryDenomHashRequest; - toJSON(message: _105.QueryDenomHashRequest): unknown; - fromPartial(object: Partial<_105.QueryDenomHashRequest>): _105.QueryDenomHashRequest; - fromAmino(object: _105.QueryDenomHashRequestAmino): _105.QueryDenomHashRequest; - toAmino(message: _105.QueryDenomHashRequest): _105.QueryDenomHashRequestAmino; - fromAminoMsg(object: _105.QueryDenomHashRequestAminoMsg): _105.QueryDenomHashRequest; - toAminoMsg(message: _105.QueryDenomHashRequest): _105.QueryDenomHashRequestAminoMsg; - fromProtoMsg(message: _105.QueryDenomHashRequestProtoMsg): _105.QueryDenomHashRequest; - toProto(message: _105.QueryDenomHashRequest): Uint8Array; - toProtoMsg(message: _105.QueryDenomHashRequest): _105.QueryDenomHashRequestProtoMsg; - }; - QueryDenomHashResponse: { - encode(message: _105.QueryDenomHashResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryDenomHashResponse; - fromJSON(object: any): _105.QueryDenomHashResponse; - toJSON(message: _105.QueryDenomHashResponse): unknown; - fromPartial(object: Partial<_105.QueryDenomHashResponse>): _105.QueryDenomHashResponse; - fromAmino(object: _105.QueryDenomHashResponseAmino): _105.QueryDenomHashResponse; - toAmino(message: _105.QueryDenomHashResponse): _105.QueryDenomHashResponseAmino; - fromAminoMsg(object: _105.QueryDenomHashResponseAminoMsg): _105.QueryDenomHashResponse; - toAminoMsg(message: _105.QueryDenomHashResponse): _105.QueryDenomHashResponseAminoMsg; - fromProtoMsg(message: _105.QueryDenomHashResponseProtoMsg): _105.QueryDenomHashResponse; - toProto(message: _105.QueryDenomHashResponse): Uint8Array; - toProtoMsg(message: _105.QueryDenomHashResponse): _105.QueryDenomHashResponseProtoMsg; - }; - QueryEscrowAddressRequest: { - encode(message: _105.QueryEscrowAddressRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryEscrowAddressRequest; - fromJSON(object: any): _105.QueryEscrowAddressRequest; - toJSON(message: _105.QueryEscrowAddressRequest): unknown; - fromPartial(object: Partial<_105.QueryEscrowAddressRequest>): _105.QueryEscrowAddressRequest; - fromAmino(object: _105.QueryEscrowAddressRequestAmino): _105.QueryEscrowAddressRequest; - toAmino(message: _105.QueryEscrowAddressRequest): _105.QueryEscrowAddressRequestAmino; - fromAminoMsg(object: _105.QueryEscrowAddressRequestAminoMsg): _105.QueryEscrowAddressRequest; - toAminoMsg(message: _105.QueryEscrowAddressRequest): _105.QueryEscrowAddressRequestAminoMsg; - fromProtoMsg(message: _105.QueryEscrowAddressRequestProtoMsg): _105.QueryEscrowAddressRequest; - toProto(message: _105.QueryEscrowAddressRequest): Uint8Array; - toProtoMsg(message: _105.QueryEscrowAddressRequest): _105.QueryEscrowAddressRequestProtoMsg; - }; - QueryEscrowAddressResponse: { - encode(message: _105.QueryEscrowAddressResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _105.QueryEscrowAddressResponse; - fromJSON(object: any): _105.QueryEscrowAddressResponse; - toJSON(message: _105.QueryEscrowAddressResponse): unknown; - fromPartial(object: Partial<_105.QueryEscrowAddressResponse>): _105.QueryEscrowAddressResponse; - fromAmino(object: _105.QueryEscrowAddressResponseAmino): _105.QueryEscrowAddressResponse; - toAmino(message: _105.QueryEscrowAddressResponse): _105.QueryEscrowAddressResponseAmino; - fromAminoMsg(object: _105.QueryEscrowAddressResponseAminoMsg): _105.QueryEscrowAddressResponse; - toAminoMsg(message: _105.QueryEscrowAddressResponse): _105.QueryEscrowAddressResponseAminoMsg; - fromProtoMsg(message: _105.QueryEscrowAddressResponseProtoMsg): _105.QueryEscrowAddressResponse; - toProto(message: _105.QueryEscrowAddressResponse): Uint8Array; - toProtoMsg(message: _105.QueryEscrowAddressResponse): _105.QueryEscrowAddressResponseProtoMsg; - }; - GenesisState: { - encode(message: _104.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _104.GenesisState; - fromJSON(object: any): _104.GenesisState; - toJSON(message: _104.GenesisState): unknown; - fromPartial(object: Partial<_104.GenesisState>): _104.GenesisState; - fromAmino(object: _104.GenesisStateAmino): _104.GenesisState; - toAmino(message: _104.GenesisState): _104.GenesisStateAmino; - fromAminoMsg(object: _104.GenesisStateAminoMsg): _104.GenesisState; - toAminoMsg(message: _104.GenesisState): _104.GenesisStateAminoMsg; - fromProtoMsg(message: _104.GenesisStateProtoMsg): _104.GenesisState; - toProto(message: _104.GenesisState): Uint8Array; - toProtoMsg(message: _104.GenesisState): _104.GenesisStateProtoMsg; - }; - }; - } - } - namespace core { - namespace client { - const v1: { - MsgClientImpl: typeof _239.MsgClientImpl; - QueryClientImpl: typeof _237.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - clientState(request: _110.QueryClientStateRequest): Promise<_110.QueryClientStateResponse>; - clientStates(request?: _110.QueryClientStatesRequest | undefined): Promise<_110.QueryClientStatesResponse>; - consensusState(request: _110.QueryConsensusStateRequest): Promise<_110.QueryConsensusStateResponse>; - consensusStates(request: _110.QueryConsensusStatesRequest): Promise<_110.QueryConsensusStatesResponse>; - consensusStateHeights(request: _110.QueryConsensusStateHeightsRequest): Promise<_110.QueryConsensusStateHeightsResponse>; - clientStatus(request: _110.QueryClientStatusRequest): Promise<_110.QueryClientStatusResponse>; - clientParams(request?: _110.QueryClientParamsRequest | undefined): Promise<_110.QueryClientParamsResponse>; - upgradedClientState(request?: _110.QueryUpgradedClientStateRequest | undefined): Promise<_110.QueryUpgradedClientStateResponse>; - upgradedConsensusState(request?: _110.QueryUpgradedConsensusStateRequest | undefined): Promise<_110.QueryUpgradedConsensusStateResponse>; - }; - LCDQueryClient: typeof _235.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createClient(value: _111.MsgCreateClient): { - typeUrl: string; - value: Uint8Array; - }; - updateClient(value: _111.MsgUpdateClient): { - typeUrl: string; - value: Uint8Array; - }; - upgradeClient(value: _111.MsgUpgradeClient): { - typeUrl: string; - value: Uint8Array; - }; - submitMisbehaviour(value: _111.MsgSubmitMisbehaviour): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClient(value: _111.MsgCreateClient): { - typeUrl: string; - value: _111.MsgCreateClient; - }; - updateClient(value: _111.MsgUpdateClient): { - typeUrl: string; - value: _111.MsgUpdateClient; - }; - upgradeClient(value: _111.MsgUpgradeClient): { - typeUrl: string; - value: _111.MsgUpgradeClient; - }; - submitMisbehaviour(value: _111.MsgSubmitMisbehaviour): { - typeUrl: string; - value: _111.MsgSubmitMisbehaviour; - }; - }; - toJSON: { - createClient(value: _111.MsgCreateClient): { - typeUrl: string; - value: unknown; - }; - updateClient(value: _111.MsgUpdateClient): { - typeUrl: string; - value: unknown; - }; - upgradeClient(value: _111.MsgUpgradeClient): { - typeUrl: string; - value: unknown; - }; - submitMisbehaviour(value: _111.MsgSubmitMisbehaviour): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClient(value: any): { - typeUrl: string; - value: _111.MsgCreateClient; - }; - updateClient(value: any): { - typeUrl: string; - value: _111.MsgUpdateClient; - }; - upgradeClient(value: any): { - typeUrl: string; - value: _111.MsgUpgradeClient; - }; - submitMisbehaviour(value: any): { - typeUrl: string; - value: _111.MsgSubmitMisbehaviour; - }; - }; - fromPartial: { - createClient(value: _111.MsgCreateClient): { - typeUrl: string; - value: _111.MsgCreateClient; - }; - updateClient(value: _111.MsgUpdateClient): { - typeUrl: string; - value: _111.MsgUpdateClient; - }; - upgradeClient(value: _111.MsgUpgradeClient): { - typeUrl: string; - value: _111.MsgUpgradeClient; - }; - submitMisbehaviour(value: _111.MsgSubmitMisbehaviour): { - typeUrl: string; - value: _111.MsgSubmitMisbehaviour; - }; - }; - }; - AminoConverter: { - "/ibc.core.client.v1.MsgCreateClient": { - aminoType: string; - toAmino: (message: _111.MsgCreateClient) => _111.MsgCreateClientAmino; - fromAmino: (object: _111.MsgCreateClientAmino) => _111.MsgCreateClient; - }; - "/ibc.core.client.v1.MsgUpdateClient": { - aminoType: string; - toAmino: (message: _111.MsgUpdateClient) => _111.MsgUpdateClientAmino; - fromAmino: (object: _111.MsgUpdateClientAmino) => _111.MsgUpdateClient; - }; - "/ibc.core.client.v1.MsgUpgradeClient": { - aminoType: string; - toAmino: (message: _111.MsgUpgradeClient) => _111.MsgUpgradeClientAmino; - fromAmino: (object: _111.MsgUpgradeClientAmino) => _111.MsgUpgradeClient; - }; - "/ibc.core.client.v1.MsgSubmitMisbehaviour": { - aminoType: string; - toAmino: (message: _111.MsgSubmitMisbehaviour) => _111.MsgSubmitMisbehaviourAmino; - fromAmino: (object: _111.MsgSubmitMisbehaviourAmino) => _111.MsgSubmitMisbehaviour; - }; - }; - MsgCreateClient: { - encode(message: _111.MsgCreateClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgCreateClient; - fromJSON(object: any): _111.MsgCreateClient; - toJSON(message: _111.MsgCreateClient): unknown; - fromPartial(object: Partial<_111.MsgCreateClient>): _111.MsgCreateClient; - fromAmino(object: _111.MsgCreateClientAmino): _111.MsgCreateClient; - toAmino(message: _111.MsgCreateClient): _111.MsgCreateClientAmino; - fromAminoMsg(object: _111.MsgCreateClientAminoMsg): _111.MsgCreateClient; - toAminoMsg(message: _111.MsgCreateClient): _111.MsgCreateClientAminoMsg; - fromProtoMsg(message: _111.MsgCreateClientProtoMsg): _111.MsgCreateClient; - toProto(message: _111.MsgCreateClient): Uint8Array; - toProtoMsg(message: _111.MsgCreateClient): _111.MsgCreateClientProtoMsg; - }; - MsgCreateClientResponse: { - encode(_: _111.MsgCreateClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgCreateClientResponse; - fromJSON(_: any): _111.MsgCreateClientResponse; - toJSON(_: _111.MsgCreateClientResponse): unknown; - fromPartial(_: Partial<_111.MsgCreateClientResponse>): _111.MsgCreateClientResponse; - fromAmino(_: _111.MsgCreateClientResponseAmino): _111.MsgCreateClientResponse; - toAmino(_: _111.MsgCreateClientResponse): _111.MsgCreateClientResponseAmino; - fromAminoMsg(object: _111.MsgCreateClientResponseAminoMsg): _111.MsgCreateClientResponse; - toAminoMsg(message: _111.MsgCreateClientResponse): _111.MsgCreateClientResponseAminoMsg; - fromProtoMsg(message: _111.MsgCreateClientResponseProtoMsg): _111.MsgCreateClientResponse; - toProto(message: _111.MsgCreateClientResponse): Uint8Array; - toProtoMsg(message: _111.MsgCreateClientResponse): _111.MsgCreateClientResponseProtoMsg; - }; - MsgUpdateClient: { - encode(message: _111.MsgUpdateClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgUpdateClient; - fromJSON(object: any): _111.MsgUpdateClient; - toJSON(message: _111.MsgUpdateClient): unknown; - fromPartial(object: Partial<_111.MsgUpdateClient>): _111.MsgUpdateClient; - fromAmino(object: _111.MsgUpdateClientAmino): _111.MsgUpdateClient; - toAmino(message: _111.MsgUpdateClient): _111.MsgUpdateClientAmino; - fromAminoMsg(object: _111.MsgUpdateClientAminoMsg): _111.MsgUpdateClient; - toAminoMsg(message: _111.MsgUpdateClient): _111.MsgUpdateClientAminoMsg; - fromProtoMsg(message: _111.MsgUpdateClientProtoMsg): _111.MsgUpdateClient; - toProto(message: _111.MsgUpdateClient): Uint8Array; - toProtoMsg(message: _111.MsgUpdateClient): _111.MsgUpdateClientProtoMsg; - }; - MsgUpdateClientResponse: { - encode(_: _111.MsgUpdateClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgUpdateClientResponse; - fromJSON(_: any): _111.MsgUpdateClientResponse; - toJSON(_: _111.MsgUpdateClientResponse): unknown; - fromPartial(_: Partial<_111.MsgUpdateClientResponse>): _111.MsgUpdateClientResponse; - fromAmino(_: _111.MsgUpdateClientResponseAmino): _111.MsgUpdateClientResponse; - toAmino(_: _111.MsgUpdateClientResponse): _111.MsgUpdateClientResponseAmino; - fromAminoMsg(object: _111.MsgUpdateClientResponseAminoMsg): _111.MsgUpdateClientResponse; - toAminoMsg(message: _111.MsgUpdateClientResponse): _111.MsgUpdateClientResponseAminoMsg; - fromProtoMsg(message: _111.MsgUpdateClientResponseProtoMsg): _111.MsgUpdateClientResponse; - toProto(message: _111.MsgUpdateClientResponse): Uint8Array; - toProtoMsg(message: _111.MsgUpdateClientResponse): _111.MsgUpdateClientResponseProtoMsg; - }; - MsgUpgradeClient: { - encode(message: _111.MsgUpgradeClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgUpgradeClient; - fromJSON(object: any): _111.MsgUpgradeClient; - toJSON(message: _111.MsgUpgradeClient): unknown; - fromPartial(object: Partial<_111.MsgUpgradeClient>): _111.MsgUpgradeClient; - fromAmino(object: _111.MsgUpgradeClientAmino): _111.MsgUpgradeClient; - toAmino(message: _111.MsgUpgradeClient): _111.MsgUpgradeClientAmino; - fromAminoMsg(object: _111.MsgUpgradeClientAminoMsg): _111.MsgUpgradeClient; - toAminoMsg(message: _111.MsgUpgradeClient): _111.MsgUpgradeClientAminoMsg; - fromProtoMsg(message: _111.MsgUpgradeClientProtoMsg): _111.MsgUpgradeClient; - toProto(message: _111.MsgUpgradeClient): Uint8Array; - toProtoMsg(message: _111.MsgUpgradeClient): _111.MsgUpgradeClientProtoMsg; - }; - MsgUpgradeClientResponse: { - encode(_: _111.MsgUpgradeClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgUpgradeClientResponse; - fromJSON(_: any): _111.MsgUpgradeClientResponse; - toJSON(_: _111.MsgUpgradeClientResponse): unknown; - fromPartial(_: Partial<_111.MsgUpgradeClientResponse>): _111.MsgUpgradeClientResponse; - fromAmino(_: _111.MsgUpgradeClientResponseAmino): _111.MsgUpgradeClientResponse; - toAmino(_: _111.MsgUpgradeClientResponse): _111.MsgUpgradeClientResponseAmino; - fromAminoMsg(object: _111.MsgUpgradeClientResponseAminoMsg): _111.MsgUpgradeClientResponse; - toAminoMsg(message: _111.MsgUpgradeClientResponse): _111.MsgUpgradeClientResponseAminoMsg; - fromProtoMsg(message: _111.MsgUpgradeClientResponseProtoMsg): _111.MsgUpgradeClientResponse; - toProto(message: _111.MsgUpgradeClientResponse): Uint8Array; - toProtoMsg(message: _111.MsgUpgradeClientResponse): _111.MsgUpgradeClientResponseProtoMsg; - }; - MsgSubmitMisbehaviour: { - encode(message: _111.MsgSubmitMisbehaviour, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgSubmitMisbehaviour; - fromJSON(object: any): _111.MsgSubmitMisbehaviour; - toJSON(message: _111.MsgSubmitMisbehaviour): unknown; - fromPartial(object: Partial<_111.MsgSubmitMisbehaviour>): _111.MsgSubmitMisbehaviour; - fromAmino(object: _111.MsgSubmitMisbehaviourAmino): _111.MsgSubmitMisbehaviour; - toAmino(message: _111.MsgSubmitMisbehaviour): _111.MsgSubmitMisbehaviourAmino; - fromAminoMsg(object: _111.MsgSubmitMisbehaviourAminoMsg): _111.MsgSubmitMisbehaviour; - toAminoMsg(message: _111.MsgSubmitMisbehaviour): _111.MsgSubmitMisbehaviourAminoMsg; - fromProtoMsg(message: _111.MsgSubmitMisbehaviourProtoMsg): _111.MsgSubmitMisbehaviour; - toProto(message: _111.MsgSubmitMisbehaviour): Uint8Array; - toProtoMsg(message: _111.MsgSubmitMisbehaviour): _111.MsgSubmitMisbehaviourProtoMsg; - }; - MsgSubmitMisbehaviourResponse: { - encode(_: _111.MsgSubmitMisbehaviourResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _111.MsgSubmitMisbehaviourResponse; - fromJSON(_: any): _111.MsgSubmitMisbehaviourResponse; - toJSON(_: _111.MsgSubmitMisbehaviourResponse): unknown; - fromPartial(_: Partial<_111.MsgSubmitMisbehaviourResponse>): _111.MsgSubmitMisbehaviourResponse; - fromAmino(_: _111.MsgSubmitMisbehaviourResponseAmino): _111.MsgSubmitMisbehaviourResponse; - toAmino(_: _111.MsgSubmitMisbehaviourResponse): _111.MsgSubmitMisbehaviourResponseAmino; - fromAminoMsg(object: _111.MsgSubmitMisbehaviourResponseAminoMsg): _111.MsgSubmitMisbehaviourResponse; - toAminoMsg(message: _111.MsgSubmitMisbehaviourResponse): _111.MsgSubmitMisbehaviourResponseAminoMsg; - fromProtoMsg(message: _111.MsgSubmitMisbehaviourResponseProtoMsg): _111.MsgSubmitMisbehaviourResponse; - toProto(message: _111.MsgSubmitMisbehaviourResponse): Uint8Array; - toProtoMsg(message: _111.MsgSubmitMisbehaviourResponse): _111.MsgSubmitMisbehaviourResponseProtoMsg; - }; - QueryClientStateRequest: { - encode(message: _110.QueryClientStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientStateRequest; - fromJSON(object: any): _110.QueryClientStateRequest; - toJSON(message: _110.QueryClientStateRequest): unknown; - fromPartial(object: Partial<_110.QueryClientStateRequest>): _110.QueryClientStateRequest; - fromAmino(object: _110.QueryClientStateRequestAmino): _110.QueryClientStateRequest; - toAmino(message: _110.QueryClientStateRequest): _110.QueryClientStateRequestAmino; - fromAminoMsg(object: _110.QueryClientStateRequestAminoMsg): _110.QueryClientStateRequest; - toAminoMsg(message: _110.QueryClientStateRequest): _110.QueryClientStateRequestAminoMsg; - fromProtoMsg(message: _110.QueryClientStateRequestProtoMsg): _110.QueryClientStateRequest; - toProto(message: _110.QueryClientStateRequest): Uint8Array; - toProtoMsg(message: _110.QueryClientStateRequest): _110.QueryClientStateRequestProtoMsg; - }; - QueryClientStateResponse: { - encode(message: _110.QueryClientStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientStateResponse; - fromJSON(object: any): _110.QueryClientStateResponse; - toJSON(message: _110.QueryClientStateResponse): unknown; - fromPartial(object: Partial<_110.QueryClientStateResponse>): _110.QueryClientStateResponse; - fromAmino(object: _110.QueryClientStateResponseAmino): _110.QueryClientStateResponse; - toAmino(message: _110.QueryClientStateResponse): _110.QueryClientStateResponseAmino; - fromAminoMsg(object: _110.QueryClientStateResponseAminoMsg): _110.QueryClientStateResponse; - toAminoMsg(message: _110.QueryClientStateResponse): _110.QueryClientStateResponseAminoMsg; - fromProtoMsg(message: _110.QueryClientStateResponseProtoMsg): _110.QueryClientStateResponse; - toProto(message: _110.QueryClientStateResponse): Uint8Array; - toProtoMsg(message: _110.QueryClientStateResponse): _110.QueryClientStateResponseProtoMsg; - }; - QueryClientStatesRequest: { - encode(message: _110.QueryClientStatesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientStatesRequest; - fromJSON(object: any): _110.QueryClientStatesRequest; - toJSON(message: _110.QueryClientStatesRequest): unknown; - fromPartial(object: Partial<_110.QueryClientStatesRequest>): _110.QueryClientStatesRequest; - fromAmino(object: _110.QueryClientStatesRequestAmino): _110.QueryClientStatesRequest; - toAmino(message: _110.QueryClientStatesRequest): _110.QueryClientStatesRequestAmino; - fromAminoMsg(object: _110.QueryClientStatesRequestAminoMsg): _110.QueryClientStatesRequest; - toAminoMsg(message: _110.QueryClientStatesRequest): _110.QueryClientStatesRequestAminoMsg; - fromProtoMsg(message: _110.QueryClientStatesRequestProtoMsg): _110.QueryClientStatesRequest; - toProto(message: _110.QueryClientStatesRequest): Uint8Array; - toProtoMsg(message: _110.QueryClientStatesRequest): _110.QueryClientStatesRequestProtoMsg; - }; - QueryClientStatesResponse: { - encode(message: _110.QueryClientStatesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientStatesResponse; - fromJSON(object: any): _110.QueryClientStatesResponse; - toJSON(message: _110.QueryClientStatesResponse): unknown; - fromPartial(object: Partial<_110.QueryClientStatesResponse>): _110.QueryClientStatesResponse; - fromAmino(object: _110.QueryClientStatesResponseAmino): _110.QueryClientStatesResponse; - toAmino(message: _110.QueryClientStatesResponse): _110.QueryClientStatesResponseAmino; - fromAminoMsg(object: _110.QueryClientStatesResponseAminoMsg): _110.QueryClientStatesResponse; - toAminoMsg(message: _110.QueryClientStatesResponse): _110.QueryClientStatesResponseAminoMsg; - fromProtoMsg(message: _110.QueryClientStatesResponseProtoMsg): _110.QueryClientStatesResponse; - toProto(message: _110.QueryClientStatesResponse): Uint8Array; - toProtoMsg(message: _110.QueryClientStatesResponse): _110.QueryClientStatesResponseProtoMsg; - }; - QueryConsensusStateRequest: { - encode(message: _110.QueryConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryConsensusStateRequest; - fromJSON(object: any): _110.QueryConsensusStateRequest; - toJSON(message: _110.QueryConsensusStateRequest): unknown; - fromPartial(object: Partial<_110.QueryConsensusStateRequest>): _110.QueryConsensusStateRequest; - fromAmino(object: _110.QueryConsensusStateRequestAmino): _110.QueryConsensusStateRequest; - toAmino(message: _110.QueryConsensusStateRequest): _110.QueryConsensusStateRequestAmino; - fromAminoMsg(object: _110.QueryConsensusStateRequestAminoMsg): _110.QueryConsensusStateRequest; - toAminoMsg(message: _110.QueryConsensusStateRequest): _110.QueryConsensusStateRequestAminoMsg; - fromProtoMsg(message: _110.QueryConsensusStateRequestProtoMsg): _110.QueryConsensusStateRequest; - toProto(message: _110.QueryConsensusStateRequest): Uint8Array; - toProtoMsg(message: _110.QueryConsensusStateRequest): _110.QueryConsensusStateRequestProtoMsg; - }; - QueryConsensusStateResponse: { - encode(message: _110.QueryConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryConsensusStateResponse; - fromJSON(object: any): _110.QueryConsensusStateResponse; - toJSON(message: _110.QueryConsensusStateResponse): unknown; - fromPartial(object: Partial<_110.QueryConsensusStateResponse>): _110.QueryConsensusStateResponse; - fromAmino(object: _110.QueryConsensusStateResponseAmino): _110.QueryConsensusStateResponse; - toAmino(message: _110.QueryConsensusStateResponse): _110.QueryConsensusStateResponseAmino; - fromAminoMsg(object: _110.QueryConsensusStateResponseAminoMsg): _110.QueryConsensusStateResponse; - toAminoMsg(message: _110.QueryConsensusStateResponse): _110.QueryConsensusStateResponseAminoMsg; - fromProtoMsg(message: _110.QueryConsensusStateResponseProtoMsg): _110.QueryConsensusStateResponse; - toProto(message: _110.QueryConsensusStateResponse): Uint8Array; - toProtoMsg(message: _110.QueryConsensusStateResponse): _110.QueryConsensusStateResponseProtoMsg; - }; - QueryConsensusStatesRequest: { - encode(message: _110.QueryConsensusStatesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryConsensusStatesRequest; - fromJSON(object: any): _110.QueryConsensusStatesRequest; - toJSON(message: _110.QueryConsensusStatesRequest): unknown; - fromPartial(object: Partial<_110.QueryConsensusStatesRequest>): _110.QueryConsensusStatesRequest; - fromAmino(object: _110.QueryConsensusStatesRequestAmino): _110.QueryConsensusStatesRequest; - toAmino(message: _110.QueryConsensusStatesRequest): _110.QueryConsensusStatesRequestAmino; - fromAminoMsg(object: _110.QueryConsensusStatesRequestAminoMsg): _110.QueryConsensusStatesRequest; - toAminoMsg(message: _110.QueryConsensusStatesRequest): _110.QueryConsensusStatesRequestAminoMsg; - fromProtoMsg(message: _110.QueryConsensusStatesRequestProtoMsg): _110.QueryConsensusStatesRequest; - toProto(message: _110.QueryConsensusStatesRequest): Uint8Array; - toProtoMsg(message: _110.QueryConsensusStatesRequest): _110.QueryConsensusStatesRequestProtoMsg; - }; - QueryConsensusStatesResponse: { - encode(message: _110.QueryConsensusStatesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryConsensusStatesResponse; - fromJSON(object: any): _110.QueryConsensusStatesResponse; - toJSON(message: _110.QueryConsensusStatesResponse): unknown; - fromPartial(object: Partial<_110.QueryConsensusStatesResponse>): _110.QueryConsensusStatesResponse; - fromAmino(object: _110.QueryConsensusStatesResponseAmino): _110.QueryConsensusStatesResponse; - toAmino(message: _110.QueryConsensusStatesResponse): _110.QueryConsensusStatesResponseAmino; - fromAminoMsg(object: _110.QueryConsensusStatesResponseAminoMsg): _110.QueryConsensusStatesResponse; - toAminoMsg(message: _110.QueryConsensusStatesResponse): _110.QueryConsensusStatesResponseAminoMsg; - fromProtoMsg(message: _110.QueryConsensusStatesResponseProtoMsg): _110.QueryConsensusStatesResponse; - toProto(message: _110.QueryConsensusStatesResponse): Uint8Array; - toProtoMsg(message: _110.QueryConsensusStatesResponse): _110.QueryConsensusStatesResponseProtoMsg; - }; - QueryConsensusStateHeightsRequest: { - encode(message: _110.QueryConsensusStateHeightsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryConsensusStateHeightsRequest; - fromJSON(object: any): _110.QueryConsensusStateHeightsRequest; - toJSON(message: _110.QueryConsensusStateHeightsRequest): unknown; - fromPartial(object: Partial<_110.QueryConsensusStateHeightsRequest>): _110.QueryConsensusStateHeightsRequest; - fromAmino(object: _110.QueryConsensusStateHeightsRequestAmino): _110.QueryConsensusStateHeightsRequest; - toAmino(message: _110.QueryConsensusStateHeightsRequest): _110.QueryConsensusStateHeightsRequestAmino; - fromAminoMsg(object: _110.QueryConsensusStateHeightsRequestAminoMsg): _110.QueryConsensusStateHeightsRequest; - toAminoMsg(message: _110.QueryConsensusStateHeightsRequest): _110.QueryConsensusStateHeightsRequestAminoMsg; - fromProtoMsg(message: _110.QueryConsensusStateHeightsRequestProtoMsg): _110.QueryConsensusStateHeightsRequest; - toProto(message: _110.QueryConsensusStateHeightsRequest): Uint8Array; - toProtoMsg(message: _110.QueryConsensusStateHeightsRequest): _110.QueryConsensusStateHeightsRequestProtoMsg; - }; - QueryConsensusStateHeightsResponse: { - encode(message: _110.QueryConsensusStateHeightsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryConsensusStateHeightsResponse; - fromJSON(object: any): _110.QueryConsensusStateHeightsResponse; - toJSON(message: _110.QueryConsensusStateHeightsResponse): unknown; - fromPartial(object: Partial<_110.QueryConsensusStateHeightsResponse>): _110.QueryConsensusStateHeightsResponse; - fromAmino(object: _110.QueryConsensusStateHeightsResponseAmino): _110.QueryConsensusStateHeightsResponse; - toAmino(message: _110.QueryConsensusStateHeightsResponse): _110.QueryConsensusStateHeightsResponseAmino; - fromAminoMsg(object: _110.QueryConsensusStateHeightsResponseAminoMsg): _110.QueryConsensusStateHeightsResponse; - toAminoMsg(message: _110.QueryConsensusStateHeightsResponse): _110.QueryConsensusStateHeightsResponseAminoMsg; - fromProtoMsg(message: _110.QueryConsensusStateHeightsResponseProtoMsg): _110.QueryConsensusStateHeightsResponse; - toProto(message: _110.QueryConsensusStateHeightsResponse): Uint8Array; - toProtoMsg(message: _110.QueryConsensusStateHeightsResponse): _110.QueryConsensusStateHeightsResponseProtoMsg; - }; - QueryClientStatusRequest: { - encode(message: _110.QueryClientStatusRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientStatusRequest; - fromJSON(object: any): _110.QueryClientStatusRequest; - toJSON(message: _110.QueryClientStatusRequest): unknown; - fromPartial(object: Partial<_110.QueryClientStatusRequest>): _110.QueryClientStatusRequest; - fromAmino(object: _110.QueryClientStatusRequestAmino): _110.QueryClientStatusRequest; - toAmino(message: _110.QueryClientStatusRequest): _110.QueryClientStatusRequestAmino; - fromAminoMsg(object: _110.QueryClientStatusRequestAminoMsg): _110.QueryClientStatusRequest; - toAminoMsg(message: _110.QueryClientStatusRequest): _110.QueryClientStatusRequestAminoMsg; - fromProtoMsg(message: _110.QueryClientStatusRequestProtoMsg): _110.QueryClientStatusRequest; - toProto(message: _110.QueryClientStatusRequest): Uint8Array; - toProtoMsg(message: _110.QueryClientStatusRequest): _110.QueryClientStatusRequestProtoMsg; - }; - QueryClientStatusResponse: { - encode(message: _110.QueryClientStatusResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientStatusResponse; - fromJSON(object: any): _110.QueryClientStatusResponse; - toJSON(message: _110.QueryClientStatusResponse): unknown; - fromPartial(object: Partial<_110.QueryClientStatusResponse>): _110.QueryClientStatusResponse; - fromAmino(object: _110.QueryClientStatusResponseAmino): _110.QueryClientStatusResponse; - toAmino(message: _110.QueryClientStatusResponse): _110.QueryClientStatusResponseAmino; - fromAminoMsg(object: _110.QueryClientStatusResponseAminoMsg): _110.QueryClientStatusResponse; - toAminoMsg(message: _110.QueryClientStatusResponse): _110.QueryClientStatusResponseAminoMsg; - fromProtoMsg(message: _110.QueryClientStatusResponseProtoMsg): _110.QueryClientStatusResponse; - toProto(message: _110.QueryClientStatusResponse): Uint8Array; - toProtoMsg(message: _110.QueryClientStatusResponse): _110.QueryClientStatusResponseProtoMsg; - }; - QueryClientParamsRequest: { - encode(_: _110.QueryClientParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientParamsRequest; - fromJSON(_: any): _110.QueryClientParamsRequest; - toJSON(_: _110.QueryClientParamsRequest): unknown; - fromPartial(_: Partial<_110.QueryClientParamsRequest>): _110.QueryClientParamsRequest; - fromAmino(_: _110.QueryClientParamsRequestAmino): _110.QueryClientParamsRequest; - toAmino(_: _110.QueryClientParamsRequest): _110.QueryClientParamsRequestAmino; - fromAminoMsg(object: _110.QueryClientParamsRequestAminoMsg): _110.QueryClientParamsRequest; - toAminoMsg(message: _110.QueryClientParamsRequest): _110.QueryClientParamsRequestAminoMsg; - fromProtoMsg(message: _110.QueryClientParamsRequestProtoMsg): _110.QueryClientParamsRequest; - toProto(message: _110.QueryClientParamsRequest): Uint8Array; - toProtoMsg(message: _110.QueryClientParamsRequest): _110.QueryClientParamsRequestProtoMsg; - }; - QueryClientParamsResponse: { - encode(message: _110.QueryClientParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryClientParamsResponse; - fromJSON(object: any): _110.QueryClientParamsResponse; - toJSON(message: _110.QueryClientParamsResponse): unknown; - fromPartial(object: Partial<_110.QueryClientParamsResponse>): _110.QueryClientParamsResponse; - fromAmino(object: _110.QueryClientParamsResponseAmino): _110.QueryClientParamsResponse; - toAmino(message: _110.QueryClientParamsResponse): _110.QueryClientParamsResponseAmino; - fromAminoMsg(object: _110.QueryClientParamsResponseAminoMsg): _110.QueryClientParamsResponse; - toAminoMsg(message: _110.QueryClientParamsResponse): _110.QueryClientParamsResponseAminoMsg; - fromProtoMsg(message: _110.QueryClientParamsResponseProtoMsg): _110.QueryClientParamsResponse; - toProto(message: _110.QueryClientParamsResponse): Uint8Array; - toProtoMsg(message: _110.QueryClientParamsResponse): _110.QueryClientParamsResponseProtoMsg; - }; - QueryUpgradedClientStateRequest: { - encode(_: _110.QueryUpgradedClientStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryUpgradedClientStateRequest; - fromJSON(_: any): _110.QueryUpgradedClientStateRequest; - toJSON(_: _110.QueryUpgradedClientStateRequest): unknown; - fromPartial(_: Partial<_110.QueryUpgradedClientStateRequest>): _110.QueryUpgradedClientStateRequest; - fromAmino(_: _110.QueryUpgradedClientStateRequestAmino): _110.QueryUpgradedClientStateRequest; - toAmino(_: _110.QueryUpgradedClientStateRequest): _110.QueryUpgradedClientStateRequestAmino; - fromAminoMsg(object: _110.QueryUpgradedClientStateRequestAminoMsg): _110.QueryUpgradedClientStateRequest; - toAminoMsg(message: _110.QueryUpgradedClientStateRequest): _110.QueryUpgradedClientStateRequestAminoMsg; - fromProtoMsg(message: _110.QueryUpgradedClientStateRequestProtoMsg): _110.QueryUpgradedClientStateRequest; - toProto(message: _110.QueryUpgradedClientStateRequest): Uint8Array; - toProtoMsg(message: _110.QueryUpgradedClientStateRequest): _110.QueryUpgradedClientStateRequestProtoMsg; - }; - QueryUpgradedClientStateResponse: { - encode(message: _110.QueryUpgradedClientStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryUpgradedClientStateResponse; - fromJSON(object: any): _110.QueryUpgradedClientStateResponse; - toJSON(message: _110.QueryUpgradedClientStateResponse): unknown; - fromPartial(object: Partial<_110.QueryUpgradedClientStateResponse>): _110.QueryUpgradedClientStateResponse; - fromAmino(object: _110.QueryUpgradedClientStateResponseAmino): _110.QueryUpgradedClientStateResponse; - toAmino(message: _110.QueryUpgradedClientStateResponse): _110.QueryUpgradedClientStateResponseAmino; - fromAminoMsg(object: _110.QueryUpgradedClientStateResponseAminoMsg): _110.QueryUpgradedClientStateResponse; - toAminoMsg(message: _110.QueryUpgradedClientStateResponse): _110.QueryUpgradedClientStateResponseAminoMsg; - fromProtoMsg(message: _110.QueryUpgradedClientStateResponseProtoMsg): _110.QueryUpgradedClientStateResponse; - toProto(message: _110.QueryUpgradedClientStateResponse): Uint8Array; - toProtoMsg(message: _110.QueryUpgradedClientStateResponse): _110.QueryUpgradedClientStateResponseProtoMsg; - }; - QueryUpgradedConsensusStateRequest: { - encode(_: _110.QueryUpgradedConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryUpgradedConsensusStateRequest; - fromJSON(_: any): _110.QueryUpgradedConsensusStateRequest; - toJSON(_: _110.QueryUpgradedConsensusStateRequest): unknown; - fromPartial(_: Partial<_110.QueryUpgradedConsensusStateRequest>): _110.QueryUpgradedConsensusStateRequest; - fromAmino(_: _110.QueryUpgradedConsensusStateRequestAmino): _110.QueryUpgradedConsensusStateRequest; - toAmino(_: _110.QueryUpgradedConsensusStateRequest): _110.QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: _110.QueryUpgradedConsensusStateRequestAminoMsg): _110.QueryUpgradedConsensusStateRequest; - toAminoMsg(message: _110.QueryUpgradedConsensusStateRequest): _110.QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: _110.QueryUpgradedConsensusStateRequestProtoMsg): _110.QueryUpgradedConsensusStateRequest; - toProto(message: _110.QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: _110.QueryUpgradedConsensusStateRequest): _110.QueryUpgradedConsensusStateRequestProtoMsg; - }; - QueryUpgradedConsensusStateResponse: { - encode(message: _110.QueryUpgradedConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _110.QueryUpgradedConsensusStateResponse; - fromJSON(object: any): _110.QueryUpgradedConsensusStateResponse; - toJSON(message: _110.QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: Partial<_110.QueryUpgradedConsensusStateResponse>): _110.QueryUpgradedConsensusStateResponse; - fromAmino(object: _110.QueryUpgradedConsensusStateResponseAmino): _110.QueryUpgradedConsensusStateResponse; - toAmino(message: _110.QueryUpgradedConsensusStateResponse): _110.QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: _110.QueryUpgradedConsensusStateResponseAminoMsg): _110.QueryUpgradedConsensusStateResponse; - toAminoMsg(message: _110.QueryUpgradedConsensusStateResponse): _110.QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: _110.QueryUpgradedConsensusStateResponseProtoMsg): _110.QueryUpgradedConsensusStateResponse; - toProto(message: _110.QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: _110.QueryUpgradedConsensusStateResponse): _110.QueryUpgradedConsensusStateResponseProtoMsg; - }; - GenesisState: { - encode(message: _109.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _109.GenesisState; - fromJSON(object: any): _109.GenesisState; - toJSON(message: _109.GenesisState): unknown; - fromPartial(object: Partial<_109.GenesisState>): _109.GenesisState; - fromAmino(object: _109.GenesisStateAmino): _109.GenesisState; - toAmino(message: _109.GenesisState): _109.GenesisStateAmino; - fromAminoMsg(object: _109.GenesisStateAminoMsg): _109.GenesisState; - toAminoMsg(message: _109.GenesisState): _109.GenesisStateAminoMsg; - fromProtoMsg(message: _109.GenesisStateProtoMsg): _109.GenesisState; - toProto(message: _109.GenesisState): Uint8Array; - toProtoMsg(message: _109.GenesisState): _109.GenesisStateProtoMsg; - }; - GenesisMetadata: { - encode(message: _109.GenesisMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _109.GenesisMetadata; - fromJSON(object: any): _109.GenesisMetadata; - toJSON(message: _109.GenesisMetadata): unknown; - fromPartial(object: Partial<_109.GenesisMetadata>): _109.GenesisMetadata; - fromAmino(object: _109.GenesisMetadataAmino): _109.GenesisMetadata; - toAmino(message: _109.GenesisMetadata): _109.GenesisMetadataAmino; - fromAminoMsg(object: _109.GenesisMetadataAminoMsg): _109.GenesisMetadata; - toAminoMsg(message: _109.GenesisMetadata): _109.GenesisMetadataAminoMsg; - fromProtoMsg(message: _109.GenesisMetadataProtoMsg): _109.GenesisMetadata; - toProto(message: _109.GenesisMetadata): Uint8Array; - toProtoMsg(message: _109.GenesisMetadata): _109.GenesisMetadataProtoMsg; - }; - IdentifiedGenesisMetadata: { - encode(message: _109.IdentifiedGenesisMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _109.IdentifiedGenesisMetadata; - fromJSON(object: any): _109.IdentifiedGenesisMetadata; - toJSON(message: _109.IdentifiedGenesisMetadata): unknown; - fromPartial(object: Partial<_109.IdentifiedGenesisMetadata>): _109.IdentifiedGenesisMetadata; - fromAmino(object: _109.IdentifiedGenesisMetadataAmino): _109.IdentifiedGenesisMetadata; - toAmino(message: _109.IdentifiedGenesisMetadata): _109.IdentifiedGenesisMetadataAmino; - fromAminoMsg(object: _109.IdentifiedGenesisMetadataAminoMsg): _109.IdentifiedGenesisMetadata; - toAminoMsg(message: _109.IdentifiedGenesisMetadata): _109.IdentifiedGenesisMetadataAminoMsg; - fromProtoMsg(message: _109.IdentifiedGenesisMetadataProtoMsg): _109.IdentifiedGenesisMetadata; - toProto(message: _109.IdentifiedGenesisMetadata): Uint8Array; - toProtoMsg(message: _109.IdentifiedGenesisMetadata): _109.IdentifiedGenesisMetadataProtoMsg; - }; - IdentifiedClientState: { - encode(message: _108.IdentifiedClientState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _108.IdentifiedClientState; - fromJSON(object: any): _108.IdentifiedClientState; - toJSON(message: _108.IdentifiedClientState): unknown; - fromPartial(object: Partial<_108.IdentifiedClientState>): _108.IdentifiedClientState; - fromAmino(object: _108.IdentifiedClientStateAmino): _108.IdentifiedClientState; - toAmino(message: _108.IdentifiedClientState): _108.IdentifiedClientStateAmino; - fromAminoMsg(object: _108.IdentifiedClientStateAminoMsg): _108.IdentifiedClientState; - toAminoMsg(message: _108.IdentifiedClientState): _108.IdentifiedClientStateAminoMsg; - fromProtoMsg(message: _108.IdentifiedClientStateProtoMsg): _108.IdentifiedClientState; - toProto(message: _108.IdentifiedClientState): Uint8Array; - toProtoMsg(message: _108.IdentifiedClientState): _108.IdentifiedClientStateProtoMsg; - }; - ConsensusStateWithHeight: { - encode(message: _108.ConsensusStateWithHeight, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _108.ConsensusStateWithHeight; - fromJSON(object: any): _108.ConsensusStateWithHeight; - toJSON(message: _108.ConsensusStateWithHeight): unknown; - fromPartial(object: Partial<_108.ConsensusStateWithHeight>): _108.ConsensusStateWithHeight; - fromAmino(object: _108.ConsensusStateWithHeightAmino): _108.ConsensusStateWithHeight; - toAmino(message: _108.ConsensusStateWithHeight): _108.ConsensusStateWithHeightAmino; - fromAminoMsg(object: _108.ConsensusStateWithHeightAminoMsg): _108.ConsensusStateWithHeight; - toAminoMsg(message: _108.ConsensusStateWithHeight): _108.ConsensusStateWithHeightAminoMsg; - fromProtoMsg(message: _108.ConsensusStateWithHeightProtoMsg): _108.ConsensusStateWithHeight; - toProto(message: _108.ConsensusStateWithHeight): Uint8Array; - toProtoMsg(message: _108.ConsensusStateWithHeight): _108.ConsensusStateWithHeightProtoMsg; - }; - ClientConsensusStates: { - encode(message: _108.ClientConsensusStates, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _108.ClientConsensusStates; - fromJSON(object: any): _108.ClientConsensusStates; - toJSON(message: _108.ClientConsensusStates): unknown; - fromPartial(object: Partial<_108.ClientConsensusStates>): _108.ClientConsensusStates; - fromAmino(object: _108.ClientConsensusStatesAmino): _108.ClientConsensusStates; - toAmino(message: _108.ClientConsensusStates): _108.ClientConsensusStatesAmino; - fromAminoMsg(object: _108.ClientConsensusStatesAminoMsg): _108.ClientConsensusStates; - toAminoMsg(message: _108.ClientConsensusStates): _108.ClientConsensusStatesAminoMsg; - fromProtoMsg(message: _108.ClientConsensusStatesProtoMsg): _108.ClientConsensusStates; - toProto(message: _108.ClientConsensusStates): Uint8Array; - toProtoMsg(message: _108.ClientConsensusStates): _108.ClientConsensusStatesProtoMsg; - }; - ClientUpdateProposal: { - encode(message: _108.ClientUpdateProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _108.ClientUpdateProposal; - fromJSON(object: any): _108.ClientUpdateProposal; - toJSON(message: _108.ClientUpdateProposal): unknown; - fromPartial(object: Partial<_108.ClientUpdateProposal>): _108.ClientUpdateProposal; - fromAmino(object: _108.ClientUpdateProposalAmino): _108.ClientUpdateProposal; - toAmino(message: _108.ClientUpdateProposal): _108.ClientUpdateProposalAmino; - fromAminoMsg(object: _108.ClientUpdateProposalAminoMsg): _108.ClientUpdateProposal; - toAminoMsg(message: _108.ClientUpdateProposal): _108.ClientUpdateProposalAminoMsg; - fromProtoMsg(message: _108.ClientUpdateProposalProtoMsg): _108.ClientUpdateProposal; - toProto(message: _108.ClientUpdateProposal): Uint8Array; - toProtoMsg(message: _108.ClientUpdateProposal): _108.ClientUpdateProposalProtoMsg; - }; - UpgradeProposal: { - encode(message: _108.UpgradeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _108.UpgradeProposal; - fromJSON(object: any): _108.UpgradeProposal; - toJSON(message: _108.UpgradeProposal): unknown; - fromPartial(object: Partial<_108.UpgradeProposal>): _108.UpgradeProposal; - fromAmino(object: _108.UpgradeProposalAmino): _108.UpgradeProposal; - toAmino(message: _108.UpgradeProposal): _108.UpgradeProposalAmino; - fromAminoMsg(object: _108.UpgradeProposalAminoMsg): _108.UpgradeProposal; - toAminoMsg(message: _108.UpgradeProposal): _108.UpgradeProposalAminoMsg; - fromProtoMsg(message: _108.UpgradeProposalProtoMsg): _108.UpgradeProposal; - toProto(message: _108.UpgradeProposal): Uint8Array; - toProtoMsg(message: _108.UpgradeProposal): _108.UpgradeProposalProtoMsg; - }; - Height: { - encode(message: _108.Height, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _108.Height; - fromJSON(object: any): _108.Height; - toJSON(message: _108.Height): unknown; - fromPartial(object: Partial<_108.Height>): _108.Height; - fromAmino(object: _108.HeightAmino): _108.Height; - toAmino(message: _108.Height): _108.HeightAmino; - fromAminoMsg(object: _108.HeightAminoMsg): _108.Height; - toAminoMsg(message: _108.Height): _108.HeightAminoMsg; - fromProtoMsg(message: _108.HeightProtoMsg): _108.Height; - toProto(message: _108.Height): Uint8Array; - toProtoMsg(message: _108.Height): _108.HeightProtoMsg; - }; - Params: { - encode(message: _108.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _108.Params; - fromJSON(object: any): _108.Params; - toJSON(message: _108.Params): unknown; - fromPartial(object: Partial<_108.Params>): _108.Params; - fromAmino(object: _108.ParamsAmino): _108.Params; - toAmino(message: _108.Params): _108.ParamsAmino; - fromAminoMsg(object: _108.ParamsAminoMsg): _108.Params; - toAminoMsg(message: _108.Params): _108.ParamsAminoMsg; - fromProtoMsg(message: _108.ParamsProtoMsg): _108.Params; - toProto(message: _108.Params): Uint8Array; - toProtoMsg(message: _108.Params): _108.ParamsProtoMsg; - }; - }; - } - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: _238.MsgClientImpl; - }; - }; - core: { - client: { - v1: _239.MsgClientImpl; - }; - }; - }; - }>; - createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | import("@cosmjs/tendermint-rpc").HttpEndpoint; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest | undefined): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest | undefined): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - accountAddressByID(request: import("../cosmos/auth/v1beta1/query").QueryAccountAddressByIDRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest | undefined): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest | undefined): Promise; - moduleAccountByName(request: import("../cosmos/auth/v1beta1/query").QueryModuleAccountByNameRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest | undefined): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest | undefined): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest | undefined): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest | undefined): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - node: { - v1beta1: { - config(request?: import("../cosmos/base/node/v1beta1/query").ConfigRequest | undefined): Promise; - }; - }; - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest | undefined): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest | undefined): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest | undefined): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest | undefined): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - aBCIQuery(request: import("../cosmos/base/tendermint/v1beta1/query").ABCIQueryRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest | undefined): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest | undefined): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest | undefined): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest | undefined): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest | undefined): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest | undefined): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest | undefined): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest | undefined): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest | undefined): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest | undefined): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest | undefined): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest | undefined): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest | undefined): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest | undefined): Promise; - }; - }; - }; - ibc: { - applications: { - transfer: { - v1: { - denomTrace(request: _105.QueryDenomTraceRequest): Promise<_105.QueryDenomTraceResponse>; - denomTraces(request?: _105.QueryDenomTracesRequest | undefined): Promise<_105.QueryDenomTracesResponse>; - params(request?: _105.QueryParamsRequest | undefined): Promise<_105.QueryParamsResponse>; - denomHash(request: _105.QueryDenomHashRequest): Promise<_105.QueryDenomHashResponse>; - escrowAddress(request: _105.QueryEscrowAddressRequest): Promise<_105.QueryEscrowAddressResponse>; - }; - }; - }; - core: { - client: { - v1: { - clientState(request: _110.QueryClientStateRequest): Promise<_110.QueryClientStateResponse>; - clientStates(request?: _110.QueryClientStatesRequest | undefined): Promise<_110.QueryClientStatesResponse>; - consensusState(request: _110.QueryConsensusStateRequest): Promise<_110.QueryConsensusStateResponse>; - consensusStates(request: _110.QueryConsensusStatesRequest): Promise<_110.QueryConsensusStatesResponse>; - consensusStateHeights(request: _110.QueryConsensusStateHeightsRequest): Promise<_110.QueryConsensusStateHeightsResponse>; - clientStatus(request: _110.QueryClientStatusRequest): Promise<_110.QueryClientStatusResponse>; - clientParams(request?: _110.QueryClientParamsRequest | undefined): Promise<_110.QueryClientParamsResponse>; - upgradedClientState(request?: _110.QueryUpgradedClientStateRequest | undefined): Promise<_110.QueryUpgradedClientStateResponse>; - upgradedConsensusState(request?: _110.QueryUpgradedConsensusStateRequest | undefined): Promise<_110.QueryUpgradedConsensusStateResponse>; - }; - }; - }; - }; - }>; - createLCDClient: ({ restEndpoint }: { - restEndpoint: string; - }) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - node: { - v1beta1: import("../cosmos/base/node/v1beta1/query.lcd").LCDQueryClient; - }; - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - ibc: { - applications: { - transfer: { - v1: _234.LCDQueryClient; - }; - }; - core: { - client: { - v1: _235.LCDQueryClient; - }; - }; - }; - }>; - }; -} diff --git a/packages/api/types/codegen/ibc/client.d.ts b/packages/api/types/codegen/ibc/client.d.ts deleted file mode 100644 index 143ceb28..00000000 --- a/packages/api/types/codegen/ibc/client.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const ibcAminoConverters: { - "/ibc.core.client.v1.MsgCreateClient": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgCreateClient) => import("./core/client/v1/tx").MsgCreateClientAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgCreateClientAmino) => import("./core/client/v1/tx").MsgCreateClient; - }; - "/ibc.core.client.v1.MsgUpdateClient": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgUpdateClient) => import("./core/client/v1/tx").MsgUpdateClientAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgUpdateClientAmino) => import("./core/client/v1/tx").MsgUpdateClient; - }; - "/ibc.core.client.v1.MsgUpgradeClient": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgUpgradeClient) => import("./core/client/v1/tx").MsgUpgradeClientAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgUpgradeClientAmino) => import("./core/client/v1/tx").MsgUpgradeClient; - }; - "/ibc.core.client.v1.MsgSubmitMisbehaviour": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgSubmitMisbehaviour) => import("./core/client/v1/tx").MsgSubmitMisbehaviourAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgSubmitMisbehaviourAmino) => import("./core/client/v1/tx").MsgSubmitMisbehaviour; - }; - "/ibc.applications.transfer.v1.MsgTransfer": { - aminoType: string; - toAmino: (message: import("./applications/transfer/v1/tx").MsgTransfer) => import("./applications/transfer/v1/tx").MsgTransferAmino; - fromAmino: (object: import("./applications/transfer/v1/tx").MsgTransferAmino) => import("./applications/transfer/v1/tx").MsgTransfer; - }; -}; -export declare const ibcProtoRegistry: ReadonlyArray<[string, GeneratedType]>; -export declare const getSigningIbcClientOptions: ({ defaultTypes }?: { - defaultTypes?: readonly [string, GeneratedType][] | undefined; -}) => { - registry: Registry; - aminoTypes: AminoTypes; -}; -export declare const getSigningIbcClient: ({ rpcEndpoint, signer, defaultTypes }: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; - defaultTypes?: readonly [string, GeneratedType][] | undefined; -}) => Promise; diff --git a/packages/api/types/codegen/ibc/core/client/v1/client.d.ts b/packages/api/types/codegen/ibc/core/client/v1/client.d.ts deleted file mode 100644 index c2c50b45..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/client.d.ts +++ /dev/null @@ -1,408 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Plan, PlanAmino, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ -export interface IdentifiedClientState { - /** client identifier */ - clientId: string; - /** client state */ - clientState: Any; -} -export interface IdentifiedClientStateProtoMsg { - typeUrl: "/ibc.core.client.v1.IdentifiedClientState"; - value: Uint8Array; -} -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ -export interface IdentifiedClientStateAmino { - /** client identifier */ - client_id: string; - /** client state */ - client_state?: AnyAmino; -} -export interface IdentifiedClientStateAminoMsg { - type: "cosmos-sdk/IdentifiedClientState"; - value: IdentifiedClientStateAmino; -} -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ -export interface IdentifiedClientStateSDKType { - client_id: string; - client_state: AnySDKType; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeight { - /** consensus state height */ - height: Height; - /** consensus state */ - consensusState: Any; -} -export interface ConsensusStateWithHeightProtoMsg { - typeUrl: "/ibc.core.client.v1.ConsensusStateWithHeight"; - value: Uint8Array; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeightAmino { - /** consensus state height */ - height?: HeightAmino; - /** consensus state */ - consensus_state?: AnyAmino; -} -export interface ConsensusStateWithHeightAminoMsg { - type: "cosmos-sdk/ConsensusStateWithHeight"; - value: ConsensusStateWithHeightAmino; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeightSDKType { - height: HeightSDKType; - consensus_state: AnySDKType; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStates { - /** client identifier */ - clientId: string; - /** consensus states and their heights associated with the client */ - consensusStates: ConsensusStateWithHeight[]; -} -export interface ClientConsensusStatesProtoMsg { - typeUrl: "/ibc.core.client.v1.ClientConsensusStates"; - value: Uint8Array; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStatesAmino { - /** client identifier */ - client_id: string; - /** consensus states and their heights associated with the client */ - consensus_states: ConsensusStateWithHeightAmino[]; -} -export interface ClientConsensusStatesAminoMsg { - type: "cosmos-sdk/ClientConsensusStates"; - value: ClientConsensusStatesAmino; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStatesSDKType { - client_id: string; - consensus_states: ConsensusStateWithHeightSDKType[]; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ -export interface ClientUpdateProposal { - $typeUrl?: string; - /** the title of the update proposal */ - title: string; - /** the description of the proposal */ - description: string; - /** the client identifier for the client to be updated if the proposal passes */ - subjectClientId: string; - /** - * the substitute client identifier for the client standing in for the subject - * client - */ - substituteClientId: string; -} -export interface ClientUpdateProposalProtoMsg { - typeUrl: "/ibc.core.client.v1.ClientUpdateProposal"; - value: Uint8Array; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ -export interface ClientUpdateProposalAmino { - /** the title of the update proposal */ - title: string; - /** the description of the proposal */ - description: string; - /** the client identifier for the client to be updated if the proposal passes */ - subject_client_id: string; - /** - * the substitute client identifier for the client standing in for the subject - * client - */ - substitute_client_id: string; -} -export interface ClientUpdateProposalAminoMsg { - type: "cosmos-sdk/ClientUpdateProposal"; - value: ClientUpdateProposalAmino; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ -export interface ClientUpdateProposalSDKType { - $typeUrl?: string; - title: string; - description: string; - subject_client_id: string; - substitute_client_id: string; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposal { - $typeUrl?: string; - title: string; - description: string; - plan: Plan; - /** - * An UpgradedClientState must be provided to perform an IBC breaking upgrade. - * This will make the chain commit to the correct upgraded (self) client state - * before the upgrade occurs, so that connecting chains can verify that the - * new upgraded client is valid by verifying a proof on the previous version - * of the chain. This will allow IBC connections to persist smoothly across - * planned chain upgrades - */ - upgradedClientState: Any; -} -export interface UpgradeProposalProtoMsg { - typeUrl: "/ibc.core.client.v1.UpgradeProposal"; - value: Uint8Array; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposalAmino { - title: string; - description: string; - plan?: PlanAmino; - /** - * An UpgradedClientState must be provided to perform an IBC breaking upgrade. - * This will make the chain commit to the correct upgraded (self) client state - * before the upgrade occurs, so that connecting chains can verify that the - * new upgraded client is valid by verifying a proof on the previous version - * of the chain. This will allow IBC connections to persist smoothly across - * planned chain upgrades - */ - upgraded_client_state?: AnyAmino; -} -export interface UpgradeProposalAminoMsg { - type: "cosmos-sdk/UpgradeProposal"; - value: UpgradeProposalAmino; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposalSDKType { - $typeUrl?: string; - title: string; - description: string; - plan: PlanSDKType; - upgraded_client_state: AnySDKType; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface Height { - /** the revision that the client is currently on */ - revisionNumber: Long; - /** the height within the given revision */ - revisionHeight: Long; -} -export interface HeightProtoMsg { - typeUrl: "/ibc.core.client.v1.Height"; - value: Uint8Array; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface HeightAmino { - /** the revision that the client is currently on */ - revision_number: string; - /** the height within the given revision */ - revision_height: string; -} -export interface HeightAminoMsg { - type: "cosmos-sdk/Height"; - value: HeightAmino; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface HeightSDKType { - revision_number: Long; - revision_height: Long; -} -/** Params defines the set of IBC light client parameters. */ -export interface Params { - /** allowed_clients defines the list of allowed client state types. */ - allowedClients: string[]; -} -export interface ParamsProtoMsg { - typeUrl: "/ibc.core.client.v1.Params"; - value: Uint8Array; -} -/** Params defines the set of IBC light client parameters. */ -export interface ParamsAmino { - /** allowed_clients defines the list of allowed client state types. */ - allowed_clients: string[]; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the set of IBC light client parameters. */ -export interface ParamsSDKType { - allowed_clients: string[]; -} -export declare const IdentifiedClientState: { - encode(message: IdentifiedClientState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState; - fromJSON(object: any): IdentifiedClientState; - toJSON(message: IdentifiedClientState): unknown; - fromPartial(object: Partial): IdentifiedClientState; - fromAmino(object: IdentifiedClientStateAmino): IdentifiedClientState; - toAmino(message: IdentifiedClientState): IdentifiedClientStateAmino; - fromAminoMsg(object: IdentifiedClientStateAminoMsg): IdentifiedClientState; - toAminoMsg(message: IdentifiedClientState): IdentifiedClientStateAminoMsg; - fromProtoMsg(message: IdentifiedClientStateProtoMsg): IdentifiedClientState; - toProto(message: IdentifiedClientState): Uint8Array; - toProtoMsg(message: IdentifiedClientState): IdentifiedClientStateProtoMsg; -}; -export declare const ConsensusStateWithHeight: { - encode(message: ConsensusStateWithHeight, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight; - fromJSON(object: any): ConsensusStateWithHeight; - toJSON(message: ConsensusStateWithHeight): unknown; - fromPartial(object: Partial): ConsensusStateWithHeight; - fromAmino(object: ConsensusStateWithHeightAmino): ConsensusStateWithHeight; - toAmino(message: ConsensusStateWithHeight): ConsensusStateWithHeightAmino; - fromAminoMsg(object: ConsensusStateWithHeightAminoMsg): ConsensusStateWithHeight; - toAminoMsg(message: ConsensusStateWithHeight): ConsensusStateWithHeightAminoMsg; - fromProtoMsg(message: ConsensusStateWithHeightProtoMsg): ConsensusStateWithHeight; - toProto(message: ConsensusStateWithHeight): Uint8Array; - toProtoMsg(message: ConsensusStateWithHeight): ConsensusStateWithHeightProtoMsg; -}; -export declare const ClientConsensusStates: { - encode(message: ClientConsensusStates, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates; - fromJSON(object: any): ClientConsensusStates; - toJSON(message: ClientConsensusStates): unknown; - fromPartial(object: Partial): ClientConsensusStates; - fromAmino(object: ClientConsensusStatesAmino): ClientConsensusStates; - toAmino(message: ClientConsensusStates): ClientConsensusStatesAmino; - fromAminoMsg(object: ClientConsensusStatesAminoMsg): ClientConsensusStates; - toAminoMsg(message: ClientConsensusStates): ClientConsensusStatesAminoMsg; - fromProtoMsg(message: ClientConsensusStatesProtoMsg): ClientConsensusStates; - toProto(message: ClientConsensusStates): Uint8Array; - toProtoMsg(message: ClientConsensusStates): ClientConsensusStatesProtoMsg; -}; -export declare const ClientUpdateProposal: { - encode(message: ClientUpdateProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal; - fromJSON(object: any): ClientUpdateProposal; - toJSON(message: ClientUpdateProposal): unknown; - fromPartial(object: Partial): ClientUpdateProposal; - fromAmino(object: ClientUpdateProposalAmino): ClientUpdateProposal; - toAmino(message: ClientUpdateProposal): ClientUpdateProposalAmino; - fromAminoMsg(object: ClientUpdateProposalAminoMsg): ClientUpdateProposal; - toAminoMsg(message: ClientUpdateProposal): ClientUpdateProposalAminoMsg; - fromProtoMsg(message: ClientUpdateProposalProtoMsg): ClientUpdateProposal; - toProto(message: ClientUpdateProposal): Uint8Array; - toProtoMsg(message: ClientUpdateProposal): ClientUpdateProposalProtoMsg; -}; -export declare const UpgradeProposal: { - encode(message: UpgradeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal; - fromJSON(object: any): UpgradeProposal; - toJSON(message: UpgradeProposal): unknown; - fromPartial(object: Partial): UpgradeProposal; - fromAmino(object: UpgradeProposalAmino): UpgradeProposal; - toAmino(message: UpgradeProposal): UpgradeProposalAmino; - fromAminoMsg(object: UpgradeProposalAminoMsg): UpgradeProposal; - toAminoMsg(message: UpgradeProposal): UpgradeProposalAminoMsg; - fromProtoMsg(message: UpgradeProposalProtoMsg): UpgradeProposal; - toProto(message: UpgradeProposal): Uint8Array; - toProtoMsg(message: UpgradeProposal): UpgradeProposalProtoMsg; -}; -export declare const Height: { - encode(message: Height, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Height; - fromJSON(object: any): Height; - toJSON(message: Height): unknown; - fromPartial(object: Partial): Height; - fromAmino(object: HeightAmino): Height; - toAmino(message: Height): HeightAmino; - fromAminoMsg(object: HeightAminoMsg): Height; - toAminoMsg(message: Height): HeightAminoMsg; - fromProtoMsg(message: HeightProtoMsg): Height; - toProto(message: Height): Uint8Array; - toProtoMsg(message: Height): HeightProtoMsg; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/core/client/v1/genesis.d.ts b/packages/api/types/codegen/ibc/core/client/v1/genesis.d.ts deleted file mode 100644 index c9847f21..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/genesis.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -import { IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesAmino, ClientConsensusStatesSDKType, Params, ParamsAmino, ParamsSDKType } from "./client"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisState { - /** client states with their corresponding identifiers */ - clients: IdentifiedClientState[]; - /** consensus states from each client */ - clientsConsensus: ClientConsensusStates[]; - /** metadata from each client */ - clientsMetadata: IdentifiedGenesisMetadata[]; - params: Params; - /** create localhost on initialization */ - createLocalhost: boolean; - /** the sequence for the next generated client identifier */ - nextClientSequence: Long; -} -export interface GenesisStateProtoMsg { - typeUrl: "/ibc.core.client.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisStateAmino { - /** client states with their corresponding identifiers */ - clients: IdentifiedClientStateAmino[]; - /** consensus states from each client */ - clients_consensus: ClientConsensusStatesAmino[]; - /** metadata from each client */ - clients_metadata: IdentifiedGenesisMetadataAmino[]; - params?: ParamsAmino; - /** create localhost on initialization */ - create_localhost: boolean; - /** the sequence for the next generated client identifier */ - next_client_sequence: string; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisStateSDKType { - clients: IdentifiedClientStateSDKType[]; - clients_consensus: ClientConsensusStatesSDKType[]; - clients_metadata: IdentifiedGenesisMetadataSDKType[]; - params: ParamsSDKType; - create_localhost: boolean; - next_client_sequence: Long; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadata { - /** store key of metadata without clientID-prefix */ - key: Uint8Array; - /** metadata value */ - value: Uint8Array; -} -export interface GenesisMetadataProtoMsg { - typeUrl: "/ibc.core.client.v1.GenesisMetadata"; - value: Uint8Array; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadataAmino { - /** store key of metadata without clientID-prefix */ - key: Uint8Array; - /** metadata value */ - value: Uint8Array; -} -export interface GenesisMetadataAminoMsg { - type: "cosmos-sdk/GenesisMetadata"; - value: GenesisMetadataAmino; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadataSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadata { - clientId: string; - clientMetadata: GenesisMetadata[]; -} -export interface IdentifiedGenesisMetadataProtoMsg { - typeUrl: "/ibc.core.client.v1.IdentifiedGenesisMetadata"; - value: Uint8Array; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadataAmino { - client_id: string; - client_metadata: GenesisMetadataAmino[]; -} -export interface IdentifiedGenesisMetadataAminoMsg { - type: "cosmos-sdk/IdentifiedGenesisMetadata"; - value: IdentifiedGenesisMetadataAmino; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadataSDKType { - client_id: string; - client_metadata: GenesisMetadataSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const GenesisMetadata: { - encode(message: GenesisMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisMetadata; - fromJSON(object: any): GenesisMetadata; - toJSON(message: GenesisMetadata): unknown; - fromPartial(object: Partial): GenesisMetadata; - fromAmino(object: GenesisMetadataAmino): GenesisMetadata; - toAmino(message: GenesisMetadata): GenesisMetadataAmino; - fromAminoMsg(object: GenesisMetadataAminoMsg): GenesisMetadata; - toAminoMsg(message: GenesisMetadata): GenesisMetadataAminoMsg; - fromProtoMsg(message: GenesisMetadataProtoMsg): GenesisMetadata; - toProto(message: GenesisMetadata): Uint8Array; - toProtoMsg(message: GenesisMetadata): GenesisMetadataProtoMsg; -}; -export declare const IdentifiedGenesisMetadata: { - encode(message: IdentifiedGenesisMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata; - fromJSON(object: any): IdentifiedGenesisMetadata; - toJSON(message: IdentifiedGenesisMetadata): unknown; - fromPartial(object: Partial): IdentifiedGenesisMetadata; - fromAmino(object: IdentifiedGenesisMetadataAmino): IdentifiedGenesisMetadata; - toAmino(message: IdentifiedGenesisMetadata): IdentifiedGenesisMetadataAmino; - fromAminoMsg(object: IdentifiedGenesisMetadataAminoMsg): IdentifiedGenesisMetadata; - toAminoMsg(message: IdentifiedGenesisMetadata): IdentifiedGenesisMetadataAminoMsg; - fromProtoMsg(message: IdentifiedGenesisMetadataProtoMsg): IdentifiedGenesisMetadata; - toProto(message: IdentifiedGenesisMetadata): Uint8Array; - toProtoMsg(message: IdentifiedGenesisMetadata): IdentifiedGenesisMetadataProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/core/client/v1/query.d.ts b/packages/api/types/codegen/ibc/core/client/v1/query.d.ts deleted file mode 100644 index 2fbe8e64..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/query.d.ts +++ /dev/null @@ -1,870 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightAmino, ConsensusStateWithHeightSDKType, Params, ParamsAmino, ParamsSDKType } from "./client"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ -export interface QueryClientStateRequest { - /** client state unique identifier */ - clientId: string; -} -export interface QueryClientStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStateRequest"; - value: Uint8Array; -} -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ -export interface QueryClientStateRequestAmino { - /** client state unique identifier */ - client_id: string; -} -export interface QueryClientStateRequestAminoMsg { - type: "cosmos-sdk/QueryClientStateRequest"; - value: QueryClientStateRequestAmino; -} -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ -export interface QueryClientStateRequestSDKType { - client_id: string; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponse { - /** client state associated with the request identifier */ - clientState: Any; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height; -} -export interface QueryClientStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStateResponse"; - value: Uint8Array; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponseAmino { - /** client state associated with the request identifier */ - client_state?: AnyAmino; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino; -} -export interface QueryClientStateResponseAminoMsg { - type: "cosmos-sdk/QueryClientStateResponse"; - value: QueryClientStateResponseAmino; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponseSDKType { - client_state: AnySDKType; - proof: Uint8Array; - proof_height: HeightSDKType; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequest { - /** pagination request */ - pagination: PageRequest; -} -export interface QueryClientStatesRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest"; - value: Uint8Array; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequestAmino { - /** pagination request */ - pagination?: PageRequestAmino; -} -export interface QueryClientStatesRequestAminoMsg { - type: "cosmos-sdk/QueryClientStatesRequest"; - value: QueryClientStatesRequestAmino; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponse { - /** list of stored ClientStates of the chain. */ - clientStates: IdentifiedClientState[]; - /** pagination response */ - pagination: PageResponse; -} -export interface QueryClientStatesResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse"; - value: Uint8Array; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponseAmino { - /** list of stored ClientStates of the chain. */ - client_states: IdentifiedClientStateAmino[]; - /** pagination response */ - pagination?: PageResponseAmino; -} -export interface QueryClientStatesResponseAminoMsg { - type: "cosmos-sdk/QueryClientStatesResponse"; - value: QueryClientStatesResponseAmino; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponseSDKType { - client_states: IdentifiedClientStateSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequest { - /** client identifier */ - clientId: string; - /** consensus state revision number */ - revisionNumber: Long; - /** consensus state revision height */ - revisionHeight: Long; - /** - * latest_height overrrides the height field and queries the latest stored - * ConsensusState - */ - latestHeight: boolean; -} -export interface QueryConsensusStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequestAmino { - /** client identifier */ - client_id: string; - /** consensus state revision number */ - revision_number: string; - /** consensus state revision height */ - revision_height: string; - /** - * latest_height overrrides the height field and queries the latest stored - * ConsensusState - */ - latest_height: boolean; -} -export interface QueryConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryConsensusStateRequest"; - value: QueryConsensusStateRequestAmino; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequestSDKType { - client_id: string; - revision_number: Long; - revision_height: Long; - latest_height: boolean; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponse { - /** consensus state associated with the client identifier at the given height */ - consensusState: Any; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height; -} -export interface QueryConsensusStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponseAmino { - /** consensus state associated with the client identifier at the given height */ - consensus_state?: AnyAmino; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino; -} -export interface QueryConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryConsensusStateResponse"; - value: QueryConsensusStateResponseAmino; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponseSDKType { - consensus_state: AnySDKType; - proof: Uint8Array; - proof_height: HeightSDKType; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequest { - /** client identifier */ - clientId: string; - /** pagination request */ - pagination: PageRequest; -} -export interface QueryConsensusStatesRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest"; - value: Uint8Array; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequestAmino { - /** client identifier */ - client_id: string; - /** pagination request */ - pagination?: PageRequestAmino; -} -export interface QueryConsensusStatesRequestAminoMsg { - type: "cosmos-sdk/QueryConsensusStatesRequest"; - value: QueryConsensusStatesRequestAmino; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequestSDKType { - client_id: string; - pagination: PageRequestSDKType; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponse { - /** consensus states associated with the identifier */ - consensusStates: ConsensusStateWithHeight[]; - /** pagination response */ - pagination: PageResponse; -} -export interface QueryConsensusStatesResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse"; - value: Uint8Array; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponseAmino { - /** consensus states associated with the identifier */ - consensus_states: ConsensusStateWithHeightAmino[]; - /** pagination response */ - pagination?: PageResponseAmino; -} -export interface QueryConsensusStatesResponseAminoMsg { - type: "cosmos-sdk/QueryConsensusStatesResponse"; - value: QueryConsensusStatesResponseAmino; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponseSDKType { - consensus_states: ConsensusStateWithHeightSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights - * RPC method. - */ -export interface QueryConsensusStateHeightsRequest { - /** client identifier */ - clientId: string; - /** pagination request */ - pagination: PageRequest; -} -export interface QueryConsensusStateHeightsRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsRequest"; - value: Uint8Array; -} -/** - * QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights - * RPC method. - */ -export interface QueryConsensusStateHeightsRequestAmino { - /** client identifier */ - client_id: string; - /** pagination request */ - pagination?: PageRequestAmino; -} -export interface QueryConsensusStateHeightsRequestAminoMsg { - type: "cosmos-sdk/QueryConsensusStateHeightsRequest"; - value: QueryConsensusStateHeightsRequestAmino; -} -/** - * QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights - * RPC method. - */ -export interface QueryConsensusStateHeightsRequestSDKType { - client_id: string; - pagination: PageRequestSDKType; -} -/** - * QueryConsensusStateHeightsResponse is the response type for the - * Query/ConsensusStateHeights RPC method - */ -export interface QueryConsensusStateHeightsResponse { - /** consensus state heights */ - consensusStateHeights: Height[]; - /** pagination response */ - pagination: PageResponse; -} -export interface QueryConsensusStateHeightsResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStateHeightsResponse"; - value: Uint8Array; -} -/** - * QueryConsensusStateHeightsResponse is the response type for the - * Query/ConsensusStateHeights RPC method - */ -export interface QueryConsensusStateHeightsResponseAmino { - /** consensus state heights */ - consensus_state_heights: HeightAmino[]; - /** pagination response */ - pagination?: PageResponseAmino; -} -export interface QueryConsensusStateHeightsResponseAminoMsg { - type: "cosmos-sdk/QueryConsensusStateHeightsResponse"; - value: QueryConsensusStateHeightsResponseAmino; -} -/** - * QueryConsensusStateHeightsResponse is the response type for the - * Query/ConsensusStateHeights RPC method - */ -export interface QueryConsensusStateHeightsResponseSDKType { - consensus_state_heights: HeightSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ -export interface QueryClientStatusRequest { - /** client unique identifier */ - clientId: string; -} -export interface QueryClientStatusRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest"; - value: Uint8Array; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ -export interface QueryClientStatusRequestAmino { - /** client unique identifier */ - client_id: string; -} -export interface QueryClientStatusRequestAminoMsg { - type: "cosmos-sdk/QueryClientStatusRequest"; - value: QueryClientStatusRequestAmino; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ -export interface QueryClientStatusRequestSDKType { - client_id: string; -} -/** - * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC - * method. It returns the current status of the IBC client. - */ -export interface QueryClientStatusResponse { - status: string; -} -export interface QueryClientStatusResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse"; - value: Uint8Array; -} -/** - * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC - * method. It returns the current status of the IBC client. - */ -export interface QueryClientStatusResponseAmino { - status: string; -} -export interface QueryClientStatusResponseAminoMsg { - type: "cosmos-sdk/QueryClientStatusResponse"; - value: QueryClientStatusResponseAmino; -} -/** - * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC - * method. It returns the current status of the IBC client. - */ -export interface QueryClientStatusResponseSDKType { - status: string; -} -/** - * QueryClientParamsRequest is the request type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsRequest { -} -export interface QueryClientParamsRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest"; - value: Uint8Array; -} -/** - * QueryClientParamsRequest is the request type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsRequestAmino { -} -export interface QueryClientParamsRequestAminoMsg { - type: "cosmos-sdk/QueryClientParamsRequest"; - value: QueryClientParamsRequestAmino; -} -/** - * QueryClientParamsRequest is the request type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsRequestSDKType { -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryClientParamsResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse"; - value: Uint8Array; -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryClientParamsResponseAminoMsg { - type: "cosmos-sdk/QueryClientParamsResponse"; - value: QueryClientParamsResponseAmino; -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ -export interface QueryUpgradedClientStateRequest { -} -export interface QueryUpgradedClientStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest"; - value: Uint8Array; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ -export interface QueryUpgradedClientStateRequestAmino { -} -export interface QueryUpgradedClientStateRequestAminoMsg { - type: "cosmos-sdk/QueryUpgradedClientStateRequest"; - value: QueryUpgradedClientStateRequestAmino; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ -export interface QueryUpgradedClientStateRequestSDKType { -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ -export interface QueryUpgradedClientStateResponse { - /** client state associated with the request identifier */ - upgradedClientState: Any; -} -export interface QueryUpgradedClientStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse"; - value: Uint8Array; -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ -export interface QueryUpgradedClientStateResponseAmino { - /** client state associated with the request identifier */ - upgraded_client_state?: AnyAmino; -} -export interface QueryUpgradedClientStateResponseAminoMsg { - type: "cosmos-sdk/QueryUpgradedClientStateResponse"; - value: QueryUpgradedClientStateResponseAmino; -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ -export interface QueryUpgradedClientStateResponseSDKType { - upgraded_client_state: AnySDKType; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ -export interface QueryUpgradedConsensusStateRequest { -} -export interface QueryUpgradedConsensusStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ -export interface QueryUpgradedConsensusStateRequestAmino { -} -export interface QueryUpgradedConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateRequest"; - value: QueryUpgradedConsensusStateRequestAmino; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ -export interface QueryUpgradedConsensusStateRequestSDKType { -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ -export interface QueryUpgradedConsensusStateResponse { - /** Consensus state associated with the request identifier */ - upgradedConsensusState: Any; -} -export interface QueryUpgradedConsensusStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ -export interface QueryUpgradedConsensusStateResponseAmino { - /** Consensus state associated with the request identifier */ - upgraded_consensus_state?: AnyAmino; -} -export interface QueryUpgradedConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateResponse"; - value: QueryUpgradedConsensusStateResponseAmino; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state: AnySDKType; -} -export declare const QueryClientStateRequest: { - encode(message: QueryClientStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest; - fromJSON(object: any): QueryClientStateRequest; - toJSON(message: QueryClientStateRequest): unknown; - fromPartial(object: Partial): QueryClientStateRequest; - fromAmino(object: QueryClientStateRequestAmino): QueryClientStateRequest; - toAmino(message: QueryClientStateRequest): QueryClientStateRequestAmino; - fromAminoMsg(object: QueryClientStateRequestAminoMsg): QueryClientStateRequest; - toAminoMsg(message: QueryClientStateRequest): QueryClientStateRequestAminoMsg; - fromProtoMsg(message: QueryClientStateRequestProtoMsg): QueryClientStateRequest; - toProto(message: QueryClientStateRequest): Uint8Array; - toProtoMsg(message: QueryClientStateRequest): QueryClientStateRequestProtoMsg; -}; -export declare const QueryClientStateResponse: { - encode(message: QueryClientStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse; - fromJSON(object: any): QueryClientStateResponse; - toJSON(message: QueryClientStateResponse): unknown; - fromPartial(object: Partial): QueryClientStateResponse; - fromAmino(object: QueryClientStateResponseAmino): QueryClientStateResponse; - toAmino(message: QueryClientStateResponse): QueryClientStateResponseAmino; - fromAminoMsg(object: QueryClientStateResponseAminoMsg): QueryClientStateResponse; - toAminoMsg(message: QueryClientStateResponse): QueryClientStateResponseAminoMsg; - fromProtoMsg(message: QueryClientStateResponseProtoMsg): QueryClientStateResponse; - toProto(message: QueryClientStateResponse): Uint8Array; - toProtoMsg(message: QueryClientStateResponse): QueryClientStateResponseProtoMsg; -}; -export declare const QueryClientStatesRequest: { - encode(message: QueryClientStatesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest; - fromJSON(object: any): QueryClientStatesRequest; - toJSON(message: QueryClientStatesRequest): unknown; - fromPartial(object: Partial): QueryClientStatesRequest; - fromAmino(object: QueryClientStatesRequestAmino): QueryClientStatesRequest; - toAmino(message: QueryClientStatesRequest): QueryClientStatesRequestAmino; - fromAminoMsg(object: QueryClientStatesRequestAminoMsg): QueryClientStatesRequest; - toAminoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestAminoMsg; - fromProtoMsg(message: QueryClientStatesRequestProtoMsg): QueryClientStatesRequest; - toProto(message: QueryClientStatesRequest): Uint8Array; - toProtoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestProtoMsg; -}; -export declare const QueryClientStatesResponse: { - encode(message: QueryClientStatesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse; - fromJSON(object: any): QueryClientStatesResponse; - toJSON(message: QueryClientStatesResponse): unknown; - fromPartial(object: Partial): QueryClientStatesResponse; - fromAmino(object: QueryClientStatesResponseAmino): QueryClientStatesResponse; - toAmino(message: QueryClientStatesResponse): QueryClientStatesResponseAmino; - fromAminoMsg(object: QueryClientStatesResponseAminoMsg): QueryClientStatesResponse; - toAminoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseAminoMsg; - fromProtoMsg(message: QueryClientStatesResponseProtoMsg): QueryClientStatesResponse; - toProto(message: QueryClientStatesResponse): Uint8Array; - toProtoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseProtoMsg; -}; -export declare const QueryConsensusStateRequest: { - encode(message: QueryConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest; - fromJSON(object: any): QueryConsensusStateRequest; - toJSON(message: QueryConsensusStateRequest): unknown; - fromPartial(object: Partial): QueryConsensusStateRequest; - fromAmino(object: QueryConsensusStateRequestAmino): QueryConsensusStateRequest; - toAmino(message: QueryConsensusStateRequest): QueryConsensusStateRequestAmino; - fromAminoMsg(object: QueryConsensusStateRequestAminoMsg): QueryConsensusStateRequest; - toAminoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryConsensusStateRequestProtoMsg): QueryConsensusStateRequest; - toProto(message: QueryConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestProtoMsg; -}; -export declare const QueryConsensusStateResponse: { - encode(message: QueryConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse; - fromJSON(object: any): QueryConsensusStateResponse; - toJSON(message: QueryConsensusStateResponse): unknown; - fromPartial(object: Partial): QueryConsensusStateResponse; - fromAmino(object: QueryConsensusStateResponseAmino): QueryConsensusStateResponse; - toAmino(message: QueryConsensusStateResponse): QueryConsensusStateResponseAmino; - fromAminoMsg(object: QueryConsensusStateResponseAminoMsg): QueryConsensusStateResponse; - toAminoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryConsensusStateResponseProtoMsg): QueryConsensusStateResponse; - toProto(message: QueryConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseProtoMsg; -}; -export declare const QueryConsensusStatesRequest: { - encode(message: QueryConsensusStatesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest; - fromJSON(object: any): QueryConsensusStatesRequest; - toJSON(message: QueryConsensusStatesRequest): unknown; - fromPartial(object: Partial): QueryConsensusStatesRequest; - fromAmino(object: QueryConsensusStatesRequestAmino): QueryConsensusStatesRequest; - toAmino(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAmino; - fromAminoMsg(object: QueryConsensusStatesRequestAminoMsg): QueryConsensusStatesRequest; - toAminoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAminoMsg; - fromProtoMsg(message: QueryConsensusStatesRequestProtoMsg): QueryConsensusStatesRequest; - toProto(message: QueryConsensusStatesRequest): Uint8Array; - toProtoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestProtoMsg; -}; -export declare const QueryConsensusStatesResponse: { - encode(message: QueryConsensusStatesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse; - fromJSON(object: any): QueryConsensusStatesResponse; - toJSON(message: QueryConsensusStatesResponse): unknown; - fromPartial(object: Partial): QueryConsensusStatesResponse; - fromAmino(object: QueryConsensusStatesResponseAmino): QueryConsensusStatesResponse; - toAmino(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAmino; - fromAminoMsg(object: QueryConsensusStatesResponseAminoMsg): QueryConsensusStatesResponse; - toAminoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAminoMsg; - fromProtoMsg(message: QueryConsensusStatesResponseProtoMsg): QueryConsensusStatesResponse; - toProto(message: QueryConsensusStatesResponse): Uint8Array; - toProtoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseProtoMsg; -}; -export declare const QueryConsensusStateHeightsRequest: { - encode(message: QueryConsensusStateHeightsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateHeightsRequest; - fromJSON(object: any): QueryConsensusStateHeightsRequest; - toJSON(message: QueryConsensusStateHeightsRequest): unknown; - fromPartial(object: Partial): QueryConsensusStateHeightsRequest; - fromAmino(object: QueryConsensusStateHeightsRequestAmino): QueryConsensusStateHeightsRequest; - toAmino(message: QueryConsensusStateHeightsRequest): QueryConsensusStateHeightsRequestAmino; - fromAminoMsg(object: QueryConsensusStateHeightsRequestAminoMsg): QueryConsensusStateHeightsRequest; - toAminoMsg(message: QueryConsensusStateHeightsRequest): QueryConsensusStateHeightsRequestAminoMsg; - fromProtoMsg(message: QueryConsensusStateHeightsRequestProtoMsg): QueryConsensusStateHeightsRequest; - toProto(message: QueryConsensusStateHeightsRequest): Uint8Array; - toProtoMsg(message: QueryConsensusStateHeightsRequest): QueryConsensusStateHeightsRequestProtoMsg; -}; -export declare const QueryConsensusStateHeightsResponse: { - encode(message: QueryConsensusStateHeightsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateHeightsResponse; - fromJSON(object: any): QueryConsensusStateHeightsResponse; - toJSON(message: QueryConsensusStateHeightsResponse): unknown; - fromPartial(object: Partial): QueryConsensusStateHeightsResponse; - fromAmino(object: QueryConsensusStateHeightsResponseAmino): QueryConsensusStateHeightsResponse; - toAmino(message: QueryConsensusStateHeightsResponse): QueryConsensusStateHeightsResponseAmino; - fromAminoMsg(object: QueryConsensusStateHeightsResponseAminoMsg): QueryConsensusStateHeightsResponse; - toAminoMsg(message: QueryConsensusStateHeightsResponse): QueryConsensusStateHeightsResponseAminoMsg; - fromProtoMsg(message: QueryConsensusStateHeightsResponseProtoMsg): QueryConsensusStateHeightsResponse; - toProto(message: QueryConsensusStateHeightsResponse): Uint8Array; - toProtoMsg(message: QueryConsensusStateHeightsResponse): QueryConsensusStateHeightsResponseProtoMsg; -}; -export declare const QueryClientStatusRequest: { - encode(message: QueryClientStatusRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest; - fromJSON(object: any): QueryClientStatusRequest; - toJSON(message: QueryClientStatusRequest): unknown; - fromPartial(object: Partial): QueryClientStatusRequest; - fromAmino(object: QueryClientStatusRequestAmino): QueryClientStatusRequest; - toAmino(message: QueryClientStatusRequest): QueryClientStatusRequestAmino; - fromAminoMsg(object: QueryClientStatusRequestAminoMsg): QueryClientStatusRequest; - toAminoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestAminoMsg; - fromProtoMsg(message: QueryClientStatusRequestProtoMsg): QueryClientStatusRequest; - toProto(message: QueryClientStatusRequest): Uint8Array; - toProtoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestProtoMsg; -}; -export declare const QueryClientStatusResponse: { - encode(message: QueryClientStatusResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse; - fromJSON(object: any): QueryClientStatusResponse; - toJSON(message: QueryClientStatusResponse): unknown; - fromPartial(object: Partial): QueryClientStatusResponse; - fromAmino(object: QueryClientStatusResponseAmino): QueryClientStatusResponse; - toAmino(message: QueryClientStatusResponse): QueryClientStatusResponseAmino; - fromAminoMsg(object: QueryClientStatusResponseAminoMsg): QueryClientStatusResponse; - toAminoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseAminoMsg; - fromProtoMsg(message: QueryClientStatusResponseProtoMsg): QueryClientStatusResponse; - toProto(message: QueryClientStatusResponse): Uint8Array; - toProtoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseProtoMsg; -}; -export declare const QueryClientParamsRequest: { - encode(_: QueryClientParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest; - fromJSON(_: any): QueryClientParamsRequest; - toJSON(_: QueryClientParamsRequest): unknown; - fromPartial(_: Partial): QueryClientParamsRequest; - fromAmino(_: QueryClientParamsRequestAmino): QueryClientParamsRequest; - toAmino(_: QueryClientParamsRequest): QueryClientParamsRequestAmino; - fromAminoMsg(object: QueryClientParamsRequestAminoMsg): QueryClientParamsRequest; - toAminoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestAminoMsg; - fromProtoMsg(message: QueryClientParamsRequestProtoMsg): QueryClientParamsRequest; - toProto(message: QueryClientParamsRequest): Uint8Array; - toProtoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestProtoMsg; -}; -export declare const QueryClientParamsResponse: { - encode(message: QueryClientParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse; - fromJSON(object: any): QueryClientParamsResponse; - toJSON(message: QueryClientParamsResponse): unknown; - fromPartial(object: Partial): QueryClientParamsResponse; - fromAmino(object: QueryClientParamsResponseAmino): QueryClientParamsResponse; - toAmino(message: QueryClientParamsResponse): QueryClientParamsResponseAmino; - fromAminoMsg(object: QueryClientParamsResponseAminoMsg): QueryClientParamsResponse; - toAminoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseAminoMsg; - fromProtoMsg(message: QueryClientParamsResponseProtoMsg): QueryClientParamsResponse; - toProto(message: QueryClientParamsResponse): Uint8Array; - toProtoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseProtoMsg; -}; -export declare const QueryUpgradedClientStateRequest: { - encode(_: QueryUpgradedClientStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest; - fromJSON(_: any): QueryUpgradedClientStateRequest; - toJSON(_: QueryUpgradedClientStateRequest): unknown; - fromPartial(_: Partial): QueryUpgradedClientStateRequest; - fromAmino(_: QueryUpgradedClientStateRequestAmino): QueryUpgradedClientStateRequest; - toAmino(_: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAmino; - fromAminoMsg(object: QueryUpgradedClientStateRequestAminoMsg): QueryUpgradedClientStateRequest; - toAminoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAminoMsg; - fromProtoMsg(message: QueryUpgradedClientStateRequestProtoMsg): QueryUpgradedClientStateRequest; - toProto(message: QueryUpgradedClientStateRequest): Uint8Array; - toProtoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestProtoMsg; -}; -export declare const QueryUpgradedClientStateResponse: { - encode(message: QueryUpgradedClientStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse; - fromJSON(object: any): QueryUpgradedClientStateResponse; - toJSON(message: QueryUpgradedClientStateResponse): unknown; - fromPartial(object: Partial): QueryUpgradedClientStateResponse; - fromAmino(object: QueryUpgradedClientStateResponseAmino): QueryUpgradedClientStateResponse; - toAmino(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAmino; - fromAminoMsg(object: QueryUpgradedClientStateResponseAminoMsg): QueryUpgradedClientStateResponse; - toAminoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAminoMsg; - fromProtoMsg(message: QueryUpgradedClientStateResponseProtoMsg): QueryUpgradedClientStateResponse; - toProto(message: QueryUpgradedClientStateResponse): Uint8Array; - toProtoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseProtoMsg; -}; -export declare const QueryUpgradedConsensusStateRequest: { - encode(_: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest; - fromJSON(_: any): QueryUpgradedConsensusStateRequest; - toJSON(_: QueryUpgradedConsensusStateRequest): unknown; - fromPartial(_: Partial): QueryUpgradedConsensusStateRequest; - fromAmino(_: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest; - toAmino(_: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest; - toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest; - toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg; -}; -export declare const QueryUpgradedConsensusStateResponse: { - encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse; - fromJSON(object: any): QueryUpgradedConsensusStateResponse; - toJSON(message: QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: Partial): QueryUpgradedConsensusStateResponse; - fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse; - toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse; - toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse; - toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/core/client/v1/query.lcd.d.ts b/packages/api/types/codegen/ibc/core/client/v1/query.lcd.d.ts deleted file mode 100644 index 4cf81366..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/query.lcd.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryClientStateRequest, QueryClientStateResponseSDKType, QueryClientStatesRequest, QueryClientStatesResponseSDKType, QueryConsensusStateRequest, QueryConsensusStateResponseSDKType, QueryConsensusStatesRequest, QueryConsensusStatesResponseSDKType, QueryConsensusStateHeightsRequest, QueryConsensusStateHeightsResponseSDKType, QueryClientStatusRequest, QueryClientStatusResponseSDKType, QueryClientParamsRequest, QueryClientParamsResponseSDKType, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - clientState(params: QueryClientStateRequest): Promise; - clientStates(params?: QueryClientStatesRequest): Promise; - consensusState(params: QueryConsensusStateRequest): Promise; - consensusStates(params: QueryConsensusStatesRequest): Promise; - consensusStateHeights(params: QueryConsensusStateHeightsRequest): Promise; - clientStatus(params: QueryClientStatusRequest): Promise; - clientParams(_params?: QueryClientParamsRequest): Promise; - upgradedClientState(_params?: QueryUpgradedClientStateRequest): Promise; - upgradedConsensusState(_params?: QueryUpgradedConsensusStateRequest): Promise; -} diff --git a/packages/api/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts deleted file mode 100644 index 306362d3..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryConsensusStateHeightsRequest, QueryConsensusStateHeightsResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** ClientState queries an IBC light client. */ - clientState(request: QueryClientStateRequest): Promise; - /** ClientStates queries all the IBC light clients of a chain. */ - clientStates(request?: QueryClientStatesRequest): Promise; - /** - * ConsensusState queries a consensus state associated with a client state at - * a given height. - */ - consensusState(request: QueryConsensusStateRequest): Promise; - /** - * ConsensusStates queries all the consensus state associated with a given - * client. - */ - consensusStates(request: QueryConsensusStatesRequest): Promise; - /** ConsensusStateHeights queries the height of every consensus states associated with a given client. */ - consensusStateHeights(request: QueryConsensusStateHeightsRequest): Promise; - /** Status queries the status of an IBC client. */ - clientStatus(request: QueryClientStatusRequest): Promise; - /** ClientParams queries all parameters of the ibc client. */ - clientParams(request?: QueryClientParamsRequest): Promise; - /** UpgradedClientState queries an Upgraded IBC light client. */ - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - /** UpgradedConsensusState queries an Upgraded IBC consensus state. */ - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - clientState(request: QueryClientStateRequest): Promise; - clientStates(request?: QueryClientStatesRequest): Promise; - consensusState(request: QueryConsensusStateRequest): Promise; - consensusStates(request: QueryConsensusStatesRequest): Promise; - consensusStateHeights(request: QueryConsensusStateHeightsRequest): Promise; - clientStatus(request: QueryClientStatusRequest): Promise; - clientParams(request?: QueryClientParamsRequest): Promise; - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - clientState(request: QueryClientStateRequest): Promise; - clientStates(request?: QueryClientStatesRequest): Promise; - consensusState(request: QueryConsensusStateRequest): Promise; - consensusStates(request: QueryConsensusStatesRequest): Promise; - consensusStateHeights(request: QueryConsensusStateHeightsRequest): Promise; - clientStatus(request: QueryClientStatusRequest): Promise; - clientParams(request?: QueryClientParamsRequest): Promise; - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; -}; diff --git a/packages/api/types/codegen/ibc/core/client/v1/tx.amino.d.ts b/packages/api/types/codegen/ibc/core/client/v1/tx.amino.d.ts deleted file mode 100644 index 179f257f..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; -export declare const AminoConverter: { - "/ibc.core.client.v1.MsgCreateClient": { - aminoType: string; - toAmino: (message: MsgCreateClient) => import("./tx").MsgCreateClientAmino; - fromAmino: (object: import("./tx").MsgCreateClientAmino) => MsgCreateClient; - }; - "/ibc.core.client.v1.MsgUpdateClient": { - aminoType: string; - toAmino: (message: MsgUpdateClient) => import("./tx").MsgUpdateClientAmino; - fromAmino: (object: import("./tx").MsgUpdateClientAmino) => MsgUpdateClient; - }; - "/ibc.core.client.v1.MsgUpgradeClient": { - aminoType: string; - toAmino: (message: MsgUpgradeClient) => import("./tx").MsgUpgradeClientAmino; - fromAmino: (object: import("./tx").MsgUpgradeClientAmino) => MsgUpgradeClient; - }; - "/ibc.core.client.v1.MsgSubmitMisbehaviour": { - aminoType: string; - toAmino: (message: MsgSubmitMisbehaviour) => import("./tx").MsgSubmitMisbehaviourAmino; - fromAmino: (object: import("./tx").MsgSubmitMisbehaviourAmino) => MsgSubmitMisbehaviour; - }; -}; diff --git a/packages/api/types/codegen/ibc/core/client/v1/tx.d.ts b/packages/api/types/codegen/ibc/core/client/v1/tx.d.ts deleted file mode 100644 index eb34941f..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/tx.d.ts +++ /dev/null @@ -1,385 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClient { - /** light client state */ - clientState: Any; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - consensusState: Any; - /** signer address */ - signer: string; -} -export interface MsgCreateClientProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgCreateClient"; - value: Uint8Array; -} -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClientAmino { - /** light client state */ - client_state?: AnyAmino; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - consensus_state?: AnyAmino; - /** signer address */ - signer: string; -} -export interface MsgCreateClientAminoMsg { - type: "cosmos-sdk/MsgCreateClient"; - value: MsgCreateClientAmino; -} -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClientSDKType { - client_state: AnySDKType; - consensus_state: AnySDKType; - signer: string; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ -export interface MsgCreateClientResponse { -} -export interface MsgCreateClientResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgCreateClientResponse"; - value: Uint8Array; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ -export interface MsgCreateClientResponseAmino { -} -export interface MsgCreateClientResponseAminoMsg { - type: "cosmos-sdk/MsgCreateClientResponse"; - value: MsgCreateClientResponseAmino; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ -export interface MsgCreateClientResponseSDKType { -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given client message. - */ -export interface MsgUpdateClient { - /** client unique identifier */ - clientId: string; - /** client message to update the light client */ - clientMessage: Any; - /** signer address */ - signer: string; -} -export interface MsgUpdateClientProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpdateClient"; - value: Uint8Array; -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given client message. - */ -export interface MsgUpdateClientAmino { - /** client unique identifier */ - client_id: string; - /** client message to update the light client */ - client_message?: AnyAmino; - /** signer address */ - signer: string; -} -export interface MsgUpdateClientAminoMsg { - type: "cosmos-sdk/MsgUpdateClient"; - value: MsgUpdateClientAmino; -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given client message. - */ -export interface MsgUpdateClientSDKType { - client_id: string; - client_message: AnySDKType; - signer: string; -} -/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ -export interface MsgUpdateClientResponse { -} -export interface MsgUpdateClientResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpdateClientResponse"; - value: Uint8Array; -} -/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ -export interface MsgUpdateClientResponseAmino { -} -export interface MsgUpdateClientResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateClientResponse"; - value: MsgUpdateClientResponseAmino; -} -/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ -export interface MsgUpdateClientResponseSDKType { -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ -export interface MsgUpgradeClient { - /** client unique identifier */ - clientId: string; - /** upgraded client state */ - clientState: Any; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - consensusState: Any; - /** proof that old chain committed to new client */ - proofUpgradeClient: Uint8Array; - /** proof that old chain committed to new consensus state */ - proofUpgradeConsensusState: Uint8Array; - /** signer address */ - signer: string; -} -export interface MsgUpgradeClientProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClient"; - value: Uint8Array; -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ -export interface MsgUpgradeClientAmino { - /** client unique identifier */ - client_id: string; - /** upgraded client state */ - client_state?: AnyAmino; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - consensus_state?: AnyAmino; - /** proof that old chain committed to new client */ - proof_upgrade_client: Uint8Array; - /** proof that old chain committed to new consensus state */ - proof_upgrade_consensus_state: Uint8Array; - /** signer address */ - signer: string; -} -export interface MsgUpgradeClientAminoMsg { - type: "cosmos-sdk/MsgUpgradeClient"; - value: MsgUpgradeClientAmino; -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ -export interface MsgUpgradeClientSDKType { - client_id: string; - client_state: AnySDKType; - consensus_state: AnySDKType; - proof_upgrade_client: Uint8Array; - proof_upgrade_consensus_state: Uint8Array; - signer: string; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ -export interface MsgUpgradeClientResponse { -} -export interface MsgUpgradeClientResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClientResponse"; - value: Uint8Array; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ -export interface MsgUpgradeClientResponseAmino { -} -export interface MsgUpgradeClientResponseAminoMsg { - type: "cosmos-sdk/MsgUpgradeClientResponse"; - value: MsgUpgradeClientResponseAmino; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ -export interface MsgUpgradeClientResponseSDKType { -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - * Warning: DEPRECATED - */ -export interface MsgSubmitMisbehaviour { - /** client unique identifier */ - /** @deprecated */ - clientId: string; - /** misbehaviour used for freezing the light client */ - /** @deprecated */ - misbehaviour: Any; - /** signer address */ - /** @deprecated */ - signer: string; -} -export interface MsgSubmitMisbehaviourProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour"; - value: Uint8Array; -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - * Warning: DEPRECATED - */ -export interface MsgSubmitMisbehaviourAmino { - /** client unique identifier */ - /** @deprecated */ - client_id: string; - /** misbehaviour used for freezing the light client */ - /** @deprecated */ - misbehaviour?: AnyAmino; - /** signer address */ - /** @deprecated */ - signer: string; -} -export interface MsgSubmitMisbehaviourAminoMsg { - type: "cosmos-sdk/MsgSubmitMisbehaviour"; - value: MsgSubmitMisbehaviourAmino; -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - * Warning: DEPRECATED - */ -export interface MsgSubmitMisbehaviourSDKType { - /** @deprecated */ - client_id: string; - /** @deprecated */ - misbehaviour: AnySDKType; - /** @deprecated */ - signer: string; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponse { -} -export interface MsgSubmitMisbehaviourResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviourResponse"; - value: Uint8Array; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponseAmino { -} -export interface MsgSubmitMisbehaviourResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitMisbehaviourResponse"; - value: MsgSubmitMisbehaviourResponseAmino; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponseSDKType { -} -export declare const MsgCreateClient: { - encode(message: MsgCreateClient, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient; - fromJSON(object: any): MsgCreateClient; - toJSON(message: MsgCreateClient): unknown; - fromPartial(object: Partial): MsgCreateClient; - fromAmino(object: MsgCreateClientAmino): MsgCreateClient; - toAmino(message: MsgCreateClient): MsgCreateClientAmino; - fromAminoMsg(object: MsgCreateClientAminoMsg): MsgCreateClient; - toAminoMsg(message: MsgCreateClient): MsgCreateClientAminoMsg; - fromProtoMsg(message: MsgCreateClientProtoMsg): MsgCreateClient; - toProto(message: MsgCreateClient): Uint8Array; - toProtoMsg(message: MsgCreateClient): MsgCreateClientProtoMsg; -}; -export declare const MsgCreateClientResponse: { - encode(_: MsgCreateClientResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse; - fromJSON(_: any): MsgCreateClientResponse; - toJSON(_: MsgCreateClientResponse): unknown; - fromPartial(_: Partial): MsgCreateClientResponse; - fromAmino(_: MsgCreateClientResponseAmino): MsgCreateClientResponse; - toAmino(_: MsgCreateClientResponse): MsgCreateClientResponseAmino; - fromAminoMsg(object: MsgCreateClientResponseAminoMsg): MsgCreateClientResponse; - toAminoMsg(message: MsgCreateClientResponse): MsgCreateClientResponseAminoMsg; - fromProtoMsg(message: MsgCreateClientResponseProtoMsg): MsgCreateClientResponse; - toProto(message: MsgCreateClientResponse): Uint8Array; - toProtoMsg(message: MsgCreateClientResponse): MsgCreateClientResponseProtoMsg; -}; -export declare const MsgUpdateClient: { - encode(message: MsgUpdateClient, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient; - fromJSON(object: any): MsgUpdateClient; - toJSON(message: MsgUpdateClient): unknown; - fromPartial(object: Partial): MsgUpdateClient; - fromAmino(object: MsgUpdateClientAmino): MsgUpdateClient; - toAmino(message: MsgUpdateClient): MsgUpdateClientAmino; - fromAminoMsg(object: MsgUpdateClientAminoMsg): MsgUpdateClient; - toAminoMsg(message: MsgUpdateClient): MsgUpdateClientAminoMsg; - fromProtoMsg(message: MsgUpdateClientProtoMsg): MsgUpdateClient; - toProto(message: MsgUpdateClient): Uint8Array; - toProtoMsg(message: MsgUpdateClient): MsgUpdateClientProtoMsg; -}; -export declare const MsgUpdateClientResponse: { - encode(_: MsgUpdateClientResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse; - fromJSON(_: any): MsgUpdateClientResponse; - toJSON(_: MsgUpdateClientResponse): unknown; - fromPartial(_: Partial): MsgUpdateClientResponse; - fromAmino(_: MsgUpdateClientResponseAmino): MsgUpdateClientResponse; - toAmino(_: MsgUpdateClientResponse): MsgUpdateClientResponseAmino; - fromAminoMsg(object: MsgUpdateClientResponseAminoMsg): MsgUpdateClientResponse; - toAminoMsg(message: MsgUpdateClientResponse): MsgUpdateClientResponseAminoMsg; - fromProtoMsg(message: MsgUpdateClientResponseProtoMsg): MsgUpdateClientResponse; - toProto(message: MsgUpdateClientResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClientResponse): MsgUpdateClientResponseProtoMsg; -}; -export declare const MsgUpgradeClient: { - encode(message: MsgUpgradeClient, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient; - fromJSON(object: any): MsgUpgradeClient; - toJSON(message: MsgUpgradeClient): unknown; - fromPartial(object: Partial): MsgUpgradeClient; - fromAmino(object: MsgUpgradeClientAmino): MsgUpgradeClient; - toAmino(message: MsgUpgradeClient): MsgUpgradeClientAmino; - fromAminoMsg(object: MsgUpgradeClientAminoMsg): MsgUpgradeClient; - toAminoMsg(message: MsgUpgradeClient): MsgUpgradeClientAminoMsg; - fromProtoMsg(message: MsgUpgradeClientProtoMsg): MsgUpgradeClient; - toProto(message: MsgUpgradeClient): Uint8Array; - toProtoMsg(message: MsgUpgradeClient): MsgUpgradeClientProtoMsg; -}; -export declare const MsgUpgradeClientResponse: { - encode(_: MsgUpgradeClientResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse; - fromJSON(_: any): MsgUpgradeClientResponse; - toJSON(_: MsgUpgradeClientResponse): unknown; - fromPartial(_: Partial): MsgUpgradeClientResponse; - fromAmino(_: MsgUpgradeClientResponseAmino): MsgUpgradeClientResponse; - toAmino(_: MsgUpgradeClientResponse): MsgUpgradeClientResponseAmino; - fromAminoMsg(object: MsgUpgradeClientResponseAminoMsg): MsgUpgradeClientResponse; - toAminoMsg(message: MsgUpgradeClientResponse): MsgUpgradeClientResponseAminoMsg; - fromProtoMsg(message: MsgUpgradeClientResponseProtoMsg): MsgUpgradeClientResponse; - toProto(message: MsgUpgradeClientResponse): Uint8Array; - toProtoMsg(message: MsgUpgradeClientResponse): MsgUpgradeClientResponseProtoMsg; -}; -export declare const MsgSubmitMisbehaviour: { - encode(message: MsgSubmitMisbehaviour, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour; - fromJSON(object: any): MsgSubmitMisbehaviour; - toJSON(message: MsgSubmitMisbehaviour): unknown; - fromPartial(object: Partial): MsgSubmitMisbehaviour; - fromAmino(object: MsgSubmitMisbehaviourAmino): MsgSubmitMisbehaviour; - toAmino(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourAmino; - fromAminoMsg(object: MsgSubmitMisbehaviourAminoMsg): MsgSubmitMisbehaviour; - toAminoMsg(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourAminoMsg; - fromProtoMsg(message: MsgSubmitMisbehaviourProtoMsg): MsgSubmitMisbehaviour; - toProto(message: MsgSubmitMisbehaviour): Uint8Array; - toProtoMsg(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourProtoMsg; -}; -export declare const MsgSubmitMisbehaviourResponse: { - encode(_: MsgSubmitMisbehaviourResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse; - fromJSON(_: any): MsgSubmitMisbehaviourResponse; - toJSON(_: MsgSubmitMisbehaviourResponse): unknown; - fromPartial(_: Partial): MsgSubmitMisbehaviourResponse; - fromAmino(_: MsgSubmitMisbehaviourResponseAmino): MsgSubmitMisbehaviourResponse; - toAmino(_: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseAmino; - fromAminoMsg(object: MsgSubmitMisbehaviourResponseAminoMsg): MsgSubmitMisbehaviourResponse; - toAminoMsg(message: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseAminoMsg; - fromProtoMsg(message: MsgSubmitMisbehaviourResponseProtoMsg): MsgSubmitMisbehaviourResponse; - toProto(message: MsgSubmitMisbehaviourResponse): Uint8Array; - toProtoMsg(message: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/ibc/core/client/v1/tx.registry.d.ts b/packages/api/types/codegen/ibc/core/client/v1/tx.registry.d.ts deleted file mode 100644 index 8a8f85cc..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/tx.registry.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: Uint8Array; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: Uint8Array; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: Uint8Array; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: MsgCreateClient; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: MsgUpdateClient; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: MsgUpgradeClient; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: MsgSubmitMisbehaviour; - }; - }; - toJSON: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: unknown; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: unknown; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: unknown; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClient(value: any): { - typeUrl: string; - value: MsgCreateClient; - }; - updateClient(value: any): { - typeUrl: string; - value: MsgUpdateClient; - }; - upgradeClient(value: any): { - typeUrl: string; - value: MsgUpgradeClient; - }; - submitMisbehaviour(value: any): { - typeUrl: string; - value: MsgSubmitMisbehaviour; - }; - }; - fromPartial: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: MsgCreateClient; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: MsgUpdateClient; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: MsgUpgradeClient; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: MsgSubmitMisbehaviour; - }; - }; -}; diff --git a/packages/api/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts deleted file mode 100644 index d49d180d..00000000 --- a/packages/api/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; -/** Msg defines the ibc/client Msg service. */ -export interface Msg { - /** CreateClient defines a rpc handler method for MsgCreateClient. */ - createClient(request: MsgCreateClient): Promise; - /** UpdateClient defines a rpc handler method for MsgUpdateClient. */ - updateClient(request: MsgUpdateClient): Promise; - /** UpgradeClient defines a rpc handler method for MsgUpgradeClient. */ - upgradeClient(request: MsgUpgradeClient): Promise; - /** SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. */ - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createClient(request: MsgCreateClient): Promise; - updateClient(request: MsgUpdateClient): Promise; - upgradeClient(request: MsgUpgradeClient): Promise; - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; -} diff --git a/packages/api/types/codegen/ibc/lcd.d.ts b/packages/api/types/codegen/ibc/lcd.d.ts deleted file mode 100644 index 128cb5f8..00000000 --- a/packages/api/types/codegen/ibc/lcd.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -export declare const createLCDClient: ({ restEndpoint }: { - restEndpoint: string; -}) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - node: { - v1beta1: import("../cosmos/base/node/v1beta1/query.lcd").LCDQueryClient; - }; - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - ibc: { - applications: { - transfer: { - v1: import("./applications/transfer/v1/query.lcd").LCDQueryClient; - }; - }; - core: { - client: { - v1: import("./core/client/v1/query.lcd").LCDQueryClient; - }; - }; - }; -}>; diff --git a/packages/api/types/codegen/ibc/rpc.query.d.ts b/packages/api/types/codegen/ibc/rpc.query.d.ts deleted file mode 100644 index 2553534a..00000000 --- a/packages/api/types/codegen/ibc/rpc.query.d.ts +++ /dev/null @@ -1,223 +0,0 @@ -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | HttpEndpoint; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest | undefined): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest | undefined): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - accountAddressByID(request: import("../cosmos/auth/v1beta1/query").QueryAccountAddressByIDRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest | undefined): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest | undefined): Promise; - moduleAccountByName(request: import("../cosmos/auth/v1beta1/query").QueryModuleAccountByNameRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest | undefined): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest | undefined): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest | undefined): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest | undefined): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - node: { - v1beta1: { - config(request?: import("../cosmos/base/node/v1beta1/query").ConfigRequest | undefined): Promise; - }; - }; - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest | undefined): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest | undefined): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest | undefined): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest | undefined): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - aBCIQuery(request: import("../cosmos/base/tendermint/v1beta1/query").ABCIQueryRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest | undefined): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest | undefined): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest | undefined): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest | undefined): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest | undefined): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest | undefined): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest | undefined): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest | undefined): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest | undefined): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest | undefined): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest | undefined): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest | undefined): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest | undefined): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest | undefined): Promise; - }; - }; - }; - ibc: { - applications: { - transfer: { - v1: { - denomTrace(request: import("./applications/transfer/v1/query").QueryDenomTraceRequest): Promise; - denomTraces(request?: import("./applications/transfer/v1/query").QueryDenomTracesRequest | undefined): Promise; - params(request?: import("./applications/transfer/v1/query").QueryParamsRequest | undefined): Promise; - denomHash(request: import("./applications/transfer/v1/query").QueryDenomHashRequest): Promise; - escrowAddress(request: import("./applications/transfer/v1/query").QueryEscrowAddressRequest): Promise; - }; - }; - }; - core: { - client: { - v1: { - clientState(request: import("./core/client/v1/query").QueryClientStateRequest): Promise; - clientStates(request?: import("./core/client/v1/query").QueryClientStatesRequest | undefined): Promise; - consensusState(request: import("./core/client/v1/query").QueryConsensusStateRequest): Promise; - consensusStates(request: import("./core/client/v1/query").QueryConsensusStatesRequest): Promise; - consensusStateHeights(request: import("./core/client/v1/query").QueryConsensusStateHeightsRequest): Promise; - clientStatus(request: import("./core/client/v1/query").QueryClientStatusRequest): Promise; - clientParams(request?: import("./core/client/v1/query").QueryClientParamsRequest | undefined): Promise; - upgradedClientState(request?: import("./core/client/v1/query").QueryUpgradedClientStateRequest | undefined): Promise; - upgradedConsensusState(request?: import("./core/client/v1/query").QueryUpgradedConsensusStateRequest | undefined): Promise; - }; - }; - }; - }; -}>; diff --git a/packages/api/types/codegen/ibc/rpc.tx.d.ts b/packages/api/types/codegen/ibc/rpc.tx.d.ts deleted file mode 100644 index 85efb9d2..00000000 --- a/packages/api/types/codegen/ibc/rpc.tx.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: import("./applications/transfer/v1/tx.rpc.msg").MsgClientImpl; - }; - }; - core: { - client: { - v1: import("./core/client/v1/tx.rpc.msg").MsgClientImpl; - }; - }; - }; -}>; diff --git a/packages/api/types/codegen/index.d.ts b/packages/api/types/codegen/index.d.ts deleted file mode 100644 index 8f160af0..00000000 --- a/packages/api/types/codegen/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.99.0 - * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain - * and run the transpile command or yarn proto command to regenerate this bundle. - */ -export * from "./amino/bundle"; -export * from "./cosmos_proto/bundle"; -export * from "./cosmos/bundle"; -export * from "./cosmos/client"; -export * from "./gogoproto/bundle"; -export * from "./google/bundle"; -export * from "./ibc/bundle"; -export * from "./ibc/client"; -export * from "./regen/bundle"; -export * from "./regen/client"; -export * from "./tendermint/bundle"; diff --git a/packages/api/types/codegen/regen/bundle.d.ts b/packages/api/types/codegen/regen/bundle.d.ts deleted file mode 100644 index 4ad10678..00000000 --- a/packages/api/types/codegen/regen/bundle.d.ts +++ /dev/null @@ -1,6131 +0,0 @@ -import * as _112 from "./data/v1/events"; -import * as _113 from "./data/v1/query"; -import * as _114 from "./data/v1/state"; -import * as _115 from "./data/v1/tx"; -import * as _116 from "./data/v1/types"; -import * as _117 from "./ecocredit/basket/v1/events"; -import * as _118 from "./ecocredit/basket/v1/query"; -import * as _119 from "./ecocredit/basket/v1/state"; -import * as _120 from "./ecocredit/basket/v1/tx"; -import * as _121 from "./ecocredit/basket/v1/types"; -import * as _122 from "./ecocredit/marketplace/v1/events"; -import * as _123 from "./ecocredit/marketplace/v1/query"; -import * as _124 from "./ecocredit/marketplace/v1/state"; -import * as _125 from "./ecocredit/marketplace/v1/tx"; -import * as _126 from "./ecocredit/marketplace/v1/types"; -import * as _127 from "./ecocredit/orderbook/v1alpha1/memory"; -import * as _128 from "./ecocredit/v1/events"; -import * as _129 from "./ecocredit/v1/query"; -import * as _130 from "./ecocredit/v1/state"; -import * as _131 from "./ecocredit/v1/tx"; -import * as _132 from "./ecocredit/v1/types"; -import * as _133 from "./ecocredit/v1alpha1/events"; -import * as _134 from "./ecocredit/v1alpha1/genesis"; -import * as _135 from "./ecocredit/v1alpha1/query"; -import * as _136 from "./ecocredit/v1alpha1/tx"; -import * as _137 from "./ecocredit/v1alpha1/types"; -import * as _138 from "./intertx/v1/query"; -import * as _139 from "./intertx/v1/tx"; -import * as _252 from "./data/v1/query.lcd"; -import * as _253 from "./ecocredit/basket/v1/query.lcd"; -import * as _254 from "./ecocredit/marketplace/v1/query.lcd"; -import * as _255 from "./ecocredit/v1/query.lcd"; -import * as _256 from "./ecocredit/v1alpha1/query.lcd"; -import * as _257 from "./intertx/v1/query.lcd"; -import * as _258 from "./data/v1/query.rpc.Query"; -import * as _259 from "./ecocredit/basket/v1/query.rpc.Query"; -import * as _260 from "./ecocredit/marketplace/v1/query.rpc.Query"; -import * as _261 from "./ecocredit/v1/query.rpc.Query"; -import * as _262 from "./ecocredit/v1alpha1/query.rpc.Query"; -import * as _263 from "./intertx/v1/query.rpc.Query"; -import * as _264 from "./data/v1/tx.rpc.msg"; -import * as _265 from "./ecocredit/basket/v1/tx.rpc.msg"; -import * as _266 from "./ecocredit/marketplace/v1/tx.rpc.msg"; -import * as _267 from "./ecocredit/v1/tx.rpc.msg"; -import * as _268 from "./ecocredit/v1alpha1/tx.rpc.msg"; -import * as _269 from "./intertx/v1/tx.rpc.msg"; -export declare namespace regen { - namespace data { - const v1: { - MsgClientImpl: typeof _264.MsgClientImpl; - QueryClientImpl: typeof _258.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - anchorByIRI(request: _113.QueryAnchorByIRIRequest): Promise<_113.QueryAnchorByIRIResponse>; - anchorByHash(request: _113.QueryAnchorByHashRequest): Promise<_113.QueryAnchorByHashResponse>; - attestationsByAttestor(request: _113.QueryAttestationsByAttestorRequest): Promise<_113.QueryAttestationsByAttestorResponse>; - attestationsByIRI(request: _113.QueryAttestationsByIRIRequest): Promise<_113.QueryAttestationsByIRIResponse>; - attestationsByHash(request: _113.QueryAttestationsByHashRequest): Promise<_113.QueryAttestationsByHashResponse>; - resolver(request: _113.QueryResolverRequest): Promise<_113.QueryResolverResponse>; - resolversByIRI(request: _113.QueryResolversByIRIRequest): Promise<_113.QueryResolversByIRIResponse>; - resolversByHash(request: _113.QueryResolversByHashRequest): Promise<_113.QueryResolversByHashResponse>; - resolversByURL(request: _113.QueryResolversByURLRequest): Promise<_113.QueryResolversByURLResponse>; - convertIRIToHash(request: _113.ConvertIRIToHashRequest): Promise<_113.ConvertIRIToHashResponse>; - convertHashToIRI(request: _113.ConvertHashToIRIRequest): Promise<_113.ConvertHashToIRIResponse>; - }; - LCDQueryClient: typeof _252.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - anchor(value: _115.MsgAnchor): { - typeUrl: string; - value: Uint8Array; - }; - attest(value: _115.MsgAttest): { - typeUrl: string; - value: Uint8Array; - }; - defineResolver(value: _115.MsgDefineResolver): { - typeUrl: string; - value: Uint8Array; - }; - registerResolver(value: _115.MsgRegisterResolver): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - anchor(value: _115.MsgAnchor): { - typeUrl: string; - value: _115.MsgAnchor; - }; - attest(value: _115.MsgAttest): { - typeUrl: string; - value: _115.MsgAttest; - }; - defineResolver(value: _115.MsgDefineResolver): { - typeUrl: string; - value: _115.MsgDefineResolver; - }; - registerResolver(value: _115.MsgRegisterResolver): { - typeUrl: string; - value: _115.MsgRegisterResolver; - }; - }; - toJSON: { - anchor(value: _115.MsgAnchor): { - typeUrl: string; - value: unknown; - }; - attest(value: _115.MsgAttest): { - typeUrl: string; - value: unknown; - }; - defineResolver(value: _115.MsgDefineResolver): { - typeUrl: string; - value: unknown; - }; - registerResolver(value: _115.MsgRegisterResolver): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - anchor(value: any): { - typeUrl: string; - value: _115.MsgAnchor; - }; - attest(value: any): { - typeUrl: string; - value: _115.MsgAttest; - }; - defineResolver(value: any): { - typeUrl: string; - value: _115.MsgDefineResolver; - }; - registerResolver(value: any): { - typeUrl: string; - value: _115.MsgRegisterResolver; - }; - }; - fromPartial: { - anchor(value: _115.MsgAnchor): { - typeUrl: string; - value: _115.MsgAnchor; - }; - attest(value: _115.MsgAttest): { - typeUrl: string; - value: _115.MsgAttest; - }; - defineResolver(value: _115.MsgDefineResolver): { - typeUrl: string; - value: _115.MsgDefineResolver; - }; - registerResolver(value: _115.MsgRegisterResolver): { - typeUrl: string; - value: _115.MsgRegisterResolver; - }; - }; - }; - AminoConverter: { - "/regen.data.v1.MsgAnchor": { - aminoType: string; - toAmino: (message: _115.MsgAnchor) => _115.MsgAnchorAmino; - fromAmino: (object: _115.MsgAnchorAmino) => _115.MsgAnchor; - }; - "/regen.data.v1.MsgAttest": { - aminoType: string; - toAmino: (message: _115.MsgAttest) => _115.MsgAttestAmino; - fromAmino: (object: _115.MsgAttestAmino) => _115.MsgAttest; - }; - "/regen.data.v1.MsgDefineResolver": { - aminoType: string; - toAmino: (message: _115.MsgDefineResolver) => _115.MsgDefineResolverAmino; - fromAmino: (object: _115.MsgDefineResolverAmino) => _115.MsgDefineResolver; - }; - "/regen.data.v1.MsgRegisterResolver": { - aminoType: string; - toAmino: (message: _115.MsgRegisterResolver) => _115.MsgRegisterResolverAmino; - fromAmino: (object: _115.MsgRegisterResolverAmino) => _115.MsgRegisterResolver; - }; - }; - digestAlgorithmFromJSON(object: any): _116.DigestAlgorithm; - digestAlgorithmToJSON(object: _116.DigestAlgorithm): string; - rawMediaTypeFromJSON(object: any): _116.RawMediaType; - rawMediaTypeToJSON(object: _116.RawMediaType): string; - graphCanonicalizationAlgorithmFromJSON(object: any): _116.GraphCanonicalizationAlgorithm; - graphCanonicalizationAlgorithmToJSON(object: _116.GraphCanonicalizationAlgorithm): string; - graphMerkleTreeFromJSON(object: any): _116.GraphMerkleTree; - graphMerkleTreeToJSON(object: _116.GraphMerkleTree): string; - DigestAlgorithm: typeof _116.DigestAlgorithm; - DigestAlgorithmSDKType: typeof _116.DigestAlgorithm; - DigestAlgorithmAmino: typeof _116.DigestAlgorithm; - RawMediaType: typeof _116.RawMediaType; - RawMediaTypeSDKType: typeof _116.RawMediaType; - RawMediaTypeAmino: typeof _116.RawMediaType; - GraphCanonicalizationAlgorithm: typeof _116.GraphCanonicalizationAlgorithm; - GraphCanonicalizationAlgorithmSDKType: typeof _116.GraphCanonicalizationAlgorithm; - GraphCanonicalizationAlgorithmAmino: typeof _116.GraphCanonicalizationAlgorithm; - GraphMerkleTree: typeof _116.GraphMerkleTree; - GraphMerkleTreeSDKType: typeof _116.GraphMerkleTree; - GraphMerkleTreeAmino: typeof _116.GraphMerkleTree; - ContentHash: { - encode(message: _116.ContentHash, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _116.ContentHash; - fromJSON(object: any): _116.ContentHash; - toJSON(message: _116.ContentHash): unknown; - fromPartial(object: Partial<_116.ContentHash>): _116.ContentHash; - fromAmino(object: _116.ContentHashAmino): _116.ContentHash; - toAmino(message: _116.ContentHash): _116.ContentHashAmino; - fromAminoMsg(object: _116.ContentHashAminoMsg): _116.ContentHash; - fromProtoMsg(message: _116.ContentHashProtoMsg): _116.ContentHash; - toProto(message: _116.ContentHash): Uint8Array; - toProtoMsg(message: _116.ContentHash): _116.ContentHashProtoMsg; - }; - ContentHash_Raw: { - encode(message: _116.ContentHash_Raw, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _116.ContentHash_Raw; - fromJSON(object: any): _116.ContentHash_Raw; - toJSON(message: _116.ContentHash_Raw): unknown; - fromPartial(object: Partial<_116.ContentHash_Raw>): _116.ContentHash_Raw; - fromAmino(object: _116.ContentHash_RawAmino): _116.ContentHash_Raw; - toAmino(message: _116.ContentHash_Raw): _116.ContentHash_RawAmino; - fromAminoMsg(object: _116.ContentHash_RawAminoMsg): _116.ContentHash_Raw; - fromProtoMsg(message: _116.ContentHash_RawProtoMsg): _116.ContentHash_Raw; - toProto(message: _116.ContentHash_Raw): Uint8Array; - toProtoMsg(message: _116.ContentHash_Raw): _116.ContentHash_RawProtoMsg; - }; - ContentHash_Graph: { - encode(message: _116.ContentHash_Graph, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _116.ContentHash_Graph; - fromJSON(object: any): _116.ContentHash_Graph; - toJSON(message: _116.ContentHash_Graph): unknown; - fromPartial(object: Partial<_116.ContentHash_Graph>): _116.ContentHash_Graph; - fromAmino(object: _116.ContentHash_GraphAmino): _116.ContentHash_Graph; - toAmino(message: _116.ContentHash_Graph): _116.ContentHash_GraphAmino; - fromAminoMsg(object: _116.ContentHash_GraphAminoMsg): _116.ContentHash_Graph; - fromProtoMsg(message: _116.ContentHash_GraphProtoMsg): _116.ContentHash_Graph; - toProto(message: _116.ContentHash_Graph): Uint8Array; - toProtoMsg(message: _116.ContentHash_Graph): _116.ContentHash_GraphProtoMsg; - }; - ContentHashes: { - encode(message: _116.ContentHashes, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _116.ContentHashes; - fromJSON(object: any): _116.ContentHashes; - toJSON(message: _116.ContentHashes): unknown; - fromPartial(object: Partial<_116.ContentHashes>): _116.ContentHashes; - fromAmino(object: _116.ContentHashesAmino): _116.ContentHashes; - toAmino(message: _116.ContentHashes): _116.ContentHashesAmino; - fromAminoMsg(object: _116.ContentHashesAminoMsg): _116.ContentHashes; - fromProtoMsg(message: _116.ContentHashesProtoMsg): _116.ContentHashes; - toProto(message: _116.ContentHashes): Uint8Array; - toProtoMsg(message: _116.ContentHashes): _116.ContentHashesProtoMsg; - }; - MsgAnchor: { - encode(message: _115.MsgAnchor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgAnchor; - fromJSON(object: any): _115.MsgAnchor; - toJSON(message: _115.MsgAnchor): unknown; - fromPartial(object: Partial<_115.MsgAnchor>): _115.MsgAnchor; - fromAmino(object: _115.MsgAnchorAmino): _115.MsgAnchor; - toAmino(message: _115.MsgAnchor): _115.MsgAnchorAmino; - fromAminoMsg(object: _115.MsgAnchorAminoMsg): _115.MsgAnchor; - toAminoMsg(message: _115.MsgAnchor): _115.MsgAnchorAminoMsg; - fromProtoMsg(message: _115.MsgAnchorProtoMsg): _115.MsgAnchor; - toProto(message: _115.MsgAnchor): Uint8Array; - toProtoMsg(message: _115.MsgAnchor): _115.MsgAnchorProtoMsg; - }; - MsgAnchorResponse: { - encode(message: _115.MsgAnchorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgAnchorResponse; - fromJSON(object: any): _115.MsgAnchorResponse; - toJSON(message: _115.MsgAnchorResponse): unknown; - fromPartial(object: Partial<_115.MsgAnchorResponse>): _115.MsgAnchorResponse; - fromAmino(object: _115.MsgAnchorResponseAmino): _115.MsgAnchorResponse; - toAmino(message: _115.MsgAnchorResponse): _115.MsgAnchorResponseAmino; - fromAminoMsg(object: _115.MsgAnchorResponseAminoMsg): _115.MsgAnchorResponse; - fromProtoMsg(message: _115.MsgAnchorResponseProtoMsg): _115.MsgAnchorResponse; - toProto(message: _115.MsgAnchorResponse): Uint8Array; - toProtoMsg(message: _115.MsgAnchorResponse): _115.MsgAnchorResponseProtoMsg; - }; - MsgAttest: { - encode(message: _115.MsgAttest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgAttest; - fromJSON(object: any): _115.MsgAttest; - toJSON(message: _115.MsgAttest): unknown; - fromPartial(object: Partial<_115.MsgAttest>): _115.MsgAttest; - fromAmino(object: _115.MsgAttestAmino): _115.MsgAttest; - toAmino(message: _115.MsgAttest): _115.MsgAttestAmino; - fromAminoMsg(object: _115.MsgAttestAminoMsg): _115.MsgAttest; - toAminoMsg(message: _115.MsgAttest): _115.MsgAttestAminoMsg; - fromProtoMsg(message: _115.MsgAttestProtoMsg): _115.MsgAttest; - toProto(message: _115.MsgAttest): Uint8Array; - toProtoMsg(message: _115.MsgAttest): _115.MsgAttestProtoMsg; - }; - MsgAttestResponse: { - encode(message: _115.MsgAttestResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgAttestResponse; - fromJSON(object: any): _115.MsgAttestResponse; - toJSON(message: _115.MsgAttestResponse): unknown; - fromPartial(object: Partial<_115.MsgAttestResponse>): _115.MsgAttestResponse; - fromAmino(object: _115.MsgAttestResponseAmino): _115.MsgAttestResponse; - toAmino(message: _115.MsgAttestResponse): _115.MsgAttestResponseAmino; - fromAminoMsg(object: _115.MsgAttestResponseAminoMsg): _115.MsgAttestResponse; - fromProtoMsg(message: _115.MsgAttestResponseProtoMsg): _115.MsgAttestResponse; - toProto(message: _115.MsgAttestResponse): Uint8Array; - toProtoMsg(message: _115.MsgAttestResponse): _115.MsgAttestResponseProtoMsg; - }; - MsgDefineResolver: { - encode(message: _115.MsgDefineResolver, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgDefineResolver; - fromJSON(object: any): _115.MsgDefineResolver; - toJSON(message: _115.MsgDefineResolver): unknown; - fromPartial(object: Partial<_115.MsgDefineResolver>): _115.MsgDefineResolver; - fromAmino(object: _115.MsgDefineResolverAmino): _115.MsgDefineResolver; - toAmino(message: _115.MsgDefineResolver): _115.MsgDefineResolverAmino; - fromAminoMsg(object: _115.MsgDefineResolverAminoMsg): _115.MsgDefineResolver; - toAminoMsg(message: _115.MsgDefineResolver): _115.MsgDefineResolverAminoMsg; - fromProtoMsg(message: _115.MsgDefineResolverProtoMsg): _115.MsgDefineResolver; - toProto(message: _115.MsgDefineResolver): Uint8Array; - toProtoMsg(message: _115.MsgDefineResolver): _115.MsgDefineResolverProtoMsg; - }; - MsgDefineResolverResponse: { - encode(message: _115.MsgDefineResolverResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgDefineResolverResponse; - fromJSON(object: any): _115.MsgDefineResolverResponse; - toJSON(message: _115.MsgDefineResolverResponse): unknown; - fromPartial(object: Partial<_115.MsgDefineResolverResponse>): _115.MsgDefineResolverResponse; - fromAmino(object: _115.MsgDefineResolverResponseAmino): _115.MsgDefineResolverResponse; - toAmino(message: _115.MsgDefineResolverResponse): _115.MsgDefineResolverResponseAmino; - fromAminoMsg(object: _115.MsgDefineResolverResponseAminoMsg): _115.MsgDefineResolverResponse; - fromProtoMsg(message: _115.MsgDefineResolverResponseProtoMsg): _115.MsgDefineResolverResponse; - toProto(message: _115.MsgDefineResolverResponse): Uint8Array; - toProtoMsg(message: _115.MsgDefineResolverResponse): _115.MsgDefineResolverResponseProtoMsg; - }; - MsgRegisterResolver: { - encode(message: _115.MsgRegisterResolver, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgRegisterResolver; - fromJSON(object: any): _115.MsgRegisterResolver; - toJSON(message: _115.MsgRegisterResolver): unknown; - fromPartial(object: Partial<_115.MsgRegisterResolver>): _115.MsgRegisterResolver; - fromAmino(object: _115.MsgRegisterResolverAmino): _115.MsgRegisterResolver; - toAmino(message: _115.MsgRegisterResolver): _115.MsgRegisterResolverAmino; - fromAminoMsg(object: _115.MsgRegisterResolverAminoMsg): _115.MsgRegisterResolver; - toAminoMsg(message: _115.MsgRegisterResolver): _115.MsgRegisterResolverAminoMsg; - fromProtoMsg(message: _115.MsgRegisterResolverProtoMsg): _115.MsgRegisterResolver; - toProto(message: _115.MsgRegisterResolver): Uint8Array; - toProtoMsg(message: _115.MsgRegisterResolver): _115.MsgRegisterResolverProtoMsg; - }; - MsgRegisterResolverResponse: { - encode(_: _115.MsgRegisterResolverResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _115.MsgRegisterResolverResponse; - fromJSON(_: any): _115.MsgRegisterResolverResponse; - toJSON(_: _115.MsgRegisterResolverResponse): unknown; - fromPartial(_: Partial<_115.MsgRegisterResolverResponse>): _115.MsgRegisterResolverResponse; - fromAmino(_: _115.MsgRegisterResolverResponseAmino): _115.MsgRegisterResolverResponse; - toAmino(_: _115.MsgRegisterResolverResponse): _115.MsgRegisterResolverResponseAmino; - fromAminoMsg(object: _115.MsgRegisterResolverResponseAminoMsg): _115.MsgRegisterResolverResponse; - fromProtoMsg(message: _115.MsgRegisterResolverResponseProtoMsg): _115.MsgRegisterResolverResponse; - toProto(message: _115.MsgRegisterResolverResponse): Uint8Array; - toProtoMsg(message: _115.MsgRegisterResolverResponse): _115.MsgRegisterResolverResponseProtoMsg; - }; - DataID: { - encode(message: _114.DataID, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _114.DataID; - fromJSON(object: any): _114.DataID; - toJSON(message: _114.DataID): unknown; - fromPartial(object: Partial<_114.DataID>): _114.DataID; - fromAmino(object: _114.DataIDAmino): _114.DataID; - toAmino(message: _114.DataID): _114.DataIDAmino; - fromAminoMsg(object: _114.DataIDAminoMsg): _114.DataID; - fromProtoMsg(message: _114.DataIDProtoMsg): _114.DataID; - toProto(message: _114.DataID): Uint8Array; - toProtoMsg(message: _114.DataID): _114.DataIDProtoMsg; - }; - DataAnchor: { - encode(message: _114.DataAnchor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _114.DataAnchor; - fromJSON(object: any): _114.DataAnchor; - toJSON(message: _114.DataAnchor): unknown; - fromPartial(object: Partial<_114.DataAnchor>): _114.DataAnchor; - fromAmino(object: _114.DataAnchorAmino): _114.DataAnchor; - toAmino(message: _114.DataAnchor): _114.DataAnchorAmino; - fromAminoMsg(object: _114.DataAnchorAminoMsg): _114.DataAnchor; - fromProtoMsg(message: _114.DataAnchorProtoMsg): _114.DataAnchor; - toProto(message: _114.DataAnchor): Uint8Array; - toProtoMsg(message: _114.DataAnchor): _114.DataAnchorProtoMsg; - }; - DataAttestor: { - encode(message: _114.DataAttestor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _114.DataAttestor; - fromJSON(object: any): _114.DataAttestor; - toJSON(message: _114.DataAttestor): unknown; - fromPartial(object: Partial<_114.DataAttestor>): _114.DataAttestor; - fromAmino(object: _114.DataAttestorAmino): _114.DataAttestor; - toAmino(message: _114.DataAttestor): _114.DataAttestorAmino; - fromAminoMsg(object: _114.DataAttestorAminoMsg): _114.DataAttestor; - fromProtoMsg(message: _114.DataAttestorProtoMsg): _114.DataAttestor; - toProto(message: _114.DataAttestor): Uint8Array; - toProtoMsg(message: _114.DataAttestor): _114.DataAttestorProtoMsg; - }; - Resolver: { - encode(message: _114.Resolver, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _114.Resolver; - fromJSON(object: any): _114.Resolver; - toJSON(message: _114.Resolver): unknown; - fromPartial(object: Partial<_114.Resolver>): _114.Resolver; - fromAmino(object: _114.ResolverAmino): _114.Resolver; - toAmino(message: _114.Resolver): _114.ResolverAmino; - fromAminoMsg(object: _114.ResolverAminoMsg): _114.Resolver; - fromProtoMsg(message: _114.ResolverProtoMsg): _114.Resolver; - toProto(message: _114.Resolver): Uint8Array; - toProtoMsg(message: _114.Resolver): _114.ResolverProtoMsg; - }; - DataResolver: { - encode(message: _114.DataResolver, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _114.DataResolver; - fromJSON(object: any): _114.DataResolver; - toJSON(message: _114.DataResolver): unknown; - fromPartial(object: Partial<_114.DataResolver>): _114.DataResolver; - fromAmino(object: _114.DataResolverAmino): _114.DataResolver; - toAmino(message: _114.DataResolver): _114.DataResolverAmino; - fromAminoMsg(object: _114.DataResolverAminoMsg): _114.DataResolver; - fromProtoMsg(message: _114.DataResolverProtoMsg): _114.DataResolver; - toProto(message: _114.DataResolver): Uint8Array; - toProtoMsg(message: _114.DataResolver): _114.DataResolverProtoMsg; - }; - QueryAnchorByIRIRequest: { - encode(message: _113.QueryAnchorByIRIRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAnchorByIRIRequest; - fromJSON(object: any): _113.QueryAnchorByIRIRequest; - toJSON(message: _113.QueryAnchorByIRIRequest): unknown; - fromPartial(object: Partial<_113.QueryAnchorByIRIRequest>): _113.QueryAnchorByIRIRequest; - fromAmino(object: _113.QueryAnchorByIRIRequestAmino): _113.QueryAnchorByIRIRequest; - toAmino(message: _113.QueryAnchorByIRIRequest): _113.QueryAnchorByIRIRequestAmino; - fromAminoMsg(object: _113.QueryAnchorByIRIRequestAminoMsg): _113.QueryAnchorByIRIRequest; - fromProtoMsg(message: _113.QueryAnchorByIRIRequestProtoMsg): _113.QueryAnchorByIRIRequest; - toProto(message: _113.QueryAnchorByIRIRequest): Uint8Array; - toProtoMsg(message: _113.QueryAnchorByIRIRequest): _113.QueryAnchorByIRIRequestProtoMsg; - }; - QueryAnchorByIRIResponse: { - encode(message: _113.QueryAnchorByIRIResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAnchorByIRIResponse; - fromJSON(object: any): _113.QueryAnchorByIRIResponse; - toJSON(message: _113.QueryAnchorByIRIResponse): unknown; - fromPartial(object: Partial<_113.QueryAnchorByIRIResponse>): _113.QueryAnchorByIRIResponse; - fromAmino(object: _113.QueryAnchorByIRIResponseAmino): _113.QueryAnchorByIRIResponse; - toAmino(message: _113.QueryAnchorByIRIResponse): _113.QueryAnchorByIRIResponseAmino; - fromAminoMsg(object: _113.QueryAnchorByIRIResponseAminoMsg): _113.QueryAnchorByIRIResponse; - fromProtoMsg(message: _113.QueryAnchorByIRIResponseProtoMsg): _113.QueryAnchorByIRIResponse; - toProto(message: _113.QueryAnchorByIRIResponse): Uint8Array; - toProtoMsg(message: _113.QueryAnchorByIRIResponse): _113.QueryAnchorByIRIResponseProtoMsg; - }; - QueryAnchorByHashRequest: { - encode(message: _113.QueryAnchorByHashRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAnchorByHashRequest; - fromJSON(object: any): _113.QueryAnchorByHashRequest; - toJSON(message: _113.QueryAnchorByHashRequest): unknown; - fromPartial(object: Partial<_113.QueryAnchorByHashRequest>): _113.QueryAnchorByHashRequest; - fromAmino(object: _113.QueryAnchorByHashRequestAmino): _113.QueryAnchorByHashRequest; - toAmino(message: _113.QueryAnchorByHashRequest): _113.QueryAnchorByHashRequestAmino; - fromAminoMsg(object: _113.QueryAnchorByHashRequestAminoMsg): _113.QueryAnchorByHashRequest; - fromProtoMsg(message: _113.QueryAnchorByHashRequestProtoMsg): _113.QueryAnchorByHashRequest; - toProto(message: _113.QueryAnchorByHashRequest): Uint8Array; - toProtoMsg(message: _113.QueryAnchorByHashRequest): _113.QueryAnchorByHashRequestProtoMsg; - }; - QueryAnchorByHashResponse: { - encode(message: _113.QueryAnchorByHashResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAnchorByHashResponse; - fromJSON(object: any): _113.QueryAnchorByHashResponse; - toJSON(message: _113.QueryAnchorByHashResponse): unknown; - fromPartial(object: Partial<_113.QueryAnchorByHashResponse>): _113.QueryAnchorByHashResponse; - fromAmino(object: _113.QueryAnchorByHashResponseAmino): _113.QueryAnchorByHashResponse; - toAmino(message: _113.QueryAnchorByHashResponse): _113.QueryAnchorByHashResponseAmino; - fromAminoMsg(object: _113.QueryAnchorByHashResponseAminoMsg): _113.QueryAnchorByHashResponse; - fromProtoMsg(message: _113.QueryAnchorByHashResponseProtoMsg): _113.QueryAnchorByHashResponse; - toProto(message: _113.QueryAnchorByHashResponse): Uint8Array; - toProtoMsg(message: _113.QueryAnchorByHashResponse): _113.QueryAnchorByHashResponseProtoMsg; - }; - QueryAttestationsByAttestorRequest: { - encode(message: _113.QueryAttestationsByAttestorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAttestationsByAttestorRequest; - fromJSON(object: any): _113.QueryAttestationsByAttestorRequest; - toJSON(message: _113.QueryAttestationsByAttestorRequest): unknown; - fromPartial(object: Partial<_113.QueryAttestationsByAttestorRequest>): _113.QueryAttestationsByAttestorRequest; - fromAmino(object: _113.QueryAttestationsByAttestorRequestAmino): _113.QueryAttestationsByAttestorRequest; - toAmino(message: _113.QueryAttestationsByAttestorRequest): _113.QueryAttestationsByAttestorRequestAmino; - fromAminoMsg(object: _113.QueryAttestationsByAttestorRequestAminoMsg): _113.QueryAttestationsByAttestorRequest; - fromProtoMsg(message: _113.QueryAttestationsByAttestorRequestProtoMsg): _113.QueryAttestationsByAttestorRequest; - toProto(message: _113.QueryAttestationsByAttestorRequest): Uint8Array; - toProtoMsg(message: _113.QueryAttestationsByAttestorRequest): _113.QueryAttestationsByAttestorRequestProtoMsg; - }; - QueryAttestationsByAttestorResponse: { - encode(message: _113.QueryAttestationsByAttestorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAttestationsByAttestorResponse; - fromJSON(object: any): _113.QueryAttestationsByAttestorResponse; - toJSON(message: _113.QueryAttestationsByAttestorResponse): unknown; - fromPartial(object: Partial<_113.QueryAttestationsByAttestorResponse>): _113.QueryAttestationsByAttestorResponse; - fromAmino(object: _113.QueryAttestationsByAttestorResponseAmino): _113.QueryAttestationsByAttestorResponse; - toAmino(message: _113.QueryAttestationsByAttestorResponse): _113.QueryAttestationsByAttestorResponseAmino; - fromAminoMsg(object: _113.QueryAttestationsByAttestorResponseAminoMsg): _113.QueryAttestationsByAttestorResponse; - fromProtoMsg(message: _113.QueryAttestationsByAttestorResponseProtoMsg): _113.QueryAttestationsByAttestorResponse; - toProto(message: _113.QueryAttestationsByAttestorResponse): Uint8Array; - toProtoMsg(message: _113.QueryAttestationsByAttestorResponse): _113.QueryAttestationsByAttestorResponseProtoMsg; - }; - QueryAttestationsByIRIRequest: { - encode(message: _113.QueryAttestationsByIRIRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAttestationsByIRIRequest; - fromJSON(object: any): _113.QueryAttestationsByIRIRequest; - toJSON(message: _113.QueryAttestationsByIRIRequest): unknown; - fromPartial(object: Partial<_113.QueryAttestationsByIRIRequest>): _113.QueryAttestationsByIRIRequest; - fromAmino(object: _113.QueryAttestationsByIRIRequestAmino): _113.QueryAttestationsByIRIRequest; - toAmino(message: _113.QueryAttestationsByIRIRequest): _113.QueryAttestationsByIRIRequestAmino; - fromAminoMsg(object: _113.QueryAttestationsByIRIRequestAminoMsg): _113.QueryAttestationsByIRIRequest; - fromProtoMsg(message: _113.QueryAttestationsByIRIRequestProtoMsg): _113.QueryAttestationsByIRIRequest; - toProto(message: _113.QueryAttestationsByIRIRequest): Uint8Array; - toProtoMsg(message: _113.QueryAttestationsByIRIRequest): _113.QueryAttestationsByIRIRequestProtoMsg; - }; - QueryAttestationsByIRIResponse: { - encode(message: _113.QueryAttestationsByIRIResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAttestationsByIRIResponse; - fromJSON(object: any): _113.QueryAttestationsByIRIResponse; - toJSON(message: _113.QueryAttestationsByIRIResponse): unknown; - fromPartial(object: Partial<_113.QueryAttestationsByIRIResponse>): _113.QueryAttestationsByIRIResponse; - fromAmino(object: _113.QueryAttestationsByIRIResponseAmino): _113.QueryAttestationsByIRIResponse; - toAmino(message: _113.QueryAttestationsByIRIResponse): _113.QueryAttestationsByIRIResponseAmino; - fromAminoMsg(object: _113.QueryAttestationsByIRIResponseAminoMsg): _113.QueryAttestationsByIRIResponse; - fromProtoMsg(message: _113.QueryAttestationsByIRIResponseProtoMsg): _113.QueryAttestationsByIRIResponse; - toProto(message: _113.QueryAttestationsByIRIResponse): Uint8Array; - toProtoMsg(message: _113.QueryAttestationsByIRIResponse): _113.QueryAttestationsByIRIResponseProtoMsg; - }; - QueryAttestationsByHashRequest: { - encode(message: _113.QueryAttestationsByHashRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAttestationsByHashRequest; - fromJSON(object: any): _113.QueryAttestationsByHashRequest; - toJSON(message: _113.QueryAttestationsByHashRequest): unknown; - fromPartial(object: Partial<_113.QueryAttestationsByHashRequest>): _113.QueryAttestationsByHashRequest; - fromAmino(object: _113.QueryAttestationsByHashRequestAmino): _113.QueryAttestationsByHashRequest; - toAmino(message: _113.QueryAttestationsByHashRequest): _113.QueryAttestationsByHashRequestAmino; - fromAminoMsg(object: _113.QueryAttestationsByHashRequestAminoMsg): _113.QueryAttestationsByHashRequest; - fromProtoMsg(message: _113.QueryAttestationsByHashRequestProtoMsg): _113.QueryAttestationsByHashRequest; - toProto(message: _113.QueryAttestationsByHashRequest): Uint8Array; - toProtoMsg(message: _113.QueryAttestationsByHashRequest): _113.QueryAttestationsByHashRequestProtoMsg; - }; - QueryAttestationsByHashResponse: { - encode(message: _113.QueryAttestationsByHashResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryAttestationsByHashResponse; - fromJSON(object: any): _113.QueryAttestationsByHashResponse; - toJSON(message: _113.QueryAttestationsByHashResponse): unknown; - fromPartial(object: Partial<_113.QueryAttestationsByHashResponse>): _113.QueryAttestationsByHashResponse; - fromAmino(object: _113.QueryAttestationsByHashResponseAmino): _113.QueryAttestationsByHashResponse; - toAmino(message: _113.QueryAttestationsByHashResponse): _113.QueryAttestationsByHashResponseAmino; - fromAminoMsg(object: _113.QueryAttestationsByHashResponseAminoMsg): _113.QueryAttestationsByHashResponse; - fromProtoMsg(message: _113.QueryAttestationsByHashResponseProtoMsg): _113.QueryAttestationsByHashResponse; - toProto(message: _113.QueryAttestationsByHashResponse): Uint8Array; - toProtoMsg(message: _113.QueryAttestationsByHashResponse): _113.QueryAttestationsByHashResponseProtoMsg; - }; - QueryResolverRequest: { - encode(message: _113.QueryResolverRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolverRequest; - fromJSON(object: any): _113.QueryResolverRequest; - toJSON(message: _113.QueryResolverRequest): unknown; - fromPartial(object: Partial<_113.QueryResolverRequest>): _113.QueryResolverRequest; - fromAmino(object: _113.QueryResolverRequestAmino): _113.QueryResolverRequest; - toAmino(message: _113.QueryResolverRequest): _113.QueryResolverRequestAmino; - fromAminoMsg(object: _113.QueryResolverRequestAminoMsg): _113.QueryResolverRequest; - fromProtoMsg(message: _113.QueryResolverRequestProtoMsg): _113.QueryResolverRequest; - toProto(message: _113.QueryResolverRequest): Uint8Array; - toProtoMsg(message: _113.QueryResolverRequest): _113.QueryResolverRequestProtoMsg; - }; - QueryResolverResponse: { - encode(message: _113.QueryResolverResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolverResponse; - fromJSON(object: any): _113.QueryResolverResponse; - toJSON(message: _113.QueryResolverResponse): unknown; - fromPartial(object: Partial<_113.QueryResolverResponse>): _113.QueryResolverResponse; - fromAmino(object: _113.QueryResolverResponseAmino): _113.QueryResolverResponse; - toAmino(message: _113.QueryResolverResponse): _113.QueryResolverResponseAmino; - fromAminoMsg(object: _113.QueryResolverResponseAminoMsg): _113.QueryResolverResponse; - fromProtoMsg(message: _113.QueryResolverResponseProtoMsg): _113.QueryResolverResponse; - toProto(message: _113.QueryResolverResponse): Uint8Array; - toProtoMsg(message: _113.QueryResolverResponse): _113.QueryResolverResponseProtoMsg; - }; - QueryResolversByIRIRequest: { - encode(message: _113.QueryResolversByIRIRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolversByIRIRequest; - fromJSON(object: any): _113.QueryResolversByIRIRequest; - toJSON(message: _113.QueryResolversByIRIRequest): unknown; - fromPartial(object: Partial<_113.QueryResolversByIRIRequest>): _113.QueryResolversByIRIRequest; - fromAmino(object: _113.QueryResolversByIRIRequestAmino): _113.QueryResolversByIRIRequest; - toAmino(message: _113.QueryResolversByIRIRequest): _113.QueryResolversByIRIRequestAmino; - fromAminoMsg(object: _113.QueryResolversByIRIRequestAminoMsg): _113.QueryResolversByIRIRequest; - fromProtoMsg(message: _113.QueryResolversByIRIRequestProtoMsg): _113.QueryResolversByIRIRequest; - toProto(message: _113.QueryResolversByIRIRequest): Uint8Array; - toProtoMsg(message: _113.QueryResolversByIRIRequest): _113.QueryResolversByIRIRequestProtoMsg; - }; - QueryResolversByIRIResponse: { - encode(message: _113.QueryResolversByIRIResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolversByIRIResponse; - fromJSON(object: any): _113.QueryResolversByIRIResponse; - toJSON(message: _113.QueryResolversByIRIResponse): unknown; - fromPartial(object: Partial<_113.QueryResolversByIRIResponse>): _113.QueryResolversByIRIResponse; - fromAmino(object: _113.QueryResolversByIRIResponseAmino): _113.QueryResolversByIRIResponse; - toAmino(message: _113.QueryResolversByIRIResponse): _113.QueryResolversByIRIResponseAmino; - fromAminoMsg(object: _113.QueryResolversByIRIResponseAminoMsg): _113.QueryResolversByIRIResponse; - fromProtoMsg(message: _113.QueryResolversByIRIResponseProtoMsg): _113.QueryResolversByIRIResponse; - toProto(message: _113.QueryResolversByIRIResponse): Uint8Array; - toProtoMsg(message: _113.QueryResolversByIRIResponse): _113.QueryResolversByIRIResponseProtoMsg; - }; - QueryResolversByHashRequest: { - encode(message: _113.QueryResolversByHashRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolversByHashRequest; - fromJSON(object: any): _113.QueryResolversByHashRequest; - toJSON(message: _113.QueryResolversByHashRequest): unknown; - fromPartial(object: Partial<_113.QueryResolversByHashRequest>): _113.QueryResolversByHashRequest; - fromAmino(object: _113.QueryResolversByHashRequestAmino): _113.QueryResolversByHashRequest; - toAmino(message: _113.QueryResolversByHashRequest): _113.QueryResolversByHashRequestAmino; - fromAminoMsg(object: _113.QueryResolversByHashRequestAminoMsg): _113.QueryResolversByHashRequest; - fromProtoMsg(message: _113.QueryResolversByHashRequestProtoMsg): _113.QueryResolversByHashRequest; - toProto(message: _113.QueryResolversByHashRequest): Uint8Array; - toProtoMsg(message: _113.QueryResolversByHashRequest): _113.QueryResolversByHashRequestProtoMsg; - }; - QueryResolversByHashResponse: { - encode(message: _113.QueryResolversByHashResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolversByHashResponse; - fromJSON(object: any): _113.QueryResolversByHashResponse; - toJSON(message: _113.QueryResolversByHashResponse): unknown; - fromPartial(object: Partial<_113.QueryResolversByHashResponse>): _113.QueryResolversByHashResponse; - fromAmino(object: _113.QueryResolversByHashResponseAmino): _113.QueryResolversByHashResponse; - toAmino(message: _113.QueryResolversByHashResponse): _113.QueryResolversByHashResponseAmino; - fromAminoMsg(object: _113.QueryResolversByHashResponseAminoMsg): _113.QueryResolversByHashResponse; - fromProtoMsg(message: _113.QueryResolversByHashResponseProtoMsg): _113.QueryResolversByHashResponse; - toProto(message: _113.QueryResolversByHashResponse): Uint8Array; - toProtoMsg(message: _113.QueryResolversByHashResponse): _113.QueryResolversByHashResponseProtoMsg; - }; - QueryResolversByURLRequest: { - encode(message: _113.QueryResolversByURLRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolversByURLRequest; - fromJSON(object: any): _113.QueryResolversByURLRequest; - toJSON(message: _113.QueryResolversByURLRequest): unknown; - fromPartial(object: Partial<_113.QueryResolversByURLRequest>): _113.QueryResolversByURLRequest; - fromAmino(object: _113.QueryResolversByURLRequestAmino): _113.QueryResolversByURLRequest; - toAmino(message: _113.QueryResolversByURLRequest): _113.QueryResolversByURLRequestAmino; - fromAminoMsg(object: _113.QueryResolversByURLRequestAminoMsg): _113.QueryResolversByURLRequest; - fromProtoMsg(message: _113.QueryResolversByURLRequestProtoMsg): _113.QueryResolversByURLRequest; - toProto(message: _113.QueryResolversByURLRequest): Uint8Array; - toProtoMsg(message: _113.QueryResolversByURLRequest): _113.QueryResolversByURLRequestProtoMsg; - }; - QueryResolversByURLResponse: { - encode(message: _113.QueryResolversByURLResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.QueryResolversByURLResponse; - fromJSON(object: any): _113.QueryResolversByURLResponse; - toJSON(message: _113.QueryResolversByURLResponse): unknown; - fromPartial(object: Partial<_113.QueryResolversByURLResponse>): _113.QueryResolversByURLResponse; - fromAmino(object: _113.QueryResolversByURLResponseAmino): _113.QueryResolversByURLResponse; - toAmino(message: _113.QueryResolversByURLResponse): _113.QueryResolversByURLResponseAmino; - fromAminoMsg(object: _113.QueryResolversByURLResponseAminoMsg): _113.QueryResolversByURLResponse; - fromProtoMsg(message: _113.QueryResolversByURLResponseProtoMsg): _113.QueryResolversByURLResponse; - toProto(message: _113.QueryResolversByURLResponse): Uint8Array; - toProtoMsg(message: _113.QueryResolversByURLResponse): _113.QueryResolversByURLResponseProtoMsg; - }; - ConvertIRIToHashRequest: { - encode(message: _113.ConvertIRIToHashRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.ConvertIRIToHashRequest; - fromJSON(object: any): _113.ConvertIRIToHashRequest; - toJSON(message: _113.ConvertIRIToHashRequest): unknown; - fromPartial(object: Partial<_113.ConvertIRIToHashRequest>): _113.ConvertIRIToHashRequest; - fromAmino(object: _113.ConvertIRIToHashRequestAmino): _113.ConvertIRIToHashRequest; - toAmino(message: _113.ConvertIRIToHashRequest): _113.ConvertIRIToHashRequestAmino; - fromAminoMsg(object: _113.ConvertIRIToHashRequestAminoMsg): _113.ConvertIRIToHashRequest; - fromProtoMsg(message: _113.ConvertIRIToHashRequestProtoMsg): _113.ConvertIRIToHashRequest; - toProto(message: _113.ConvertIRIToHashRequest): Uint8Array; - toProtoMsg(message: _113.ConvertIRIToHashRequest): _113.ConvertIRIToHashRequestProtoMsg; - }; - ConvertIRIToHashResponse: { - encode(message: _113.ConvertIRIToHashResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.ConvertIRIToHashResponse; - fromJSON(object: any): _113.ConvertIRIToHashResponse; - toJSON(message: _113.ConvertIRIToHashResponse): unknown; - fromPartial(object: Partial<_113.ConvertIRIToHashResponse>): _113.ConvertIRIToHashResponse; - fromAmino(object: _113.ConvertIRIToHashResponseAmino): _113.ConvertIRIToHashResponse; - toAmino(message: _113.ConvertIRIToHashResponse): _113.ConvertIRIToHashResponseAmino; - fromAminoMsg(object: _113.ConvertIRIToHashResponseAminoMsg): _113.ConvertIRIToHashResponse; - fromProtoMsg(message: _113.ConvertIRIToHashResponseProtoMsg): _113.ConvertIRIToHashResponse; - toProto(message: _113.ConvertIRIToHashResponse): Uint8Array; - toProtoMsg(message: _113.ConvertIRIToHashResponse): _113.ConvertIRIToHashResponseProtoMsg; - }; - ConvertHashToIRIRequest: { - encode(message: _113.ConvertHashToIRIRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.ConvertHashToIRIRequest; - fromJSON(object: any): _113.ConvertHashToIRIRequest; - toJSON(message: _113.ConvertHashToIRIRequest): unknown; - fromPartial(object: Partial<_113.ConvertHashToIRIRequest>): _113.ConvertHashToIRIRequest; - fromAmino(object: _113.ConvertHashToIRIRequestAmino): _113.ConvertHashToIRIRequest; - toAmino(message: _113.ConvertHashToIRIRequest): _113.ConvertHashToIRIRequestAmino; - fromAminoMsg(object: _113.ConvertHashToIRIRequestAminoMsg): _113.ConvertHashToIRIRequest; - fromProtoMsg(message: _113.ConvertHashToIRIRequestProtoMsg): _113.ConvertHashToIRIRequest; - toProto(message: _113.ConvertHashToIRIRequest): Uint8Array; - toProtoMsg(message: _113.ConvertHashToIRIRequest): _113.ConvertHashToIRIRequestProtoMsg; - }; - ConvertHashToIRIResponse: { - encode(message: _113.ConvertHashToIRIResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.ConvertHashToIRIResponse; - fromJSON(object: any): _113.ConvertHashToIRIResponse; - toJSON(message: _113.ConvertHashToIRIResponse): unknown; - fromPartial(object: Partial<_113.ConvertHashToIRIResponse>): _113.ConvertHashToIRIResponse; - fromAmino(object: _113.ConvertHashToIRIResponseAmino): _113.ConvertHashToIRIResponse; - toAmino(message: _113.ConvertHashToIRIResponse): _113.ConvertHashToIRIResponseAmino; - fromAminoMsg(object: _113.ConvertHashToIRIResponseAminoMsg): _113.ConvertHashToIRIResponse; - fromProtoMsg(message: _113.ConvertHashToIRIResponseProtoMsg): _113.ConvertHashToIRIResponse; - toProto(message: _113.ConvertHashToIRIResponse): Uint8Array; - toProtoMsg(message: _113.ConvertHashToIRIResponse): _113.ConvertHashToIRIResponseProtoMsg; - }; - AnchorInfo: { - encode(message: _113.AnchorInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.AnchorInfo; - fromJSON(object: any): _113.AnchorInfo; - toJSON(message: _113.AnchorInfo): unknown; - fromPartial(object: Partial<_113.AnchorInfo>): _113.AnchorInfo; - fromAmino(object: _113.AnchorInfoAmino): _113.AnchorInfo; - toAmino(message: _113.AnchorInfo): _113.AnchorInfoAmino; - fromAminoMsg(object: _113.AnchorInfoAminoMsg): _113.AnchorInfo; - fromProtoMsg(message: _113.AnchorInfoProtoMsg): _113.AnchorInfo; - toProto(message: _113.AnchorInfo): Uint8Array; - toProtoMsg(message: _113.AnchorInfo): _113.AnchorInfoProtoMsg; - }; - AttestationInfo: { - encode(message: _113.AttestationInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.AttestationInfo; - fromJSON(object: any): _113.AttestationInfo; - toJSON(message: _113.AttestationInfo): unknown; - fromPartial(object: Partial<_113.AttestationInfo>): _113.AttestationInfo; - fromAmino(object: _113.AttestationInfoAmino): _113.AttestationInfo; - toAmino(message: _113.AttestationInfo): _113.AttestationInfoAmino; - fromAminoMsg(object: _113.AttestationInfoAminoMsg): _113.AttestationInfo; - fromProtoMsg(message: _113.AttestationInfoProtoMsg): _113.AttestationInfo; - toProto(message: _113.AttestationInfo): Uint8Array; - toProtoMsg(message: _113.AttestationInfo): _113.AttestationInfoProtoMsg; - }; - ResolverInfo: { - encode(message: _113.ResolverInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _113.ResolverInfo; - fromJSON(object: any): _113.ResolverInfo; - toJSON(message: _113.ResolverInfo): unknown; - fromPartial(object: Partial<_113.ResolverInfo>): _113.ResolverInfo; - fromAmino(object: _113.ResolverInfoAmino): _113.ResolverInfo; - toAmino(message: _113.ResolverInfo): _113.ResolverInfoAmino; - fromAminoMsg(object: _113.ResolverInfoAminoMsg): _113.ResolverInfo; - fromProtoMsg(message: _113.ResolverInfoProtoMsg): _113.ResolverInfo; - toProto(message: _113.ResolverInfo): Uint8Array; - toProtoMsg(message: _113.ResolverInfo): _113.ResolverInfoProtoMsg; - }; - EventAnchor: { - encode(message: _112.EventAnchor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _112.EventAnchor; - fromJSON(object: any): _112.EventAnchor; - toJSON(message: _112.EventAnchor): unknown; - fromPartial(object: Partial<_112.EventAnchor>): _112.EventAnchor; - fromAmino(object: _112.EventAnchorAmino): _112.EventAnchor; - toAmino(message: _112.EventAnchor): _112.EventAnchorAmino; - fromAminoMsg(object: _112.EventAnchorAminoMsg): _112.EventAnchor; - fromProtoMsg(message: _112.EventAnchorProtoMsg): _112.EventAnchor; - toProto(message: _112.EventAnchor): Uint8Array; - toProtoMsg(message: _112.EventAnchor): _112.EventAnchorProtoMsg; - }; - EventAttest: { - encode(message: _112.EventAttest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _112.EventAttest; - fromJSON(object: any): _112.EventAttest; - toJSON(message: _112.EventAttest): unknown; - fromPartial(object: Partial<_112.EventAttest>): _112.EventAttest; - fromAmino(object: _112.EventAttestAmino): _112.EventAttest; - toAmino(message: _112.EventAttest): _112.EventAttestAmino; - fromAminoMsg(object: _112.EventAttestAminoMsg): _112.EventAttest; - fromProtoMsg(message: _112.EventAttestProtoMsg): _112.EventAttest; - toProto(message: _112.EventAttest): Uint8Array; - toProtoMsg(message: _112.EventAttest): _112.EventAttestProtoMsg; - }; - EventDefineResolver: { - encode(message: _112.EventDefineResolver, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _112.EventDefineResolver; - fromJSON(object: any): _112.EventDefineResolver; - toJSON(message: _112.EventDefineResolver): unknown; - fromPartial(object: Partial<_112.EventDefineResolver>): _112.EventDefineResolver; - fromAmino(object: _112.EventDefineResolverAmino): _112.EventDefineResolver; - toAmino(message: _112.EventDefineResolver): _112.EventDefineResolverAmino; - fromAminoMsg(object: _112.EventDefineResolverAminoMsg): _112.EventDefineResolver; - fromProtoMsg(message: _112.EventDefineResolverProtoMsg): _112.EventDefineResolver; - toProto(message: _112.EventDefineResolver): Uint8Array; - toProtoMsg(message: _112.EventDefineResolver): _112.EventDefineResolverProtoMsg; - }; - EventRegisterResolver: { - encode(message: _112.EventRegisterResolver, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _112.EventRegisterResolver; - fromJSON(object: any): _112.EventRegisterResolver; - toJSON(message: _112.EventRegisterResolver): unknown; - fromPartial(object: Partial<_112.EventRegisterResolver>): _112.EventRegisterResolver; - fromAmino(object: _112.EventRegisterResolverAmino): _112.EventRegisterResolver; - toAmino(message: _112.EventRegisterResolver): _112.EventRegisterResolverAmino; - fromAminoMsg(object: _112.EventRegisterResolverAminoMsg): _112.EventRegisterResolver; - fromProtoMsg(message: _112.EventRegisterResolverProtoMsg): _112.EventRegisterResolver; - toProto(message: _112.EventRegisterResolver): Uint8Array; - toProtoMsg(message: _112.EventRegisterResolver): _112.EventRegisterResolverProtoMsg; - }; - }; - } - namespace ecocredit { - namespace basket { - const v1: { - MsgClientImpl: typeof _265.MsgClientImpl; - QueryClientImpl: typeof _259.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - basket(request: _118.QueryBasketRequest): Promise<_118.QueryBasketResponse>; - baskets(request?: _118.QueryBasketsRequest | undefined): Promise<_118.QueryBasketsResponse>; - basketBalances(request: _118.QueryBasketBalancesRequest): Promise<_118.QueryBasketBalancesResponse>; - basketBalance(request: _118.QueryBasketBalanceRequest): Promise<_118.QueryBasketBalanceResponse>; - basketFee(request?: _118.QueryBasketFeeRequest | undefined): Promise<_118.QueryBasketFeeResponse>; - }; - LCDQueryClient: typeof _253.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - create(value: _120.MsgCreate): { - typeUrl: string; - value: Uint8Array; - }; - put(value: _120.MsgPut): { - typeUrl: string; - value: Uint8Array; - }; - take(value: _120.MsgTake): { - typeUrl: string; - value: Uint8Array; - }; - updateBasketFee(value: _120.MsgUpdateBasketFee): { - typeUrl: string; - value: Uint8Array; - }; - updateCurator(value: _120.MsgUpdateCurator): { - typeUrl: string; - value: Uint8Array; - }; - updateDateCriteria(value: _120.MsgUpdateDateCriteria): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - create(value: _120.MsgCreate): { - typeUrl: string; - value: _120.MsgCreate; - }; - put(value: _120.MsgPut): { - typeUrl: string; - value: _120.MsgPut; - }; - take(value: _120.MsgTake): { - typeUrl: string; - value: _120.MsgTake; - }; - updateBasketFee(value: _120.MsgUpdateBasketFee): { - typeUrl: string; - value: _120.MsgUpdateBasketFee; - }; - updateCurator(value: _120.MsgUpdateCurator): { - typeUrl: string; - value: _120.MsgUpdateCurator; - }; - updateDateCriteria(value: _120.MsgUpdateDateCriteria): { - typeUrl: string; - value: _120.MsgUpdateDateCriteria; - }; - }; - toJSON: { - create(value: _120.MsgCreate): { - typeUrl: string; - value: unknown; - }; - put(value: _120.MsgPut): { - typeUrl: string; - value: unknown; - }; - take(value: _120.MsgTake): { - typeUrl: string; - value: unknown; - }; - updateBasketFee(value: _120.MsgUpdateBasketFee): { - typeUrl: string; - value: unknown; - }; - updateCurator(value: _120.MsgUpdateCurator): { - typeUrl: string; - value: unknown; - }; - updateDateCriteria(value: _120.MsgUpdateDateCriteria): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - create(value: any): { - typeUrl: string; - value: _120.MsgCreate; - }; - put(value: any): { - typeUrl: string; - value: _120.MsgPut; - }; - take(value: any): { - typeUrl: string; - value: _120.MsgTake; - }; - updateBasketFee(value: any): { - typeUrl: string; - value: _120.MsgUpdateBasketFee; - }; - updateCurator(value: any): { - typeUrl: string; - value: _120.MsgUpdateCurator; - }; - updateDateCriteria(value: any): { - typeUrl: string; - value: _120.MsgUpdateDateCriteria; - }; - }; - fromPartial: { - create(value: _120.MsgCreate): { - typeUrl: string; - value: _120.MsgCreate; - }; - put(value: _120.MsgPut): { - typeUrl: string; - value: _120.MsgPut; - }; - take(value: _120.MsgTake): { - typeUrl: string; - value: _120.MsgTake; - }; - updateBasketFee(value: _120.MsgUpdateBasketFee): { - typeUrl: string; - value: _120.MsgUpdateBasketFee; - }; - updateCurator(value: _120.MsgUpdateCurator): { - typeUrl: string; - value: _120.MsgUpdateCurator; - }; - updateDateCriteria(value: _120.MsgUpdateDateCriteria): { - typeUrl: string; - value: _120.MsgUpdateDateCriteria; - }; - }; - }; - AminoConverter: { - "/regen.ecocredit.basket.v1.MsgCreate": { - aminoType: string; - toAmino: (message: _120.MsgCreate) => _120.MsgCreateAmino; - fromAmino: (object: _120.MsgCreateAmino) => _120.MsgCreate; - }; - "/regen.ecocredit.basket.v1.MsgPut": { - aminoType: string; - toAmino: (message: _120.MsgPut) => _120.MsgPutAmino; - fromAmino: (object: _120.MsgPutAmino) => _120.MsgPut; - }; - "/regen.ecocredit.basket.v1.MsgTake": { - aminoType: string; - toAmino: (message: _120.MsgTake) => _120.MsgTakeAmino; - fromAmino: (object: _120.MsgTakeAmino) => _120.MsgTake; - }; - "/regen.ecocredit.basket.v1.MsgUpdateBasketFee": { - aminoType: string; - toAmino: (message: _120.MsgUpdateBasketFee) => _120.MsgUpdateBasketFeeAmino; - fromAmino: (object: _120.MsgUpdateBasketFeeAmino) => _120.MsgUpdateBasketFee; - }; - "/regen.ecocredit.basket.v1.MsgUpdateCurator": { - aminoType: string; - toAmino: (message: _120.MsgUpdateCurator) => _120.MsgUpdateCuratorAmino; - fromAmino: (object: _120.MsgUpdateCuratorAmino) => _120.MsgUpdateCurator; - }; - "/regen.ecocredit.basket.v1.MsgUpdateDateCriteria": { - aminoType: string; - toAmino: (message: _120.MsgUpdateDateCriteria) => _120.MsgUpdateDateCriteriaAmino; - fromAmino: (object: _120.MsgUpdateDateCriteriaAmino) => _120.MsgUpdateDateCriteria; - }; - }; - BasketCredit: { - encode(message: _121.BasketCredit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _121.BasketCredit; - fromJSON(object: any): _121.BasketCredit; - toJSON(message: _121.BasketCredit): unknown; - fromPartial(object: Partial<_121.BasketCredit>): _121.BasketCredit; - fromAmino(object: _121.BasketCreditAmino): _121.BasketCredit; - toAmino(message: _121.BasketCredit): _121.BasketCreditAmino; - fromAminoMsg(object: _121.BasketCreditAminoMsg): _121.BasketCredit; - fromProtoMsg(message: _121.BasketCreditProtoMsg): _121.BasketCredit; - toProto(message: _121.BasketCredit): Uint8Array; - toProtoMsg(message: _121.BasketCredit): _121.BasketCreditProtoMsg; - }; - DateCriteria: { - encode(message: _121.DateCriteria, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _121.DateCriteria; - fromJSON(object: any): _121.DateCriteria; - toJSON(message: _121.DateCriteria): unknown; - fromPartial(object: Partial<_121.DateCriteria>): _121.DateCriteria; - fromAmino(object: _121.DateCriteriaAmino): _121.DateCriteria; - toAmino(message: _121.DateCriteria): _121.DateCriteriaAmino; - fromAminoMsg(object: _121.DateCriteriaAminoMsg): _121.DateCriteria; - fromProtoMsg(message: _121.DateCriteriaProtoMsg): _121.DateCriteria; - toProto(message: _121.DateCriteria): Uint8Array; - toProtoMsg(message: _121.DateCriteria): _121.DateCriteriaProtoMsg; - }; - MsgCreate: { - encode(message: _120.MsgCreate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgCreate; - fromJSON(object: any): _120.MsgCreate; - toJSON(message: _120.MsgCreate): unknown; - fromPartial(object: Partial<_120.MsgCreate>): _120.MsgCreate; - fromAmino(object: _120.MsgCreateAmino): _120.MsgCreate; - toAmino(message: _120.MsgCreate): _120.MsgCreateAmino; - fromAminoMsg(object: _120.MsgCreateAminoMsg): _120.MsgCreate; - toAminoMsg(message: _120.MsgCreate): _120.MsgCreateAminoMsg; - fromProtoMsg(message: _120.MsgCreateProtoMsg): _120.MsgCreate; - toProto(message: _120.MsgCreate): Uint8Array; - toProtoMsg(message: _120.MsgCreate): _120.MsgCreateProtoMsg; - }; - MsgCreateResponse: { - encode(message: _120.MsgCreateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgCreateResponse; - fromJSON(object: any): _120.MsgCreateResponse; - toJSON(message: _120.MsgCreateResponse): unknown; - fromPartial(object: Partial<_120.MsgCreateResponse>): _120.MsgCreateResponse; - fromAmino(object: _120.MsgCreateResponseAmino): _120.MsgCreateResponse; - toAmino(message: _120.MsgCreateResponse): _120.MsgCreateResponseAmino; - fromAminoMsg(object: _120.MsgCreateResponseAminoMsg): _120.MsgCreateResponse; - fromProtoMsg(message: _120.MsgCreateResponseProtoMsg): _120.MsgCreateResponse; - toProto(message: _120.MsgCreateResponse): Uint8Array; - toProtoMsg(message: _120.MsgCreateResponse): _120.MsgCreateResponseProtoMsg; - }; - MsgPut: { - encode(message: _120.MsgPut, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgPut; - fromJSON(object: any): _120.MsgPut; - toJSON(message: _120.MsgPut): unknown; - fromPartial(object: Partial<_120.MsgPut>): _120.MsgPut; - fromAmino(object: _120.MsgPutAmino): _120.MsgPut; - toAmino(message: _120.MsgPut): _120.MsgPutAmino; - fromAminoMsg(object: _120.MsgPutAminoMsg): _120.MsgPut; - toAminoMsg(message: _120.MsgPut): _120.MsgPutAminoMsg; - fromProtoMsg(message: _120.MsgPutProtoMsg): _120.MsgPut; - toProto(message: _120.MsgPut): Uint8Array; - toProtoMsg(message: _120.MsgPut): _120.MsgPutProtoMsg; - }; - MsgPutResponse: { - encode(message: _120.MsgPutResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgPutResponse; - fromJSON(object: any): _120.MsgPutResponse; - toJSON(message: _120.MsgPutResponse): unknown; - fromPartial(object: Partial<_120.MsgPutResponse>): _120.MsgPutResponse; - fromAmino(object: _120.MsgPutResponseAmino): _120.MsgPutResponse; - toAmino(message: _120.MsgPutResponse): _120.MsgPutResponseAmino; - fromAminoMsg(object: _120.MsgPutResponseAminoMsg): _120.MsgPutResponse; - fromProtoMsg(message: _120.MsgPutResponseProtoMsg): _120.MsgPutResponse; - toProto(message: _120.MsgPutResponse): Uint8Array; - toProtoMsg(message: _120.MsgPutResponse): _120.MsgPutResponseProtoMsg; - }; - MsgTake: { - encode(message: _120.MsgTake, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgTake; - fromJSON(object: any): _120.MsgTake; - toJSON(message: _120.MsgTake): unknown; - fromPartial(object: Partial<_120.MsgTake>): _120.MsgTake; - fromAmino(object: _120.MsgTakeAmino): _120.MsgTake; - toAmino(message: _120.MsgTake): _120.MsgTakeAmino; - fromAminoMsg(object: _120.MsgTakeAminoMsg): _120.MsgTake; - toAminoMsg(message: _120.MsgTake): _120.MsgTakeAminoMsg; - fromProtoMsg(message: _120.MsgTakeProtoMsg): _120.MsgTake; - toProto(message: _120.MsgTake): Uint8Array; - toProtoMsg(message: _120.MsgTake): _120.MsgTakeProtoMsg; - }; - MsgTakeResponse: { - encode(message: _120.MsgTakeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgTakeResponse; - fromJSON(object: any): _120.MsgTakeResponse; - toJSON(message: _120.MsgTakeResponse): unknown; - fromPartial(object: Partial<_120.MsgTakeResponse>): _120.MsgTakeResponse; - fromAmino(object: _120.MsgTakeResponseAmino): _120.MsgTakeResponse; - toAmino(message: _120.MsgTakeResponse): _120.MsgTakeResponseAmino; - fromAminoMsg(object: _120.MsgTakeResponseAminoMsg): _120.MsgTakeResponse; - fromProtoMsg(message: _120.MsgTakeResponseProtoMsg): _120.MsgTakeResponse; - toProto(message: _120.MsgTakeResponse): Uint8Array; - toProtoMsg(message: _120.MsgTakeResponse): _120.MsgTakeResponseProtoMsg; - }; - MsgUpdateBasketFee: { - encode(message: _120.MsgUpdateBasketFee, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgUpdateBasketFee; - fromJSON(object: any): _120.MsgUpdateBasketFee; - toJSON(message: _120.MsgUpdateBasketFee): unknown; - fromPartial(object: Partial<_120.MsgUpdateBasketFee>): _120.MsgUpdateBasketFee; - fromAmino(object: _120.MsgUpdateBasketFeeAmino): _120.MsgUpdateBasketFee; - toAmino(message: _120.MsgUpdateBasketFee): _120.MsgUpdateBasketFeeAmino; - fromAminoMsg(object: _120.MsgUpdateBasketFeeAminoMsg): _120.MsgUpdateBasketFee; - toAminoMsg(message: _120.MsgUpdateBasketFee): _120.MsgUpdateBasketFeeAminoMsg; - fromProtoMsg(message: _120.MsgUpdateBasketFeeProtoMsg): _120.MsgUpdateBasketFee; - toProto(message: _120.MsgUpdateBasketFee): Uint8Array; - toProtoMsg(message: _120.MsgUpdateBasketFee): _120.MsgUpdateBasketFeeProtoMsg; - }; - MsgUpdateBasketFeeResponse: { - encode(_: _120.MsgUpdateBasketFeeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgUpdateBasketFeeResponse; - fromJSON(_: any): _120.MsgUpdateBasketFeeResponse; - toJSON(_: _120.MsgUpdateBasketFeeResponse): unknown; - fromPartial(_: Partial<_120.MsgUpdateBasketFeeResponse>): _120.MsgUpdateBasketFeeResponse; - fromAmino(_: _120.MsgUpdateBasketFeeResponseAmino): _120.MsgUpdateBasketFeeResponse; - toAmino(_: _120.MsgUpdateBasketFeeResponse): _120.MsgUpdateBasketFeeResponseAmino; - fromAminoMsg(object: _120.MsgUpdateBasketFeeResponseAminoMsg): _120.MsgUpdateBasketFeeResponse; - fromProtoMsg(message: _120.MsgUpdateBasketFeeResponseProtoMsg): _120.MsgUpdateBasketFeeResponse; - toProto(message: _120.MsgUpdateBasketFeeResponse): Uint8Array; - toProtoMsg(message: _120.MsgUpdateBasketFeeResponse): _120.MsgUpdateBasketFeeResponseProtoMsg; - }; - MsgUpdateCurator: { - encode(message: _120.MsgUpdateCurator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgUpdateCurator; - fromJSON(object: any): _120.MsgUpdateCurator; - toJSON(message: _120.MsgUpdateCurator): unknown; - fromPartial(object: Partial<_120.MsgUpdateCurator>): _120.MsgUpdateCurator; - fromAmino(object: _120.MsgUpdateCuratorAmino): _120.MsgUpdateCurator; - toAmino(message: _120.MsgUpdateCurator): _120.MsgUpdateCuratorAmino; - fromAminoMsg(object: _120.MsgUpdateCuratorAminoMsg): _120.MsgUpdateCurator; - toAminoMsg(message: _120.MsgUpdateCurator): _120.MsgUpdateCuratorAminoMsg; - fromProtoMsg(message: _120.MsgUpdateCuratorProtoMsg): _120.MsgUpdateCurator; - toProto(message: _120.MsgUpdateCurator): Uint8Array; - toProtoMsg(message: _120.MsgUpdateCurator): _120.MsgUpdateCuratorProtoMsg; - }; - MsgUpdateCuratorResponse: { - encode(_: _120.MsgUpdateCuratorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgUpdateCuratorResponse; - fromJSON(_: any): _120.MsgUpdateCuratorResponse; - toJSON(_: _120.MsgUpdateCuratorResponse): unknown; - fromPartial(_: Partial<_120.MsgUpdateCuratorResponse>): _120.MsgUpdateCuratorResponse; - fromAmino(_: _120.MsgUpdateCuratorResponseAmino): _120.MsgUpdateCuratorResponse; - toAmino(_: _120.MsgUpdateCuratorResponse): _120.MsgUpdateCuratorResponseAmino; - fromAminoMsg(object: _120.MsgUpdateCuratorResponseAminoMsg): _120.MsgUpdateCuratorResponse; - fromProtoMsg(message: _120.MsgUpdateCuratorResponseProtoMsg): _120.MsgUpdateCuratorResponse; - toProto(message: _120.MsgUpdateCuratorResponse): Uint8Array; - toProtoMsg(message: _120.MsgUpdateCuratorResponse): _120.MsgUpdateCuratorResponseProtoMsg; - }; - MsgUpdateDateCriteria: { - encode(message: _120.MsgUpdateDateCriteria, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgUpdateDateCriteria; - fromJSON(object: any): _120.MsgUpdateDateCriteria; - toJSON(message: _120.MsgUpdateDateCriteria): unknown; - fromPartial(object: Partial<_120.MsgUpdateDateCriteria>): _120.MsgUpdateDateCriteria; - fromAmino(object: _120.MsgUpdateDateCriteriaAmino): _120.MsgUpdateDateCriteria; - toAmino(message: _120.MsgUpdateDateCriteria): _120.MsgUpdateDateCriteriaAmino; - fromAminoMsg(object: _120.MsgUpdateDateCriteriaAminoMsg): _120.MsgUpdateDateCriteria; - toAminoMsg(message: _120.MsgUpdateDateCriteria): _120.MsgUpdateDateCriteriaAminoMsg; - fromProtoMsg(message: _120.MsgUpdateDateCriteriaProtoMsg): _120.MsgUpdateDateCriteria; - toProto(message: _120.MsgUpdateDateCriteria): Uint8Array; - toProtoMsg(message: _120.MsgUpdateDateCriteria): _120.MsgUpdateDateCriteriaProtoMsg; - }; - MsgUpdateDateCriteriaResponse: { - encode(_: _120.MsgUpdateDateCriteriaResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _120.MsgUpdateDateCriteriaResponse; - fromJSON(_: any): _120.MsgUpdateDateCriteriaResponse; - toJSON(_: _120.MsgUpdateDateCriteriaResponse): unknown; - fromPartial(_: Partial<_120.MsgUpdateDateCriteriaResponse>): _120.MsgUpdateDateCriteriaResponse; - fromAmino(_: _120.MsgUpdateDateCriteriaResponseAmino): _120.MsgUpdateDateCriteriaResponse; - toAmino(_: _120.MsgUpdateDateCriteriaResponse): _120.MsgUpdateDateCriteriaResponseAmino; - fromAminoMsg(object: _120.MsgUpdateDateCriteriaResponseAminoMsg): _120.MsgUpdateDateCriteriaResponse; - fromProtoMsg(message: _120.MsgUpdateDateCriteriaResponseProtoMsg): _120.MsgUpdateDateCriteriaResponse; - toProto(message: _120.MsgUpdateDateCriteriaResponse): Uint8Array; - toProtoMsg(message: _120.MsgUpdateDateCriteriaResponse): _120.MsgUpdateDateCriteriaResponseProtoMsg; - }; - Basket: { - encode(message: _119.Basket, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _119.Basket; - fromJSON(object: any): _119.Basket; - toJSON(message: _119.Basket): unknown; - fromPartial(object: Partial<_119.Basket>): _119.Basket; - fromAmino(object: _119.BasketAmino): _119.Basket; - toAmino(message: _119.Basket): _119.BasketAmino; - fromAminoMsg(object: _119.BasketAminoMsg): _119.Basket; - fromProtoMsg(message: _119.BasketProtoMsg): _119.Basket; - toProto(message: _119.Basket): Uint8Array; - toProtoMsg(message: _119.Basket): _119.BasketProtoMsg; - }; - BasketClass: { - encode(message: _119.BasketClass, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _119.BasketClass; - fromJSON(object: any): _119.BasketClass; - toJSON(message: _119.BasketClass): unknown; - fromPartial(object: Partial<_119.BasketClass>): _119.BasketClass; - fromAmino(object: _119.BasketClassAmino): _119.BasketClass; - toAmino(message: _119.BasketClass): _119.BasketClassAmino; - fromAminoMsg(object: _119.BasketClassAminoMsg): _119.BasketClass; - fromProtoMsg(message: _119.BasketClassProtoMsg): _119.BasketClass; - toProto(message: _119.BasketClass): Uint8Array; - toProtoMsg(message: _119.BasketClass): _119.BasketClassProtoMsg; - }; - BasketBalance: { - encode(message: _119.BasketBalance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _119.BasketBalance; - fromJSON(object: any): _119.BasketBalance; - toJSON(message: _119.BasketBalance): unknown; - fromPartial(object: Partial<_119.BasketBalance>): _119.BasketBalance; - fromAmino(object: _119.BasketBalanceAmino): _119.BasketBalance; - toAmino(message: _119.BasketBalance): _119.BasketBalanceAmino; - fromAminoMsg(object: _119.BasketBalanceAminoMsg): _119.BasketBalance; - fromProtoMsg(message: _119.BasketBalanceProtoMsg): _119.BasketBalance; - toProto(message: _119.BasketBalance): Uint8Array; - toProtoMsg(message: _119.BasketBalance): _119.BasketBalanceProtoMsg; - }; - BasketFee: { - encode(message: _119.BasketFee, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _119.BasketFee; - fromJSON(object: any): _119.BasketFee; - toJSON(message: _119.BasketFee): unknown; - fromPartial(object: Partial<_119.BasketFee>): _119.BasketFee; - fromAmino(object: _119.BasketFeeAmino): _119.BasketFee; - toAmino(message: _119.BasketFee): _119.BasketFeeAmino; - fromAminoMsg(object: _119.BasketFeeAminoMsg): _119.BasketFee; - fromProtoMsg(message: _119.BasketFeeProtoMsg): _119.BasketFee; - toProto(message: _119.BasketFee): Uint8Array; - toProtoMsg(message: _119.BasketFee): _119.BasketFeeProtoMsg; - }; - QueryBasketRequest: { - encode(message: _118.QueryBasketRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketRequest; - fromJSON(object: any): _118.QueryBasketRequest; - toJSON(message: _118.QueryBasketRequest): unknown; - fromPartial(object: Partial<_118.QueryBasketRequest>): _118.QueryBasketRequest; - fromAmino(object: _118.QueryBasketRequestAmino): _118.QueryBasketRequest; - toAmino(message: _118.QueryBasketRequest): _118.QueryBasketRequestAmino; - fromAminoMsg(object: _118.QueryBasketRequestAminoMsg): _118.QueryBasketRequest; - fromProtoMsg(message: _118.QueryBasketRequestProtoMsg): _118.QueryBasketRequest; - toProto(message: _118.QueryBasketRequest): Uint8Array; - toProtoMsg(message: _118.QueryBasketRequest): _118.QueryBasketRequestProtoMsg; - }; - QueryBasketResponse: { - encode(message: _118.QueryBasketResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketResponse; - fromJSON(object: any): _118.QueryBasketResponse; - toJSON(message: _118.QueryBasketResponse): unknown; - fromPartial(object: Partial<_118.QueryBasketResponse>): _118.QueryBasketResponse; - fromAmino(object: _118.QueryBasketResponseAmino): _118.QueryBasketResponse; - toAmino(message: _118.QueryBasketResponse): _118.QueryBasketResponseAmino; - fromAminoMsg(object: _118.QueryBasketResponseAminoMsg): _118.QueryBasketResponse; - fromProtoMsg(message: _118.QueryBasketResponseProtoMsg): _118.QueryBasketResponse; - toProto(message: _118.QueryBasketResponse): Uint8Array; - toProtoMsg(message: _118.QueryBasketResponse): _118.QueryBasketResponseProtoMsg; - }; - QueryBasketsRequest: { - encode(message: _118.QueryBasketsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketsRequest; - fromJSON(object: any): _118.QueryBasketsRequest; - toJSON(message: _118.QueryBasketsRequest): unknown; - fromPartial(object: Partial<_118.QueryBasketsRequest>): _118.QueryBasketsRequest; - fromAmino(object: _118.QueryBasketsRequestAmino): _118.QueryBasketsRequest; - toAmino(message: _118.QueryBasketsRequest): _118.QueryBasketsRequestAmino; - fromAminoMsg(object: _118.QueryBasketsRequestAminoMsg): _118.QueryBasketsRequest; - fromProtoMsg(message: _118.QueryBasketsRequestProtoMsg): _118.QueryBasketsRequest; - toProto(message: _118.QueryBasketsRequest): Uint8Array; - toProtoMsg(message: _118.QueryBasketsRequest): _118.QueryBasketsRequestProtoMsg; - }; - QueryBasketsResponse: { - encode(message: _118.QueryBasketsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketsResponse; - fromJSON(object: any): _118.QueryBasketsResponse; - toJSON(message: _118.QueryBasketsResponse): unknown; - fromPartial(object: Partial<_118.QueryBasketsResponse>): _118.QueryBasketsResponse; - fromAmino(object: _118.QueryBasketsResponseAmino): _118.QueryBasketsResponse; - toAmino(message: _118.QueryBasketsResponse): _118.QueryBasketsResponseAmino; - fromAminoMsg(object: _118.QueryBasketsResponseAminoMsg): _118.QueryBasketsResponse; - fromProtoMsg(message: _118.QueryBasketsResponseProtoMsg): _118.QueryBasketsResponse; - toProto(message: _118.QueryBasketsResponse): Uint8Array; - toProtoMsg(message: _118.QueryBasketsResponse): _118.QueryBasketsResponseProtoMsg; - }; - QueryBasketBalancesRequest: { - encode(message: _118.QueryBasketBalancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketBalancesRequest; - fromJSON(object: any): _118.QueryBasketBalancesRequest; - toJSON(message: _118.QueryBasketBalancesRequest): unknown; - fromPartial(object: Partial<_118.QueryBasketBalancesRequest>): _118.QueryBasketBalancesRequest; - fromAmino(object: _118.QueryBasketBalancesRequestAmino): _118.QueryBasketBalancesRequest; - toAmino(message: _118.QueryBasketBalancesRequest): _118.QueryBasketBalancesRequestAmino; - fromAminoMsg(object: _118.QueryBasketBalancesRequestAminoMsg): _118.QueryBasketBalancesRequest; - fromProtoMsg(message: _118.QueryBasketBalancesRequestProtoMsg): _118.QueryBasketBalancesRequest; - toProto(message: _118.QueryBasketBalancesRequest): Uint8Array; - toProtoMsg(message: _118.QueryBasketBalancesRequest): _118.QueryBasketBalancesRequestProtoMsg; - }; - QueryBasketBalancesResponse: { - encode(message: _118.QueryBasketBalancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketBalancesResponse; - fromJSON(object: any): _118.QueryBasketBalancesResponse; - toJSON(message: _118.QueryBasketBalancesResponse): unknown; - fromPartial(object: Partial<_118.QueryBasketBalancesResponse>): _118.QueryBasketBalancesResponse; - fromAmino(object: _118.QueryBasketBalancesResponseAmino): _118.QueryBasketBalancesResponse; - toAmino(message: _118.QueryBasketBalancesResponse): _118.QueryBasketBalancesResponseAmino; - fromAminoMsg(object: _118.QueryBasketBalancesResponseAminoMsg): _118.QueryBasketBalancesResponse; - fromProtoMsg(message: _118.QueryBasketBalancesResponseProtoMsg): _118.QueryBasketBalancesResponse; - toProto(message: _118.QueryBasketBalancesResponse): Uint8Array; - toProtoMsg(message: _118.QueryBasketBalancesResponse): _118.QueryBasketBalancesResponseProtoMsg; - }; - QueryBasketBalanceRequest: { - encode(message: _118.QueryBasketBalanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketBalanceRequest; - fromJSON(object: any): _118.QueryBasketBalanceRequest; - toJSON(message: _118.QueryBasketBalanceRequest): unknown; - fromPartial(object: Partial<_118.QueryBasketBalanceRequest>): _118.QueryBasketBalanceRequest; - fromAmino(object: _118.QueryBasketBalanceRequestAmino): _118.QueryBasketBalanceRequest; - toAmino(message: _118.QueryBasketBalanceRequest): _118.QueryBasketBalanceRequestAmino; - fromAminoMsg(object: _118.QueryBasketBalanceRequestAminoMsg): _118.QueryBasketBalanceRequest; - fromProtoMsg(message: _118.QueryBasketBalanceRequestProtoMsg): _118.QueryBasketBalanceRequest; - toProto(message: _118.QueryBasketBalanceRequest): Uint8Array; - toProtoMsg(message: _118.QueryBasketBalanceRequest): _118.QueryBasketBalanceRequestProtoMsg; - }; - QueryBasketBalanceResponse: { - encode(message: _118.QueryBasketBalanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketBalanceResponse; - fromJSON(object: any): _118.QueryBasketBalanceResponse; - toJSON(message: _118.QueryBasketBalanceResponse): unknown; - fromPartial(object: Partial<_118.QueryBasketBalanceResponse>): _118.QueryBasketBalanceResponse; - fromAmino(object: _118.QueryBasketBalanceResponseAmino): _118.QueryBasketBalanceResponse; - toAmino(message: _118.QueryBasketBalanceResponse): _118.QueryBasketBalanceResponseAmino; - fromAminoMsg(object: _118.QueryBasketBalanceResponseAminoMsg): _118.QueryBasketBalanceResponse; - fromProtoMsg(message: _118.QueryBasketBalanceResponseProtoMsg): _118.QueryBasketBalanceResponse; - toProto(message: _118.QueryBasketBalanceResponse): Uint8Array; - toProtoMsg(message: _118.QueryBasketBalanceResponse): _118.QueryBasketBalanceResponseProtoMsg; - }; - BasketInfo: { - encode(message: _118.BasketInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.BasketInfo; - fromJSON(object: any): _118.BasketInfo; - toJSON(message: _118.BasketInfo): unknown; - fromPartial(object: Partial<_118.BasketInfo>): _118.BasketInfo; - fromAmino(object: _118.BasketInfoAmino): _118.BasketInfo; - toAmino(message: _118.BasketInfo): _118.BasketInfoAmino; - fromAminoMsg(object: _118.BasketInfoAminoMsg): _118.BasketInfo; - fromProtoMsg(message: _118.BasketInfoProtoMsg): _118.BasketInfo; - toProto(message: _118.BasketInfo): Uint8Array; - toProtoMsg(message: _118.BasketInfo): _118.BasketInfoProtoMsg; - }; - BasketBalanceInfo: { - encode(message: _118.BasketBalanceInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.BasketBalanceInfo; - fromJSON(object: any): _118.BasketBalanceInfo; - toJSON(message: _118.BasketBalanceInfo): unknown; - fromPartial(object: Partial<_118.BasketBalanceInfo>): _118.BasketBalanceInfo; - fromAmino(object: _118.BasketBalanceInfoAmino): _118.BasketBalanceInfo; - toAmino(message: _118.BasketBalanceInfo): _118.BasketBalanceInfoAmino; - fromAminoMsg(object: _118.BasketBalanceInfoAminoMsg): _118.BasketBalanceInfo; - fromProtoMsg(message: _118.BasketBalanceInfoProtoMsg): _118.BasketBalanceInfo; - toProto(message: _118.BasketBalanceInfo): Uint8Array; - toProtoMsg(message: _118.BasketBalanceInfo): _118.BasketBalanceInfoProtoMsg; - }; - QueryBasketFeeRequest: { - encode(_: _118.QueryBasketFeeRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketFeeRequest; - fromJSON(_: any): _118.QueryBasketFeeRequest; - toJSON(_: _118.QueryBasketFeeRequest): unknown; - fromPartial(_: Partial<_118.QueryBasketFeeRequest>): _118.QueryBasketFeeRequest; - fromAmino(_: _118.QueryBasketFeeRequestAmino): _118.QueryBasketFeeRequest; - toAmino(_: _118.QueryBasketFeeRequest): _118.QueryBasketFeeRequestAmino; - fromAminoMsg(object: _118.QueryBasketFeeRequestAminoMsg): _118.QueryBasketFeeRequest; - fromProtoMsg(message: _118.QueryBasketFeeRequestProtoMsg): _118.QueryBasketFeeRequest; - toProto(message: _118.QueryBasketFeeRequest): Uint8Array; - toProtoMsg(message: _118.QueryBasketFeeRequest): _118.QueryBasketFeeRequestProtoMsg; - }; - QueryBasketFeeResponse: { - encode(message: _118.QueryBasketFeeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _118.QueryBasketFeeResponse; - fromJSON(object: any): _118.QueryBasketFeeResponse; - toJSON(message: _118.QueryBasketFeeResponse): unknown; - fromPartial(object: Partial<_118.QueryBasketFeeResponse>): _118.QueryBasketFeeResponse; - fromAmino(object: _118.QueryBasketFeeResponseAmino): _118.QueryBasketFeeResponse; - toAmino(message: _118.QueryBasketFeeResponse): _118.QueryBasketFeeResponseAmino; - fromAminoMsg(object: _118.QueryBasketFeeResponseAminoMsg): _118.QueryBasketFeeResponse; - fromProtoMsg(message: _118.QueryBasketFeeResponseProtoMsg): _118.QueryBasketFeeResponse; - toProto(message: _118.QueryBasketFeeResponse): Uint8Array; - toProtoMsg(message: _118.QueryBasketFeeResponse): _118.QueryBasketFeeResponseProtoMsg; - }; - EventCreate: { - encode(message: _117.EventCreate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _117.EventCreate; - fromJSON(object: any): _117.EventCreate; - toJSON(message: _117.EventCreate): unknown; - fromPartial(object: Partial<_117.EventCreate>): _117.EventCreate; - fromAmino(object: _117.EventCreateAmino): _117.EventCreate; - toAmino(message: _117.EventCreate): _117.EventCreateAmino; - fromAminoMsg(object: _117.EventCreateAminoMsg): _117.EventCreate; - fromProtoMsg(message: _117.EventCreateProtoMsg): _117.EventCreate; - toProto(message: _117.EventCreate): Uint8Array; - toProtoMsg(message: _117.EventCreate): _117.EventCreateProtoMsg; - }; - EventPut: { - encode(message: _117.EventPut, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _117.EventPut; - fromJSON(object: any): _117.EventPut; - toJSON(message: _117.EventPut): unknown; - fromPartial(object: Partial<_117.EventPut>): _117.EventPut; - fromAmino(object: _117.EventPutAmino): _117.EventPut; - toAmino(message: _117.EventPut): _117.EventPutAmino; - fromAminoMsg(object: _117.EventPutAminoMsg): _117.EventPut; - fromProtoMsg(message: _117.EventPutProtoMsg): _117.EventPut; - toProto(message: _117.EventPut): Uint8Array; - toProtoMsg(message: _117.EventPut): _117.EventPutProtoMsg; - }; - EventTake: { - encode(message: _117.EventTake, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _117.EventTake; - fromJSON(object: any): _117.EventTake; - toJSON(message: _117.EventTake): unknown; - fromPartial(object: Partial<_117.EventTake>): _117.EventTake; - fromAmino(object: _117.EventTakeAmino): _117.EventTake; - toAmino(message: _117.EventTake): _117.EventTakeAmino; - fromAminoMsg(object: _117.EventTakeAminoMsg): _117.EventTake; - fromProtoMsg(message: _117.EventTakeProtoMsg): _117.EventTake; - toProto(message: _117.EventTake): Uint8Array; - toProtoMsg(message: _117.EventTake): _117.EventTakeProtoMsg; - }; - EventUpdateCurator: { - encode(message: _117.EventUpdateCurator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _117.EventUpdateCurator; - fromJSON(object: any): _117.EventUpdateCurator; - toJSON(message: _117.EventUpdateCurator): unknown; - fromPartial(object: Partial<_117.EventUpdateCurator>): _117.EventUpdateCurator; - fromAmino(object: _117.EventUpdateCuratorAmino): _117.EventUpdateCurator; - toAmino(message: _117.EventUpdateCurator): _117.EventUpdateCuratorAmino; - fromAminoMsg(object: _117.EventUpdateCuratorAminoMsg): _117.EventUpdateCurator; - fromProtoMsg(message: _117.EventUpdateCuratorProtoMsg): _117.EventUpdateCurator; - toProto(message: _117.EventUpdateCurator): Uint8Array; - toProtoMsg(message: _117.EventUpdateCurator): _117.EventUpdateCuratorProtoMsg; - }; - EventUpdateDateCriteria: { - encode(message: _117.EventUpdateDateCriteria, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _117.EventUpdateDateCriteria; - fromJSON(object: any): _117.EventUpdateDateCriteria; - toJSON(message: _117.EventUpdateDateCriteria): unknown; - fromPartial(object: Partial<_117.EventUpdateDateCriteria>): _117.EventUpdateDateCriteria; - fromAmino(object: _117.EventUpdateDateCriteriaAmino): _117.EventUpdateDateCriteria; - toAmino(message: _117.EventUpdateDateCriteria): _117.EventUpdateDateCriteriaAmino; - fromAminoMsg(object: _117.EventUpdateDateCriteriaAminoMsg): _117.EventUpdateDateCriteria; - fromProtoMsg(message: _117.EventUpdateDateCriteriaProtoMsg): _117.EventUpdateDateCriteria; - toProto(message: _117.EventUpdateDateCriteria): Uint8Array; - toProtoMsg(message: _117.EventUpdateDateCriteria): _117.EventUpdateDateCriteriaProtoMsg; - }; - }; - } - namespace marketplace { - const v1: { - MsgClientImpl: typeof _266.MsgClientImpl; - QueryClientImpl: typeof _260.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - sellOrder(request: _123.QuerySellOrderRequest): Promise<_123.QuerySellOrderResponse>; - sellOrders(request?: _123.QuerySellOrdersRequest | undefined): Promise<_123.QuerySellOrdersResponse>; - sellOrdersByBatch(request: _123.QuerySellOrdersByBatchRequest): Promise<_123.QuerySellOrdersByBatchResponse>; - sellOrdersBySeller(request: _123.QuerySellOrdersBySellerRequest): Promise<_123.QuerySellOrdersBySellerResponse>; - allowedDenoms(request?: _123.QueryAllowedDenomsRequest | undefined): Promise<_123.QueryAllowedDenomsResponse>; - }; - LCDQueryClient: typeof _254.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - sell(value: _125.MsgSell): { - typeUrl: string; - value: Uint8Array; - }; - updateSellOrders(value: _125.MsgUpdateSellOrders): { - typeUrl: string; - value: Uint8Array; - }; - cancelSellOrder(value: _125.MsgCancelSellOrder): { - typeUrl: string; - value: Uint8Array; - }; - buyDirect(value: _125.MsgBuyDirect): { - typeUrl: string; - value: Uint8Array; - }; - addAllowedDenom(value: _125.MsgAddAllowedDenom): { - typeUrl: string; - value: Uint8Array; - }; - removeAllowedDenom(value: _125.MsgRemoveAllowedDenom): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - sell(value: _125.MsgSell): { - typeUrl: string; - value: _125.MsgSell; - }; - updateSellOrders(value: _125.MsgUpdateSellOrders): { - typeUrl: string; - value: _125.MsgUpdateSellOrders; - }; - cancelSellOrder(value: _125.MsgCancelSellOrder): { - typeUrl: string; - value: _125.MsgCancelSellOrder; - }; - buyDirect(value: _125.MsgBuyDirect): { - typeUrl: string; - value: _125.MsgBuyDirect; - }; - addAllowedDenom(value: _125.MsgAddAllowedDenom): { - typeUrl: string; - value: _125.MsgAddAllowedDenom; - }; - removeAllowedDenom(value: _125.MsgRemoveAllowedDenom): { - typeUrl: string; - value: _125.MsgRemoveAllowedDenom; - }; - }; - toJSON: { - sell(value: _125.MsgSell): { - typeUrl: string; - value: unknown; - }; - updateSellOrders(value: _125.MsgUpdateSellOrders): { - typeUrl: string; - value: unknown; - }; - cancelSellOrder(value: _125.MsgCancelSellOrder): { - typeUrl: string; - value: unknown; - }; - buyDirect(value: _125.MsgBuyDirect): { - typeUrl: string; - value: unknown; - }; - addAllowedDenom(value: _125.MsgAddAllowedDenom): { - typeUrl: string; - value: unknown; - }; - removeAllowedDenom(value: _125.MsgRemoveAllowedDenom): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - sell(value: any): { - typeUrl: string; - value: _125.MsgSell; - }; - updateSellOrders(value: any): { - typeUrl: string; - value: _125.MsgUpdateSellOrders; - }; - cancelSellOrder(value: any): { - typeUrl: string; - value: _125.MsgCancelSellOrder; - }; - buyDirect(value: any): { - typeUrl: string; - value: _125.MsgBuyDirect; - }; - addAllowedDenom(value: any): { - typeUrl: string; - value: _125.MsgAddAllowedDenom; - }; - removeAllowedDenom(value: any): { - typeUrl: string; - value: _125.MsgRemoveAllowedDenom; - }; - }; - fromPartial: { - sell(value: _125.MsgSell): { - typeUrl: string; - value: _125.MsgSell; - }; - updateSellOrders(value: _125.MsgUpdateSellOrders): { - typeUrl: string; - value: _125.MsgUpdateSellOrders; - }; - cancelSellOrder(value: _125.MsgCancelSellOrder): { - typeUrl: string; - value: _125.MsgCancelSellOrder; - }; - buyDirect(value: _125.MsgBuyDirect): { - typeUrl: string; - value: _125.MsgBuyDirect; - }; - addAllowedDenom(value: _125.MsgAddAllowedDenom): { - typeUrl: string; - value: _125.MsgAddAllowedDenom; - }; - removeAllowedDenom(value: _125.MsgRemoveAllowedDenom): { - typeUrl: string; - value: _125.MsgRemoveAllowedDenom; - }; - }; - }; - AminoConverter: { - "/regen.ecocredit.marketplace.v1.MsgSell": { - aminoType: string; - toAmino: (message: _125.MsgSell) => _125.MsgSellAmino; - fromAmino: (object: _125.MsgSellAmino) => _125.MsgSell; - }; - "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrders": { - aminoType: string; - toAmino: (message: _125.MsgUpdateSellOrders) => _125.MsgUpdateSellOrdersAmino; - fromAmino: (object: _125.MsgUpdateSellOrdersAmino) => _125.MsgUpdateSellOrders; - }; - "/regen.ecocredit.marketplace.v1.MsgCancelSellOrder": { - aminoType: string; - toAmino: (message: _125.MsgCancelSellOrder) => _125.MsgCancelSellOrderAmino; - fromAmino: (object: _125.MsgCancelSellOrderAmino) => _125.MsgCancelSellOrder; - }; - "/regen.ecocredit.marketplace.v1.MsgBuyDirect": { - aminoType: string; - toAmino: (message: _125.MsgBuyDirect) => _125.MsgBuyDirectAmino; - fromAmino: (object: _125.MsgBuyDirectAmino) => _125.MsgBuyDirect; - }; - "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenom": { - aminoType: string; - toAmino: (message: _125.MsgAddAllowedDenom) => _125.MsgAddAllowedDenomAmino; - fromAmino: (object: _125.MsgAddAllowedDenomAmino) => _125.MsgAddAllowedDenom; - }; - "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom": { - aminoType: string; - toAmino: (message: _125.MsgRemoveAllowedDenom) => _125.MsgRemoveAllowedDenomAmino; - fromAmino: (object: _125.MsgRemoveAllowedDenomAmino) => _125.MsgRemoveAllowedDenom; - }; - }; - AllowDenomProposal: { - encode(message: _126.AllowDenomProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _126.AllowDenomProposal; - fromJSON(object: any): _126.AllowDenomProposal; - toJSON(message: _126.AllowDenomProposal): unknown; - fromPartial(object: Partial<_126.AllowDenomProposal>): _126.AllowDenomProposal; - fromAmino(object: _126.AllowDenomProposalAmino): _126.AllowDenomProposal; - toAmino(message: _126.AllowDenomProposal): _126.AllowDenomProposalAmino; - fromAminoMsg(object: _126.AllowDenomProposalAminoMsg): _126.AllowDenomProposal; - fromProtoMsg(message: _126.AllowDenomProposalProtoMsg): _126.AllowDenomProposal; - toProto(message: _126.AllowDenomProposal): Uint8Array; - toProtoMsg(message: _126.AllowDenomProposal): _126.AllowDenomProposalProtoMsg; - }; - MsgSell: { - encode(message: _125.MsgSell, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgSell; - fromJSON(object: any): _125.MsgSell; - toJSON(message: _125.MsgSell): unknown; - fromPartial(object: Partial<_125.MsgSell>): _125.MsgSell; - fromAmino(object: _125.MsgSellAmino): _125.MsgSell; - toAmino(message: _125.MsgSell): _125.MsgSellAmino; - fromAminoMsg(object: _125.MsgSellAminoMsg): _125.MsgSell; - toAminoMsg(message: _125.MsgSell): _125.MsgSellAminoMsg; - fromProtoMsg(message: _125.MsgSellProtoMsg): _125.MsgSell; - toProto(message: _125.MsgSell): Uint8Array; - toProtoMsg(message: _125.MsgSell): _125.MsgSellProtoMsg; - }; - MsgSell_Order: { - encode(message: _125.MsgSell_Order, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgSell_Order; - fromJSON(object: any): _125.MsgSell_Order; - toJSON(message: _125.MsgSell_Order): unknown; - fromPartial(object: Partial<_125.MsgSell_Order>): _125.MsgSell_Order; - fromAmino(object: _125.MsgSell_OrderAmino): _125.MsgSell_Order; - toAmino(message: _125.MsgSell_Order): _125.MsgSell_OrderAmino; - fromAminoMsg(object: _125.MsgSell_OrderAminoMsg): _125.MsgSell_Order; - fromProtoMsg(message: _125.MsgSell_OrderProtoMsg): _125.MsgSell_Order; - toProto(message: _125.MsgSell_Order): Uint8Array; - toProtoMsg(message: _125.MsgSell_Order): _125.MsgSell_OrderProtoMsg; - }; - MsgSellResponse: { - encode(message: _125.MsgSellResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgSellResponse; - fromJSON(object: any): _125.MsgSellResponse; - toJSON(message: _125.MsgSellResponse): unknown; - fromPartial(object: Partial<_125.MsgSellResponse>): _125.MsgSellResponse; - fromAmino(object: _125.MsgSellResponseAmino): _125.MsgSellResponse; - toAmino(message: _125.MsgSellResponse): _125.MsgSellResponseAmino; - fromAminoMsg(object: _125.MsgSellResponseAminoMsg): _125.MsgSellResponse; - fromProtoMsg(message: _125.MsgSellResponseProtoMsg): _125.MsgSellResponse; - toProto(message: _125.MsgSellResponse): Uint8Array; - toProtoMsg(message: _125.MsgSellResponse): _125.MsgSellResponseProtoMsg; - }; - MsgUpdateSellOrders: { - encode(message: _125.MsgUpdateSellOrders, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgUpdateSellOrders; - fromJSON(object: any): _125.MsgUpdateSellOrders; - toJSON(message: _125.MsgUpdateSellOrders): unknown; - fromPartial(object: Partial<_125.MsgUpdateSellOrders>): _125.MsgUpdateSellOrders; - fromAmino(object: _125.MsgUpdateSellOrdersAmino): _125.MsgUpdateSellOrders; - toAmino(message: _125.MsgUpdateSellOrders): _125.MsgUpdateSellOrdersAmino; - fromAminoMsg(object: _125.MsgUpdateSellOrdersAminoMsg): _125.MsgUpdateSellOrders; - toAminoMsg(message: _125.MsgUpdateSellOrders): _125.MsgUpdateSellOrdersAminoMsg; - fromProtoMsg(message: _125.MsgUpdateSellOrdersProtoMsg): _125.MsgUpdateSellOrders; - toProto(message: _125.MsgUpdateSellOrders): Uint8Array; - toProtoMsg(message: _125.MsgUpdateSellOrders): _125.MsgUpdateSellOrdersProtoMsg; - }; - MsgUpdateSellOrders_Update: { - encode(message: _125.MsgUpdateSellOrders_Update, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgUpdateSellOrders_Update; - fromJSON(object: any): _125.MsgUpdateSellOrders_Update; - toJSON(message: _125.MsgUpdateSellOrders_Update): unknown; - fromPartial(object: Partial<_125.MsgUpdateSellOrders_Update>): _125.MsgUpdateSellOrders_Update; - fromAmino(object: _125.MsgUpdateSellOrders_UpdateAmino): _125.MsgUpdateSellOrders_Update; - toAmino(message: _125.MsgUpdateSellOrders_Update): _125.MsgUpdateSellOrders_UpdateAmino; - fromAminoMsg(object: _125.MsgUpdateSellOrders_UpdateAminoMsg): _125.MsgUpdateSellOrders_Update; - fromProtoMsg(message: _125.MsgUpdateSellOrders_UpdateProtoMsg): _125.MsgUpdateSellOrders_Update; - toProto(message: _125.MsgUpdateSellOrders_Update): Uint8Array; - toProtoMsg(message: _125.MsgUpdateSellOrders_Update): _125.MsgUpdateSellOrders_UpdateProtoMsg; - }; - MsgUpdateSellOrdersResponse: { - encode(_: _125.MsgUpdateSellOrdersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgUpdateSellOrdersResponse; - fromJSON(_: any): _125.MsgUpdateSellOrdersResponse; - toJSON(_: _125.MsgUpdateSellOrdersResponse): unknown; - fromPartial(_: Partial<_125.MsgUpdateSellOrdersResponse>): _125.MsgUpdateSellOrdersResponse; - fromAmino(_: _125.MsgUpdateSellOrdersResponseAmino): _125.MsgUpdateSellOrdersResponse; - toAmino(_: _125.MsgUpdateSellOrdersResponse): _125.MsgUpdateSellOrdersResponseAmino; - fromAminoMsg(object: _125.MsgUpdateSellOrdersResponseAminoMsg): _125.MsgUpdateSellOrdersResponse; - fromProtoMsg(message: _125.MsgUpdateSellOrdersResponseProtoMsg): _125.MsgUpdateSellOrdersResponse; - toProto(message: _125.MsgUpdateSellOrdersResponse): Uint8Array; - toProtoMsg(message: _125.MsgUpdateSellOrdersResponse): _125.MsgUpdateSellOrdersResponseProtoMsg; - }; - MsgCancelSellOrder: { - encode(message: _125.MsgCancelSellOrder, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgCancelSellOrder; - fromJSON(object: any): _125.MsgCancelSellOrder; - toJSON(message: _125.MsgCancelSellOrder): unknown; - fromPartial(object: Partial<_125.MsgCancelSellOrder>): _125.MsgCancelSellOrder; - fromAmino(object: _125.MsgCancelSellOrderAmino): _125.MsgCancelSellOrder; - toAmino(message: _125.MsgCancelSellOrder): _125.MsgCancelSellOrderAmino; - fromAminoMsg(object: _125.MsgCancelSellOrderAminoMsg): _125.MsgCancelSellOrder; - toAminoMsg(message: _125.MsgCancelSellOrder): _125.MsgCancelSellOrderAminoMsg; - fromProtoMsg(message: _125.MsgCancelSellOrderProtoMsg): _125.MsgCancelSellOrder; - toProto(message: _125.MsgCancelSellOrder): Uint8Array; - toProtoMsg(message: _125.MsgCancelSellOrder): _125.MsgCancelSellOrderProtoMsg; - }; - MsgCancelSellOrderResponse: { - encode(_: _125.MsgCancelSellOrderResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgCancelSellOrderResponse; - fromJSON(_: any): _125.MsgCancelSellOrderResponse; - toJSON(_: _125.MsgCancelSellOrderResponse): unknown; - fromPartial(_: Partial<_125.MsgCancelSellOrderResponse>): _125.MsgCancelSellOrderResponse; - fromAmino(_: _125.MsgCancelSellOrderResponseAmino): _125.MsgCancelSellOrderResponse; - toAmino(_: _125.MsgCancelSellOrderResponse): _125.MsgCancelSellOrderResponseAmino; - fromAminoMsg(object: _125.MsgCancelSellOrderResponseAminoMsg): _125.MsgCancelSellOrderResponse; - fromProtoMsg(message: _125.MsgCancelSellOrderResponseProtoMsg): _125.MsgCancelSellOrderResponse; - toProto(message: _125.MsgCancelSellOrderResponse): Uint8Array; - toProtoMsg(message: _125.MsgCancelSellOrderResponse): _125.MsgCancelSellOrderResponseProtoMsg; - }; - MsgBuyDirect: { - encode(message: _125.MsgBuyDirect, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgBuyDirect; - fromJSON(object: any): _125.MsgBuyDirect; - toJSON(message: _125.MsgBuyDirect): unknown; - fromPartial(object: Partial<_125.MsgBuyDirect>): _125.MsgBuyDirect; - fromAmino(object: _125.MsgBuyDirectAmino): _125.MsgBuyDirect; - toAmino(message: _125.MsgBuyDirect): _125.MsgBuyDirectAmino; - fromAminoMsg(object: _125.MsgBuyDirectAminoMsg): _125.MsgBuyDirect; - toAminoMsg(message: _125.MsgBuyDirect): _125.MsgBuyDirectAminoMsg; - fromProtoMsg(message: _125.MsgBuyDirectProtoMsg): _125.MsgBuyDirect; - toProto(message: _125.MsgBuyDirect): Uint8Array; - toProtoMsg(message: _125.MsgBuyDirect): _125.MsgBuyDirectProtoMsg; - }; - MsgBuyDirect_Order: { - encode(message: _125.MsgBuyDirect_Order, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgBuyDirect_Order; - fromJSON(object: any): _125.MsgBuyDirect_Order; - toJSON(message: _125.MsgBuyDirect_Order): unknown; - fromPartial(object: Partial<_125.MsgBuyDirect_Order>): _125.MsgBuyDirect_Order; - fromAmino(object: _125.MsgBuyDirect_OrderAmino): _125.MsgBuyDirect_Order; - toAmino(message: _125.MsgBuyDirect_Order): _125.MsgBuyDirect_OrderAmino; - fromAminoMsg(object: _125.MsgBuyDirect_OrderAminoMsg): _125.MsgBuyDirect_Order; - fromProtoMsg(message: _125.MsgBuyDirect_OrderProtoMsg): _125.MsgBuyDirect_Order; - toProto(message: _125.MsgBuyDirect_Order): Uint8Array; - toProtoMsg(message: _125.MsgBuyDirect_Order): _125.MsgBuyDirect_OrderProtoMsg; - }; - MsgBuyDirectResponse: { - encode(_: _125.MsgBuyDirectResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgBuyDirectResponse; - fromJSON(_: any): _125.MsgBuyDirectResponse; - toJSON(_: _125.MsgBuyDirectResponse): unknown; - fromPartial(_: Partial<_125.MsgBuyDirectResponse>): _125.MsgBuyDirectResponse; - fromAmino(_: _125.MsgBuyDirectResponseAmino): _125.MsgBuyDirectResponse; - toAmino(_: _125.MsgBuyDirectResponse): _125.MsgBuyDirectResponseAmino; - fromAminoMsg(object: _125.MsgBuyDirectResponseAminoMsg): _125.MsgBuyDirectResponse; - fromProtoMsg(message: _125.MsgBuyDirectResponseProtoMsg): _125.MsgBuyDirectResponse; - toProto(message: _125.MsgBuyDirectResponse): Uint8Array; - toProtoMsg(message: _125.MsgBuyDirectResponse): _125.MsgBuyDirectResponseProtoMsg; - }; - MsgAddAllowedDenom: { - encode(message: _125.MsgAddAllowedDenom, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgAddAllowedDenom; - fromJSON(object: any): _125.MsgAddAllowedDenom; - toJSON(message: _125.MsgAddAllowedDenom): unknown; - fromPartial(object: Partial<_125.MsgAddAllowedDenom>): _125.MsgAddAllowedDenom; - fromAmino(object: _125.MsgAddAllowedDenomAmino): _125.MsgAddAllowedDenom; - toAmino(message: _125.MsgAddAllowedDenom): _125.MsgAddAllowedDenomAmino; - fromAminoMsg(object: _125.MsgAddAllowedDenomAminoMsg): _125.MsgAddAllowedDenom; - toAminoMsg(message: _125.MsgAddAllowedDenom): _125.MsgAddAllowedDenomAminoMsg; - fromProtoMsg(message: _125.MsgAddAllowedDenomProtoMsg): _125.MsgAddAllowedDenom; - toProto(message: _125.MsgAddAllowedDenom): Uint8Array; - toProtoMsg(message: _125.MsgAddAllowedDenom): _125.MsgAddAllowedDenomProtoMsg; - }; - MsgAddAllowedDenomResponse: { - encode(_: _125.MsgAddAllowedDenomResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgAddAllowedDenomResponse; - fromJSON(_: any): _125.MsgAddAllowedDenomResponse; - toJSON(_: _125.MsgAddAllowedDenomResponse): unknown; - fromPartial(_: Partial<_125.MsgAddAllowedDenomResponse>): _125.MsgAddAllowedDenomResponse; - fromAmino(_: _125.MsgAddAllowedDenomResponseAmino): _125.MsgAddAllowedDenomResponse; - toAmino(_: _125.MsgAddAllowedDenomResponse): _125.MsgAddAllowedDenomResponseAmino; - fromAminoMsg(object: _125.MsgAddAllowedDenomResponseAminoMsg): _125.MsgAddAllowedDenomResponse; - fromProtoMsg(message: _125.MsgAddAllowedDenomResponseProtoMsg): _125.MsgAddAllowedDenomResponse; - toProto(message: _125.MsgAddAllowedDenomResponse): Uint8Array; - toProtoMsg(message: _125.MsgAddAllowedDenomResponse): _125.MsgAddAllowedDenomResponseProtoMsg; - }; - MsgRemoveAllowedDenom: { - encode(message: _125.MsgRemoveAllowedDenom, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgRemoveAllowedDenom; - fromJSON(object: any): _125.MsgRemoveAllowedDenom; - toJSON(message: _125.MsgRemoveAllowedDenom): unknown; - fromPartial(object: Partial<_125.MsgRemoveAllowedDenom>): _125.MsgRemoveAllowedDenom; - fromAmino(object: _125.MsgRemoveAllowedDenomAmino): _125.MsgRemoveAllowedDenom; - toAmino(message: _125.MsgRemoveAllowedDenom): _125.MsgRemoveAllowedDenomAmino; - fromAminoMsg(object: _125.MsgRemoveAllowedDenomAminoMsg): _125.MsgRemoveAllowedDenom; - toAminoMsg(message: _125.MsgRemoveAllowedDenom): _125.MsgRemoveAllowedDenomAminoMsg; - fromProtoMsg(message: _125.MsgRemoveAllowedDenomProtoMsg): _125.MsgRemoveAllowedDenom; - toProto(message: _125.MsgRemoveAllowedDenom): Uint8Array; - toProtoMsg(message: _125.MsgRemoveAllowedDenom): _125.MsgRemoveAllowedDenomProtoMsg; - }; - MsgRemoveAllowedDenomResponse: { - encode(_: _125.MsgRemoveAllowedDenomResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _125.MsgRemoveAllowedDenomResponse; - fromJSON(_: any): _125.MsgRemoveAllowedDenomResponse; - toJSON(_: _125.MsgRemoveAllowedDenomResponse): unknown; - fromPartial(_: Partial<_125.MsgRemoveAllowedDenomResponse>): _125.MsgRemoveAllowedDenomResponse; - fromAmino(_: _125.MsgRemoveAllowedDenomResponseAmino): _125.MsgRemoveAllowedDenomResponse; - toAmino(_: _125.MsgRemoveAllowedDenomResponse): _125.MsgRemoveAllowedDenomResponseAmino; - fromAminoMsg(object: _125.MsgRemoveAllowedDenomResponseAminoMsg): _125.MsgRemoveAllowedDenomResponse; - fromProtoMsg(message: _125.MsgRemoveAllowedDenomResponseProtoMsg): _125.MsgRemoveAllowedDenomResponse; - toProto(message: _125.MsgRemoveAllowedDenomResponse): Uint8Array; - toProtoMsg(message: _125.MsgRemoveAllowedDenomResponse): _125.MsgRemoveAllowedDenomResponseProtoMsg; - }; - SellOrder: { - encode(message: _124.SellOrder, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _124.SellOrder; - fromJSON(object: any): _124.SellOrder; - toJSON(message: _124.SellOrder): unknown; - fromPartial(object: Partial<_124.SellOrder>): _124.SellOrder; - fromAmino(object: _124.SellOrderAmino): _124.SellOrder; - toAmino(message: _124.SellOrder): _124.SellOrderAmino; - fromAminoMsg(object: _124.SellOrderAminoMsg): _124.SellOrder; - fromProtoMsg(message: _124.SellOrderProtoMsg): _124.SellOrder; - toProto(message: _124.SellOrder): Uint8Array; - toProtoMsg(message: _124.SellOrder): _124.SellOrderProtoMsg; - }; - AllowedDenom: { - encode(message: _124.AllowedDenom, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _124.AllowedDenom; - fromJSON(object: any): _124.AllowedDenom; - toJSON(message: _124.AllowedDenom): unknown; - fromPartial(object: Partial<_124.AllowedDenom>): _124.AllowedDenom; - fromAmino(object: _124.AllowedDenomAmino): _124.AllowedDenom; - toAmino(message: _124.AllowedDenom): _124.AllowedDenomAmino; - fromAminoMsg(object: _124.AllowedDenomAminoMsg): _124.AllowedDenom; - fromProtoMsg(message: _124.AllowedDenomProtoMsg): _124.AllowedDenom; - toProto(message: _124.AllowedDenom): Uint8Array; - toProtoMsg(message: _124.AllowedDenom): _124.AllowedDenomProtoMsg; - }; - Market: { - encode(message: _124.Market, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _124.Market; - fromJSON(object: any): _124.Market; - toJSON(message: _124.Market): unknown; - fromPartial(object: Partial<_124.Market>): _124.Market; - fromAmino(object: _124.MarketAmino): _124.Market; - toAmino(message: _124.Market): _124.MarketAmino; - fromAminoMsg(object: _124.MarketAminoMsg): _124.Market; - fromProtoMsg(message: _124.MarketProtoMsg): _124.Market; - toProto(message: _124.Market): Uint8Array; - toProtoMsg(message: _124.Market): _124.MarketProtoMsg; - }; - QuerySellOrderRequest: { - encode(message: _123.QuerySellOrderRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrderRequest; - fromJSON(object: any): _123.QuerySellOrderRequest; - toJSON(message: _123.QuerySellOrderRequest): unknown; - fromPartial(object: Partial<_123.QuerySellOrderRequest>): _123.QuerySellOrderRequest; - fromAmino(object: _123.QuerySellOrderRequestAmino): _123.QuerySellOrderRequest; - toAmino(message: _123.QuerySellOrderRequest): _123.QuerySellOrderRequestAmino; - fromAminoMsg(object: _123.QuerySellOrderRequestAminoMsg): _123.QuerySellOrderRequest; - fromProtoMsg(message: _123.QuerySellOrderRequestProtoMsg): _123.QuerySellOrderRequest; - toProto(message: _123.QuerySellOrderRequest): Uint8Array; - toProtoMsg(message: _123.QuerySellOrderRequest): _123.QuerySellOrderRequestProtoMsg; - }; - QuerySellOrderResponse: { - encode(message: _123.QuerySellOrderResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrderResponse; - fromJSON(object: any): _123.QuerySellOrderResponse; - toJSON(message: _123.QuerySellOrderResponse): unknown; - fromPartial(object: Partial<_123.QuerySellOrderResponse>): _123.QuerySellOrderResponse; - fromAmino(object: _123.QuerySellOrderResponseAmino): _123.QuerySellOrderResponse; - toAmino(message: _123.QuerySellOrderResponse): _123.QuerySellOrderResponseAmino; - fromAminoMsg(object: _123.QuerySellOrderResponseAminoMsg): _123.QuerySellOrderResponse; - fromProtoMsg(message: _123.QuerySellOrderResponseProtoMsg): _123.QuerySellOrderResponse; - toProto(message: _123.QuerySellOrderResponse): Uint8Array; - toProtoMsg(message: _123.QuerySellOrderResponse): _123.QuerySellOrderResponseProtoMsg; - }; - QuerySellOrdersRequest: { - encode(message: _123.QuerySellOrdersRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrdersRequest; - fromJSON(object: any): _123.QuerySellOrdersRequest; - toJSON(message: _123.QuerySellOrdersRequest): unknown; - fromPartial(object: Partial<_123.QuerySellOrdersRequest>): _123.QuerySellOrdersRequest; - fromAmino(object: _123.QuerySellOrdersRequestAmino): _123.QuerySellOrdersRequest; - toAmino(message: _123.QuerySellOrdersRequest): _123.QuerySellOrdersRequestAmino; - fromAminoMsg(object: _123.QuerySellOrdersRequestAminoMsg): _123.QuerySellOrdersRequest; - fromProtoMsg(message: _123.QuerySellOrdersRequestProtoMsg): _123.QuerySellOrdersRequest; - toProto(message: _123.QuerySellOrdersRequest): Uint8Array; - toProtoMsg(message: _123.QuerySellOrdersRequest): _123.QuerySellOrdersRequestProtoMsg; - }; - QuerySellOrdersResponse: { - encode(message: _123.QuerySellOrdersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrdersResponse; - fromJSON(object: any): _123.QuerySellOrdersResponse; - toJSON(message: _123.QuerySellOrdersResponse): unknown; - fromPartial(object: Partial<_123.QuerySellOrdersResponse>): _123.QuerySellOrdersResponse; - fromAmino(object: _123.QuerySellOrdersResponseAmino): _123.QuerySellOrdersResponse; - toAmino(message: _123.QuerySellOrdersResponse): _123.QuerySellOrdersResponseAmino; - fromAminoMsg(object: _123.QuerySellOrdersResponseAminoMsg): _123.QuerySellOrdersResponse; - fromProtoMsg(message: _123.QuerySellOrdersResponseProtoMsg): _123.QuerySellOrdersResponse; - toProto(message: _123.QuerySellOrdersResponse): Uint8Array; - toProtoMsg(message: _123.QuerySellOrdersResponse): _123.QuerySellOrdersResponseProtoMsg; - }; - QuerySellOrdersByBatchRequest: { - encode(message: _123.QuerySellOrdersByBatchRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrdersByBatchRequest; - fromJSON(object: any): _123.QuerySellOrdersByBatchRequest; - toJSON(message: _123.QuerySellOrdersByBatchRequest): unknown; - fromPartial(object: Partial<_123.QuerySellOrdersByBatchRequest>): _123.QuerySellOrdersByBatchRequest; - fromAmino(object: _123.QuerySellOrdersByBatchRequestAmino): _123.QuerySellOrdersByBatchRequest; - toAmino(message: _123.QuerySellOrdersByBatchRequest): _123.QuerySellOrdersByBatchRequestAmino; - fromAminoMsg(object: _123.QuerySellOrdersByBatchRequestAminoMsg): _123.QuerySellOrdersByBatchRequest; - fromProtoMsg(message: _123.QuerySellOrdersByBatchRequestProtoMsg): _123.QuerySellOrdersByBatchRequest; - toProto(message: _123.QuerySellOrdersByBatchRequest): Uint8Array; - toProtoMsg(message: _123.QuerySellOrdersByBatchRequest): _123.QuerySellOrdersByBatchRequestProtoMsg; - }; - QuerySellOrdersByBatchResponse: { - encode(message: _123.QuerySellOrdersByBatchResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrdersByBatchResponse; - fromJSON(object: any): _123.QuerySellOrdersByBatchResponse; - toJSON(message: _123.QuerySellOrdersByBatchResponse): unknown; - fromPartial(object: Partial<_123.QuerySellOrdersByBatchResponse>): _123.QuerySellOrdersByBatchResponse; - fromAmino(object: _123.QuerySellOrdersByBatchResponseAmino): _123.QuerySellOrdersByBatchResponse; - toAmino(message: _123.QuerySellOrdersByBatchResponse): _123.QuerySellOrdersByBatchResponseAmino; - fromAminoMsg(object: _123.QuerySellOrdersByBatchResponseAminoMsg): _123.QuerySellOrdersByBatchResponse; - fromProtoMsg(message: _123.QuerySellOrdersByBatchResponseProtoMsg): _123.QuerySellOrdersByBatchResponse; - toProto(message: _123.QuerySellOrdersByBatchResponse): Uint8Array; - toProtoMsg(message: _123.QuerySellOrdersByBatchResponse): _123.QuerySellOrdersByBatchResponseProtoMsg; - }; - QuerySellOrdersBySellerRequest: { - encode(message: _123.QuerySellOrdersBySellerRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrdersBySellerRequest; - fromJSON(object: any): _123.QuerySellOrdersBySellerRequest; - toJSON(message: _123.QuerySellOrdersBySellerRequest): unknown; - fromPartial(object: Partial<_123.QuerySellOrdersBySellerRequest>): _123.QuerySellOrdersBySellerRequest; - fromAmino(object: _123.QuerySellOrdersBySellerRequestAmino): _123.QuerySellOrdersBySellerRequest; - toAmino(message: _123.QuerySellOrdersBySellerRequest): _123.QuerySellOrdersBySellerRequestAmino; - fromAminoMsg(object: _123.QuerySellOrdersBySellerRequestAminoMsg): _123.QuerySellOrdersBySellerRequest; - fromProtoMsg(message: _123.QuerySellOrdersBySellerRequestProtoMsg): _123.QuerySellOrdersBySellerRequest; - toProto(message: _123.QuerySellOrdersBySellerRequest): Uint8Array; - toProtoMsg(message: _123.QuerySellOrdersBySellerRequest): _123.QuerySellOrdersBySellerRequestProtoMsg; - }; - QuerySellOrdersBySellerResponse: { - encode(message: _123.QuerySellOrdersBySellerResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QuerySellOrdersBySellerResponse; - fromJSON(object: any): _123.QuerySellOrdersBySellerResponse; - toJSON(message: _123.QuerySellOrdersBySellerResponse): unknown; - fromPartial(object: Partial<_123.QuerySellOrdersBySellerResponse>): _123.QuerySellOrdersBySellerResponse; - fromAmino(object: _123.QuerySellOrdersBySellerResponseAmino): _123.QuerySellOrdersBySellerResponse; - toAmino(message: _123.QuerySellOrdersBySellerResponse): _123.QuerySellOrdersBySellerResponseAmino; - fromAminoMsg(object: _123.QuerySellOrdersBySellerResponseAminoMsg): _123.QuerySellOrdersBySellerResponse; - fromProtoMsg(message: _123.QuerySellOrdersBySellerResponseProtoMsg): _123.QuerySellOrdersBySellerResponse; - toProto(message: _123.QuerySellOrdersBySellerResponse): Uint8Array; - toProtoMsg(message: _123.QuerySellOrdersBySellerResponse): _123.QuerySellOrdersBySellerResponseProtoMsg; - }; - QueryAllowedDenomsRequest: { - encode(message: _123.QueryAllowedDenomsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QueryAllowedDenomsRequest; - fromJSON(object: any): _123.QueryAllowedDenomsRequest; - toJSON(message: _123.QueryAllowedDenomsRequest): unknown; - fromPartial(object: Partial<_123.QueryAllowedDenomsRequest>): _123.QueryAllowedDenomsRequest; - fromAmino(object: _123.QueryAllowedDenomsRequestAmino): _123.QueryAllowedDenomsRequest; - toAmino(message: _123.QueryAllowedDenomsRequest): _123.QueryAllowedDenomsRequestAmino; - fromAminoMsg(object: _123.QueryAllowedDenomsRequestAminoMsg): _123.QueryAllowedDenomsRequest; - fromProtoMsg(message: _123.QueryAllowedDenomsRequestProtoMsg): _123.QueryAllowedDenomsRequest; - toProto(message: _123.QueryAllowedDenomsRequest): Uint8Array; - toProtoMsg(message: _123.QueryAllowedDenomsRequest): _123.QueryAllowedDenomsRequestProtoMsg; - }; - QueryAllowedDenomsResponse: { - encode(message: _123.QueryAllowedDenomsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.QueryAllowedDenomsResponse; - fromJSON(object: any): _123.QueryAllowedDenomsResponse; - toJSON(message: _123.QueryAllowedDenomsResponse): unknown; - fromPartial(object: Partial<_123.QueryAllowedDenomsResponse>): _123.QueryAllowedDenomsResponse; - fromAmino(object: _123.QueryAllowedDenomsResponseAmino): _123.QueryAllowedDenomsResponse; - toAmino(message: _123.QueryAllowedDenomsResponse): _123.QueryAllowedDenomsResponseAmino; - fromAminoMsg(object: _123.QueryAllowedDenomsResponseAminoMsg): _123.QueryAllowedDenomsResponse; - fromProtoMsg(message: _123.QueryAllowedDenomsResponseProtoMsg): _123.QueryAllowedDenomsResponse; - toProto(message: _123.QueryAllowedDenomsResponse): Uint8Array; - toProtoMsg(message: _123.QueryAllowedDenomsResponse): _123.QueryAllowedDenomsResponseProtoMsg; - }; - SellOrderInfo: { - encode(message: _123.SellOrderInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _123.SellOrderInfo; - fromJSON(object: any): _123.SellOrderInfo; - toJSON(message: _123.SellOrderInfo): unknown; - fromPartial(object: Partial<_123.SellOrderInfo>): _123.SellOrderInfo; - fromAmino(object: _123.SellOrderInfoAmino): _123.SellOrderInfo; - toAmino(message: _123.SellOrderInfo): _123.SellOrderInfoAmino; - fromAminoMsg(object: _123.SellOrderInfoAminoMsg): _123.SellOrderInfo; - fromProtoMsg(message: _123.SellOrderInfoProtoMsg): _123.SellOrderInfo; - toProto(message: _123.SellOrderInfo): Uint8Array; - toProtoMsg(message: _123.SellOrderInfo): _123.SellOrderInfoProtoMsg; - }; - EventSell: { - encode(message: _122.EventSell, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _122.EventSell; - fromJSON(object: any): _122.EventSell; - toJSON(message: _122.EventSell): unknown; - fromPartial(object: Partial<_122.EventSell>): _122.EventSell; - fromAmino(object: _122.EventSellAmino): _122.EventSell; - toAmino(message: _122.EventSell): _122.EventSellAmino; - fromAminoMsg(object: _122.EventSellAminoMsg): _122.EventSell; - fromProtoMsg(message: _122.EventSellProtoMsg): _122.EventSell; - toProto(message: _122.EventSell): Uint8Array; - toProtoMsg(message: _122.EventSell): _122.EventSellProtoMsg; - }; - EventBuyDirect: { - encode(message: _122.EventBuyDirect, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _122.EventBuyDirect; - fromJSON(object: any): _122.EventBuyDirect; - toJSON(message: _122.EventBuyDirect): unknown; - fromPartial(object: Partial<_122.EventBuyDirect>): _122.EventBuyDirect; - fromAmino(object: _122.EventBuyDirectAmino): _122.EventBuyDirect; - toAmino(message: _122.EventBuyDirect): _122.EventBuyDirectAmino; - fromAminoMsg(object: _122.EventBuyDirectAminoMsg): _122.EventBuyDirect; - fromProtoMsg(message: _122.EventBuyDirectProtoMsg): _122.EventBuyDirect; - toProto(message: _122.EventBuyDirect): Uint8Array; - toProtoMsg(message: _122.EventBuyDirect): _122.EventBuyDirectProtoMsg; - }; - EventUpdateSellOrder: { - encode(message: _122.EventUpdateSellOrder, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _122.EventUpdateSellOrder; - fromJSON(object: any): _122.EventUpdateSellOrder; - toJSON(message: _122.EventUpdateSellOrder): unknown; - fromPartial(object: Partial<_122.EventUpdateSellOrder>): _122.EventUpdateSellOrder; - fromAmino(object: _122.EventUpdateSellOrderAmino): _122.EventUpdateSellOrder; - toAmino(message: _122.EventUpdateSellOrder): _122.EventUpdateSellOrderAmino; - fromAminoMsg(object: _122.EventUpdateSellOrderAminoMsg): _122.EventUpdateSellOrder; - fromProtoMsg(message: _122.EventUpdateSellOrderProtoMsg): _122.EventUpdateSellOrder; - toProto(message: _122.EventUpdateSellOrder): Uint8Array; - toProtoMsg(message: _122.EventUpdateSellOrder): _122.EventUpdateSellOrderProtoMsg; - }; - EventCancelSellOrder: { - encode(message: _122.EventCancelSellOrder, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _122.EventCancelSellOrder; - fromJSON(object: any): _122.EventCancelSellOrder; - toJSON(message: _122.EventCancelSellOrder): unknown; - fromPartial(object: Partial<_122.EventCancelSellOrder>): _122.EventCancelSellOrder; - fromAmino(object: _122.EventCancelSellOrderAmino): _122.EventCancelSellOrder; - toAmino(message: _122.EventCancelSellOrder): _122.EventCancelSellOrderAmino; - fromAminoMsg(object: _122.EventCancelSellOrderAminoMsg): _122.EventCancelSellOrder; - fromProtoMsg(message: _122.EventCancelSellOrderProtoMsg): _122.EventCancelSellOrder; - toProto(message: _122.EventCancelSellOrder): Uint8Array; - toProtoMsg(message: _122.EventCancelSellOrder): _122.EventCancelSellOrderProtoMsg; - }; - EventAllowDenom: { - encode(message: _122.EventAllowDenom, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _122.EventAllowDenom; - fromJSON(object: any): _122.EventAllowDenom; - toJSON(message: _122.EventAllowDenom): unknown; - fromPartial(object: Partial<_122.EventAllowDenom>): _122.EventAllowDenom; - fromAmino(object: _122.EventAllowDenomAmino): _122.EventAllowDenom; - toAmino(message: _122.EventAllowDenom): _122.EventAllowDenomAmino; - fromAminoMsg(object: _122.EventAllowDenomAminoMsg): _122.EventAllowDenom; - fromProtoMsg(message: _122.EventAllowDenomProtoMsg): _122.EventAllowDenom; - toProto(message: _122.EventAllowDenom): Uint8Array; - toProtoMsg(message: _122.EventAllowDenom): _122.EventAllowDenomProtoMsg; - }; - EventRemoveAllowedDenom: { - encode(message: _122.EventRemoveAllowedDenom, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _122.EventRemoveAllowedDenom; - fromJSON(object: any): _122.EventRemoveAllowedDenom; - toJSON(message: _122.EventRemoveAllowedDenom): unknown; - fromPartial(object: Partial<_122.EventRemoveAllowedDenom>): _122.EventRemoveAllowedDenom; - fromAmino(object: _122.EventRemoveAllowedDenomAmino): _122.EventRemoveAllowedDenom; - toAmino(message: _122.EventRemoveAllowedDenom): _122.EventRemoveAllowedDenomAmino; - fromAminoMsg(object: _122.EventRemoveAllowedDenomAminoMsg): _122.EventRemoveAllowedDenom; - fromProtoMsg(message: _122.EventRemoveAllowedDenomProtoMsg): _122.EventRemoveAllowedDenom; - toProto(message: _122.EventRemoveAllowedDenom): Uint8Array; - toProtoMsg(message: _122.EventRemoveAllowedDenom): _122.EventRemoveAllowedDenomProtoMsg; - }; - }; - } - namespace orderbook { - const v1alpha1: { - BuyOrderSellOrderMatch: { - encode(message: _127.BuyOrderSellOrderMatch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _127.BuyOrderSellOrderMatch; - fromJSON(object: any): _127.BuyOrderSellOrderMatch; - toJSON(message: _127.BuyOrderSellOrderMatch): unknown; - fromPartial(object: Partial<_127.BuyOrderSellOrderMatch>): _127.BuyOrderSellOrderMatch; - fromAmino(object: _127.BuyOrderSellOrderMatchAmino): _127.BuyOrderSellOrderMatch; - toAmino(message: _127.BuyOrderSellOrderMatch): _127.BuyOrderSellOrderMatchAmino; - fromAminoMsg(object: _127.BuyOrderSellOrderMatchAminoMsg): _127.BuyOrderSellOrderMatch; - fromProtoMsg(message: _127.BuyOrderSellOrderMatchProtoMsg): _127.BuyOrderSellOrderMatch; - toProto(message: _127.BuyOrderSellOrderMatch): Uint8Array; - toProtoMsg(message: _127.BuyOrderSellOrderMatch): _127.BuyOrderSellOrderMatchProtoMsg; - }; - BuyOrderClassSelector: { - encode(message: _127.BuyOrderClassSelector, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _127.BuyOrderClassSelector; - fromJSON(object: any): _127.BuyOrderClassSelector; - toJSON(message: _127.BuyOrderClassSelector): unknown; - fromPartial(object: Partial<_127.BuyOrderClassSelector>): _127.BuyOrderClassSelector; - fromAmino(object: _127.BuyOrderClassSelectorAmino): _127.BuyOrderClassSelector; - toAmino(message: _127.BuyOrderClassSelector): _127.BuyOrderClassSelectorAmino; - fromAminoMsg(object: _127.BuyOrderClassSelectorAminoMsg): _127.BuyOrderClassSelector; - fromProtoMsg(message: _127.BuyOrderClassSelectorProtoMsg): _127.BuyOrderClassSelector; - toProto(message: _127.BuyOrderClassSelector): Uint8Array; - toProtoMsg(message: _127.BuyOrderClassSelector): _127.BuyOrderClassSelectorProtoMsg; - }; - BuyOrderProjectSelector: { - encode(message: _127.BuyOrderProjectSelector, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _127.BuyOrderProjectSelector; - fromJSON(object: any): _127.BuyOrderProjectSelector; - toJSON(message: _127.BuyOrderProjectSelector): unknown; - fromPartial(object: Partial<_127.BuyOrderProjectSelector>): _127.BuyOrderProjectSelector; - fromAmino(object: _127.BuyOrderProjectSelectorAmino): _127.BuyOrderProjectSelector; - toAmino(message: _127.BuyOrderProjectSelector): _127.BuyOrderProjectSelectorAmino; - fromAminoMsg(object: _127.BuyOrderProjectSelectorAminoMsg): _127.BuyOrderProjectSelector; - fromProtoMsg(message: _127.BuyOrderProjectSelectorProtoMsg): _127.BuyOrderProjectSelector; - toProto(message: _127.BuyOrderProjectSelector): Uint8Array; - toProtoMsg(message: _127.BuyOrderProjectSelector): _127.BuyOrderProjectSelectorProtoMsg; - }; - BuyOrderBatchSelector: { - encode(message: _127.BuyOrderBatchSelector, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _127.BuyOrderBatchSelector; - fromJSON(object: any): _127.BuyOrderBatchSelector; - toJSON(message: _127.BuyOrderBatchSelector): unknown; - fromPartial(object: Partial<_127.BuyOrderBatchSelector>): _127.BuyOrderBatchSelector; - fromAmino(object: _127.BuyOrderBatchSelectorAmino): _127.BuyOrderBatchSelector; - toAmino(message: _127.BuyOrderBatchSelector): _127.BuyOrderBatchSelectorAmino; - fromAminoMsg(object: _127.BuyOrderBatchSelectorAminoMsg): _127.BuyOrderBatchSelector; - fromProtoMsg(message: _127.BuyOrderBatchSelectorProtoMsg): _127.BuyOrderBatchSelector; - toProto(message: _127.BuyOrderBatchSelector): Uint8Array; - toProtoMsg(message: _127.BuyOrderBatchSelector): _127.BuyOrderBatchSelectorProtoMsg; - }; - }; - } - const v1: { - MsgClientImpl: typeof _267.MsgClientImpl; - QueryClientImpl: typeof _261.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - classes(request?: _129.QueryClassesRequest | undefined): Promise<_129.QueryClassesResponse>; - classesByAdmin(request: _129.QueryClassesByAdminRequest): Promise<_129.QueryClassesByAdminResponse>; - class(request: _129.QueryClassRequest): Promise<_129.QueryClassResponse>; - classIssuers(request: _129.QueryClassIssuersRequest): Promise<_129.QueryClassIssuersResponse>; - projects(request?: _129.QueryProjectsRequest | undefined): Promise<_129.QueryProjectsResponse>; - projectsByClass(request: _129.QueryProjectsByClassRequest): Promise<_129.QueryProjectsByClassResponse>; - projectsByReferenceId(request: _129.QueryProjectsByReferenceIdRequest): Promise<_129.QueryProjectsByReferenceIdResponse>; - projectsByAdmin(request: _129.QueryProjectsByAdminRequest): Promise<_129.QueryProjectsByAdminResponse>; - project(request: _129.QueryProjectRequest): Promise<_129.QueryProjectResponse>; - batches(request?: _129.QueryBatchesRequest | undefined): Promise<_129.QueryBatchesResponse>; - batchesByIssuer(request: _129.QueryBatchesByIssuerRequest): Promise<_129.QueryBatchesByIssuerResponse>; - batchesByClass(request: _129.QueryBatchesByClassRequest): Promise<_129.QueryBatchesByClassResponse>; - batchesByProject(request: _129.QueryBatchesByProjectRequest): Promise<_129.QueryBatchesByProjectResponse>; - batch(request: _129.QueryBatchRequest): Promise<_129.QueryBatchResponse>; - balance(request: _129.QueryBalanceRequest): Promise<_129.QueryBalanceResponse>; - balances(request: _129.QueryBalancesRequest): Promise<_129.QueryBalancesResponse>; - balancesByBatch(request: _129.QueryBalancesByBatchRequest): Promise<_129.QueryBalancesByBatchResponse>; - allBalances(request?: _129.QueryAllBalancesRequest | undefined): Promise<_129.QueryAllBalancesResponse>; - supply(request: _129.QuerySupplyRequest): Promise<_129.QuerySupplyResponse>; - creditTypes(request?: _129.QueryCreditTypesRequest | undefined): Promise<_129.QueryCreditTypesResponse>; - params(request?: _129.QueryParamsRequest | undefined): Promise<_129.QueryParamsResponse>; - creditType(request: _129.QueryCreditTypeRequest): Promise<_129.QueryCreditTypeResponse>; - classCreatorAllowlist(request?: _129.QueryClassCreatorAllowlistRequest | undefined): Promise<_129.QueryClassCreatorAllowlistResponse>; - allowedClassCreators(request?: _129.QueryAllowedClassCreatorsRequest | undefined): Promise<_129.QueryAllowedClassCreatorsResponse>; - classFee(request?: _129.QueryClassFeeRequest | undefined): Promise<_129.QueryClassFeeResponse>; - allowedBridgeChains(request?: _129.QueryAllowedBridgeChainsRequest | undefined): Promise<_129.QueryAllowedBridgeChainsResponse>; - }; - LCDQueryClient: typeof _255.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createClass(value: _131.MsgCreateClass): { - typeUrl: string; - value: Uint8Array; - }; - createProject(value: _131.MsgCreateProject): { - typeUrl: string; - value: Uint8Array; - }; - createBatch(value: _131.MsgCreateBatch): { - typeUrl: string; - value: Uint8Array; - }; - mintBatchCredits(value: _131.MsgMintBatchCredits): { - typeUrl: string; - value: Uint8Array; - }; - sealBatch(value: _131.MsgSealBatch): { - typeUrl: string; - value: Uint8Array; - }; - send(value: _131.MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - retire(value: _131.MsgRetire): { - typeUrl: string; - value: Uint8Array; - }; - cancel(value: _131.MsgCancel): { - typeUrl: string; - value: Uint8Array; - }; - updateClassAdmin(value: _131.MsgUpdateClassAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateClassIssuers(value: _131.MsgUpdateClassIssuers): { - typeUrl: string; - value: Uint8Array; - }; - updateClassMetadata(value: _131.MsgUpdateClassMetadata): { - typeUrl: string; - value: Uint8Array; - }; - updateProjectAdmin(value: _131.MsgUpdateProjectAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateProjectMetadata(value: _131.MsgUpdateProjectMetadata): { - typeUrl: string; - value: Uint8Array; - }; - updateBatchMetadata(value: _131.MsgUpdateBatchMetadata): { - typeUrl: string; - value: Uint8Array; - }; - bridge(value: _131.MsgBridge): { - typeUrl: string; - value: Uint8Array; - }; - bridgeReceive(value: _131.MsgBridgeReceive): { - typeUrl: string; - value: Uint8Array; - }; - addCreditType(value: _131.MsgAddCreditType): { - typeUrl: string; - value: Uint8Array; - }; - setClassCreatorAllowlist(value: _131.MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: Uint8Array; - }; - addClassCreator(value: _131.MsgAddClassCreator): { - typeUrl: string; - value: Uint8Array; - }; - removeClassCreator(value: _131.MsgRemoveClassCreator): { - typeUrl: string; - value: Uint8Array; - }; - updateClassFee(value: _131.MsgUpdateClassFee): { - typeUrl: string; - value: Uint8Array; - }; - addAllowedBridgeChain(value: _131.MsgAddAllowedBridgeChain): { - typeUrl: string; - value: Uint8Array; - }; - removeAllowedBridgeChain(value: _131.MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClass(value: _131.MsgCreateClass): { - typeUrl: string; - value: _131.MsgCreateClass; - }; - createProject(value: _131.MsgCreateProject): { - typeUrl: string; - value: _131.MsgCreateProject; - }; - createBatch(value: _131.MsgCreateBatch): { - typeUrl: string; - value: _131.MsgCreateBatch; - }; - mintBatchCredits(value: _131.MsgMintBatchCredits): { - typeUrl: string; - value: _131.MsgMintBatchCredits; - }; - sealBatch(value: _131.MsgSealBatch): { - typeUrl: string; - value: _131.MsgSealBatch; - }; - send(value: _131.MsgSend): { - typeUrl: string; - value: _131.MsgSend; - }; - retire(value: _131.MsgRetire): { - typeUrl: string; - value: _131.MsgRetire; - }; - cancel(value: _131.MsgCancel): { - typeUrl: string; - value: _131.MsgCancel; - }; - updateClassAdmin(value: _131.MsgUpdateClassAdmin): { - typeUrl: string; - value: _131.MsgUpdateClassAdmin; - }; - updateClassIssuers(value: _131.MsgUpdateClassIssuers): { - typeUrl: string; - value: _131.MsgUpdateClassIssuers; - }; - updateClassMetadata(value: _131.MsgUpdateClassMetadata): { - typeUrl: string; - value: _131.MsgUpdateClassMetadata; - }; - updateProjectAdmin(value: _131.MsgUpdateProjectAdmin): { - typeUrl: string; - value: _131.MsgUpdateProjectAdmin; - }; - updateProjectMetadata(value: _131.MsgUpdateProjectMetadata): { - typeUrl: string; - value: _131.MsgUpdateProjectMetadata; - }; - updateBatchMetadata(value: _131.MsgUpdateBatchMetadata): { - typeUrl: string; - value: _131.MsgUpdateBatchMetadata; - }; - bridge(value: _131.MsgBridge): { - typeUrl: string; - value: _131.MsgBridge; - }; - bridgeReceive(value: _131.MsgBridgeReceive): { - typeUrl: string; - value: _131.MsgBridgeReceive; - }; - addCreditType(value: _131.MsgAddCreditType): { - typeUrl: string; - value: _131.MsgAddCreditType; - }; - setClassCreatorAllowlist(value: _131.MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: _131.MsgSetClassCreatorAllowlist; - }; - addClassCreator(value: _131.MsgAddClassCreator): { - typeUrl: string; - value: _131.MsgAddClassCreator; - }; - removeClassCreator(value: _131.MsgRemoveClassCreator): { - typeUrl: string; - value: _131.MsgRemoveClassCreator; - }; - updateClassFee(value: _131.MsgUpdateClassFee): { - typeUrl: string; - value: _131.MsgUpdateClassFee; - }; - addAllowedBridgeChain(value: _131.MsgAddAllowedBridgeChain): { - typeUrl: string; - value: _131.MsgAddAllowedBridgeChain; - }; - removeAllowedBridgeChain(value: _131.MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: _131.MsgRemoveAllowedBridgeChain; - }; - }; - toJSON: { - createClass(value: _131.MsgCreateClass): { - typeUrl: string; - value: unknown; - }; - createProject(value: _131.MsgCreateProject): { - typeUrl: string; - value: unknown; - }; - createBatch(value: _131.MsgCreateBatch): { - typeUrl: string; - value: unknown; - }; - mintBatchCredits(value: _131.MsgMintBatchCredits): { - typeUrl: string; - value: unknown; - }; - sealBatch(value: _131.MsgSealBatch): { - typeUrl: string; - value: unknown; - }; - send(value: _131.MsgSend): { - typeUrl: string; - value: unknown; - }; - retire(value: _131.MsgRetire): { - typeUrl: string; - value: unknown; - }; - cancel(value: _131.MsgCancel): { - typeUrl: string; - value: unknown; - }; - updateClassAdmin(value: _131.MsgUpdateClassAdmin): { - typeUrl: string; - value: unknown; - }; - updateClassIssuers(value: _131.MsgUpdateClassIssuers): { - typeUrl: string; - value: unknown; - }; - updateClassMetadata(value: _131.MsgUpdateClassMetadata): { - typeUrl: string; - value: unknown; - }; - updateProjectAdmin(value: _131.MsgUpdateProjectAdmin): { - typeUrl: string; - value: unknown; - }; - updateProjectMetadata(value: _131.MsgUpdateProjectMetadata): { - typeUrl: string; - value: unknown; - }; - updateBatchMetadata(value: _131.MsgUpdateBatchMetadata): { - typeUrl: string; - value: unknown; - }; - bridge(value: _131.MsgBridge): { - typeUrl: string; - value: unknown; - }; - bridgeReceive(value: _131.MsgBridgeReceive): { - typeUrl: string; - value: unknown; - }; - addCreditType(value: _131.MsgAddCreditType): { - typeUrl: string; - value: unknown; - }; - setClassCreatorAllowlist(value: _131.MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: unknown; - }; - addClassCreator(value: _131.MsgAddClassCreator): { - typeUrl: string; - value: unknown; - }; - removeClassCreator(value: _131.MsgRemoveClassCreator): { - typeUrl: string; - value: unknown; - }; - updateClassFee(value: _131.MsgUpdateClassFee): { - typeUrl: string; - value: unknown; - }; - addAllowedBridgeChain(value: _131.MsgAddAllowedBridgeChain): { - typeUrl: string; - value: unknown; - }; - removeAllowedBridgeChain(value: _131.MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClass(value: any): { - typeUrl: string; - value: _131.MsgCreateClass; - }; - createProject(value: any): { - typeUrl: string; - value: _131.MsgCreateProject; - }; - createBatch(value: any): { - typeUrl: string; - value: _131.MsgCreateBatch; - }; - mintBatchCredits(value: any): { - typeUrl: string; - value: _131.MsgMintBatchCredits; - }; - sealBatch(value: any): { - typeUrl: string; - value: _131.MsgSealBatch; - }; - send(value: any): { - typeUrl: string; - value: _131.MsgSend; - }; - retire(value: any): { - typeUrl: string; - value: _131.MsgRetire; - }; - cancel(value: any): { - typeUrl: string; - value: _131.MsgCancel; - }; - updateClassAdmin(value: any): { - typeUrl: string; - value: _131.MsgUpdateClassAdmin; - }; - updateClassIssuers(value: any): { - typeUrl: string; - value: _131.MsgUpdateClassIssuers; - }; - updateClassMetadata(value: any): { - typeUrl: string; - value: _131.MsgUpdateClassMetadata; - }; - updateProjectAdmin(value: any): { - typeUrl: string; - value: _131.MsgUpdateProjectAdmin; - }; - updateProjectMetadata(value: any): { - typeUrl: string; - value: _131.MsgUpdateProjectMetadata; - }; - updateBatchMetadata(value: any): { - typeUrl: string; - value: _131.MsgUpdateBatchMetadata; - }; - bridge(value: any): { - typeUrl: string; - value: _131.MsgBridge; - }; - bridgeReceive(value: any): { - typeUrl: string; - value: _131.MsgBridgeReceive; - }; - addCreditType(value: any): { - typeUrl: string; - value: _131.MsgAddCreditType; - }; - setClassCreatorAllowlist(value: any): { - typeUrl: string; - value: _131.MsgSetClassCreatorAllowlist; - }; - addClassCreator(value: any): { - typeUrl: string; - value: _131.MsgAddClassCreator; - }; - removeClassCreator(value: any): { - typeUrl: string; - value: _131.MsgRemoveClassCreator; - }; - updateClassFee(value: any): { - typeUrl: string; - value: _131.MsgUpdateClassFee; - }; - addAllowedBridgeChain(value: any): { - typeUrl: string; - value: _131.MsgAddAllowedBridgeChain; - }; - removeAllowedBridgeChain(value: any): { - typeUrl: string; - value: _131.MsgRemoveAllowedBridgeChain; - }; - }; - fromPartial: { - createClass(value: _131.MsgCreateClass): { - typeUrl: string; - value: _131.MsgCreateClass; - }; - createProject(value: _131.MsgCreateProject): { - typeUrl: string; - value: _131.MsgCreateProject; - }; - createBatch(value: _131.MsgCreateBatch): { - typeUrl: string; - value: _131.MsgCreateBatch; - }; - mintBatchCredits(value: _131.MsgMintBatchCredits): { - typeUrl: string; - value: _131.MsgMintBatchCredits; - }; - sealBatch(value: _131.MsgSealBatch): { - typeUrl: string; - value: _131.MsgSealBatch; - }; - send(value: _131.MsgSend): { - typeUrl: string; - value: _131.MsgSend; - }; - retire(value: _131.MsgRetire): { - typeUrl: string; - value: _131.MsgRetire; - }; - cancel(value: _131.MsgCancel): { - typeUrl: string; - value: _131.MsgCancel; - }; - updateClassAdmin(value: _131.MsgUpdateClassAdmin): { - typeUrl: string; - value: _131.MsgUpdateClassAdmin; - }; - updateClassIssuers(value: _131.MsgUpdateClassIssuers): { - typeUrl: string; - value: _131.MsgUpdateClassIssuers; - }; - updateClassMetadata(value: _131.MsgUpdateClassMetadata): { - typeUrl: string; - value: _131.MsgUpdateClassMetadata; - }; - updateProjectAdmin(value: _131.MsgUpdateProjectAdmin): { - typeUrl: string; - value: _131.MsgUpdateProjectAdmin; - }; - updateProjectMetadata(value: _131.MsgUpdateProjectMetadata): { - typeUrl: string; - value: _131.MsgUpdateProjectMetadata; - }; - updateBatchMetadata(value: _131.MsgUpdateBatchMetadata): { - typeUrl: string; - value: _131.MsgUpdateBatchMetadata; - }; - bridge(value: _131.MsgBridge): { - typeUrl: string; - value: _131.MsgBridge; - }; - bridgeReceive(value: _131.MsgBridgeReceive): { - typeUrl: string; - value: _131.MsgBridgeReceive; - }; - addCreditType(value: _131.MsgAddCreditType): { - typeUrl: string; - value: _131.MsgAddCreditType; - }; - setClassCreatorAllowlist(value: _131.MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: _131.MsgSetClassCreatorAllowlist; - }; - addClassCreator(value: _131.MsgAddClassCreator): { - typeUrl: string; - value: _131.MsgAddClassCreator; - }; - removeClassCreator(value: _131.MsgRemoveClassCreator): { - typeUrl: string; - value: _131.MsgRemoveClassCreator; - }; - updateClassFee(value: _131.MsgUpdateClassFee): { - typeUrl: string; - value: _131.MsgUpdateClassFee; - }; - addAllowedBridgeChain(value: _131.MsgAddAllowedBridgeChain): { - typeUrl: string; - value: _131.MsgAddAllowedBridgeChain; - }; - removeAllowedBridgeChain(value: _131.MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: _131.MsgRemoveAllowedBridgeChain; - }; - }; - }; - AminoConverter: { - "/regen.ecocredit.v1.MsgCreateClass": { - aminoType: string; - toAmino: (message: _131.MsgCreateClass) => _131.MsgCreateClassAmino; - fromAmino: (object: _131.MsgCreateClassAmino) => _131.MsgCreateClass; - }; - "/regen.ecocredit.v1.MsgCreateProject": { - aminoType: string; - toAmino: (message: _131.MsgCreateProject) => _131.MsgCreateProjectAmino; - fromAmino: (object: _131.MsgCreateProjectAmino) => _131.MsgCreateProject; - }; - "/regen.ecocredit.v1.MsgCreateBatch": { - aminoType: string; - toAmino: (message: _131.MsgCreateBatch) => _131.MsgCreateBatchAmino; - fromAmino: (object: _131.MsgCreateBatchAmino) => _131.MsgCreateBatch; - }; - "/regen.ecocredit.v1.MsgMintBatchCredits": { - aminoType: string; - toAmino: (message: _131.MsgMintBatchCredits) => _131.MsgMintBatchCreditsAmino; - fromAmino: (object: _131.MsgMintBatchCreditsAmino) => _131.MsgMintBatchCredits; - }; - "/regen.ecocredit.v1.MsgSealBatch": { - aminoType: string; - toAmino: (message: _131.MsgSealBatch) => _131.MsgSealBatchAmino; - fromAmino: (object: _131.MsgSealBatchAmino) => _131.MsgSealBatch; - }; - "/regen.ecocredit.v1.MsgSend": { - aminoType: string; - toAmino: (message: _131.MsgSend) => _131.MsgSendAmino; - fromAmino: (object: _131.MsgSendAmino) => _131.MsgSend; - }; - "/regen.ecocredit.v1.MsgRetire": { - aminoType: string; - toAmino: (message: _131.MsgRetire) => _131.MsgRetireAmino; - fromAmino: (object: _131.MsgRetireAmino) => _131.MsgRetire; - }; - "/regen.ecocredit.v1.MsgCancel": { - aminoType: string; - toAmino: (message: _131.MsgCancel) => _131.MsgCancelAmino; - fromAmino: (object: _131.MsgCancelAmino) => _131.MsgCancel; - }; - "/regen.ecocredit.v1.MsgUpdateClassAdmin": { - aminoType: string; - toAmino: (message: _131.MsgUpdateClassAdmin) => _131.MsgUpdateClassAdminAmino; - fromAmino: (object: _131.MsgUpdateClassAdminAmino) => _131.MsgUpdateClassAdmin; - }; - "/regen.ecocredit.v1.MsgUpdateClassIssuers": { - aminoType: string; - toAmino: (message: _131.MsgUpdateClassIssuers) => _131.MsgUpdateClassIssuersAmino; - fromAmino: (object: _131.MsgUpdateClassIssuersAmino) => _131.MsgUpdateClassIssuers; - }; - "/regen.ecocredit.v1.MsgUpdateClassMetadata": { - aminoType: string; - toAmino: (message: _131.MsgUpdateClassMetadata) => _131.MsgUpdateClassMetadataAmino; - fromAmino: (object: _131.MsgUpdateClassMetadataAmino) => _131.MsgUpdateClassMetadata; - }; - "/regen.ecocredit.v1.MsgUpdateProjectAdmin": { - aminoType: string; - toAmino: (message: _131.MsgUpdateProjectAdmin) => _131.MsgUpdateProjectAdminAmino; - fromAmino: (object: _131.MsgUpdateProjectAdminAmino) => _131.MsgUpdateProjectAdmin; - }; - "/regen.ecocredit.v1.MsgUpdateProjectMetadata": { - aminoType: string; - toAmino: (message: _131.MsgUpdateProjectMetadata) => _131.MsgUpdateProjectMetadataAmino; - fromAmino: (object: _131.MsgUpdateProjectMetadataAmino) => _131.MsgUpdateProjectMetadata; - }; - "/regen.ecocredit.v1.MsgUpdateBatchMetadata": { - aminoType: string; - toAmino: (message: _131.MsgUpdateBatchMetadata) => _131.MsgUpdateBatchMetadataAmino; - fromAmino: (object: _131.MsgUpdateBatchMetadataAmino) => _131.MsgUpdateBatchMetadata; - }; - "/regen.ecocredit.v1.MsgBridge": { - aminoType: string; - toAmino: (message: _131.MsgBridge) => _131.MsgBridgeAmino; - fromAmino: (object: _131.MsgBridgeAmino) => _131.MsgBridge; - }; - "/regen.ecocredit.v1.MsgBridgeReceive": { - aminoType: string; - toAmino: (message: _131.MsgBridgeReceive) => _131.MsgBridgeReceiveAmino; - fromAmino: (object: _131.MsgBridgeReceiveAmino) => _131.MsgBridgeReceive; - }; - "/regen.ecocredit.v1.MsgAddCreditType": { - aminoType: string; - toAmino: (message: _131.MsgAddCreditType) => _131.MsgAddCreditTypeAmino; - fromAmino: (object: _131.MsgAddCreditTypeAmino) => _131.MsgAddCreditType; - }; - "/regen.ecocredit.v1.MsgSetClassCreatorAllowlist": { - aminoType: string; - toAmino: (message: _131.MsgSetClassCreatorAllowlist) => _131.MsgSetClassCreatorAllowlistAmino; - fromAmino: (object: _131.MsgSetClassCreatorAllowlistAmino) => _131.MsgSetClassCreatorAllowlist; - }; - "/regen.ecocredit.v1.MsgAddClassCreator": { - aminoType: string; - toAmino: (message: _131.MsgAddClassCreator) => _131.MsgAddClassCreatorAmino; - fromAmino: (object: _131.MsgAddClassCreatorAmino) => _131.MsgAddClassCreator; - }; - "/regen.ecocredit.v1.MsgRemoveClassCreator": { - aminoType: string; - toAmino: (message: _131.MsgRemoveClassCreator) => _131.MsgRemoveClassCreatorAmino; - fromAmino: (object: _131.MsgRemoveClassCreatorAmino) => _131.MsgRemoveClassCreator; - }; - "/regen.ecocredit.v1.MsgUpdateClassFee": { - aminoType: string; - toAmino: (message: _131.MsgUpdateClassFee) => _131.MsgUpdateClassFeeAmino; - fromAmino: (object: _131.MsgUpdateClassFeeAmino) => _131.MsgUpdateClassFee; - }; - "/regen.ecocredit.v1.MsgAddAllowedBridgeChain": { - aminoType: string; - toAmino: (message: _131.MsgAddAllowedBridgeChain) => _131.MsgAddAllowedBridgeChainAmino; - fromAmino: (object: _131.MsgAddAllowedBridgeChainAmino) => _131.MsgAddAllowedBridgeChain; - }; - "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChain": { - aminoType: string; - toAmino: (message: _131.MsgRemoveAllowedBridgeChain) => _131.MsgRemoveAllowedBridgeChainAmino; - fromAmino: (object: _131.MsgRemoveAllowedBridgeChainAmino) => _131.MsgRemoveAllowedBridgeChain; - }; - }; - Params: { - encode(message: _132.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _132.Params; - fromJSON(object: any): _132.Params; - toJSON(message: _132.Params): unknown; - fromPartial(object: Partial<_132.Params>): _132.Params; - fromAmino(object: _132.ParamsAmino): _132.Params; - toAmino(message: _132.Params): _132.ParamsAmino; - fromAminoMsg(object: _132.ParamsAminoMsg): _132.Params; - fromProtoMsg(message: _132.ParamsProtoMsg): _132.Params; - toProto(message: _132.Params): Uint8Array; - toProtoMsg(message: _132.Params): _132.ParamsProtoMsg; - }; - Credits: { - encode(message: _132.Credits, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _132.Credits; - fromJSON(object: any): _132.Credits; - toJSON(message: _132.Credits): unknown; - fromPartial(object: Partial<_132.Credits>): _132.Credits; - fromAmino(object: _132.CreditsAmino): _132.Credits; - toAmino(message: _132.Credits): _132.CreditsAmino; - fromAminoMsg(object: _132.CreditsAminoMsg): _132.Credits; - fromProtoMsg(message: _132.CreditsProtoMsg): _132.Credits; - toProto(message: _132.Credits): Uint8Array; - toProtoMsg(message: _132.Credits): _132.CreditsProtoMsg; - }; - BatchIssuance: { - encode(message: _132.BatchIssuance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _132.BatchIssuance; - fromJSON(object: any): _132.BatchIssuance; - toJSON(message: _132.BatchIssuance): unknown; - fromPartial(object: Partial<_132.BatchIssuance>): _132.BatchIssuance; - fromAmino(object: _132.BatchIssuanceAmino): _132.BatchIssuance; - toAmino(message: _132.BatchIssuance): _132.BatchIssuanceAmino; - fromAminoMsg(object: _132.BatchIssuanceAminoMsg): _132.BatchIssuance; - fromProtoMsg(message: _132.BatchIssuanceProtoMsg): _132.BatchIssuance; - toProto(message: _132.BatchIssuance): Uint8Array; - toProtoMsg(message: _132.BatchIssuance): _132.BatchIssuanceProtoMsg; - }; - OriginTx: { - encode(message: _132.OriginTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _132.OriginTx; - fromJSON(object: any): _132.OriginTx; - toJSON(message: _132.OriginTx): unknown; - fromPartial(object: Partial<_132.OriginTx>): _132.OriginTx; - fromAmino(object: _132.OriginTxAmino): _132.OriginTx; - toAmino(message: _132.OriginTx): _132.OriginTxAmino; - fromAminoMsg(object: _132.OriginTxAminoMsg): _132.OriginTx; - fromProtoMsg(message: _132.OriginTxProtoMsg): _132.OriginTx; - toProto(message: _132.OriginTx): Uint8Array; - toProtoMsg(message: _132.OriginTx): _132.OriginTxProtoMsg; - }; - CreditTypeProposal: { - encode(message: _132.CreditTypeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _132.CreditTypeProposal; - fromJSON(object: any): _132.CreditTypeProposal; - toJSON(message: _132.CreditTypeProposal): unknown; - fromPartial(object: Partial<_132.CreditTypeProposal>): _132.CreditTypeProposal; - fromAmino(object: _132.CreditTypeProposalAmino): _132.CreditTypeProposal; - toAmino(message: _132.CreditTypeProposal): _132.CreditTypeProposalAmino; - fromAminoMsg(object: _132.CreditTypeProposalAminoMsg): _132.CreditTypeProposal; - fromProtoMsg(message: _132.CreditTypeProposalProtoMsg): _132.CreditTypeProposal; - toProto(message: _132.CreditTypeProposal): Uint8Array; - toProtoMsg(message: _132.CreditTypeProposal): _132.CreditTypeProposalProtoMsg; - }; - AllowedDenom: { - encode(message: _132.AllowedDenom, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _132.AllowedDenom; - fromJSON(object: any): _132.AllowedDenom; - toJSON(message: _132.AllowedDenom): unknown; - fromPartial(object: Partial<_132.AllowedDenom>): _132.AllowedDenom; - fromAmino(object: _132.AllowedDenomAmino): _132.AllowedDenom; - toAmino(message: _132.AllowedDenom): _132.AllowedDenomAmino; - fromAminoMsg(object: _132.AllowedDenomAminoMsg): _132.AllowedDenom; - fromProtoMsg(message: _132.AllowedDenomProtoMsg): _132.AllowedDenom; - toProto(message: _132.AllowedDenom): Uint8Array; - toProtoMsg(message: _132.AllowedDenom): _132.AllowedDenomProtoMsg; - }; - MsgAddCreditType: { - encode(message: _131.MsgAddCreditType, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgAddCreditType; - fromJSON(object: any): _131.MsgAddCreditType; - toJSON(message: _131.MsgAddCreditType): unknown; - fromPartial(object: Partial<_131.MsgAddCreditType>): _131.MsgAddCreditType; - fromAmino(object: _131.MsgAddCreditTypeAmino): _131.MsgAddCreditType; - toAmino(message: _131.MsgAddCreditType): _131.MsgAddCreditTypeAmino; - fromAminoMsg(object: _131.MsgAddCreditTypeAminoMsg): _131.MsgAddCreditType; - toAminoMsg(message: _131.MsgAddCreditType): _131.MsgAddCreditTypeAminoMsg; - fromProtoMsg(message: _131.MsgAddCreditTypeProtoMsg): _131.MsgAddCreditType; - toProto(message: _131.MsgAddCreditType): Uint8Array; - toProtoMsg(message: _131.MsgAddCreditType): _131.MsgAddCreditTypeProtoMsg; - }; - MsgAddCreditTypeResponse: { - encode(_: _131.MsgAddCreditTypeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgAddCreditTypeResponse; - fromJSON(_: any): _131.MsgAddCreditTypeResponse; - toJSON(_: _131.MsgAddCreditTypeResponse): unknown; - fromPartial(_: Partial<_131.MsgAddCreditTypeResponse>): _131.MsgAddCreditTypeResponse; - fromAmino(_: _131.MsgAddCreditTypeResponseAmino): _131.MsgAddCreditTypeResponse; - toAmino(_: _131.MsgAddCreditTypeResponse): _131.MsgAddCreditTypeResponseAmino; - fromAminoMsg(object: _131.MsgAddCreditTypeResponseAminoMsg): _131.MsgAddCreditTypeResponse; - fromProtoMsg(message: _131.MsgAddCreditTypeResponseProtoMsg): _131.MsgAddCreditTypeResponse; - toProto(message: _131.MsgAddCreditTypeResponse): Uint8Array; - toProtoMsg(message: _131.MsgAddCreditTypeResponse): _131.MsgAddCreditTypeResponseProtoMsg; - }; - MsgCreateClass: { - encode(message: _131.MsgCreateClass, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCreateClass; - fromJSON(object: any): _131.MsgCreateClass; - toJSON(message: _131.MsgCreateClass): unknown; - fromPartial(object: Partial<_131.MsgCreateClass>): _131.MsgCreateClass; - fromAmino(object: _131.MsgCreateClassAmino): _131.MsgCreateClass; - toAmino(message: _131.MsgCreateClass): _131.MsgCreateClassAmino; - fromAminoMsg(object: _131.MsgCreateClassAminoMsg): _131.MsgCreateClass; - toAminoMsg(message: _131.MsgCreateClass): _131.MsgCreateClassAminoMsg; - fromProtoMsg(message: _131.MsgCreateClassProtoMsg): _131.MsgCreateClass; - toProto(message: _131.MsgCreateClass): Uint8Array; - toProtoMsg(message: _131.MsgCreateClass): _131.MsgCreateClassProtoMsg; - }; - MsgCreateClassResponse: { - encode(message: _131.MsgCreateClassResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCreateClassResponse; - fromJSON(object: any): _131.MsgCreateClassResponse; - toJSON(message: _131.MsgCreateClassResponse): unknown; - fromPartial(object: Partial<_131.MsgCreateClassResponse>): _131.MsgCreateClassResponse; - fromAmino(object: _131.MsgCreateClassResponseAmino): _131.MsgCreateClassResponse; - toAmino(message: _131.MsgCreateClassResponse): _131.MsgCreateClassResponseAmino; - fromAminoMsg(object: _131.MsgCreateClassResponseAminoMsg): _131.MsgCreateClassResponse; - fromProtoMsg(message: _131.MsgCreateClassResponseProtoMsg): _131.MsgCreateClassResponse; - toProto(message: _131.MsgCreateClassResponse): Uint8Array; - toProtoMsg(message: _131.MsgCreateClassResponse): _131.MsgCreateClassResponseProtoMsg; - }; - MsgCreateProject: { - encode(message: _131.MsgCreateProject, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCreateProject; - fromJSON(object: any): _131.MsgCreateProject; - toJSON(message: _131.MsgCreateProject): unknown; - fromPartial(object: Partial<_131.MsgCreateProject>): _131.MsgCreateProject; - fromAmino(object: _131.MsgCreateProjectAmino): _131.MsgCreateProject; - toAmino(message: _131.MsgCreateProject): _131.MsgCreateProjectAmino; - fromAminoMsg(object: _131.MsgCreateProjectAminoMsg): _131.MsgCreateProject; - toAminoMsg(message: _131.MsgCreateProject): _131.MsgCreateProjectAminoMsg; - fromProtoMsg(message: _131.MsgCreateProjectProtoMsg): _131.MsgCreateProject; - toProto(message: _131.MsgCreateProject): Uint8Array; - toProtoMsg(message: _131.MsgCreateProject): _131.MsgCreateProjectProtoMsg; - }; - MsgCreateProjectResponse: { - encode(message: _131.MsgCreateProjectResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCreateProjectResponse; - fromJSON(object: any): _131.MsgCreateProjectResponse; - toJSON(message: _131.MsgCreateProjectResponse): unknown; - fromPartial(object: Partial<_131.MsgCreateProjectResponse>): _131.MsgCreateProjectResponse; - fromAmino(object: _131.MsgCreateProjectResponseAmino): _131.MsgCreateProjectResponse; - toAmino(message: _131.MsgCreateProjectResponse): _131.MsgCreateProjectResponseAmino; - fromAminoMsg(object: _131.MsgCreateProjectResponseAminoMsg): _131.MsgCreateProjectResponse; - fromProtoMsg(message: _131.MsgCreateProjectResponseProtoMsg): _131.MsgCreateProjectResponse; - toProto(message: _131.MsgCreateProjectResponse): Uint8Array; - toProtoMsg(message: _131.MsgCreateProjectResponse): _131.MsgCreateProjectResponseProtoMsg; - }; - MsgCreateBatch: { - encode(message: _131.MsgCreateBatch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCreateBatch; - fromJSON(object: any): _131.MsgCreateBatch; - toJSON(message: _131.MsgCreateBatch): unknown; - fromPartial(object: Partial<_131.MsgCreateBatch>): _131.MsgCreateBatch; - fromAmino(object: _131.MsgCreateBatchAmino): _131.MsgCreateBatch; - toAmino(message: _131.MsgCreateBatch): _131.MsgCreateBatchAmino; - fromAminoMsg(object: _131.MsgCreateBatchAminoMsg): _131.MsgCreateBatch; - toAminoMsg(message: _131.MsgCreateBatch): _131.MsgCreateBatchAminoMsg; - fromProtoMsg(message: _131.MsgCreateBatchProtoMsg): _131.MsgCreateBatch; - toProto(message: _131.MsgCreateBatch): Uint8Array; - toProtoMsg(message: _131.MsgCreateBatch): _131.MsgCreateBatchProtoMsg; - }; - MsgCreateBatchResponse: { - encode(message: _131.MsgCreateBatchResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCreateBatchResponse; - fromJSON(object: any): _131.MsgCreateBatchResponse; - toJSON(message: _131.MsgCreateBatchResponse): unknown; - fromPartial(object: Partial<_131.MsgCreateBatchResponse>): _131.MsgCreateBatchResponse; - fromAmino(object: _131.MsgCreateBatchResponseAmino): _131.MsgCreateBatchResponse; - toAmino(message: _131.MsgCreateBatchResponse): _131.MsgCreateBatchResponseAmino; - fromAminoMsg(object: _131.MsgCreateBatchResponseAminoMsg): _131.MsgCreateBatchResponse; - fromProtoMsg(message: _131.MsgCreateBatchResponseProtoMsg): _131.MsgCreateBatchResponse; - toProto(message: _131.MsgCreateBatchResponse): Uint8Array; - toProtoMsg(message: _131.MsgCreateBatchResponse): _131.MsgCreateBatchResponseProtoMsg; - }; - MsgMintBatchCredits: { - encode(message: _131.MsgMintBatchCredits, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgMintBatchCredits; - fromJSON(object: any): _131.MsgMintBatchCredits; - toJSON(message: _131.MsgMintBatchCredits): unknown; - fromPartial(object: Partial<_131.MsgMintBatchCredits>): _131.MsgMintBatchCredits; - fromAmino(object: _131.MsgMintBatchCreditsAmino): _131.MsgMintBatchCredits; - toAmino(message: _131.MsgMintBatchCredits): _131.MsgMintBatchCreditsAmino; - fromAminoMsg(object: _131.MsgMintBatchCreditsAminoMsg): _131.MsgMintBatchCredits; - toAminoMsg(message: _131.MsgMintBatchCredits): _131.MsgMintBatchCreditsAminoMsg; - fromProtoMsg(message: _131.MsgMintBatchCreditsProtoMsg): _131.MsgMintBatchCredits; - toProto(message: _131.MsgMintBatchCredits): Uint8Array; - toProtoMsg(message: _131.MsgMintBatchCredits): _131.MsgMintBatchCreditsProtoMsg; - }; - MsgMintBatchCreditsResponse: { - encode(_: _131.MsgMintBatchCreditsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgMintBatchCreditsResponse; - fromJSON(_: any): _131.MsgMintBatchCreditsResponse; - toJSON(_: _131.MsgMintBatchCreditsResponse): unknown; - fromPartial(_: Partial<_131.MsgMintBatchCreditsResponse>): _131.MsgMintBatchCreditsResponse; - fromAmino(_: _131.MsgMintBatchCreditsResponseAmino): _131.MsgMintBatchCreditsResponse; - toAmino(_: _131.MsgMintBatchCreditsResponse): _131.MsgMintBatchCreditsResponseAmino; - fromAminoMsg(object: _131.MsgMintBatchCreditsResponseAminoMsg): _131.MsgMintBatchCreditsResponse; - fromProtoMsg(message: _131.MsgMintBatchCreditsResponseProtoMsg): _131.MsgMintBatchCreditsResponse; - toProto(message: _131.MsgMintBatchCreditsResponse): Uint8Array; - toProtoMsg(message: _131.MsgMintBatchCreditsResponse): _131.MsgMintBatchCreditsResponseProtoMsg; - }; - MsgSealBatch: { - encode(message: _131.MsgSealBatch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgSealBatch; - fromJSON(object: any): _131.MsgSealBatch; - toJSON(message: _131.MsgSealBatch): unknown; - fromPartial(object: Partial<_131.MsgSealBatch>): _131.MsgSealBatch; - fromAmino(object: _131.MsgSealBatchAmino): _131.MsgSealBatch; - toAmino(message: _131.MsgSealBatch): _131.MsgSealBatchAmino; - fromAminoMsg(object: _131.MsgSealBatchAminoMsg): _131.MsgSealBatch; - toAminoMsg(message: _131.MsgSealBatch): _131.MsgSealBatchAminoMsg; - fromProtoMsg(message: _131.MsgSealBatchProtoMsg): _131.MsgSealBatch; - toProto(message: _131.MsgSealBatch): Uint8Array; - toProtoMsg(message: _131.MsgSealBatch): _131.MsgSealBatchProtoMsg; - }; - MsgSealBatchResponse: { - encode(_: _131.MsgSealBatchResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgSealBatchResponse; - fromJSON(_: any): _131.MsgSealBatchResponse; - toJSON(_: _131.MsgSealBatchResponse): unknown; - fromPartial(_: Partial<_131.MsgSealBatchResponse>): _131.MsgSealBatchResponse; - fromAmino(_: _131.MsgSealBatchResponseAmino): _131.MsgSealBatchResponse; - toAmino(_: _131.MsgSealBatchResponse): _131.MsgSealBatchResponseAmino; - fromAminoMsg(object: _131.MsgSealBatchResponseAminoMsg): _131.MsgSealBatchResponse; - fromProtoMsg(message: _131.MsgSealBatchResponseProtoMsg): _131.MsgSealBatchResponse; - toProto(message: _131.MsgSealBatchResponse): Uint8Array; - toProtoMsg(message: _131.MsgSealBatchResponse): _131.MsgSealBatchResponseProtoMsg; - }; - MsgSend: { - encode(message: _131.MsgSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgSend; - fromJSON(object: any): _131.MsgSend; - toJSON(message: _131.MsgSend): unknown; - fromPartial(object: Partial<_131.MsgSend>): _131.MsgSend; - fromAmino(object: _131.MsgSendAmino): _131.MsgSend; - toAmino(message: _131.MsgSend): _131.MsgSendAmino; - fromAminoMsg(object: _131.MsgSendAminoMsg): _131.MsgSend; - toAminoMsg(message: _131.MsgSend): _131.MsgSendAminoMsg; - fromProtoMsg(message: _131.MsgSendProtoMsg): _131.MsgSend; - toProto(message: _131.MsgSend): Uint8Array; - toProtoMsg(message: _131.MsgSend): _131.MsgSendProtoMsg; - }; - MsgSend_SendCredits: { - encode(message: _131.MsgSend_SendCredits, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgSend_SendCredits; - fromJSON(object: any): _131.MsgSend_SendCredits; - toJSON(message: _131.MsgSend_SendCredits): unknown; - fromPartial(object: Partial<_131.MsgSend_SendCredits>): _131.MsgSend_SendCredits; - fromAmino(object: _131.MsgSend_SendCreditsAmino): _131.MsgSend_SendCredits; - toAmino(message: _131.MsgSend_SendCredits): _131.MsgSend_SendCreditsAmino; - fromAminoMsg(object: _131.MsgSend_SendCreditsAminoMsg): _131.MsgSend_SendCredits; - fromProtoMsg(message: _131.MsgSend_SendCreditsProtoMsg): _131.MsgSend_SendCredits; - toProto(message: _131.MsgSend_SendCredits): Uint8Array; - toProtoMsg(message: _131.MsgSend_SendCredits): _131.MsgSend_SendCreditsProtoMsg; - }; - MsgSendResponse: { - encode(_: _131.MsgSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgSendResponse; - fromJSON(_: any): _131.MsgSendResponse; - toJSON(_: _131.MsgSendResponse): unknown; - fromPartial(_: Partial<_131.MsgSendResponse>): _131.MsgSendResponse; - fromAmino(_: _131.MsgSendResponseAmino): _131.MsgSendResponse; - toAmino(_: _131.MsgSendResponse): _131.MsgSendResponseAmino; - fromAminoMsg(object: _131.MsgSendResponseAminoMsg): _131.MsgSendResponse; - fromProtoMsg(message: _131.MsgSendResponseProtoMsg): _131.MsgSendResponse; - toProto(message: _131.MsgSendResponse): Uint8Array; - toProtoMsg(message: _131.MsgSendResponse): _131.MsgSendResponseProtoMsg; - }; - MsgRetire: { - encode(message: _131.MsgRetire, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgRetire; - fromJSON(object: any): _131.MsgRetire; - toJSON(message: _131.MsgRetire): unknown; - fromPartial(object: Partial<_131.MsgRetire>): _131.MsgRetire; - fromAmino(object: _131.MsgRetireAmino): _131.MsgRetire; - toAmino(message: _131.MsgRetire): _131.MsgRetireAmino; - fromAminoMsg(object: _131.MsgRetireAminoMsg): _131.MsgRetire; - toAminoMsg(message: _131.MsgRetire): _131.MsgRetireAminoMsg; - fromProtoMsg(message: _131.MsgRetireProtoMsg): _131.MsgRetire; - toProto(message: _131.MsgRetire): Uint8Array; - toProtoMsg(message: _131.MsgRetire): _131.MsgRetireProtoMsg; - }; - MsgRetireResponse: { - encode(_: _131.MsgRetireResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgRetireResponse; - fromJSON(_: any): _131.MsgRetireResponse; - toJSON(_: _131.MsgRetireResponse): unknown; - fromPartial(_: Partial<_131.MsgRetireResponse>): _131.MsgRetireResponse; - fromAmino(_: _131.MsgRetireResponseAmino): _131.MsgRetireResponse; - toAmino(_: _131.MsgRetireResponse): _131.MsgRetireResponseAmino; - fromAminoMsg(object: _131.MsgRetireResponseAminoMsg): _131.MsgRetireResponse; - fromProtoMsg(message: _131.MsgRetireResponseProtoMsg): _131.MsgRetireResponse; - toProto(message: _131.MsgRetireResponse): Uint8Array; - toProtoMsg(message: _131.MsgRetireResponse): _131.MsgRetireResponseProtoMsg; - }; - MsgCancel: { - encode(message: _131.MsgCancel, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCancel; - fromJSON(object: any): _131.MsgCancel; - toJSON(message: _131.MsgCancel): unknown; - fromPartial(object: Partial<_131.MsgCancel>): _131.MsgCancel; - fromAmino(object: _131.MsgCancelAmino): _131.MsgCancel; - toAmino(message: _131.MsgCancel): _131.MsgCancelAmino; - fromAminoMsg(object: _131.MsgCancelAminoMsg): _131.MsgCancel; - toAminoMsg(message: _131.MsgCancel): _131.MsgCancelAminoMsg; - fromProtoMsg(message: _131.MsgCancelProtoMsg): _131.MsgCancel; - toProto(message: _131.MsgCancel): Uint8Array; - toProtoMsg(message: _131.MsgCancel): _131.MsgCancelProtoMsg; - }; - MsgCancelResponse: { - encode(_: _131.MsgCancelResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgCancelResponse; - fromJSON(_: any): _131.MsgCancelResponse; - toJSON(_: _131.MsgCancelResponse): unknown; - fromPartial(_: Partial<_131.MsgCancelResponse>): _131.MsgCancelResponse; - fromAmino(_: _131.MsgCancelResponseAmino): _131.MsgCancelResponse; - toAmino(_: _131.MsgCancelResponse): _131.MsgCancelResponseAmino; - fromAminoMsg(object: _131.MsgCancelResponseAminoMsg): _131.MsgCancelResponse; - fromProtoMsg(message: _131.MsgCancelResponseProtoMsg): _131.MsgCancelResponse; - toProto(message: _131.MsgCancelResponse): Uint8Array; - toProtoMsg(message: _131.MsgCancelResponse): _131.MsgCancelResponseProtoMsg; - }; - MsgUpdateClassAdmin: { - encode(message: _131.MsgUpdateClassAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassAdmin; - fromJSON(object: any): _131.MsgUpdateClassAdmin; - toJSON(message: _131.MsgUpdateClassAdmin): unknown; - fromPartial(object: Partial<_131.MsgUpdateClassAdmin>): _131.MsgUpdateClassAdmin; - fromAmino(object: _131.MsgUpdateClassAdminAmino): _131.MsgUpdateClassAdmin; - toAmino(message: _131.MsgUpdateClassAdmin): _131.MsgUpdateClassAdminAmino; - fromAminoMsg(object: _131.MsgUpdateClassAdminAminoMsg): _131.MsgUpdateClassAdmin; - toAminoMsg(message: _131.MsgUpdateClassAdmin): _131.MsgUpdateClassAdminAminoMsg; - fromProtoMsg(message: _131.MsgUpdateClassAdminProtoMsg): _131.MsgUpdateClassAdmin; - toProto(message: _131.MsgUpdateClassAdmin): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassAdmin): _131.MsgUpdateClassAdminProtoMsg; - }; - MsgUpdateClassAdminResponse: { - encode(_: _131.MsgUpdateClassAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassAdminResponse; - fromJSON(_: any): _131.MsgUpdateClassAdminResponse; - toJSON(_: _131.MsgUpdateClassAdminResponse): unknown; - fromPartial(_: Partial<_131.MsgUpdateClassAdminResponse>): _131.MsgUpdateClassAdminResponse; - fromAmino(_: _131.MsgUpdateClassAdminResponseAmino): _131.MsgUpdateClassAdminResponse; - toAmino(_: _131.MsgUpdateClassAdminResponse): _131.MsgUpdateClassAdminResponseAmino; - fromAminoMsg(object: _131.MsgUpdateClassAdminResponseAminoMsg): _131.MsgUpdateClassAdminResponse; - fromProtoMsg(message: _131.MsgUpdateClassAdminResponseProtoMsg): _131.MsgUpdateClassAdminResponse; - toProto(message: _131.MsgUpdateClassAdminResponse): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassAdminResponse): _131.MsgUpdateClassAdminResponseProtoMsg; - }; - MsgUpdateClassIssuers: { - encode(message: _131.MsgUpdateClassIssuers, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassIssuers; - fromJSON(object: any): _131.MsgUpdateClassIssuers; - toJSON(message: _131.MsgUpdateClassIssuers): unknown; - fromPartial(object: Partial<_131.MsgUpdateClassIssuers>): _131.MsgUpdateClassIssuers; - fromAmino(object: _131.MsgUpdateClassIssuersAmino): _131.MsgUpdateClassIssuers; - toAmino(message: _131.MsgUpdateClassIssuers): _131.MsgUpdateClassIssuersAmino; - fromAminoMsg(object: _131.MsgUpdateClassIssuersAminoMsg): _131.MsgUpdateClassIssuers; - toAminoMsg(message: _131.MsgUpdateClassIssuers): _131.MsgUpdateClassIssuersAminoMsg; - fromProtoMsg(message: _131.MsgUpdateClassIssuersProtoMsg): _131.MsgUpdateClassIssuers; - toProto(message: _131.MsgUpdateClassIssuers): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassIssuers): _131.MsgUpdateClassIssuersProtoMsg; - }; - MsgUpdateClassIssuersResponse: { - encode(_: _131.MsgUpdateClassIssuersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassIssuersResponse; - fromJSON(_: any): _131.MsgUpdateClassIssuersResponse; - toJSON(_: _131.MsgUpdateClassIssuersResponse): unknown; - fromPartial(_: Partial<_131.MsgUpdateClassIssuersResponse>): _131.MsgUpdateClassIssuersResponse; - fromAmino(_: _131.MsgUpdateClassIssuersResponseAmino): _131.MsgUpdateClassIssuersResponse; - toAmino(_: _131.MsgUpdateClassIssuersResponse): _131.MsgUpdateClassIssuersResponseAmino; - fromAminoMsg(object: _131.MsgUpdateClassIssuersResponseAminoMsg): _131.MsgUpdateClassIssuersResponse; - fromProtoMsg(message: _131.MsgUpdateClassIssuersResponseProtoMsg): _131.MsgUpdateClassIssuersResponse; - toProto(message: _131.MsgUpdateClassIssuersResponse): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassIssuersResponse): _131.MsgUpdateClassIssuersResponseProtoMsg; - }; - MsgUpdateClassMetadata: { - encode(message: _131.MsgUpdateClassMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassMetadata; - fromJSON(object: any): _131.MsgUpdateClassMetadata; - toJSON(message: _131.MsgUpdateClassMetadata): unknown; - fromPartial(object: Partial<_131.MsgUpdateClassMetadata>): _131.MsgUpdateClassMetadata; - fromAmino(object: _131.MsgUpdateClassMetadataAmino): _131.MsgUpdateClassMetadata; - toAmino(message: _131.MsgUpdateClassMetadata): _131.MsgUpdateClassMetadataAmino; - fromAminoMsg(object: _131.MsgUpdateClassMetadataAminoMsg): _131.MsgUpdateClassMetadata; - toAminoMsg(message: _131.MsgUpdateClassMetadata): _131.MsgUpdateClassMetadataAminoMsg; - fromProtoMsg(message: _131.MsgUpdateClassMetadataProtoMsg): _131.MsgUpdateClassMetadata; - toProto(message: _131.MsgUpdateClassMetadata): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassMetadata): _131.MsgUpdateClassMetadataProtoMsg; - }; - MsgUpdateClassMetadataResponse: { - encode(_: _131.MsgUpdateClassMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassMetadataResponse; - fromJSON(_: any): _131.MsgUpdateClassMetadataResponse; - toJSON(_: _131.MsgUpdateClassMetadataResponse): unknown; - fromPartial(_: Partial<_131.MsgUpdateClassMetadataResponse>): _131.MsgUpdateClassMetadataResponse; - fromAmino(_: _131.MsgUpdateClassMetadataResponseAmino): _131.MsgUpdateClassMetadataResponse; - toAmino(_: _131.MsgUpdateClassMetadataResponse): _131.MsgUpdateClassMetadataResponseAmino; - fromAminoMsg(object: _131.MsgUpdateClassMetadataResponseAminoMsg): _131.MsgUpdateClassMetadataResponse; - fromProtoMsg(message: _131.MsgUpdateClassMetadataResponseProtoMsg): _131.MsgUpdateClassMetadataResponse; - toProto(message: _131.MsgUpdateClassMetadataResponse): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassMetadataResponse): _131.MsgUpdateClassMetadataResponseProtoMsg; - }; - MsgUpdateProjectAdmin: { - encode(message: _131.MsgUpdateProjectAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateProjectAdmin; - fromJSON(object: any): _131.MsgUpdateProjectAdmin; - toJSON(message: _131.MsgUpdateProjectAdmin): unknown; - fromPartial(object: Partial<_131.MsgUpdateProjectAdmin>): _131.MsgUpdateProjectAdmin; - fromAmino(object: _131.MsgUpdateProjectAdminAmino): _131.MsgUpdateProjectAdmin; - toAmino(message: _131.MsgUpdateProjectAdmin): _131.MsgUpdateProjectAdminAmino; - fromAminoMsg(object: _131.MsgUpdateProjectAdminAminoMsg): _131.MsgUpdateProjectAdmin; - toAminoMsg(message: _131.MsgUpdateProjectAdmin): _131.MsgUpdateProjectAdminAminoMsg; - fromProtoMsg(message: _131.MsgUpdateProjectAdminProtoMsg): _131.MsgUpdateProjectAdmin; - toProto(message: _131.MsgUpdateProjectAdmin): Uint8Array; - toProtoMsg(message: _131.MsgUpdateProjectAdmin): _131.MsgUpdateProjectAdminProtoMsg; - }; - MsgUpdateProjectAdminResponse: { - encode(_: _131.MsgUpdateProjectAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateProjectAdminResponse; - fromJSON(_: any): _131.MsgUpdateProjectAdminResponse; - toJSON(_: _131.MsgUpdateProjectAdminResponse): unknown; - fromPartial(_: Partial<_131.MsgUpdateProjectAdminResponse>): _131.MsgUpdateProjectAdminResponse; - fromAmino(_: _131.MsgUpdateProjectAdminResponseAmino): _131.MsgUpdateProjectAdminResponse; - toAmino(_: _131.MsgUpdateProjectAdminResponse): _131.MsgUpdateProjectAdminResponseAmino; - fromAminoMsg(object: _131.MsgUpdateProjectAdminResponseAminoMsg): _131.MsgUpdateProjectAdminResponse; - fromProtoMsg(message: _131.MsgUpdateProjectAdminResponseProtoMsg): _131.MsgUpdateProjectAdminResponse; - toProto(message: _131.MsgUpdateProjectAdminResponse): Uint8Array; - toProtoMsg(message: _131.MsgUpdateProjectAdminResponse): _131.MsgUpdateProjectAdminResponseProtoMsg; - }; - MsgUpdateProjectMetadata: { - encode(message: _131.MsgUpdateProjectMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateProjectMetadata; - fromJSON(object: any): _131.MsgUpdateProjectMetadata; - toJSON(message: _131.MsgUpdateProjectMetadata): unknown; - fromPartial(object: Partial<_131.MsgUpdateProjectMetadata>): _131.MsgUpdateProjectMetadata; - fromAmino(object: _131.MsgUpdateProjectMetadataAmino): _131.MsgUpdateProjectMetadata; - toAmino(message: _131.MsgUpdateProjectMetadata): _131.MsgUpdateProjectMetadataAmino; - fromAminoMsg(object: _131.MsgUpdateProjectMetadataAminoMsg): _131.MsgUpdateProjectMetadata; - toAminoMsg(message: _131.MsgUpdateProjectMetadata): _131.MsgUpdateProjectMetadataAminoMsg; - fromProtoMsg(message: _131.MsgUpdateProjectMetadataProtoMsg): _131.MsgUpdateProjectMetadata; - toProto(message: _131.MsgUpdateProjectMetadata): Uint8Array; - toProtoMsg(message: _131.MsgUpdateProjectMetadata): _131.MsgUpdateProjectMetadataProtoMsg; - }; - MsgUpdateProjectMetadataResponse: { - encode(_: _131.MsgUpdateProjectMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateProjectMetadataResponse; - fromJSON(_: any): _131.MsgUpdateProjectMetadataResponse; - toJSON(_: _131.MsgUpdateProjectMetadataResponse): unknown; - fromPartial(_: Partial<_131.MsgUpdateProjectMetadataResponse>): _131.MsgUpdateProjectMetadataResponse; - fromAmino(_: _131.MsgUpdateProjectMetadataResponseAmino): _131.MsgUpdateProjectMetadataResponse; - toAmino(_: _131.MsgUpdateProjectMetadataResponse): _131.MsgUpdateProjectMetadataResponseAmino; - fromAminoMsg(object: _131.MsgUpdateProjectMetadataResponseAminoMsg): _131.MsgUpdateProjectMetadataResponse; - fromProtoMsg(message: _131.MsgUpdateProjectMetadataResponseProtoMsg): _131.MsgUpdateProjectMetadataResponse; - toProto(message: _131.MsgUpdateProjectMetadataResponse): Uint8Array; - toProtoMsg(message: _131.MsgUpdateProjectMetadataResponse): _131.MsgUpdateProjectMetadataResponseProtoMsg; - }; - MsgBridge: { - encode(message: _131.MsgBridge, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgBridge; - fromJSON(object: any): _131.MsgBridge; - toJSON(message: _131.MsgBridge): unknown; - fromPartial(object: Partial<_131.MsgBridge>): _131.MsgBridge; - fromAmino(object: _131.MsgBridgeAmino): _131.MsgBridge; - toAmino(message: _131.MsgBridge): _131.MsgBridgeAmino; - fromAminoMsg(object: _131.MsgBridgeAminoMsg): _131.MsgBridge; - toAminoMsg(message: _131.MsgBridge): _131.MsgBridgeAminoMsg; - fromProtoMsg(message: _131.MsgBridgeProtoMsg): _131.MsgBridge; - toProto(message: _131.MsgBridge): Uint8Array; - toProtoMsg(message: _131.MsgBridge): _131.MsgBridgeProtoMsg; - }; - MsgUpdateBatchMetadata: { - encode(message: _131.MsgUpdateBatchMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateBatchMetadata; - fromJSON(object: any): _131.MsgUpdateBatchMetadata; - toJSON(message: _131.MsgUpdateBatchMetadata): unknown; - fromPartial(object: Partial<_131.MsgUpdateBatchMetadata>): _131.MsgUpdateBatchMetadata; - fromAmino(object: _131.MsgUpdateBatchMetadataAmino): _131.MsgUpdateBatchMetadata; - toAmino(message: _131.MsgUpdateBatchMetadata): _131.MsgUpdateBatchMetadataAmino; - fromAminoMsg(object: _131.MsgUpdateBatchMetadataAminoMsg): _131.MsgUpdateBatchMetadata; - toAminoMsg(message: _131.MsgUpdateBatchMetadata): _131.MsgUpdateBatchMetadataAminoMsg; - fromProtoMsg(message: _131.MsgUpdateBatchMetadataProtoMsg): _131.MsgUpdateBatchMetadata; - toProto(message: _131.MsgUpdateBatchMetadata): Uint8Array; - toProtoMsg(message: _131.MsgUpdateBatchMetadata): _131.MsgUpdateBatchMetadataProtoMsg; - }; - MsgUpdateBatchMetadataResponse: { - encode(_: _131.MsgUpdateBatchMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateBatchMetadataResponse; - fromJSON(_: any): _131.MsgUpdateBatchMetadataResponse; - toJSON(_: _131.MsgUpdateBatchMetadataResponse): unknown; - fromPartial(_: Partial<_131.MsgUpdateBatchMetadataResponse>): _131.MsgUpdateBatchMetadataResponse; - fromAmino(_: _131.MsgUpdateBatchMetadataResponseAmino): _131.MsgUpdateBatchMetadataResponse; - toAmino(_: _131.MsgUpdateBatchMetadataResponse): _131.MsgUpdateBatchMetadataResponseAmino; - fromAminoMsg(object: _131.MsgUpdateBatchMetadataResponseAminoMsg): _131.MsgUpdateBatchMetadataResponse; - fromProtoMsg(message: _131.MsgUpdateBatchMetadataResponseProtoMsg): _131.MsgUpdateBatchMetadataResponse; - toProto(message: _131.MsgUpdateBatchMetadataResponse): Uint8Array; - toProtoMsg(message: _131.MsgUpdateBatchMetadataResponse): _131.MsgUpdateBatchMetadataResponseProtoMsg; - }; - MsgBridgeResponse: { - encode(_: _131.MsgBridgeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgBridgeResponse; - fromJSON(_: any): _131.MsgBridgeResponse; - toJSON(_: _131.MsgBridgeResponse): unknown; - fromPartial(_: Partial<_131.MsgBridgeResponse>): _131.MsgBridgeResponse; - fromAmino(_: _131.MsgBridgeResponseAmino): _131.MsgBridgeResponse; - toAmino(_: _131.MsgBridgeResponse): _131.MsgBridgeResponseAmino; - fromAminoMsg(object: _131.MsgBridgeResponseAminoMsg): _131.MsgBridgeResponse; - fromProtoMsg(message: _131.MsgBridgeResponseProtoMsg): _131.MsgBridgeResponse; - toProto(message: _131.MsgBridgeResponse): Uint8Array; - toProtoMsg(message: _131.MsgBridgeResponse): _131.MsgBridgeResponseProtoMsg; - }; - MsgBridgeReceive: { - encode(message: _131.MsgBridgeReceive, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgBridgeReceive; - fromJSON(object: any): _131.MsgBridgeReceive; - toJSON(message: _131.MsgBridgeReceive): unknown; - fromPartial(object: Partial<_131.MsgBridgeReceive>): _131.MsgBridgeReceive; - fromAmino(object: _131.MsgBridgeReceiveAmino): _131.MsgBridgeReceive; - toAmino(message: _131.MsgBridgeReceive): _131.MsgBridgeReceiveAmino; - fromAminoMsg(object: _131.MsgBridgeReceiveAminoMsg): _131.MsgBridgeReceive; - toAminoMsg(message: _131.MsgBridgeReceive): _131.MsgBridgeReceiveAminoMsg; - fromProtoMsg(message: _131.MsgBridgeReceiveProtoMsg): _131.MsgBridgeReceive; - toProto(message: _131.MsgBridgeReceive): Uint8Array; - toProtoMsg(message: _131.MsgBridgeReceive): _131.MsgBridgeReceiveProtoMsg; - }; - MsgBridgeReceive_Batch: { - encode(message: _131.MsgBridgeReceive_Batch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgBridgeReceive_Batch; - fromJSON(object: any): _131.MsgBridgeReceive_Batch; - toJSON(message: _131.MsgBridgeReceive_Batch): unknown; - fromPartial(object: Partial<_131.MsgBridgeReceive_Batch>): _131.MsgBridgeReceive_Batch; - fromAmino(object: _131.MsgBridgeReceive_BatchAmino): _131.MsgBridgeReceive_Batch; - toAmino(message: _131.MsgBridgeReceive_Batch): _131.MsgBridgeReceive_BatchAmino; - fromAminoMsg(object: _131.MsgBridgeReceive_BatchAminoMsg): _131.MsgBridgeReceive_Batch; - fromProtoMsg(message: _131.MsgBridgeReceive_BatchProtoMsg): _131.MsgBridgeReceive_Batch; - toProto(message: _131.MsgBridgeReceive_Batch): Uint8Array; - toProtoMsg(message: _131.MsgBridgeReceive_Batch): _131.MsgBridgeReceive_BatchProtoMsg; - }; - MsgBridgeReceive_Project: { - encode(message: _131.MsgBridgeReceive_Project, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgBridgeReceive_Project; - fromJSON(object: any): _131.MsgBridgeReceive_Project; - toJSON(message: _131.MsgBridgeReceive_Project): unknown; - fromPartial(object: Partial<_131.MsgBridgeReceive_Project>): _131.MsgBridgeReceive_Project; - fromAmino(object: _131.MsgBridgeReceive_ProjectAmino): _131.MsgBridgeReceive_Project; - toAmino(message: _131.MsgBridgeReceive_Project): _131.MsgBridgeReceive_ProjectAmino; - fromAminoMsg(object: _131.MsgBridgeReceive_ProjectAminoMsg): _131.MsgBridgeReceive_Project; - fromProtoMsg(message: _131.MsgBridgeReceive_ProjectProtoMsg): _131.MsgBridgeReceive_Project; - toProto(message: _131.MsgBridgeReceive_Project): Uint8Array; - toProtoMsg(message: _131.MsgBridgeReceive_Project): _131.MsgBridgeReceive_ProjectProtoMsg; - }; - MsgBridgeReceiveResponse: { - encode(message: _131.MsgBridgeReceiveResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgBridgeReceiveResponse; - fromJSON(object: any): _131.MsgBridgeReceiveResponse; - toJSON(message: _131.MsgBridgeReceiveResponse): unknown; - fromPartial(object: Partial<_131.MsgBridgeReceiveResponse>): _131.MsgBridgeReceiveResponse; - fromAmino(object: _131.MsgBridgeReceiveResponseAmino): _131.MsgBridgeReceiveResponse; - toAmino(message: _131.MsgBridgeReceiveResponse): _131.MsgBridgeReceiveResponseAmino; - fromAminoMsg(object: _131.MsgBridgeReceiveResponseAminoMsg): _131.MsgBridgeReceiveResponse; - fromProtoMsg(message: _131.MsgBridgeReceiveResponseProtoMsg): _131.MsgBridgeReceiveResponse; - toProto(message: _131.MsgBridgeReceiveResponse): Uint8Array; - toProtoMsg(message: _131.MsgBridgeReceiveResponse): _131.MsgBridgeReceiveResponseProtoMsg; - }; - MsgAddClassCreator: { - encode(message: _131.MsgAddClassCreator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgAddClassCreator; - fromJSON(object: any): _131.MsgAddClassCreator; - toJSON(message: _131.MsgAddClassCreator): unknown; - fromPartial(object: Partial<_131.MsgAddClassCreator>): _131.MsgAddClassCreator; - fromAmino(object: _131.MsgAddClassCreatorAmino): _131.MsgAddClassCreator; - toAmino(message: _131.MsgAddClassCreator): _131.MsgAddClassCreatorAmino; - fromAminoMsg(object: _131.MsgAddClassCreatorAminoMsg): _131.MsgAddClassCreator; - toAminoMsg(message: _131.MsgAddClassCreator): _131.MsgAddClassCreatorAminoMsg; - fromProtoMsg(message: _131.MsgAddClassCreatorProtoMsg): _131.MsgAddClassCreator; - toProto(message: _131.MsgAddClassCreator): Uint8Array; - toProtoMsg(message: _131.MsgAddClassCreator): _131.MsgAddClassCreatorProtoMsg; - }; - MsgAddClassCreatorResponse: { - encode(_: _131.MsgAddClassCreatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgAddClassCreatorResponse; - fromJSON(_: any): _131.MsgAddClassCreatorResponse; - toJSON(_: _131.MsgAddClassCreatorResponse): unknown; - fromPartial(_: Partial<_131.MsgAddClassCreatorResponse>): _131.MsgAddClassCreatorResponse; - fromAmino(_: _131.MsgAddClassCreatorResponseAmino): _131.MsgAddClassCreatorResponse; - toAmino(_: _131.MsgAddClassCreatorResponse): _131.MsgAddClassCreatorResponseAmino; - fromAminoMsg(object: _131.MsgAddClassCreatorResponseAminoMsg): _131.MsgAddClassCreatorResponse; - fromProtoMsg(message: _131.MsgAddClassCreatorResponseProtoMsg): _131.MsgAddClassCreatorResponse; - toProto(message: _131.MsgAddClassCreatorResponse): Uint8Array; - toProtoMsg(message: _131.MsgAddClassCreatorResponse): _131.MsgAddClassCreatorResponseProtoMsg; - }; - MsgSetClassCreatorAllowlist: { - encode(message: _131.MsgSetClassCreatorAllowlist, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgSetClassCreatorAllowlist; - fromJSON(object: any): _131.MsgSetClassCreatorAllowlist; - toJSON(message: _131.MsgSetClassCreatorAllowlist): unknown; - fromPartial(object: Partial<_131.MsgSetClassCreatorAllowlist>): _131.MsgSetClassCreatorAllowlist; - fromAmino(object: _131.MsgSetClassCreatorAllowlistAmino): _131.MsgSetClassCreatorAllowlist; - toAmino(message: _131.MsgSetClassCreatorAllowlist): _131.MsgSetClassCreatorAllowlistAmino; - fromAminoMsg(object: _131.MsgSetClassCreatorAllowlistAminoMsg): _131.MsgSetClassCreatorAllowlist; - toAminoMsg(message: _131.MsgSetClassCreatorAllowlist): _131.MsgSetClassCreatorAllowlistAminoMsg; - fromProtoMsg(message: _131.MsgSetClassCreatorAllowlistProtoMsg): _131.MsgSetClassCreatorAllowlist; - toProto(message: _131.MsgSetClassCreatorAllowlist): Uint8Array; - toProtoMsg(message: _131.MsgSetClassCreatorAllowlist): _131.MsgSetClassCreatorAllowlistProtoMsg; - }; - MsgSetClassCreatorAllowlistResponse: { - encode(_: _131.MsgSetClassCreatorAllowlistResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgSetClassCreatorAllowlistResponse; - fromJSON(_: any): _131.MsgSetClassCreatorAllowlistResponse; - toJSON(_: _131.MsgSetClassCreatorAllowlistResponse): unknown; - fromPartial(_: Partial<_131.MsgSetClassCreatorAllowlistResponse>): _131.MsgSetClassCreatorAllowlistResponse; - fromAmino(_: _131.MsgSetClassCreatorAllowlistResponseAmino): _131.MsgSetClassCreatorAllowlistResponse; - toAmino(_: _131.MsgSetClassCreatorAllowlistResponse): _131.MsgSetClassCreatorAllowlistResponseAmino; - fromAminoMsg(object: _131.MsgSetClassCreatorAllowlistResponseAminoMsg): _131.MsgSetClassCreatorAllowlistResponse; - fromProtoMsg(message: _131.MsgSetClassCreatorAllowlistResponseProtoMsg): _131.MsgSetClassCreatorAllowlistResponse; - toProto(message: _131.MsgSetClassCreatorAllowlistResponse): Uint8Array; - toProtoMsg(message: _131.MsgSetClassCreatorAllowlistResponse): _131.MsgSetClassCreatorAllowlistResponseProtoMsg; - }; - MsgRemoveClassCreator: { - encode(message: _131.MsgRemoveClassCreator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgRemoveClassCreator; - fromJSON(object: any): _131.MsgRemoveClassCreator; - toJSON(message: _131.MsgRemoveClassCreator): unknown; - fromPartial(object: Partial<_131.MsgRemoveClassCreator>): _131.MsgRemoveClassCreator; - fromAmino(object: _131.MsgRemoveClassCreatorAmino): _131.MsgRemoveClassCreator; - toAmino(message: _131.MsgRemoveClassCreator): _131.MsgRemoveClassCreatorAmino; - fromAminoMsg(object: _131.MsgRemoveClassCreatorAminoMsg): _131.MsgRemoveClassCreator; - toAminoMsg(message: _131.MsgRemoveClassCreator): _131.MsgRemoveClassCreatorAminoMsg; - fromProtoMsg(message: _131.MsgRemoveClassCreatorProtoMsg): _131.MsgRemoveClassCreator; - toProto(message: _131.MsgRemoveClassCreator): Uint8Array; - toProtoMsg(message: _131.MsgRemoveClassCreator): _131.MsgRemoveClassCreatorProtoMsg; - }; - MsgRemoveClassCreatorResponse: { - encode(_: _131.MsgRemoveClassCreatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgRemoveClassCreatorResponse; - fromJSON(_: any): _131.MsgRemoveClassCreatorResponse; - toJSON(_: _131.MsgRemoveClassCreatorResponse): unknown; - fromPartial(_: Partial<_131.MsgRemoveClassCreatorResponse>): _131.MsgRemoveClassCreatorResponse; - fromAmino(_: _131.MsgRemoveClassCreatorResponseAmino): _131.MsgRemoveClassCreatorResponse; - toAmino(_: _131.MsgRemoveClassCreatorResponse): _131.MsgRemoveClassCreatorResponseAmino; - fromAminoMsg(object: _131.MsgRemoveClassCreatorResponseAminoMsg): _131.MsgRemoveClassCreatorResponse; - fromProtoMsg(message: _131.MsgRemoveClassCreatorResponseProtoMsg): _131.MsgRemoveClassCreatorResponse; - toProto(message: _131.MsgRemoveClassCreatorResponse): Uint8Array; - toProtoMsg(message: _131.MsgRemoveClassCreatorResponse): _131.MsgRemoveClassCreatorResponseProtoMsg; - }; - MsgUpdateClassFee: { - encode(message: _131.MsgUpdateClassFee, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassFee; - fromJSON(object: any): _131.MsgUpdateClassFee; - toJSON(message: _131.MsgUpdateClassFee): unknown; - fromPartial(object: Partial<_131.MsgUpdateClassFee>): _131.MsgUpdateClassFee; - fromAmino(object: _131.MsgUpdateClassFeeAmino): _131.MsgUpdateClassFee; - toAmino(message: _131.MsgUpdateClassFee): _131.MsgUpdateClassFeeAmino; - fromAminoMsg(object: _131.MsgUpdateClassFeeAminoMsg): _131.MsgUpdateClassFee; - toAminoMsg(message: _131.MsgUpdateClassFee): _131.MsgUpdateClassFeeAminoMsg; - fromProtoMsg(message: _131.MsgUpdateClassFeeProtoMsg): _131.MsgUpdateClassFee; - toProto(message: _131.MsgUpdateClassFee): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassFee): _131.MsgUpdateClassFeeProtoMsg; - }; - MsgUpdateClassFeeResponse: { - encode(_: _131.MsgUpdateClassFeeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgUpdateClassFeeResponse; - fromJSON(_: any): _131.MsgUpdateClassFeeResponse; - toJSON(_: _131.MsgUpdateClassFeeResponse): unknown; - fromPartial(_: Partial<_131.MsgUpdateClassFeeResponse>): _131.MsgUpdateClassFeeResponse; - fromAmino(_: _131.MsgUpdateClassFeeResponseAmino): _131.MsgUpdateClassFeeResponse; - toAmino(_: _131.MsgUpdateClassFeeResponse): _131.MsgUpdateClassFeeResponseAmino; - fromAminoMsg(object: _131.MsgUpdateClassFeeResponseAminoMsg): _131.MsgUpdateClassFeeResponse; - fromProtoMsg(message: _131.MsgUpdateClassFeeResponseProtoMsg): _131.MsgUpdateClassFeeResponse; - toProto(message: _131.MsgUpdateClassFeeResponse): Uint8Array; - toProtoMsg(message: _131.MsgUpdateClassFeeResponse): _131.MsgUpdateClassFeeResponseProtoMsg; - }; - MsgAddAllowedBridgeChain: { - encode(message: _131.MsgAddAllowedBridgeChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgAddAllowedBridgeChain; - fromJSON(object: any): _131.MsgAddAllowedBridgeChain; - toJSON(message: _131.MsgAddAllowedBridgeChain): unknown; - fromPartial(object: Partial<_131.MsgAddAllowedBridgeChain>): _131.MsgAddAllowedBridgeChain; - fromAmino(object: _131.MsgAddAllowedBridgeChainAmino): _131.MsgAddAllowedBridgeChain; - toAmino(message: _131.MsgAddAllowedBridgeChain): _131.MsgAddAllowedBridgeChainAmino; - fromAminoMsg(object: _131.MsgAddAllowedBridgeChainAminoMsg): _131.MsgAddAllowedBridgeChain; - toAminoMsg(message: _131.MsgAddAllowedBridgeChain): _131.MsgAddAllowedBridgeChainAminoMsg; - fromProtoMsg(message: _131.MsgAddAllowedBridgeChainProtoMsg): _131.MsgAddAllowedBridgeChain; - toProto(message: _131.MsgAddAllowedBridgeChain): Uint8Array; - toProtoMsg(message: _131.MsgAddAllowedBridgeChain): _131.MsgAddAllowedBridgeChainProtoMsg; - }; - MsgAddAllowedBridgeChainResponse: { - encode(_: _131.MsgAddAllowedBridgeChainResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgAddAllowedBridgeChainResponse; - fromJSON(_: any): _131.MsgAddAllowedBridgeChainResponse; - toJSON(_: _131.MsgAddAllowedBridgeChainResponse): unknown; - fromPartial(_: Partial<_131.MsgAddAllowedBridgeChainResponse>): _131.MsgAddAllowedBridgeChainResponse; - fromAmino(_: _131.MsgAddAllowedBridgeChainResponseAmino): _131.MsgAddAllowedBridgeChainResponse; - toAmino(_: _131.MsgAddAllowedBridgeChainResponse): _131.MsgAddAllowedBridgeChainResponseAmino; - fromAminoMsg(object: _131.MsgAddAllowedBridgeChainResponseAminoMsg): _131.MsgAddAllowedBridgeChainResponse; - fromProtoMsg(message: _131.MsgAddAllowedBridgeChainResponseProtoMsg): _131.MsgAddAllowedBridgeChainResponse; - toProto(message: _131.MsgAddAllowedBridgeChainResponse): Uint8Array; - toProtoMsg(message: _131.MsgAddAllowedBridgeChainResponse): _131.MsgAddAllowedBridgeChainResponseProtoMsg; - }; - MsgRemoveAllowedBridgeChain: { - encode(message: _131.MsgRemoveAllowedBridgeChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgRemoveAllowedBridgeChain; - fromJSON(object: any): _131.MsgRemoveAllowedBridgeChain; - toJSON(message: _131.MsgRemoveAllowedBridgeChain): unknown; - fromPartial(object: Partial<_131.MsgRemoveAllowedBridgeChain>): _131.MsgRemoveAllowedBridgeChain; - fromAmino(object: _131.MsgRemoveAllowedBridgeChainAmino): _131.MsgRemoveAllowedBridgeChain; - toAmino(message: _131.MsgRemoveAllowedBridgeChain): _131.MsgRemoveAllowedBridgeChainAmino; - fromAminoMsg(object: _131.MsgRemoveAllowedBridgeChainAminoMsg): _131.MsgRemoveAllowedBridgeChain; - toAminoMsg(message: _131.MsgRemoveAllowedBridgeChain): _131.MsgRemoveAllowedBridgeChainAminoMsg; - fromProtoMsg(message: _131.MsgRemoveAllowedBridgeChainProtoMsg): _131.MsgRemoveAllowedBridgeChain; - toProto(message: _131.MsgRemoveAllowedBridgeChain): Uint8Array; - toProtoMsg(message: _131.MsgRemoveAllowedBridgeChain): _131.MsgRemoveAllowedBridgeChainProtoMsg; - }; - MsgRemoveAllowedBridgeChainResponse: { - encode(_: _131.MsgRemoveAllowedBridgeChainResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _131.MsgRemoveAllowedBridgeChainResponse; - fromJSON(_: any): _131.MsgRemoveAllowedBridgeChainResponse; - toJSON(_: _131.MsgRemoveAllowedBridgeChainResponse): unknown; - fromPartial(_: Partial<_131.MsgRemoveAllowedBridgeChainResponse>): _131.MsgRemoveAllowedBridgeChainResponse; - fromAmino(_: _131.MsgRemoveAllowedBridgeChainResponseAmino): _131.MsgRemoveAllowedBridgeChainResponse; - toAmino(_: _131.MsgRemoveAllowedBridgeChainResponse): _131.MsgRemoveAllowedBridgeChainResponseAmino; - fromAminoMsg(object: _131.MsgRemoveAllowedBridgeChainResponseAminoMsg): _131.MsgRemoveAllowedBridgeChainResponse; - fromProtoMsg(message: _131.MsgRemoveAllowedBridgeChainResponseProtoMsg): _131.MsgRemoveAllowedBridgeChainResponse; - toProto(message: _131.MsgRemoveAllowedBridgeChainResponse): Uint8Array; - toProtoMsg(message: _131.MsgRemoveAllowedBridgeChainResponse): _131.MsgRemoveAllowedBridgeChainResponseProtoMsg; - }; - CreditType: { - encode(message: _130.CreditType, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.CreditType; - fromJSON(object: any): _130.CreditType; - toJSON(message: _130.CreditType): unknown; - fromPartial(object: Partial<_130.CreditType>): _130.CreditType; - fromAmino(object: _130.CreditTypeAmino): _130.CreditType; - toAmino(message: _130.CreditType): _130.CreditTypeAmino; - fromAminoMsg(object: _130.CreditTypeAminoMsg): _130.CreditType; - fromProtoMsg(message: _130.CreditTypeProtoMsg): _130.CreditType; - toProto(message: _130.CreditType): Uint8Array; - toProtoMsg(message: _130.CreditType): _130.CreditTypeProtoMsg; - }; - Class: { - encode(message: _130.Class, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.Class; - fromJSON(object: any): _130.Class; - toJSON(message: _130.Class): unknown; - fromPartial(object: Partial<_130.Class>): _130.Class; - fromAmino(object: _130.ClassAmino): _130.Class; - toAmino(message: _130.Class): _130.ClassAmino; - fromAminoMsg(object: _130.ClassAminoMsg): _130.Class; - fromProtoMsg(message: _130.ClassProtoMsg): _130.Class; - toProto(message: _130.Class): Uint8Array; - toProtoMsg(message: _130.Class): _130.ClassProtoMsg; - }; - ClassIssuer: { - encode(message: _130.ClassIssuer, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.ClassIssuer; - fromJSON(object: any): _130.ClassIssuer; - toJSON(message: _130.ClassIssuer): unknown; - fromPartial(object: Partial<_130.ClassIssuer>): _130.ClassIssuer; - fromAmino(object: _130.ClassIssuerAmino): _130.ClassIssuer; - toAmino(message: _130.ClassIssuer): _130.ClassIssuerAmino; - fromAminoMsg(object: _130.ClassIssuerAminoMsg): _130.ClassIssuer; - fromProtoMsg(message: _130.ClassIssuerProtoMsg): _130.ClassIssuer; - toProto(message: _130.ClassIssuer): Uint8Array; - toProtoMsg(message: _130.ClassIssuer): _130.ClassIssuerProtoMsg; - }; - Project: { - encode(message: _130.Project, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.Project; - fromJSON(object: any): _130.Project; - toJSON(message: _130.Project): unknown; - fromPartial(object: Partial<_130.Project>): _130.Project; - fromAmino(object: _130.ProjectAmino): _130.Project; - toAmino(message: _130.Project): _130.ProjectAmino; - fromAminoMsg(object: _130.ProjectAminoMsg): _130.Project; - fromProtoMsg(message: _130.ProjectProtoMsg): _130.Project; - toProto(message: _130.Project): Uint8Array; - toProtoMsg(message: _130.Project): _130.ProjectProtoMsg; - }; - Batch: { - encode(message: _130.Batch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.Batch; - fromJSON(object: any): _130.Batch; - toJSON(message: _130.Batch): unknown; - fromPartial(object: Partial<_130.Batch>): _130.Batch; - fromAmino(object: _130.BatchAmino): _130.Batch; - toAmino(message: _130.Batch): _130.BatchAmino; - fromAminoMsg(object: _130.BatchAminoMsg): _130.Batch; - fromProtoMsg(message: _130.BatchProtoMsg): _130.Batch; - toProto(message: _130.Batch): Uint8Array; - toProtoMsg(message: _130.Batch): _130.BatchProtoMsg; - }; - ClassSequence: { - encode(message: _130.ClassSequence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.ClassSequence; - fromJSON(object: any): _130.ClassSequence; - toJSON(message: _130.ClassSequence): unknown; - fromPartial(object: Partial<_130.ClassSequence>): _130.ClassSequence; - fromAmino(object: _130.ClassSequenceAmino): _130.ClassSequence; - toAmino(message: _130.ClassSequence): _130.ClassSequenceAmino; - fromAminoMsg(object: _130.ClassSequenceAminoMsg): _130.ClassSequence; - fromProtoMsg(message: _130.ClassSequenceProtoMsg): _130.ClassSequence; - toProto(message: _130.ClassSequence): Uint8Array; - toProtoMsg(message: _130.ClassSequence): _130.ClassSequenceProtoMsg; - }; - ProjectSequence: { - encode(message: _130.ProjectSequence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.ProjectSequence; - fromJSON(object: any): _130.ProjectSequence; - toJSON(message: _130.ProjectSequence): unknown; - fromPartial(object: Partial<_130.ProjectSequence>): _130.ProjectSequence; - fromAmino(object: _130.ProjectSequenceAmino): _130.ProjectSequence; - toAmino(message: _130.ProjectSequence): _130.ProjectSequenceAmino; - fromAminoMsg(object: _130.ProjectSequenceAminoMsg): _130.ProjectSequence; - fromProtoMsg(message: _130.ProjectSequenceProtoMsg): _130.ProjectSequence; - toProto(message: _130.ProjectSequence): Uint8Array; - toProtoMsg(message: _130.ProjectSequence): _130.ProjectSequenceProtoMsg; - }; - BatchSequence: { - encode(message: _130.BatchSequence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.BatchSequence; - fromJSON(object: any): _130.BatchSequence; - toJSON(message: _130.BatchSequence): unknown; - fromPartial(object: Partial<_130.BatchSequence>): _130.BatchSequence; - fromAmino(object: _130.BatchSequenceAmino): _130.BatchSequence; - toAmino(message: _130.BatchSequence): _130.BatchSequenceAmino; - fromAminoMsg(object: _130.BatchSequenceAminoMsg): _130.BatchSequence; - fromProtoMsg(message: _130.BatchSequenceProtoMsg): _130.BatchSequence; - toProto(message: _130.BatchSequence): Uint8Array; - toProtoMsg(message: _130.BatchSequence): _130.BatchSequenceProtoMsg; - }; - BatchBalance: { - encode(message: _130.BatchBalance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.BatchBalance; - fromJSON(object: any): _130.BatchBalance; - toJSON(message: _130.BatchBalance): unknown; - fromPartial(object: Partial<_130.BatchBalance>): _130.BatchBalance; - fromAmino(object: _130.BatchBalanceAmino): _130.BatchBalance; - toAmino(message: _130.BatchBalance): _130.BatchBalanceAmino; - fromAminoMsg(object: _130.BatchBalanceAminoMsg): _130.BatchBalance; - fromProtoMsg(message: _130.BatchBalanceProtoMsg): _130.BatchBalance; - toProto(message: _130.BatchBalance): Uint8Array; - toProtoMsg(message: _130.BatchBalance): _130.BatchBalanceProtoMsg; - }; - BatchSupply: { - encode(message: _130.BatchSupply, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.BatchSupply; - fromJSON(object: any): _130.BatchSupply; - toJSON(message: _130.BatchSupply): unknown; - fromPartial(object: Partial<_130.BatchSupply>): _130.BatchSupply; - fromAmino(object: _130.BatchSupplyAmino): _130.BatchSupply; - toAmino(message: _130.BatchSupply): _130.BatchSupplyAmino; - fromAminoMsg(object: _130.BatchSupplyAminoMsg): _130.BatchSupply; - fromProtoMsg(message: _130.BatchSupplyProtoMsg): _130.BatchSupply; - toProto(message: _130.BatchSupply): Uint8Array; - toProtoMsg(message: _130.BatchSupply): _130.BatchSupplyProtoMsg; - }; - OriginTxIndex: { - encode(message: _130.OriginTxIndex, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.OriginTxIndex; - fromJSON(object: any): _130.OriginTxIndex; - toJSON(message: _130.OriginTxIndex): unknown; - fromPartial(object: Partial<_130.OriginTxIndex>): _130.OriginTxIndex; - fromAmino(object: _130.OriginTxIndexAmino): _130.OriginTxIndex; - toAmino(message: _130.OriginTxIndex): _130.OriginTxIndexAmino; - fromAminoMsg(object: _130.OriginTxIndexAminoMsg): _130.OriginTxIndex; - fromProtoMsg(message: _130.OriginTxIndexProtoMsg): _130.OriginTxIndex; - toProto(message: _130.OriginTxIndex): Uint8Array; - toProtoMsg(message: _130.OriginTxIndex): _130.OriginTxIndexProtoMsg; - }; - BatchContract: { - encode(message: _130.BatchContract, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.BatchContract; - fromJSON(object: any): _130.BatchContract; - toJSON(message: _130.BatchContract): unknown; - fromPartial(object: Partial<_130.BatchContract>): _130.BatchContract; - fromAmino(object: _130.BatchContractAmino): _130.BatchContract; - toAmino(message: _130.BatchContract): _130.BatchContractAmino; - fromAminoMsg(object: _130.BatchContractAminoMsg): _130.BatchContract; - fromProtoMsg(message: _130.BatchContractProtoMsg): _130.BatchContract; - toProto(message: _130.BatchContract): Uint8Array; - toProtoMsg(message: _130.BatchContract): _130.BatchContractProtoMsg; - }; - ClassCreatorAllowlist: { - encode(message: _130.ClassCreatorAllowlist, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.ClassCreatorAllowlist; - fromJSON(object: any): _130.ClassCreatorAllowlist; - toJSON(message: _130.ClassCreatorAllowlist): unknown; - fromPartial(object: Partial<_130.ClassCreatorAllowlist>): _130.ClassCreatorAllowlist; - fromAmino(object: _130.ClassCreatorAllowlistAmino): _130.ClassCreatorAllowlist; - toAmino(message: _130.ClassCreatorAllowlist): _130.ClassCreatorAllowlistAmino; - fromAminoMsg(object: _130.ClassCreatorAllowlistAminoMsg): _130.ClassCreatorAllowlist; - fromProtoMsg(message: _130.ClassCreatorAllowlistProtoMsg): _130.ClassCreatorAllowlist; - toProto(message: _130.ClassCreatorAllowlist): Uint8Array; - toProtoMsg(message: _130.ClassCreatorAllowlist): _130.ClassCreatorAllowlistProtoMsg; - }; - AllowedClassCreator: { - encode(message: _130.AllowedClassCreator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.AllowedClassCreator; - fromJSON(object: any): _130.AllowedClassCreator; - toJSON(message: _130.AllowedClassCreator): unknown; - fromPartial(object: Partial<_130.AllowedClassCreator>): _130.AllowedClassCreator; - fromAmino(object: _130.AllowedClassCreatorAmino): _130.AllowedClassCreator; - toAmino(message: _130.AllowedClassCreator): _130.AllowedClassCreatorAmino; - fromAminoMsg(object: _130.AllowedClassCreatorAminoMsg): _130.AllowedClassCreator; - fromProtoMsg(message: _130.AllowedClassCreatorProtoMsg): _130.AllowedClassCreator; - toProto(message: _130.AllowedClassCreator): Uint8Array; - toProtoMsg(message: _130.AllowedClassCreator): _130.AllowedClassCreatorProtoMsg; - }; - ClassFee: { - encode(message: _130.ClassFee, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.ClassFee; - fromJSON(object: any): _130.ClassFee; - toJSON(message: _130.ClassFee): unknown; - fromPartial(object: Partial<_130.ClassFee>): _130.ClassFee; - fromAmino(object: _130.ClassFeeAmino): _130.ClassFee; - toAmino(message: _130.ClassFee): _130.ClassFeeAmino; - fromAminoMsg(object: _130.ClassFeeAminoMsg): _130.ClassFee; - fromProtoMsg(message: _130.ClassFeeProtoMsg): _130.ClassFee; - toProto(message: _130.ClassFee): Uint8Array; - toProtoMsg(message: _130.ClassFee): _130.ClassFeeProtoMsg; - }; - AllowedBridgeChain: { - encode(message: _130.AllowedBridgeChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _130.AllowedBridgeChain; - fromJSON(object: any): _130.AllowedBridgeChain; - toJSON(message: _130.AllowedBridgeChain): unknown; - fromPartial(object: Partial<_130.AllowedBridgeChain>): _130.AllowedBridgeChain; - fromAmino(object: _130.AllowedBridgeChainAmino): _130.AllowedBridgeChain; - toAmino(message: _130.AllowedBridgeChain): _130.AllowedBridgeChainAmino; - fromAminoMsg(object: _130.AllowedBridgeChainAminoMsg): _130.AllowedBridgeChain; - fromProtoMsg(message: _130.AllowedBridgeChainProtoMsg): _130.AllowedBridgeChain; - toProto(message: _130.AllowedBridgeChain): Uint8Array; - toProtoMsg(message: _130.AllowedBridgeChain): _130.AllowedBridgeChainProtoMsg; - }; - QueryClassesRequest: { - encode(message: _129.QueryClassesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassesRequest; - fromJSON(object: any): _129.QueryClassesRequest; - toJSON(message: _129.QueryClassesRequest): unknown; - fromPartial(object: Partial<_129.QueryClassesRequest>): _129.QueryClassesRequest; - fromAmino(object: _129.QueryClassesRequestAmino): _129.QueryClassesRequest; - toAmino(message: _129.QueryClassesRequest): _129.QueryClassesRequestAmino; - fromAminoMsg(object: _129.QueryClassesRequestAminoMsg): _129.QueryClassesRequest; - fromProtoMsg(message: _129.QueryClassesRequestProtoMsg): _129.QueryClassesRequest; - toProto(message: _129.QueryClassesRequest): Uint8Array; - toProtoMsg(message: _129.QueryClassesRequest): _129.QueryClassesRequestProtoMsg; - }; - QueryClassesResponse: { - encode(message: _129.QueryClassesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassesResponse; - fromJSON(object: any): _129.QueryClassesResponse; - toJSON(message: _129.QueryClassesResponse): unknown; - fromPartial(object: Partial<_129.QueryClassesResponse>): _129.QueryClassesResponse; - fromAmino(object: _129.QueryClassesResponseAmino): _129.QueryClassesResponse; - toAmino(message: _129.QueryClassesResponse): _129.QueryClassesResponseAmino; - fromAminoMsg(object: _129.QueryClassesResponseAminoMsg): _129.QueryClassesResponse; - fromProtoMsg(message: _129.QueryClassesResponseProtoMsg): _129.QueryClassesResponse; - toProto(message: _129.QueryClassesResponse): Uint8Array; - toProtoMsg(message: _129.QueryClassesResponse): _129.QueryClassesResponseProtoMsg; - }; - QueryClassesByAdminRequest: { - encode(message: _129.QueryClassesByAdminRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassesByAdminRequest; - fromJSON(object: any): _129.QueryClassesByAdminRequest; - toJSON(message: _129.QueryClassesByAdminRequest): unknown; - fromPartial(object: Partial<_129.QueryClassesByAdminRequest>): _129.QueryClassesByAdminRequest; - fromAmino(object: _129.QueryClassesByAdminRequestAmino): _129.QueryClassesByAdminRequest; - toAmino(message: _129.QueryClassesByAdminRequest): _129.QueryClassesByAdminRequestAmino; - fromAminoMsg(object: _129.QueryClassesByAdminRequestAminoMsg): _129.QueryClassesByAdminRequest; - fromProtoMsg(message: _129.QueryClassesByAdminRequestProtoMsg): _129.QueryClassesByAdminRequest; - toProto(message: _129.QueryClassesByAdminRequest): Uint8Array; - toProtoMsg(message: _129.QueryClassesByAdminRequest): _129.QueryClassesByAdminRequestProtoMsg; - }; - QueryClassesByAdminResponse: { - encode(message: _129.QueryClassesByAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassesByAdminResponse; - fromJSON(object: any): _129.QueryClassesByAdminResponse; - toJSON(message: _129.QueryClassesByAdminResponse): unknown; - fromPartial(object: Partial<_129.QueryClassesByAdminResponse>): _129.QueryClassesByAdminResponse; - fromAmino(object: _129.QueryClassesByAdminResponseAmino): _129.QueryClassesByAdminResponse; - toAmino(message: _129.QueryClassesByAdminResponse): _129.QueryClassesByAdminResponseAmino; - fromAminoMsg(object: _129.QueryClassesByAdminResponseAminoMsg): _129.QueryClassesByAdminResponse; - fromProtoMsg(message: _129.QueryClassesByAdminResponseProtoMsg): _129.QueryClassesByAdminResponse; - toProto(message: _129.QueryClassesByAdminResponse): Uint8Array; - toProtoMsg(message: _129.QueryClassesByAdminResponse): _129.QueryClassesByAdminResponseProtoMsg; - }; - QueryClassRequest: { - encode(message: _129.QueryClassRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassRequest; - fromJSON(object: any): _129.QueryClassRequest; - toJSON(message: _129.QueryClassRequest): unknown; - fromPartial(object: Partial<_129.QueryClassRequest>): _129.QueryClassRequest; - fromAmino(object: _129.QueryClassRequestAmino): _129.QueryClassRequest; - toAmino(message: _129.QueryClassRequest): _129.QueryClassRequestAmino; - fromAminoMsg(object: _129.QueryClassRequestAminoMsg): _129.QueryClassRequest; - fromProtoMsg(message: _129.QueryClassRequestProtoMsg): _129.QueryClassRequest; - toProto(message: _129.QueryClassRequest): Uint8Array; - toProtoMsg(message: _129.QueryClassRequest): _129.QueryClassRequestProtoMsg; - }; - QueryClassResponse: { - encode(message: _129.QueryClassResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassResponse; - fromJSON(object: any): _129.QueryClassResponse; - toJSON(message: _129.QueryClassResponse): unknown; - fromPartial(object: Partial<_129.QueryClassResponse>): _129.QueryClassResponse; - fromAmino(object: _129.QueryClassResponseAmino): _129.QueryClassResponse; - toAmino(message: _129.QueryClassResponse): _129.QueryClassResponseAmino; - fromAminoMsg(object: _129.QueryClassResponseAminoMsg): _129.QueryClassResponse; - fromProtoMsg(message: _129.QueryClassResponseProtoMsg): _129.QueryClassResponse; - toProto(message: _129.QueryClassResponse): Uint8Array; - toProtoMsg(message: _129.QueryClassResponse): _129.QueryClassResponseProtoMsg; - }; - QueryClassIssuersRequest: { - encode(message: _129.QueryClassIssuersRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassIssuersRequest; - fromJSON(object: any): _129.QueryClassIssuersRequest; - toJSON(message: _129.QueryClassIssuersRequest): unknown; - fromPartial(object: Partial<_129.QueryClassIssuersRequest>): _129.QueryClassIssuersRequest; - fromAmino(object: _129.QueryClassIssuersRequestAmino): _129.QueryClassIssuersRequest; - toAmino(message: _129.QueryClassIssuersRequest): _129.QueryClassIssuersRequestAmino; - fromAminoMsg(object: _129.QueryClassIssuersRequestAminoMsg): _129.QueryClassIssuersRequest; - fromProtoMsg(message: _129.QueryClassIssuersRequestProtoMsg): _129.QueryClassIssuersRequest; - toProto(message: _129.QueryClassIssuersRequest): Uint8Array; - toProtoMsg(message: _129.QueryClassIssuersRequest): _129.QueryClassIssuersRequestProtoMsg; - }; - QueryClassIssuersResponse: { - encode(message: _129.QueryClassIssuersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassIssuersResponse; - fromJSON(object: any): _129.QueryClassIssuersResponse; - toJSON(message: _129.QueryClassIssuersResponse): unknown; - fromPartial(object: Partial<_129.QueryClassIssuersResponse>): _129.QueryClassIssuersResponse; - fromAmino(object: _129.QueryClassIssuersResponseAmino): _129.QueryClassIssuersResponse; - toAmino(message: _129.QueryClassIssuersResponse): _129.QueryClassIssuersResponseAmino; - fromAminoMsg(object: _129.QueryClassIssuersResponseAminoMsg): _129.QueryClassIssuersResponse; - fromProtoMsg(message: _129.QueryClassIssuersResponseProtoMsg): _129.QueryClassIssuersResponse; - toProto(message: _129.QueryClassIssuersResponse): Uint8Array; - toProtoMsg(message: _129.QueryClassIssuersResponse): _129.QueryClassIssuersResponseProtoMsg; - }; - QueryProjectsRequest: { - encode(message: _129.QueryProjectsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsRequest; - fromJSON(object: any): _129.QueryProjectsRequest; - toJSON(message: _129.QueryProjectsRequest): unknown; - fromPartial(object: Partial<_129.QueryProjectsRequest>): _129.QueryProjectsRequest; - fromAmino(object: _129.QueryProjectsRequestAmino): _129.QueryProjectsRequest; - toAmino(message: _129.QueryProjectsRequest): _129.QueryProjectsRequestAmino; - fromAminoMsg(object: _129.QueryProjectsRequestAminoMsg): _129.QueryProjectsRequest; - fromProtoMsg(message: _129.QueryProjectsRequestProtoMsg): _129.QueryProjectsRequest; - toProto(message: _129.QueryProjectsRequest): Uint8Array; - toProtoMsg(message: _129.QueryProjectsRequest): _129.QueryProjectsRequestProtoMsg; - }; - QueryProjectsResponse: { - encode(message: _129.QueryProjectsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsResponse; - fromJSON(object: any): _129.QueryProjectsResponse; - toJSON(message: _129.QueryProjectsResponse): unknown; - fromPartial(object: Partial<_129.QueryProjectsResponse>): _129.QueryProjectsResponse; - fromAmino(object: _129.QueryProjectsResponseAmino): _129.QueryProjectsResponse; - toAmino(message: _129.QueryProjectsResponse): _129.QueryProjectsResponseAmino; - fromAminoMsg(object: _129.QueryProjectsResponseAminoMsg): _129.QueryProjectsResponse; - fromProtoMsg(message: _129.QueryProjectsResponseProtoMsg): _129.QueryProjectsResponse; - toProto(message: _129.QueryProjectsResponse): Uint8Array; - toProtoMsg(message: _129.QueryProjectsResponse): _129.QueryProjectsResponseProtoMsg; - }; - QueryProjectsByClassRequest: { - encode(message: _129.QueryProjectsByClassRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsByClassRequest; - fromJSON(object: any): _129.QueryProjectsByClassRequest; - toJSON(message: _129.QueryProjectsByClassRequest): unknown; - fromPartial(object: Partial<_129.QueryProjectsByClassRequest>): _129.QueryProjectsByClassRequest; - fromAmino(object: _129.QueryProjectsByClassRequestAmino): _129.QueryProjectsByClassRequest; - toAmino(message: _129.QueryProjectsByClassRequest): _129.QueryProjectsByClassRequestAmino; - fromAminoMsg(object: _129.QueryProjectsByClassRequestAminoMsg): _129.QueryProjectsByClassRequest; - fromProtoMsg(message: _129.QueryProjectsByClassRequestProtoMsg): _129.QueryProjectsByClassRequest; - toProto(message: _129.QueryProjectsByClassRequest): Uint8Array; - toProtoMsg(message: _129.QueryProjectsByClassRequest): _129.QueryProjectsByClassRequestProtoMsg; - }; - QueryProjectsByClassResponse: { - encode(message: _129.QueryProjectsByClassResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsByClassResponse; - fromJSON(object: any): _129.QueryProjectsByClassResponse; - toJSON(message: _129.QueryProjectsByClassResponse): unknown; - fromPartial(object: Partial<_129.QueryProjectsByClassResponse>): _129.QueryProjectsByClassResponse; - fromAmino(object: _129.QueryProjectsByClassResponseAmino): _129.QueryProjectsByClassResponse; - toAmino(message: _129.QueryProjectsByClassResponse): _129.QueryProjectsByClassResponseAmino; - fromAminoMsg(object: _129.QueryProjectsByClassResponseAminoMsg): _129.QueryProjectsByClassResponse; - fromProtoMsg(message: _129.QueryProjectsByClassResponseProtoMsg): _129.QueryProjectsByClassResponse; - toProto(message: _129.QueryProjectsByClassResponse): Uint8Array; - toProtoMsg(message: _129.QueryProjectsByClassResponse): _129.QueryProjectsByClassResponseProtoMsg; - }; - QueryProjectsByReferenceIdRequest: { - encode(message: _129.QueryProjectsByReferenceIdRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsByReferenceIdRequest; - fromJSON(object: any): _129.QueryProjectsByReferenceIdRequest; - toJSON(message: _129.QueryProjectsByReferenceIdRequest): unknown; - fromPartial(object: Partial<_129.QueryProjectsByReferenceIdRequest>): _129.QueryProjectsByReferenceIdRequest; - fromAmino(object: _129.QueryProjectsByReferenceIdRequestAmino): _129.QueryProjectsByReferenceIdRequest; - toAmino(message: _129.QueryProjectsByReferenceIdRequest): _129.QueryProjectsByReferenceIdRequestAmino; - fromAminoMsg(object: _129.QueryProjectsByReferenceIdRequestAminoMsg): _129.QueryProjectsByReferenceIdRequest; - fromProtoMsg(message: _129.QueryProjectsByReferenceIdRequestProtoMsg): _129.QueryProjectsByReferenceIdRequest; - toProto(message: _129.QueryProjectsByReferenceIdRequest): Uint8Array; - toProtoMsg(message: _129.QueryProjectsByReferenceIdRequest): _129.QueryProjectsByReferenceIdRequestProtoMsg; - }; - QueryProjectsByReferenceIdResponse: { - encode(message: _129.QueryProjectsByReferenceIdResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsByReferenceIdResponse; - fromJSON(object: any): _129.QueryProjectsByReferenceIdResponse; - toJSON(message: _129.QueryProjectsByReferenceIdResponse): unknown; - fromPartial(object: Partial<_129.QueryProjectsByReferenceIdResponse>): _129.QueryProjectsByReferenceIdResponse; - fromAmino(object: _129.QueryProjectsByReferenceIdResponseAmino): _129.QueryProjectsByReferenceIdResponse; - toAmino(message: _129.QueryProjectsByReferenceIdResponse): _129.QueryProjectsByReferenceIdResponseAmino; - fromAminoMsg(object: _129.QueryProjectsByReferenceIdResponseAminoMsg): _129.QueryProjectsByReferenceIdResponse; - fromProtoMsg(message: _129.QueryProjectsByReferenceIdResponseProtoMsg): _129.QueryProjectsByReferenceIdResponse; - toProto(message: _129.QueryProjectsByReferenceIdResponse): Uint8Array; - toProtoMsg(message: _129.QueryProjectsByReferenceIdResponse): _129.QueryProjectsByReferenceIdResponseProtoMsg; - }; - QueryProjectsByAdminRequest: { - encode(message: _129.QueryProjectsByAdminRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsByAdminRequest; - fromJSON(object: any): _129.QueryProjectsByAdminRequest; - toJSON(message: _129.QueryProjectsByAdminRequest): unknown; - fromPartial(object: Partial<_129.QueryProjectsByAdminRequest>): _129.QueryProjectsByAdminRequest; - fromAmino(object: _129.QueryProjectsByAdminRequestAmino): _129.QueryProjectsByAdminRequest; - toAmino(message: _129.QueryProjectsByAdminRequest): _129.QueryProjectsByAdminRequestAmino; - fromAminoMsg(object: _129.QueryProjectsByAdminRequestAminoMsg): _129.QueryProjectsByAdminRequest; - fromProtoMsg(message: _129.QueryProjectsByAdminRequestProtoMsg): _129.QueryProjectsByAdminRequest; - toProto(message: _129.QueryProjectsByAdminRequest): Uint8Array; - toProtoMsg(message: _129.QueryProjectsByAdminRequest): _129.QueryProjectsByAdminRequestProtoMsg; - }; - QueryProjectsByAdminResponse: { - encode(message: _129.QueryProjectsByAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectsByAdminResponse; - fromJSON(object: any): _129.QueryProjectsByAdminResponse; - toJSON(message: _129.QueryProjectsByAdminResponse): unknown; - fromPartial(object: Partial<_129.QueryProjectsByAdminResponse>): _129.QueryProjectsByAdminResponse; - fromAmino(object: _129.QueryProjectsByAdminResponseAmino): _129.QueryProjectsByAdminResponse; - toAmino(message: _129.QueryProjectsByAdminResponse): _129.QueryProjectsByAdminResponseAmino; - fromAminoMsg(object: _129.QueryProjectsByAdminResponseAminoMsg): _129.QueryProjectsByAdminResponse; - fromProtoMsg(message: _129.QueryProjectsByAdminResponseProtoMsg): _129.QueryProjectsByAdminResponse; - toProto(message: _129.QueryProjectsByAdminResponse): Uint8Array; - toProtoMsg(message: _129.QueryProjectsByAdminResponse): _129.QueryProjectsByAdminResponseProtoMsg; - }; - QueryProjectRequest: { - encode(message: _129.QueryProjectRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectRequest; - fromJSON(object: any): _129.QueryProjectRequest; - toJSON(message: _129.QueryProjectRequest): unknown; - fromPartial(object: Partial<_129.QueryProjectRequest>): _129.QueryProjectRequest; - fromAmino(object: _129.QueryProjectRequestAmino): _129.QueryProjectRequest; - toAmino(message: _129.QueryProjectRequest): _129.QueryProjectRequestAmino; - fromAminoMsg(object: _129.QueryProjectRequestAminoMsg): _129.QueryProjectRequest; - fromProtoMsg(message: _129.QueryProjectRequestProtoMsg): _129.QueryProjectRequest; - toProto(message: _129.QueryProjectRequest): Uint8Array; - toProtoMsg(message: _129.QueryProjectRequest): _129.QueryProjectRequestProtoMsg; - }; - QueryProjectResponse: { - encode(message: _129.QueryProjectResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryProjectResponse; - fromJSON(object: any): _129.QueryProjectResponse; - toJSON(message: _129.QueryProjectResponse): unknown; - fromPartial(object: Partial<_129.QueryProjectResponse>): _129.QueryProjectResponse; - fromAmino(object: _129.QueryProjectResponseAmino): _129.QueryProjectResponse; - toAmino(message: _129.QueryProjectResponse): _129.QueryProjectResponseAmino; - fromAminoMsg(object: _129.QueryProjectResponseAminoMsg): _129.QueryProjectResponse; - fromProtoMsg(message: _129.QueryProjectResponseProtoMsg): _129.QueryProjectResponse; - toProto(message: _129.QueryProjectResponse): Uint8Array; - toProtoMsg(message: _129.QueryProjectResponse): _129.QueryProjectResponseProtoMsg; - }; - QueryBatchesRequest: { - encode(message: _129.QueryBatchesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesRequest; - fromJSON(object: any): _129.QueryBatchesRequest; - toJSON(message: _129.QueryBatchesRequest): unknown; - fromPartial(object: Partial<_129.QueryBatchesRequest>): _129.QueryBatchesRequest; - fromAmino(object: _129.QueryBatchesRequestAmino): _129.QueryBatchesRequest; - toAmino(message: _129.QueryBatchesRequest): _129.QueryBatchesRequestAmino; - fromAminoMsg(object: _129.QueryBatchesRequestAminoMsg): _129.QueryBatchesRequest; - fromProtoMsg(message: _129.QueryBatchesRequestProtoMsg): _129.QueryBatchesRequest; - toProto(message: _129.QueryBatchesRequest): Uint8Array; - toProtoMsg(message: _129.QueryBatchesRequest): _129.QueryBatchesRequestProtoMsg; - }; - QueryBatchesResponse: { - encode(message: _129.QueryBatchesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesResponse; - fromJSON(object: any): _129.QueryBatchesResponse; - toJSON(message: _129.QueryBatchesResponse): unknown; - fromPartial(object: Partial<_129.QueryBatchesResponse>): _129.QueryBatchesResponse; - fromAmino(object: _129.QueryBatchesResponseAmino): _129.QueryBatchesResponse; - toAmino(message: _129.QueryBatchesResponse): _129.QueryBatchesResponseAmino; - fromAminoMsg(object: _129.QueryBatchesResponseAminoMsg): _129.QueryBatchesResponse; - fromProtoMsg(message: _129.QueryBatchesResponseProtoMsg): _129.QueryBatchesResponse; - toProto(message: _129.QueryBatchesResponse): Uint8Array; - toProtoMsg(message: _129.QueryBatchesResponse): _129.QueryBatchesResponseProtoMsg; - }; - QueryBatchesByIssuerRequest: { - encode(message: _129.QueryBatchesByIssuerRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesByIssuerRequest; - fromJSON(object: any): _129.QueryBatchesByIssuerRequest; - toJSON(message: _129.QueryBatchesByIssuerRequest): unknown; - fromPartial(object: Partial<_129.QueryBatchesByIssuerRequest>): _129.QueryBatchesByIssuerRequest; - fromAmino(object: _129.QueryBatchesByIssuerRequestAmino): _129.QueryBatchesByIssuerRequest; - toAmino(message: _129.QueryBatchesByIssuerRequest): _129.QueryBatchesByIssuerRequestAmino; - fromAminoMsg(object: _129.QueryBatchesByIssuerRequestAminoMsg): _129.QueryBatchesByIssuerRequest; - fromProtoMsg(message: _129.QueryBatchesByIssuerRequestProtoMsg): _129.QueryBatchesByIssuerRequest; - toProto(message: _129.QueryBatchesByIssuerRequest): Uint8Array; - toProtoMsg(message: _129.QueryBatchesByIssuerRequest): _129.QueryBatchesByIssuerRequestProtoMsg; - }; - QueryBatchesByIssuerResponse: { - encode(message: _129.QueryBatchesByIssuerResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesByIssuerResponse; - fromJSON(object: any): _129.QueryBatchesByIssuerResponse; - toJSON(message: _129.QueryBatchesByIssuerResponse): unknown; - fromPartial(object: Partial<_129.QueryBatchesByIssuerResponse>): _129.QueryBatchesByIssuerResponse; - fromAmino(object: _129.QueryBatchesByIssuerResponseAmino): _129.QueryBatchesByIssuerResponse; - toAmino(message: _129.QueryBatchesByIssuerResponse): _129.QueryBatchesByIssuerResponseAmino; - fromAminoMsg(object: _129.QueryBatchesByIssuerResponseAminoMsg): _129.QueryBatchesByIssuerResponse; - fromProtoMsg(message: _129.QueryBatchesByIssuerResponseProtoMsg): _129.QueryBatchesByIssuerResponse; - toProto(message: _129.QueryBatchesByIssuerResponse): Uint8Array; - toProtoMsg(message: _129.QueryBatchesByIssuerResponse): _129.QueryBatchesByIssuerResponseProtoMsg; - }; - QueryBatchesByClassRequest: { - encode(message: _129.QueryBatchesByClassRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesByClassRequest; - fromJSON(object: any): _129.QueryBatchesByClassRequest; - toJSON(message: _129.QueryBatchesByClassRequest): unknown; - fromPartial(object: Partial<_129.QueryBatchesByClassRequest>): _129.QueryBatchesByClassRequest; - fromAmino(object: _129.QueryBatchesByClassRequestAmino): _129.QueryBatchesByClassRequest; - toAmino(message: _129.QueryBatchesByClassRequest): _129.QueryBatchesByClassRequestAmino; - fromAminoMsg(object: _129.QueryBatchesByClassRequestAminoMsg): _129.QueryBatchesByClassRequest; - fromProtoMsg(message: _129.QueryBatchesByClassRequestProtoMsg): _129.QueryBatchesByClassRequest; - toProto(message: _129.QueryBatchesByClassRequest): Uint8Array; - toProtoMsg(message: _129.QueryBatchesByClassRequest): _129.QueryBatchesByClassRequestProtoMsg; - }; - QueryBatchesByProjectRequest: { - encode(message: _129.QueryBatchesByProjectRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesByProjectRequest; - fromJSON(object: any): _129.QueryBatchesByProjectRequest; - toJSON(message: _129.QueryBatchesByProjectRequest): unknown; - fromPartial(object: Partial<_129.QueryBatchesByProjectRequest>): _129.QueryBatchesByProjectRequest; - fromAmino(object: _129.QueryBatchesByProjectRequestAmino): _129.QueryBatchesByProjectRequest; - toAmino(message: _129.QueryBatchesByProjectRequest): _129.QueryBatchesByProjectRequestAmino; - fromAminoMsg(object: _129.QueryBatchesByProjectRequestAminoMsg): _129.QueryBatchesByProjectRequest; - fromProtoMsg(message: _129.QueryBatchesByProjectRequestProtoMsg): _129.QueryBatchesByProjectRequest; - toProto(message: _129.QueryBatchesByProjectRequest): Uint8Array; - toProtoMsg(message: _129.QueryBatchesByProjectRequest): _129.QueryBatchesByProjectRequestProtoMsg; - }; - QueryBatchesByProjectResponse: { - encode(message: _129.QueryBatchesByProjectResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesByProjectResponse; - fromJSON(object: any): _129.QueryBatchesByProjectResponse; - toJSON(message: _129.QueryBatchesByProjectResponse): unknown; - fromPartial(object: Partial<_129.QueryBatchesByProjectResponse>): _129.QueryBatchesByProjectResponse; - fromAmino(object: _129.QueryBatchesByProjectResponseAmino): _129.QueryBatchesByProjectResponse; - toAmino(message: _129.QueryBatchesByProjectResponse): _129.QueryBatchesByProjectResponseAmino; - fromAminoMsg(object: _129.QueryBatchesByProjectResponseAminoMsg): _129.QueryBatchesByProjectResponse; - fromProtoMsg(message: _129.QueryBatchesByProjectResponseProtoMsg): _129.QueryBatchesByProjectResponse; - toProto(message: _129.QueryBatchesByProjectResponse): Uint8Array; - toProtoMsg(message: _129.QueryBatchesByProjectResponse): _129.QueryBatchesByProjectResponseProtoMsg; - }; - QueryBatchesByClassResponse: { - encode(message: _129.QueryBatchesByClassResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchesByClassResponse; - fromJSON(object: any): _129.QueryBatchesByClassResponse; - toJSON(message: _129.QueryBatchesByClassResponse): unknown; - fromPartial(object: Partial<_129.QueryBatchesByClassResponse>): _129.QueryBatchesByClassResponse; - fromAmino(object: _129.QueryBatchesByClassResponseAmino): _129.QueryBatchesByClassResponse; - toAmino(message: _129.QueryBatchesByClassResponse): _129.QueryBatchesByClassResponseAmino; - fromAminoMsg(object: _129.QueryBatchesByClassResponseAminoMsg): _129.QueryBatchesByClassResponse; - fromProtoMsg(message: _129.QueryBatchesByClassResponseProtoMsg): _129.QueryBatchesByClassResponse; - toProto(message: _129.QueryBatchesByClassResponse): Uint8Array; - toProtoMsg(message: _129.QueryBatchesByClassResponse): _129.QueryBatchesByClassResponseProtoMsg; - }; - QueryBatchRequest: { - encode(message: _129.QueryBatchRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchRequest; - fromJSON(object: any): _129.QueryBatchRequest; - toJSON(message: _129.QueryBatchRequest): unknown; - fromPartial(object: Partial<_129.QueryBatchRequest>): _129.QueryBatchRequest; - fromAmino(object: _129.QueryBatchRequestAmino): _129.QueryBatchRequest; - toAmino(message: _129.QueryBatchRequest): _129.QueryBatchRequestAmino; - fromAminoMsg(object: _129.QueryBatchRequestAminoMsg): _129.QueryBatchRequest; - fromProtoMsg(message: _129.QueryBatchRequestProtoMsg): _129.QueryBatchRequest; - toProto(message: _129.QueryBatchRequest): Uint8Array; - toProtoMsg(message: _129.QueryBatchRequest): _129.QueryBatchRequestProtoMsg; - }; - QueryBatchResponse: { - encode(message: _129.QueryBatchResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBatchResponse; - fromJSON(object: any): _129.QueryBatchResponse; - toJSON(message: _129.QueryBatchResponse): unknown; - fromPartial(object: Partial<_129.QueryBatchResponse>): _129.QueryBatchResponse; - fromAmino(object: _129.QueryBatchResponseAmino): _129.QueryBatchResponse; - toAmino(message: _129.QueryBatchResponse): _129.QueryBatchResponseAmino; - fromAminoMsg(object: _129.QueryBatchResponseAminoMsg): _129.QueryBatchResponse; - fromProtoMsg(message: _129.QueryBatchResponseProtoMsg): _129.QueryBatchResponse; - toProto(message: _129.QueryBatchResponse): Uint8Array; - toProtoMsg(message: _129.QueryBatchResponse): _129.QueryBatchResponseProtoMsg; - }; - QueryBalanceRequest: { - encode(message: _129.QueryBalanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBalanceRequest; - fromJSON(object: any): _129.QueryBalanceRequest; - toJSON(message: _129.QueryBalanceRequest): unknown; - fromPartial(object: Partial<_129.QueryBalanceRequest>): _129.QueryBalanceRequest; - fromAmino(object: _129.QueryBalanceRequestAmino): _129.QueryBalanceRequest; - toAmino(message: _129.QueryBalanceRequest): _129.QueryBalanceRequestAmino; - fromAminoMsg(object: _129.QueryBalanceRequestAminoMsg): _129.QueryBalanceRequest; - fromProtoMsg(message: _129.QueryBalanceRequestProtoMsg): _129.QueryBalanceRequest; - toProto(message: _129.QueryBalanceRequest): Uint8Array; - toProtoMsg(message: _129.QueryBalanceRequest): _129.QueryBalanceRequestProtoMsg; - }; - QueryBalanceResponse: { - encode(message: _129.QueryBalanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBalanceResponse; - fromJSON(object: any): _129.QueryBalanceResponse; - toJSON(message: _129.QueryBalanceResponse): unknown; - fromPartial(object: Partial<_129.QueryBalanceResponse>): _129.QueryBalanceResponse; - fromAmino(object: _129.QueryBalanceResponseAmino): _129.QueryBalanceResponse; - toAmino(message: _129.QueryBalanceResponse): _129.QueryBalanceResponseAmino; - fromAminoMsg(object: _129.QueryBalanceResponseAminoMsg): _129.QueryBalanceResponse; - fromProtoMsg(message: _129.QueryBalanceResponseProtoMsg): _129.QueryBalanceResponse; - toProto(message: _129.QueryBalanceResponse): Uint8Array; - toProtoMsg(message: _129.QueryBalanceResponse): _129.QueryBalanceResponseProtoMsg; - }; - QueryBalancesRequest: { - encode(message: _129.QueryBalancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBalancesRequest; - fromJSON(object: any): _129.QueryBalancesRequest; - toJSON(message: _129.QueryBalancesRequest): unknown; - fromPartial(object: Partial<_129.QueryBalancesRequest>): _129.QueryBalancesRequest; - fromAmino(object: _129.QueryBalancesRequestAmino): _129.QueryBalancesRequest; - toAmino(message: _129.QueryBalancesRequest): _129.QueryBalancesRequestAmino; - fromAminoMsg(object: _129.QueryBalancesRequestAminoMsg): _129.QueryBalancesRequest; - fromProtoMsg(message: _129.QueryBalancesRequestProtoMsg): _129.QueryBalancesRequest; - toProto(message: _129.QueryBalancesRequest): Uint8Array; - toProtoMsg(message: _129.QueryBalancesRequest): _129.QueryBalancesRequestProtoMsg; - }; - QueryBalancesResponse: { - encode(message: _129.QueryBalancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBalancesResponse; - fromJSON(object: any): _129.QueryBalancesResponse; - toJSON(message: _129.QueryBalancesResponse): unknown; - fromPartial(object: Partial<_129.QueryBalancesResponse>): _129.QueryBalancesResponse; - fromAmino(object: _129.QueryBalancesResponseAmino): _129.QueryBalancesResponse; - toAmino(message: _129.QueryBalancesResponse): _129.QueryBalancesResponseAmino; - fromAminoMsg(object: _129.QueryBalancesResponseAminoMsg): _129.QueryBalancesResponse; - fromProtoMsg(message: _129.QueryBalancesResponseProtoMsg): _129.QueryBalancesResponse; - toProto(message: _129.QueryBalancesResponse): Uint8Array; - toProtoMsg(message: _129.QueryBalancesResponse): _129.QueryBalancesResponseProtoMsg; - }; - QueryBalancesByBatchRequest: { - encode(message: _129.QueryBalancesByBatchRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBalancesByBatchRequest; - fromJSON(object: any): _129.QueryBalancesByBatchRequest; - toJSON(message: _129.QueryBalancesByBatchRequest): unknown; - fromPartial(object: Partial<_129.QueryBalancesByBatchRequest>): _129.QueryBalancesByBatchRequest; - fromAmino(object: _129.QueryBalancesByBatchRequestAmino): _129.QueryBalancesByBatchRequest; - toAmino(message: _129.QueryBalancesByBatchRequest): _129.QueryBalancesByBatchRequestAmino; - fromAminoMsg(object: _129.QueryBalancesByBatchRequestAminoMsg): _129.QueryBalancesByBatchRequest; - fromProtoMsg(message: _129.QueryBalancesByBatchRequestProtoMsg): _129.QueryBalancesByBatchRequest; - toProto(message: _129.QueryBalancesByBatchRequest): Uint8Array; - toProtoMsg(message: _129.QueryBalancesByBatchRequest): _129.QueryBalancesByBatchRequestProtoMsg; - }; - QueryBalancesByBatchResponse: { - encode(message: _129.QueryBalancesByBatchResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryBalancesByBatchResponse; - fromJSON(object: any): _129.QueryBalancesByBatchResponse; - toJSON(message: _129.QueryBalancesByBatchResponse): unknown; - fromPartial(object: Partial<_129.QueryBalancesByBatchResponse>): _129.QueryBalancesByBatchResponse; - fromAmino(object: _129.QueryBalancesByBatchResponseAmino): _129.QueryBalancesByBatchResponse; - toAmino(message: _129.QueryBalancesByBatchResponse): _129.QueryBalancesByBatchResponseAmino; - fromAminoMsg(object: _129.QueryBalancesByBatchResponseAminoMsg): _129.QueryBalancesByBatchResponse; - fromProtoMsg(message: _129.QueryBalancesByBatchResponseProtoMsg): _129.QueryBalancesByBatchResponse; - toProto(message: _129.QueryBalancesByBatchResponse): Uint8Array; - toProtoMsg(message: _129.QueryBalancesByBatchResponse): _129.QueryBalancesByBatchResponseProtoMsg; - }; - QueryAllBalancesRequest: { - encode(message: _129.QueryAllBalancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryAllBalancesRequest; - fromJSON(object: any): _129.QueryAllBalancesRequest; - toJSON(message: _129.QueryAllBalancesRequest): unknown; - fromPartial(object: Partial<_129.QueryAllBalancesRequest>): _129.QueryAllBalancesRequest; - fromAmino(object: _129.QueryAllBalancesRequestAmino): _129.QueryAllBalancesRequest; - toAmino(message: _129.QueryAllBalancesRequest): _129.QueryAllBalancesRequestAmino; - fromAminoMsg(object: _129.QueryAllBalancesRequestAminoMsg): _129.QueryAllBalancesRequest; - fromProtoMsg(message: _129.QueryAllBalancesRequestProtoMsg): _129.QueryAllBalancesRequest; - toProto(message: _129.QueryAllBalancesRequest): Uint8Array; - toProtoMsg(message: _129.QueryAllBalancesRequest): _129.QueryAllBalancesRequestProtoMsg; - }; - QueryAllBalancesResponse: { - encode(message: _129.QueryAllBalancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryAllBalancesResponse; - fromJSON(object: any): _129.QueryAllBalancesResponse; - toJSON(message: _129.QueryAllBalancesResponse): unknown; - fromPartial(object: Partial<_129.QueryAllBalancesResponse>): _129.QueryAllBalancesResponse; - fromAmino(object: _129.QueryAllBalancesResponseAmino): _129.QueryAllBalancesResponse; - toAmino(message: _129.QueryAllBalancesResponse): _129.QueryAllBalancesResponseAmino; - fromAminoMsg(object: _129.QueryAllBalancesResponseAminoMsg): _129.QueryAllBalancesResponse; - fromProtoMsg(message: _129.QueryAllBalancesResponseProtoMsg): _129.QueryAllBalancesResponse; - toProto(message: _129.QueryAllBalancesResponse): Uint8Array; - toProtoMsg(message: _129.QueryAllBalancesResponse): _129.QueryAllBalancesResponseProtoMsg; - }; - QuerySupplyRequest: { - encode(message: _129.QuerySupplyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QuerySupplyRequest; - fromJSON(object: any): _129.QuerySupplyRequest; - toJSON(message: _129.QuerySupplyRequest): unknown; - fromPartial(object: Partial<_129.QuerySupplyRequest>): _129.QuerySupplyRequest; - fromAmino(object: _129.QuerySupplyRequestAmino): _129.QuerySupplyRequest; - toAmino(message: _129.QuerySupplyRequest): _129.QuerySupplyRequestAmino; - fromAminoMsg(object: _129.QuerySupplyRequestAminoMsg): _129.QuerySupplyRequest; - fromProtoMsg(message: _129.QuerySupplyRequestProtoMsg): _129.QuerySupplyRequest; - toProto(message: _129.QuerySupplyRequest): Uint8Array; - toProtoMsg(message: _129.QuerySupplyRequest): _129.QuerySupplyRequestProtoMsg; - }; - QuerySupplyResponse: { - encode(message: _129.QuerySupplyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QuerySupplyResponse; - fromJSON(object: any): _129.QuerySupplyResponse; - toJSON(message: _129.QuerySupplyResponse): unknown; - fromPartial(object: Partial<_129.QuerySupplyResponse>): _129.QuerySupplyResponse; - fromAmino(object: _129.QuerySupplyResponseAmino): _129.QuerySupplyResponse; - toAmino(message: _129.QuerySupplyResponse): _129.QuerySupplyResponseAmino; - fromAminoMsg(object: _129.QuerySupplyResponseAminoMsg): _129.QuerySupplyResponse; - fromProtoMsg(message: _129.QuerySupplyResponseProtoMsg): _129.QuerySupplyResponse; - toProto(message: _129.QuerySupplyResponse): Uint8Array; - toProtoMsg(message: _129.QuerySupplyResponse): _129.QuerySupplyResponseProtoMsg; - }; - QueryCreditTypesRequest: { - encode(_: _129.QueryCreditTypesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryCreditTypesRequest; - fromJSON(_: any): _129.QueryCreditTypesRequest; - toJSON(_: _129.QueryCreditTypesRequest): unknown; - fromPartial(_: Partial<_129.QueryCreditTypesRequest>): _129.QueryCreditTypesRequest; - fromAmino(_: _129.QueryCreditTypesRequestAmino): _129.QueryCreditTypesRequest; - toAmino(_: _129.QueryCreditTypesRequest): _129.QueryCreditTypesRequestAmino; - fromAminoMsg(object: _129.QueryCreditTypesRequestAminoMsg): _129.QueryCreditTypesRequest; - fromProtoMsg(message: _129.QueryCreditTypesRequestProtoMsg): _129.QueryCreditTypesRequest; - toProto(message: _129.QueryCreditTypesRequest): Uint8Array; - toProtoMsg(message: _129.QueryCreditTypesRequest): _129.QueryCreditTypesRequestProtoMsg; - }; - QueryCreditTypesResponse: { - encode(message: _129.QueryCreditTypesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryCreditTypesResponse; - fromJSON(object: any): _129.QueryCreditTypesResponse; - toJSON(message: _129.QueryCreditTypesResponse): unknown; - fromPartial(object: Partial<_129.QueryCreditTypesResponse>): _129.QueryCreditTypesResponse; - fromAmino(object: _129.QueryCreditTypesResponseAmino): _129.QueryCreditTypesResponse; - toAmino(message: _129.QueryCreditTypesResponse): _129.QueryCreditTypesResponseAmino; - fromAminoMsg(object: _129.QueryCreditTypesResponseAminoMsg): _129.QueryCreditTypesResponse; - fromProtoMsg(message: _129.QueryCreditTypesResponseProtoMsg): _129.QueryCreditTypesResponse; - toProto(message: _129.QueryCreditTypesResponse): Uint8Array; - toProtoMsg(message: _129.QueryCreditTypesResponse): _129.QueryCreditTypesResponseProtoMsg; - }; - QueryParamsRequest: { - encode(_: _129.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryParamsRequest; - fromJSON(_: any): _129.QueryParamsRequest; - toJSON(_: _129.QueryParamsRequest): unknown; - fromPartial(_: Partial<_129.QueryParamsRequest>): _129.QueryParamsRequest; - fromAmino(_: _129.QueryParamsRequestAmino): _129.QueryParamsRequest; - toAmino(_: _129.QueryParamsRequest): _129.QueryParamsRequestAmino; - fromAminoMsg(object: _129.QueryParamsRequestAminoMsg): _129.QueryParamsRequest; - fromProtoMsg(message: _129.QueryParamsRequestProtoMsg): _129.QueryParamsRequest; - toProto(message: _129.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _129.QueryParamsRequest): _129.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _129.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryParamsResponse; - fromJSON(object: any): _129.QueryParamsResponse; - toJSON(message: _129.QueryParamsResponse): unknown; - fromPartial(object: Partial<_129.QueryParamsResponse>): _129.QueryParamsResponse; - fromAmino(object: _129.QueryParamsResponseAmino): _129.QueryParamsResponse; - toAmino(message: _129.QueryParamsResponse): _129.QueryParamsResponseAmino; - fromAminoMsg(object: _129.QueryParamsResponseAminoMsg): _129.QueryParamsResponse; - fromProtoMsg(message: _129.QueryParamsResponseProtoMsg): _129.QueryParamsResponse; - toProto(message: _129.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _129.QueryParamsResponse): _129.QueryParamsResponseProtoMsg; - }; - QueryCreditTypeRequest: { - encode(message: _129.QueryCreditTypeRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryCreditTypeRequest; - fromJSON(object: any): _129.QueryCreditTypeRequest; - toJSON(message: _129.QueryCreditTypeRequest): unknown; - fromPartial(object: Partial<_129.QueryCreditTypeRequest>): _129.QueryCreditTypeRequest; - fromAmino(object: _129.QueryCreditTypeRequestAmino): _129.QueryCreditTypeRequest; - toAmino(message: _129.QueryCreditTypeRequest): _129.QueryCreditTypeRequestAmino; - fromAminoMsg(object: _129.QueryCreditTypeRequestAminoMsg): _129.QueryCreditTypeRequest; - fromProtoMsg(message: _129.QueryCreditTypeRequestProtoMsg): _129.QueryCreditTypeRequest; - toProto(message: _129.QueryCreditTypeRequest): Uint8Array; - toProtoMsg(message: _129.QueryCreditTypeRequest): _129.QueryCreditTypeRequestProtoMsg; - }; - QueryCreditTypeResponse: { - encode(message: _129.QueryCreditTypeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryCreditTypeResponse; - fromJSON(object: any): _129.QueryCreditTypeResponse; - toJSON(message: _129.QueryCreditTypeResponse): unknown; - fromPartial(object: Partial<_129.QueryCreditTypeResponse>): _129.QueryCreditTypeResponse; - fromAmino(object: _129.QueryCreditTypeResponseAmino): _129.QueryCreditTypeResponse; - toAmino(message: _129.QueryCreditTypeResponse): _129.QueryCreditTypeResponseAmino; - fromAminoMsg(object: _129.QueryCreditTypeResponseAminoMsg): _129.QueryCreditTypeResponse; - fromProtoMsg(message: _129.QueryCreditTypeResponseProtoMsg): _129.QueryCreditTypeResponse; - toProto(message: _129.QueryCreditTypeResponse): Uint8Array; - toProtoMsg(message: _129.QueryCreditTypeResponse): _129.QueryCreditTypeResponseProtoMsg; - }; - ClassInfo: { - encode(message: _129.ClassInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.ClassInfo; - fromJSON(object: any): _129.ClassInfo; - toJSON(message: _129.ClassInfo): unknown; - fromPartial(object: Partial<_129.ClassInfo>): _129.ClassInfo; - fromAmino(object: _129.ClassInfoAmino): _129.ClassInfo; - toAmino(message: _129.ClassInfo): _129.ClassInfoAmino; - fromAminoMsg(object: _129.ClassInfoAminoMsg): _129.ClassInfo; - fromProtoMsg(message: _129.ClassInfoProtoMsg): _129.ClassInfo; - toProto(message: _129.ClassInfo): Uint8Array; - toProtoMsg(message: _129.ClassInfo): _129.ClassInfoProtoMsg; - }; - ProjectInfo: { - encode(message: _129.ProjectInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.ProjectInfo; - fromJSON(object: any): _129.ProjectInfo; - toJSON(message: _129.ProjectInfo): unknown; - fromPartial(object: Partial<_129.ProjectInfo>): _129.ProjectInfo; - fromAmino(object: _129.ProjectInfoAmino): _129.ProjectInfo; - toAmino(message: _129.ProjectInfo): _129.ProjectInfoAmino; - fromAminoMsg(object: _129.ProjectInfoAminoMsg): _129.ProjectInfo; - fromProtoMsg(message: _129.ProjectInfoProtoMsg): _129.ProjectInfo; - toProto(message: _129.ProjectInfo): Uint8Array; - toProtoMsg(message: _129.ProjectInfo): _129.ProjectInfoProtoMsg; - }; - BatchInfo: { - encode(message: _129.BatchInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.BatchInfo; - fromJSON(object: any): _129.BatchInfo; - toJSON(message: _129.BatchInfo): unknown; - fromPartial(object: Partial<_129.BatchInfo>): _129.BatchInfo; - fromAmino(object: _129.BatchInfoAmino): _129.BatchInfo; - toAmino(message: _129.BatchInfo): _129.BatchInfoAmino; - fromAminoMsg(object: _129.BatchInfoAminoMsg): _129.BatchInfo; - fromProtoMsg(message: _129.BatchInfoProtoMsg): _129.BatchInfo; - toProto(message: _129.BatchInfo): Uint8Array; - toProtoMsg(message: _129.BatchInfo): _129.BatchInfoProtoMsg; - }; - BatchBalanceInfo: { - encode(message: _129.BatchBalanceInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.BatchBalanceInfo; - fromJSON(object: any): _129.BatchBalanceInfo; - toJSON(message: _129.BatchBalanceInfo): unknown; - fromPartial(object: Partial<_129.BatchBalanceInfo>): _129.BatchBalanceInfo; - fromAmino(object: _129.BatchBalanceInfoAmino): _129.BatchBalanceInfo; - toAmino(message: _129.BatchBalanceInfo): _129.BatchBalanceInfoAmino; - fromAminoMsg(object: _129.BatchBalanceInfoAminoMsg): _129.BatchBalanceInfo; - fromProtoMsg(message: _129.BatchBalanceInfoProtoMsg): _129.BatchBalanceInfo; - toProto(message: _129.BatchBalanceInfo): Uint8Array; - toProtoMsg(message: _129.BatchBalanceInfo): _129.BatchBalanceInfoProtoMsg; - }; - QueryClassCreatorAllowlistRequest: { - encode(_: _129.QueryClassCreatorAllowlistRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassCreatorAllowlistRequest; - fromJSON(_: any): _129.QueryClassCreatorAllowlistRequest; - toJSON(_: _129.QueryClassCreatorAllowlistRequest): unknown; - fromPartial(_: Partial<_129.QueryClassCreatorAllowlistRequest>): _129.QueryClassCreatorAllowlistRequest; - fromAmino(_: _129.QueryClassCreatorAllowlistRequestAmino): _129.QueryClassCreatorAllowlistRequest; - toAmino(_: _129.QueryClassCreatorAllowlistRequest): _129.QueryClassCreatorAllowlistRequestAmino; - fromAminoMsg(object: _129.QueryClassCreatorAllowlistRequestAminoMsg): _129.QueryClassCreatorAllowlistRequest; - fromProtoMsg(message: _129.QueryClassCreatorAllowlistRequestProtoMsg): _129.QueryClassCreatorAllowlistRequest; - toProto(message: _129.QueryClassCreatorAllowlistRequest): Uint8Array; - toProtoMsg(message: _129.QueryClassCreatorAllowlistRequest): _129.QueryClassCreatorAllowlistRequestProtoMsg; - }; - QueryClassCreatorAllowlistResponse: { - encode(message: _129.QueryClassCreatorAllowlistResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassCreatorAllowlistResponse; - fromJSON(object: any): _129.QueryClassCreatorAllowlistResponse; - toJSON(message: _129.QueryClassCreatorAllowlistResponse): unknown; - fromPartial(object: Partial<_129.QueryClassCreatorAllowlistResponse>): _129.QueryClassCreatorAllowlistResponse; - fromAmino(object: _129.QueryClassCreatorAllowlistResponseAmino): _129.QueryClassCreatorAllowlistResponse; - toAmino(message: _129.QueryClassCreatorAllowlistResponse): _129.QueryClassCreatorAllowlistResponseAmino; - fromAminoMsg(object: _129.QueryClassCreatorAllowlistResponseAminoMsg): _129.QueryClassCreatorAllowlistResponse; - fromProtoMsg(message: _129.QueryClassCreatorAllowlistResponseProtoMsg): _129.QueryClassCreatorAllowlistResponse; - toProto(message: _129.QueryClassCreatorAllowlistResponse): Uint8Array; - toProtoMsg(message: _129.QueryClassCreatorAllowlistResponse): _129.QueryClassCreatorAllowlistResponseProtoMsg; - }; - QueryAllowedClassCreatorsRequest: { - encode(message: _129.QueryAllowedClassCreatorsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryAllowedClassCreatorsRequest; - fromJSON(object: any): _129.QueryAllowedClassCreatorsRequest; - toJSON(message: _129.QueryAllowedClassCreatorsRequest): unknown; - fromPartial(object: Partial<_129.QueryAllowedClassCreatorsRequest>): _129.QueryAllowedClassCreatorsRequest; - fromAmino(object: _129.QueryAllowedClassCreatorsRequestAmino): _129.QueryAllowedClassCreatorsRequest; - toAmino(message: _129.QueryAllowedClassCreatorsRequest): _129.QueryAllowedClassCreatorsRequestAmino; - fromAminoMsg(object: _129.QueryAllowedClassCreatorsRequestAminoMsg): _129.QueryAllowedClassCreatorsRequest; - fromProtoMsg(message: _129.QueryAllowedClassCreatorsRequestProtoMsg): _129.QueryAllowedClassCreatorsRequest; - toProto(message: _129.QueryAllowedClassCreatorsRequest): Uint8Array; - toProtoMsg(message: _129.QueryAllowedClassCreatorsRequest): _129.QueryAllowedClassCreatorsRequestProtoMsg; - }; - QueryAllowedClassCreatorsResponse: { - encode(message: _129.QueryAllowedClassCreatorsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryAllowedClassCreatorsResponse; - fromJSON(object: any): _129.QueryAllowedClassCreatorsResponse; - toJSON(message: _129.QueryAllowedClassCreatorsResponse): unknown; - fromPartial(object: Partial<_129.QueryAllowedClassCreatorsResponse>): _129.QueryAllowedClassCreatorsResponse; - fromAmino(object: _129.QueryAllowedClassCreatorsResponseAmino): _129.QueryAllowedClassCreatorsResponse; - toAmino(message: _129.QueryAllowedClassCreatorsResponse): _129.QueryAllowedClassCreatorsResponseAmino; - fromAminoMsg(object: _129.QueryAllowedClassCreatorsResponseAminoMsg): _129.QueryAllowedClassCreatorsResponse; - fromProtoMsg(message: _129.QueryAllowedClassCreatorsResponseProtoMsg): _129.QueryAllowedClassCreatorsResponse; - toProto(message: _129.QueryAllowedClassCreatorsResponse): Uint8Array; - toProtoMsg(message: _129.QueryAllowedClassCreatorsResponse): _129.QueryAllowedClassCreatorsResponseProtoMsg; - }; - QueryClassFeeRequest: { - encode(_: _129.QueryClassFeeRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassFeeRequest; - fromJSON(_: any): _129.QueryClassFeeRequest; - toJSON(_: _129.QueryClassFeeRequest): unknown; - fromPartial(_: Partial<_129.QueryClassFeeRequest>): _129.QueryClassFeeRequest; - fromAmino(_: _129.QueryClassFeeRequestAmino): _129.QueryClassFeeRequest; - toAmino(_: _129.QueryClassFeeRequest): _129.QueryClassFeeRequestAmino; - fromAminoMsg(object: _129.QueryClassFeeRequestAminoMsg): _129.QueryClassFeeRequest; - fromProtoMsg(message: _129.QueryClassFeeRequestProtoMsg): _129.QueryClassFeeRequest; - toProto(message: _129.QueryClassFeeRequest): Uint8Array; - toProtoMsg(message: _129.QueryClassFeeRequest): _129.QueryClassFeeRequestProtoMsg; - }; - QueryClassFeeResponse: { - encode(message: _129.QueryClassFeeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryClassFeeResponse; - fromJSON(object: any): _129.QueryClassFeeResponse; - toJSON(message: _129.QueryClassFeeResponse): unknown; - fromPartial(object: Partial<_129.QueryClassFeeResponse>): _129.QueryClassFeeResponse; - fromAmino(object: _129.QueryClassFeeResponseAmino): _129.QueryClassFeeResponse; - toAmino(message: _129.QueryClassFeeResponse): _129.QueryClassFeeResponseAmino; - fromAminoMsg(object: _129.QueryClassFeeResponseAminoMsg): _129.QueryClassFeeResponse; - fromProtoMsg(message: _129.QueryClassFeeResponseProtoMsg): _129.QueryClassFeeResponse; - toProto(message: _129.QueryClassFeeResponse): Uint8Array; - toProtoMsg(message: _129.QueryClassFeeResponse): _129.QueryClassFeeResponseProtoMsg; - }; - QueryAllowedBridgeChainsRequest: { - encode(_: _129.QueryAllowedBridgeChainsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryAllowedBridgeChainsRequest; - fromJSON(_: any): _129.QueryAllowedBridgeChainsRequest; - toJSON(_: _129.QueryAllowedBridgeChainsRequest): unknown; - fromPartial(_: Partial<_129.QueryAllowedBridgeChainsRequest>): _129.QueryAllowedBridgeChainsRequest; - fromAmino(_: _129.QueryAllowedBridgeChainsRequestAmino): _129.QueryAllowedBridgeChainsRequest; - toAmino(_: _129.QueryAllowedBridgeChainsRequest): _129.QueryAllowedBridgeChainsRequestAmino; - fromAminoMsg(object: _129.QueryAllowedBridgeChainsRequestAminoMsg): _129.QueryAllowedBridgeChainsRequest; - fromProtoMsg(message: _129.QueryAllowedBridgeChainsRequestProtoMsg): _129.QueryAllowedBridgeChainsRequest; - toProto(message: _129.QueryAllowedBridgeChainsRequest): Uint8Array; - toProtoMsg(message: _129.QueryAllowedBridgeChainsRequest): _129.QueryAllowedBridgeChainsRequestProtoMsg; - }; - QueryAllowedBridgeChainsResponse: { - encode(message: _129.QueryAllowedBridgeChainsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _129.QueryAllowedBridgeChainsResponse; - fromJSON(object: any): _129.QueryAllowedBridgeChainsResponse; - toJSON(message: _129.QueryAllowedBridgeChainsResponse): unknown; - fromPartial(object: Partial<_129.QueryAllowedBridgeChainsResponse>): _129.QueryAllowedBridgeChainsResponse; - fromAmino(object: _129.QueryAllowedBridgeChainsResponseAmino): _129.QueryAllowedBridgeChainsResponse; - toAmino(message: _129.QueryAllowedBridgeChainsResponse): _129.QueryAllowedBridgeChainsResponseAmino; - fromAminoMsg(object: _129.QueryAllowedBridgeChainsResponseAminoMsg): _129.QueryAllowedBridgeChainsResponse; - fromProtoMsg(message: _129.QueryAllowedBridgeChainsResponseProtoMsg): _129.QueryAllowedBridgeChainsResponse; - toProto(message: _129.QueryAllowedBridgeChainsResponse): Uint8Array; - toProtoMsg(message: _129.QueryAllowedBridgeChainsResponse): _129.QueryAllowedBridgeChainsResponseProtoMsg; - }; - EventCreateClass: { - encode(message: _128.EventCreateClass, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventCreateClass; - fromJSON(object: any): _128.EventCreateClass; - toJSON(message: _128.EventCreateClass): unknown; - fromPartial(object: Partial<_128.EventCreateClass>): _128.EventCreateClass; - fromAmino(object: _128.EventCreateClassAmino): _128.EventCreateClass; - toAmino(message: _128.EventCreateClass): _128.EventCreateClassAmino; - fromAminoMsg(object: _128.EventCreateClassAminoMsg): _128.EventCreateClass; - fromProtoMsg(message: _128.EventCreateClassProtoMsg): _128.EventCreateClass; - toProto(message: _128.EventCreateClass): Uint8Array; - toProtoMsg(message: _128.EventCreateClass): _128.EventCreateClassProtoMsg; - }; - EventCreateProject: { - encode(message: _128.EventCreateProject, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventCreateProject; - fromJSON(object: any): _128.EventCreateProject; - toJSON(message: _128.EventCreateProject): unknown; - fromPartial(object: Partial<_128.EventCreateProject>): _128.EventCreateProject; - fromAmino(object: _128.EventCreateProjectAmino): _128.EventCreateProject; - toAmino(message: _128.EventCreateProject): _128.EventCreateProjectAmino; - fromAminoMsg(object: _128.EventCreateProjectAminoMsg): _128.EventCreateProject; - fromProtoMsg(message: _128.EventCreateProjectProtoMsg): _128.EventCreateProject; - toProto(message: _128.EventCreateProject): Uint8Array; - toProtoMsg(message: _128.EventCreateProject): _128.EventCreateProjectProtoMsg; - }; - EventCreateBatch: { - encode(message: _128.EventCreateBatch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventCreateBatch; - fromJSON(object: any): _128.EventCreateBatch; - toJSON(message: _128.EventCreateBatch): unknown; - fromPartial(object: Partial<_128.EventCreateBatch>): _128.EventCreateBatch; - fromAmino(object: _128.EventCreateBatchAmino): _128.EventCreateBatch; - toAmino(message: _128.EventCreateBatch): _128.EventCreateBatchAmino; - fromAminoMsg(object: _128.EventCreateBatchAminoMsg): _128.EventCreateBatch; - fromProtoMsg(message: _128.EventCreateBatchProtoMsg): _128.EventCreateBatch; - toProto(message: _128.EventCreateBatch): Uint8Array; - toProtoMsg(message: _128.EventCreateBatch): _128.EventCreateBatchProtoMsg; - }; - EventMint: { - encode(message: _128.EventMint, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventMint; - fromJSON(object: any): _128.EventMint; - toJSON(message: _128.EventMint): unknown; - fromPartial(object: Partial<_128.EventMint>): _128.EventMint; - fromAmino(object: _128.EventMintAmino): _128.EventMint; - toAmino(message: _128.EventMint): _128.EventMintAmino; - fromAminoMsg(object: _128.EventMintAminoMsg): _128.EventMint; - fromProtoMsg(message: _128.EventMintProtoMsg): _128.EventMint; - toProto(message: _128.EventMint): Uint8Array; - toProtoMsg(message: _128.EventMint): _128.EventMintProtoMsg; - }; - EventMintBatchCredits: { - encode(message: _128.EventMintBatchCredits, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventMintBatchCredits; - fromJSON(object: any): _128.EventMintBatchCredits; - toJSON(message: _128.EventMintBatchCredits): unknown; - fromPartial(object: Partial<_128.EventMintBatchCredits>): _128.EventMintBatchCredits; - fromAmino(object: _128.EventMintBatchCreditsAmino): _128.EventMintBatchCredits; - toAmino(message: _128.EventMintBatchCredits): _128.EventMintBatchCreditsAmino; - fromAminoMsg(object: _128.EventMintBatchCreditsAminoMsg): _128.EventMintBatchCredits; - fromProtoMsg(message: _128.EventMintBatchCreditsProtoMsg): _128.EventMintBatchCredits; - toProto(message: _128.EventMintBatchCredits): Uint8Array; - toProtoMsg(message: _128.EventMintBatchCredits): _128.EventMintBatchCreditsProtoMsg; - }; - EventTransfer: { - encode(message: _128.EventTransfer, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventTransfer; - fromJSON(object: any): _128.EventTransfer; - toJSON(message: _128.EventTransfer): unknown; - fromPartial(object: Partial<_128.EventTransfer>): _128.EventTransfer; - fromAmino(object: _128.EventTransferAmino): _128.EventTransfer; - toAmino(message: _128.EventTransfer): _128.EventTransferAmino; - fromAminoMsg(object: _128.EventTransferAminoMsg): _128.EventTransfer; - fromProtoMsg(message: _128.EventTransferProtoMsg): _128.EventTransfer; - toProto(message: _128.EventTransfer): Uint8Array; - toProtoMsg(message: _128.EventTransfer): _128.EventTransferProtoMsg; - }; - EventRetire: { - encode(message: _128.EventRetire, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventRetire; - fromJSON(object: any): _128.EventRetire; - toJSON(message: _128.EventRetire): unknown; - fromPartial(object: Partial<_128.EventRetire>): _128.EventRetire; - fromAmino(object: _128.EventRetireAmino): _128.EventRetire; - toAmino(message: _128.EventRetire): _128.EventRetireAmino; - fromAminoMsg(object: _128.EventRetireAminoMsg): _128.EventRetire; - fromProtoMsg(message: _128.EventRetireProtoMsg): _128.EventRetire; - toProto(message: _128.EventRetire): Uint8Array; - toProtoMsg(message: _128.EventRetire): _128.EventRetireProtoMsg; - }; - EventCancel: { - encode(message: _128.EventCancel, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventCancel; - fromJSON(object: any): _128.EventCancel; - toJSON(message: _128.EventCancel): unknown; - fromPartial(object: Partial<_128.EventCancel>): _128.EventCancel; - fromAmino(object: _128.EventCancelAmino): _128.EventCancel; - toAmino(message: _128.EventCancel): _128.EventCancelAmino; - fromAminoMsg(object: _128.EventCancelAminoMsg): _128.EventCancel; - fromProtoMsg(message: _128.EventCancelProtoMsg): _128.EventCancel; - toProto(message: _128.EventCancel): Uint8Array; - toProtoMsg(message: _128.EventCancel): _128.EventCancelProtoMsg; - }; - EventUpdateClassAdmin: { - encode(message: _128.EventUpdateClassAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventUpdateClassAdmin; - fromJSON(object: any): _128.EventUpdateClassAdmin; - toJSON(message: _128.EventUpdateClassAdmin): unknown; - fromPartial(object: Partial<_128.EventUpdateClassAdmin>): _128.EventUpdateClassAdmin; - fromAmino(object: _128.EventUpdateClassAdminAmino): _128.EventUpdateClassAdmin; - toAmino(message: _128.EventUpdateClassAdmin): _128.EventUpdateClassAdminAmino; - fromAminoMsg(object: _128.EventUpdateClassAdminAminoMsg): _128.EventUpdateClassAdmin; - fromProtoMsg(message: _128.EventUpdateClassAdminProtoMsg): _128.EventUpdateClassAdmin; - toProto(message: _128.EventUpdateClassAdmin): Uint8Array; - toProtoMsg(message: _128.EventUpdateClassAdmin): _128.EventUpdateClassAdminProtoMsg; - }; - EventUpdateClassIssuers: { - encode(message: _128.EventUpdateClassIssuers, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventUpdateClassIssuers; - fromJSON(object: any): _128.EventUpdateClassIssuers; - toJSON(message: _128.EventUpdateClassIssuers): unknown; - fromPartial(object: Partial<_128.EventUpdateClassIssuers>): _128.EventUpdateClassIssuers; - fromAmino(object: _128.EventUpdateClassIssuersAmino): _128.EventUpdateClassIssuers; - toAmino(message: _128.EventUpdateClassIssuers): _128.EventUpdateClassIssuersAmino; - fromAminoMsg(object: _128.EventUpdateClassIssuersAminoMsg): _128.EventUpdateClassIssuers; - fromProtoMsg(message: _128.EventUpdateClassIssuersProtoMsg): _128.EventUpdateClassIssuers; - toProto(message: _128.EventUpdateClassIssuers): Uint8Array; - toProtoMsg(message: _128.EventUpdateClassIssuers): _128.EventUpdateClassIssuersProtoMsg; - }; - EventUpdateClassMetadata: { - encode(message: _128.EventUpdateClassMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventUpdateClassMetadata; - fromJSON(object: any): _128.EventUpdateClassMetadata; - toJSON(message: _128.EventUpdateClassMetadata): unknown; - fromPartial(object: Partial<_128.EventUpdateClassMetadata>): _128.EventUpdateClassMetadata; - fromAmino(object: _128.EventUpdateClassMetadataAmino): _128.EventUpdateClassMetadata; - toAmino(message: _128.EventUpdateClassMetadata): _128.EventUpdateClassMetadataAmino; - fromAminoMsg(object: _128.EventUpdateClassMetadataAminoMsg): _128.EventUpdateClassMetadata; - fromProtoMsg(message: _128.EventUpdateClassMetadataProtoMsg): _128.EventUpdateClassMetadata; - toProto(message: _128.EventUpdateClassMetadata): Uint8Array; - toProtoMsg(message: _128.EventUpdateClassMetadata): _128.EventUpdateClassMetadataProtoMsg; - }; - EventUpdateProjectAdmin: { - encode(message: _128.EventUpdateProjectAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventUpdateProjectAdmin; - fromJSON(object: any): _128.EventUpdateProjectAdmin; - toJSON(message: _128.EventUpdateProjectAdmin): unknown; - fromPartial(object: Partial<_128.EventUpdateProjectAdmin>): _128.EventUpdateProjectAdmin; - fromAmino(object: _128.EventUpdateProjectAdminAmino): _128.EventUpdateProjectAdmin; - toAmino(message: _128.EventUpdateProjectAdmin): _128.EventUpdateProjectAdminAmino; - fromAminoMsg(object: _128.EventUpdateProjectAdminAminoMsg): _128.EventUpdateProjectAdmin; - fromProtoMsg(message: _128.EventUpdateProjectAdminProtoMsg): _128.EventUpdateProjectAdmin; - toProto(message: _128.EventUpdateProjectAdmin): Uint8Array; - toProtoMsg(message: _128.EventUpdateProjectAdmin): _128.EventUpdateProjectAdminProtoMsg; - }; - EventUpdateProjectMetadata: { - encode(message: _128.EventUpdateProjectMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventUpdateProjectMetadata; - fromJSON(object: any): _128.EventUpdateProjectMetadata; - toJSON(message: _128.EventUpdateProjectMetadata): unknown; - fromPartial(object: Partial<_128.EventUpdateProjectMetadata>): _128.EventUpdateProjectMetadata; - fromAmino(object: _128.EventUpdateProjectMetadataAmino): _128.EventUpdateProjectMetadata; - toAmino(message: _128.EventUpdateProjectMetadata): _128.EventUpdateProjectMetadataAmino; - fromAminoMsg(object: _128.EventUpdateProjectMetadataAminoMsg): _128.EventUpdateProjectMetadata; - fromProtoMsg(message: _128.EventUpdateProjectMetadataProtoMsg): _128.EventUpdateProjectMetadata; - toProto(message: _128.EventUpdateProjectMetadata): Uint8Array; - toProtoMsg(message: _128.EventUpdateProjectMetadata): _128.EventUpdateProjectMetadataProtoMsg; - }; - EventUpdateBatchMetadata: { - encode(message: _128.EventUpdateBatchMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventUpdateBatchMetadata; - fromJSON(object: any): _128.EventUpdateBatchMetadata; - toJSON(message: _128.EventUpdateBatchMetadata): unknown; - fromPartial(object: Partial<_128.EventUpdateBatchMetadata>): _128.EventUpdateBatchMetadata; - fromAmino(object: _128.EventUpdateBatchMetadataAmino): _128.EventUpdateBatchMetadata; - toAmino(message: _128.EventUpdateBatchMetadata): _128.EventUpdateBatchMetadataAmino; - fromAminoMsg(object: _128.EventUpdateBatchMetadataAminoMsg): _128.EventUpdateBatchMetadata; - fromProtoMsg(message: _128.EventUpdateBatchMetadataProtoMsg): _128.EventUpdateBatchMetadata; - toProto(message: _128.EventUpdateBatchMetadata): Uint8Array; - toProtoMsg(message: _128.EventUpdateBatchMetadata): _128.EventUpdateBatchMetadataProtoMsg; - }; - EventSealBatch: { - encode(message: _128.EventSealBatch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventSealBatch; - fromJSON(object: any): _128.EventSealBatch; - toJSON(message: _128.EventSealBatch): unknown; - fromPartial(object: Partial<_128.EventSealBatch>): _128.EventSealBatch; - fromAmino(object: _128.EventSealBatchAmino): _128.EventSealBatch; - toAmino(message: _128.EventSealBatch): _128.EventSealBatchAmino; - fromAminoMsg(object: _128.EventSealBatchAminoMsg): _128.EventSealBatch; - fromProtoMsg(message: _128.EventSealBatchProtoMsg): _128.EventSealBatch; - toProto(message: _128.EventSealBatch): Uint8Array; - toProtoMsg(message: _128.EventSealBatch): _128.EventSealBatchProtoMsg; - }; - EventAddCreditType: { - encode(message: _128.EventAddCreditType, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventAddCreditType; - fromJSON(object: any): _128.EventAddCreditType; - toJSON(message: _128.EventAddCreditType): unknown; - fromPartial(object: Partial<_128.EventAddCreditType>): _128.EventAddCreditType; - fromAmino(object: _128.EventAddCreditTypeAmino): _128.EventAddCreditType; - toAmino(message: _128.EventAddCreditType): _128.EventAddCreditTypeAmino; - fromAminoMsg(object: _128.EventAddCreditTypeAminoMsg): _128.EventAddCreditType; - fromProtoMsg(message: _128.EventAddCreditTypeProtoMsg): _128.EventAddCreditType; - toProto(message: _128.EventAddCreditType): Uint8Array; - toProtoMsg(message: _128.EventAddCreditType): _128.EventAddCreditTypeProtoMsg; - }; - EventBridge: { - encode(message: _128.EventBridge, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventBridge; - fromJSON(object: any): _128.EventBridge; - toJSON(message: _128.EventBridge): unknown; - fromPartial(object: Partial<_128.EventBridge>): _128.EventBridge; - fromAmino(object: _128.EventBridgeAmino): _128.EventBridge; - toAmino(message: _128.EventBridge): _128.EventBridgeAmino; - fromAminoMsg(object: _128.EventBridgeAminoMsg): _128.EventBridge; - fromProtoMsg(message: _128.EventBridgeProtoMsg): _128.EventBridge; - toProto(message: _128.EventBridge): Uint8Array; - toProtoMsg(message: _128.EventBridge): _128.EventBridgeProtoMsg; - }; - EventBridgeReceive: { - encode(message: _128.EventBridgeReceive, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _128.EventBridgeReceive; - fromJSON(object: any): _128.EventBridgeReceive; - toJSON(message: _128.EventBridgeReceive): unknown; - fromPartial(object: Partial<_128.EventBridgeReceive>): _128.EventBridgeReceive; - fromAmino(object: _128.EventBridgeReceiveAmino): _128.EventBridgeReceive; - toAmino(message: _128.EventBridgeReceive): _128.EventBridgeReceiveAmino; - fromAminoMsg(object: _128.EventBridgeReceiveAminoMsg): _128.EventBridgeReceive; - fromProtoMsg(message: _128.EventBridgeReceiveProtoMsg): _128.EventBridgeReceive; - toProto(message: _128.EventBridgeReceive): Uint8Array; - toProtoMsg(message: _128.EventBridgeReceive): _128.EventBridgeReceiveProtoMsg; - }; - }; - const v1alpha1: { - MsgClientImpl: typeof _268.MsgClientImpl; - QueryClientImpl: typeof _262.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - classes(request?: _135.QueryClassesRequest | undefined): Promise<_135.QueryClassesResponse>; - classInfo(request: _135.QueryClassInfoRequest): Promise<_135.QueryClassInfoResponse>; - batches(request: _135.QueryBatchesRequest): Promise<_135.QueryBatchesResponse>; - batchInfo(request: _135.QueryBatchInfoRequest): Promise<_135.QueryBatchInfoResponse>; - balance(request: _135.QueryBalanceRequest): Promise<_135.QueryBalanceResponse>; - supply(request: _135.QuerySupplyRequest): Promise<_135.QuerySupplyResponse>; - creditTypes(request?: _135.QueryCreditTypesRequest | undefined): Promise<_135.QueryCreditTypesResponse>; - params(request?: _135.QueryParamsRequest | undefined): Promise<_135.QueryParamsResponse>; - }; - LCDQueryClient: typeof _256.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createClass(value: _136.MsgCreateClass): { - typeUrl: string; - value: Uint8Array; - }; - createBatch(value: _136.MsgCreateBatch): { - typeUrl: string; - value: Uint8Array; - }; - send(value: _136.MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - retire(value: _136.MsgRetire): { - typeUrl: string; - value: Uint8Array; - }; - cancel(value: _136.MsgCancel): { - typeUrl: string; - value: Uint8Array; - }; - updateClassAdmin(value: _136.MsgUpdateClassAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateClassIssuers(value: _136.MsgUpdateClassIssuers): { - typeUrl: string; - value: Uint8Array; - }; - updateClassMetadata(value: _136.MsgUpdateClassMetadata): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClass(value: _136.MsgCreateClass): { - typeUrl: string; - value: _136.MsgCreateClass; - }; - createBatch(value: _136.MsgCreateBatch): { - typeUrl: string; - value: _136.MsgCreateBatch; - }; - send(value: _136.MsgSend): { - typeUrl: string; - value: _136.MsgSend; - }; - retire(value: _136.MsgRetire): { - typeUrl: string; - value: _136.MsgRetire; - }; - cancel(value: _136.MsgCancel): { - typeUrl: string; - value: _136.MsgCancel; - }; - updateClassAdmin(value: _136.MsgUpdateClassAdmin): { - typeUrl: string; - value: _136.MsgUpdateClassAdmin; - }; - updateClassIssuers(value: _136.MsgUpdateClassIssuers): { - typeUrl: string; - value: _136.MsgUpdateClassIssuers; - }; - updateClassMetadata(value: _136.MsgUpdateClassMetadata): { - typeUrl: string; - value: _136.MsgUpdateClassMetadata; - }; - }; - toJSON: { - createClass(value: _136.MsgCreateClass): { - typeUrl: string; - value: unknown; - }; - createBatch(value: _136.MsgCreateBatch): { - typeUrl: string; - value: unknown; - }; - send(value: _136.MsgSend): { - typeUrl: string; - value: unknown; - }; - retire(value: _136.MsgRetire): { - typeUrl: string; - value: unknown; - }; - cancel(value: _136.MsgCancel): { - typeUrl: string; - value: unknown; - }; - updateClassAdmin(value: _136.MsgUpdateClassAdmin): { - typeUrl: string; - value: unknown; - }; - updateClassIssuers(value: _136.MsgUpdateClassIssuers): { - typeUrl: string; - value: unknown; - }; - updateClassMetadata(value: _136.MsgUpdateClassMetadata): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClass(value: any): { - typeUrl: string; - value: _136.MsgCreateClass; - }; - createBatch(value: any): { - typeUrl: string; - value: _136.MsgCreateBatch; - }; - send(value: any): { - typeUrl: string; - value: _136.MsgSend; - }; - retire(value: any): { - typeUrl: string; - value: _136.MsgRetire; - }; - cancel(value: any): { - typeUrl: string; - value: _136.MsgCancel; - }; - updateClassAdmin(value: any): { - typeUrl: string; - value: _136.MsgUpdateClassAdmin; - }; - updateClassIssuers(value: any): { - typeUrl: string; - value: _136.MsgUpdateClassIssuers; - }; - updateClassMetadata(value: any): { - typeUrl: string; - value: _136.MsgUpdateClassMetadata; - }; - }; - fromPartial: { - createClass(value: _136.MsgCreateClass): { - typeUrl: string; - value: _136.MsgCreateClass; - }; - createBatch(value: _136.MsgCreateBatch): { - typeUrl: string; - value: _136.MsgCreateBatch; - }; - send(value: _136.MsgSend): { - typeUrl: string; - value: _136.MsgSend; - }; - retire(value: _136.MsgRetire): { - typeUrl: string; - value: _136.MsgRetire; - }; - cancel(value: _136.MsgCancel): { - typeUrl: string; - value: _136.MsgCancel; - }; - updateClassAdmin(value: _136.MsgUpdateClassAdmin): { - typeUrl: string; - value: _136.MsgUpdateClassAdmin; - }; - updateClassIssuers(value: _136.MsgUpdateClassIssuers): { - typeUrl: string; - value: _136.MsgUpdateClassIssuers; - }; - updateClassMetadata(value: _136.MsgUpdateClassMetadata): { - typeUrl: string; - value: _136.MsgUpdateClassMetadata; - }; - }; - }; - AminoConverter: { - "/regen.ecocredit.v1alpha1.MsgCreateClass": { - aminoType: string; - toAmino: (message: _136.MsgCreateClass) => _136.MsgCreateClassAmino; - fromAmino: (object: _136.MsgCreateClassAmino) => _136.MsgCreateClass; - }; - "/regen.ecocredit.v1alpha1.MsgCreateBatch": { - aminoType: string; - toAmino: (message: _136.MsgCreateBatch) => _136.MsgCreateBatchAmino; - fromAmino: (object: _136.MsgCreateBatchAmino) => _136.MsgCreateBatch; - }; - "/regen.ecocredit.v1alpha1.MsgSend": { - aminoType: string; - toAmino: (message: _136.MsgSend) => _136.MsgSendAmino; - fromAmino: (object: _136.MsgSendAmino) => _136.MsgSend; - }; - "/regen.ecocredit.v1alpha1.MsgRetire": { - aminoType: string; - toAmino: (message: _136.MsgRetire) => _136.MsgRetireAmino; - fromAmino: (object: _136.MsgRetireAmino) => _136.MsgRetire; - }; - "/regen.ecocredit.v1alpha1.MsgCancel": { - aminoType: string; - toAmino: (message: _136.MsgCancel) => _136.MsgCancelAmino; - fromAmino: (object: _136.MsgCancelAmino) => _136.MsgCancel; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin": { - aminoType: string; - toAmino: (message: _136.MsgUpdateClassAdmin) => _136.MsgUpdateClassAdminAmino; - fromAmino: (object: _136.MsgUpdateClassAdminAmino) => _136.MsgUpdateClassAdmin; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers": { - aminoType: string; - toAmino: (message: _136.MsgUpdateClassIssuers) => _136.MsgUpdateClassIssuersAmino; - fromAmino: (object: _136.MsgUpdateClassIssuersAmino) => _136.MsgUpdateClassIssuers; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata": { - aminoType: string; - toAmino: (message: _136.MsgUpdateClassMetadata) => _136.MsgUpdateClassMetadataAmino; - fromAmino: (object: _136.MsgUpdateClassMetadataAmino) => _136.MsgUpdateClassMetadata; - }; - }; - ClassInfo: { - encode(message: _137.ClassInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _137.ClassInfo; - fromJSON(object: any): _137.ClassInfo; - toJSON(message: _137.ClassInfo): unknown; - fromPartial(object: Partial<_137.ClassInfo>): _137.ClassInfo; - fromAmino(object: _137.ClassInfoAmino): _137.ClassInfo; - toAmino(message: _137.ClassInfo): _137.ClassInfoAmino; - fromAminoMsg(object: _137.ClassInfoAminoMsg): _137.ClassInfo; - fromProtoMsg(message: _137.ClassInfoProtoMsg): _137.ClassInfo; - toProto(message: _137.ClassInfo): Uint8Array; - toProtoMsg(message: _137.ClassInfo): _137.ClassInfoProtoMsg; - }; - BatchInfo: { - encode(message: _137.BatchInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _137.BatchInfo; - fromJSON(object: any): _137.BatchInfo; - toJSON(message: _137.BatchInfo): unknown; - fromPartial(object: Partial<_137.BatchInfo>): _137.BatchInfo; - fromAmino(object: _137.BatchInfoAmino): _137.BatchInfo; - toAmino(message: _137.BatchInfo): _137.BatchInfoAmino; - fromAminoMsg(object: _137.BatchInfoAminoMsg): _137.BatchInfo; - fromProtoMsg(message: _137.BatchInfoProtoMsg): _137.BatchInfo; - toProto(message: _137.BatchInfo): Uint8Array; - toProtoMsg(message: _137.BatchInfo): _137.BatchInfoProtoMsg; - }; - Params: { - encode(message: _137.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _137.Params; - fromJSON(object: any): _137.Params; - toJSON(message: _137.Params): unknown; - fromPartial(object: Partial<_137.Params>): _137.Params; - fromAmino(object: _137.ParamsAmino): _137.Params; - toAmino(message: _137.Params): _137.ParamsAmino; - fromAminoMsg(object: _137.ParamsAminoMsg): _137.Params; - fromProtoMsg(message: _137.ParamsProtoMsg): _137.Params; - toProto(message: _137.Params): Uint8Array; - toProtoMsg(message: _137.Params): _137.ParamsProtoMsg; - }; - CreditType: { - encode(message: _137.CreditType, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _137.CreditType; - fromJSON(object: any): _137.CreditType; - toJSON(message: _137.CreditType): unknown; - fromPartial(object: Partial<_137.CreditType>): _137.CreditType; - fromAmino(object: _137.CreditTypeAmino): _137.CreditType; - toAmino(message: _137.CreditType): _137.CreditTypeAmino; - fromAminoMsg(object: _137.CreditTypeAminoMsg): _137.CreditType; - fromProtoMsg(message: _137.CreditTypeProtoMsg): _137.CreditType; - toProto(message: _137.CreditType): Uint8Array; - toProtoMsg(message: _137.CreditType): _137.CreditTypeProtoMsg; - }; - CreditTypeSeq: { - encode(message: _137.CreditTypeSeq, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _137.CreditTypeSeq; - fromJSON(object: any): _137.CreditTypeSeq; - toJSON(message: _137.CreditTypeSeq): unknown; - fromPartial(object: Partial<_137.CreditTypeSeq>): _137.CreditTypeSeq; - fromAmino(object: _137.CreditTypeSeqAmino): _137.CreditTypeSeq; - toAmino(message: _137.CreditTypeSeq): _137.CreditTypeSeqAmino; - fromAminoMsg(object: _137.CreditTypeSeqAminoMsg): _137.CreditTypeSeq; - fromProtoMsg(message: _137.CreditTypeSeqProtoMsg): _137.CreditTypeSeq; - toProto(message: _137.CreditTypeSeq): Uint8Array; - toProtoMsg(message: _137.CreditTypeSeq): _137.CreditTypeSeqProtoMsg; - }; - MsgCreateClass: { - encode(message: _136.MsgCreateClass, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCreateClass; - fromJSON(object: any): _136.MsgCreateClass; - toJSON(message: _136.MsgCreateClass): unknown; - fromPartial(object: Partial<_136.MsgCreateClass>): _136.MsgCreateClass; - fromAmino(object: _136.MsgCreateClassAmino): _136.MsgCreateClass; - toAmino(message: _136.MsgCreateClass): _136.MsgCreateClassAmino; - fromAminoMsg(object: _136.MsgCreateClassAminoMsg): _136.MsgCreateClass; - fromProtoMsg(message: _136.MsgCreateClassProtoMsg): _136.MsgCreateClass; - toProto(message: _136.MsgCreateClass): Uint8Array; - toProtoMsg(message: _136.MsgCreateClass): _136.MsgCreateClassProtoMsg; - }; - MsgCreateClassResponse: { - encode(message: _136.MsgCreateClassResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCreateClassResponse; - fromJSON(object: any): _136.MsgCreateClassResponse; - toJSON(message: _136.MsgCreateClassResponse): unknown; - fromPartial(object: Partial<_136.MsgCreateClassResponse>): _136.MsgCreateClassResponse; - fromAmino(object: _136.MsgCreateClassResponseAmino): _136.MsgCreateClassResponse; - toAmino(message: _136.MsgCreateClassResponse): _136.MsgCreateClassResponseAmino; - fromAminoMsg(object: _136.MsgCreateClassResponseAminoMsg): _136.MsgCreateClassResponse; - fromProtoMsg(message: _136.MsgCreateClassResponseProtoMsg): _136.MsgCreateClassResponse; - toProto(message: _136.MsgCreateClassResponse): Uint8Array; - toProtoMsg(message: _136.MsgCreateClassResponse): _136.MsgCreateClassResponseProtoMsg; - }; - MsgCreateBatch: { - encode(message: _136.MsgCreateBatch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCreateBatch; - fromJSON(object: any): _136.MsgCreateBatch; - toJSON(message: _136.MsgCreateBatch): unknown; - fromPartial(object: Partial<_136.MsgCreateBatch>): _136.MsgCreateBatch; - fromAmino(object: _136.MsgCreateBatchAmino): _136.MsgCreateBatch; - toAmino(message: _136.MsgCreateBatch): _136.MsgCreateBatchAmino; - fromAminoMsg(object: _136.MsgCreateBatchAminoMsg): _136.MsgCreateBatch; - fromProtoMsg(message: _136.MsgCreateBatchProtoMsg): _136.MsgCreateBatch; - toProto(message: _136.MsgCreateBatch): Uint8Array; - toProtoMsg(message: _136.MsgCreateBatch): _136.MsgCreateBatchProtoMsg; - }; - MsgCreateBatch_BatchIssuance: { - encode(message: _136.MsgCreateBatch_BatchIssuance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCreateBatch_BatchIssuance; - fromJSON(object: any): _136.MsgCreateBatch_BatchIssuance; - toJSON(message: _136.MsgCreateBatch_BatchIssuance): unknown; - fromPartial(object: Partial<_136.MsgCreateBatch_BatchIssuance>): _136.MsgCreateBatch_BatchIssuance; - fromAmino(object: _136.MsgCreateBatch_BatchIssuanceAmino): _136.MsgCreateBatch_BatchIssuance; - toAmino(message: _136.MsgCreateBatch_BatchIssuance): _136.MsgCreateBatch_BatchIssuanceAmino; - fromAminoMsg(object: _136.MsgCreateBatch_BatchIssuanceAminoMsg): _136.MsgCreateBatch_BatchIssuance; - fromProtoMsg(message: _136.MsgCreateBatch_BatchIssuanceProtoMsg): _136.MsgCreateBatch_BatchIssuance; - toProto(message: _136.MsgCreateBatch_BatchIssuance): Uint8Array; - toProtoMsg(message: _136.MsgCreateBatch_BatchIssuance): _136.MsgCreateBatch_BatchIssuanceProtoMsg; - }; - MsgCreateBatchResponse: { - encode(message: _136.MsgCreateBatchResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCreateBatchResponse; - fromJSON(object: any): _136.MsgCreateBatchResponse; - toJSON(message: _136.MsgCreateBatchResponse): unknown; - fromPartial(object: Partial<_136.MsgCreateBatchResponse>): _136.MsgCreateBatchResponse; - fromAmino(object: _136.MsgCreateBatchResponseAmino): _136.MsgCreateBatchResponse; - toAmino(message: _136.MsgCreateBatchResponse): _136.MsgCreateBatchResponseAmino; - fromAminoMsg(object: _136.MsgCreateBatchResponseAminoMsg): _136.MsgCreateBatchResponse; - fromProtoMsg(message: _136.MsgCreateBatchResponseProtoMsg): _136.MsgCreateBatchResponse; - toProto(message: _136.MsgCreateBatchResponse): Uint8Array; - toProtoMsg(message: _136.MsgCreateBatchResponse): _136.MsgCreateBatchResponseProtoMsg; - }; - MsgSend: { - encode(message: _136.MsgSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgSend; - fromJSON(object: any): _136.MsgSend; - toJSON(message: _136.MsgSend): unknown; - fromPartial(object: Partial<_136.MsgSend>): _136.MsgSend; - fromAmino(object: _136.MsgSendAmino): _136.MsgSend; - toAmino(message: _136.MsgSend): _136.MsgSendAmino; - fromAminoMsg(object: _136.MsgSendAminoMsg): _136.MsgSend; - fromProtoMsg(message: _136.MsgSendProtoMsg): _136.MsgSend; - toProto(message: _136.MsgSend): Uint8Array; - toProtoMsg(message: _136.MsgSend): _136.MsgSendProtoMsg; - }; - MsgSend_SendCredits: { - encode(message: _136.MsgSend_SendCredits, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgSend_SendCredits; - fromJSON(object: any): _136.MsgSend_SendCredits; - toJSON(message: _136.MsgSend_SendCredits): unknown; - fromPartial(object: Partial<_136.MsgSend_SendCredits>): _136.MsgSend_SendCredits; - fromAmino(object: _136.MsgSend_SendCreditsAmino): _136.MsgSend_SendCredits; - toAmino(message: _136.MsgSend_SendCredits): _136.MsgSend_SendCreditsAmino; - fromAminoMsg(object: _136.MsgSend_SendCreditsAminoMsg): _136.MsgSend_SendCredits; - fromProtoMsg(message: _136.MsgSend_SendCreditsProtoMsg): _136.MsgSend_SendCredits; - toProto(message: _136.MsgSend_SendCredits): Uint8Array; - toProtoMsg(message: _136.MsgSend_SendCredits): _136.MsgSend_SendCreditsProtoMsg; - }; - MsgSendResponse: { - encode(_: _136.MsgSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgSendResponse; - fromJSON(_: any): _136.MsgSendResponse; - toJSON(_: _136.MsgSendResponse): unknown; - fromPartial(_: Partial<_136.MsgSendResponse>): _136.MsgSendResponse; - fromAmino(_: _136.MsgSendResponseAmino): _136.MsgSendResponse; - toAmino(_: _136.MsgSendResponse): _136.MsgSendResponseAmino; - fromAminoMsg(object: _136.MsgSendResponseAminoMsg): _136.MsgSendResponse; - fromProtoMsg(message: _136.MsgSendResponseProtoMsg): _136.MsgSendResponse; - toProto(message: _136.MsgSendResponse): Uint8Array; - toProtoMsg(message: _136.MsgSendResponse): _136.MsgSendResponseProtoMsg; - }; - MsgRetire: { - encode(message: _136.MsgRetire, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgRetire; - fromJSON(object: any): _136.MsgRetire; - toJSON(message: _136.MsgRetire): unknown; - fromPartial(object: Partial<_136.MsgRetire>): _136.MsgRetire; - fromAmino(object: _136.MsgRetireAmino): _136.MsgRetire; - toAmino(message: _136.MsgRetire): _136.MsgRetireAmino; - fromAminoMsg(object: _136.MsgRetireAminoMsg): _136.MsgRetire; - fromProtoMsg(message: _136.MsgRetireProtoMsg): _136.MsgRetire; - toProto(message: _136.MsgRetire): Uint8Array; - toProtoMsg(message: _136.MsgRetire): _136.MsgRetireProtoMsg; - }; - MsgRetire_RetireCredits: { - encode(message: _136.MsgRetire_RetireCredits, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgRetire_RetireCredits; - fromJSON(object: any): _136.MsgRetire_RetireCredits; - toJSON(message: _136.MsgRetire_RetireCredits): unknown; - fromPartial(object: Partial<_136.MsgRetire_RetireCredits>): _136.MsgRetire_RetireCredits; - fromAmino(object: _136.MsgRetire_RetireCreditsAmino): _136.MsgRetire_RetireCredits; - toAmino(message: _136.MsgRetire_RetireCredits): _136.MsgRetire_RetireCreditsAmino; - fromAminoMsg(object: _136.MsgRetire_RetireCreditsAminoMsg): _136.MsgRetire_RetireCredits; - fromProtoMsg(message: _136.MsgRetire_RetireCreditsProtoMsg): _136.MsgRetire_RetireCredits; - toProto(message: _136.MsgRetire_RetireCredits): Uint8Array; - toProtoMsg(message: _136.MsgRetire_RetireCredits): _136.MsgRetire_RetireCreditsProtoMsg; - }; - MsgRetireResponse: { - encode(_: _136.MsgRetireResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgRetireResponse; - fromJSON(_: any): _136.MsgRetireResponse; - toJSON(_: _136.MsgRetireResponse): unknown; - fromPartial(_: Partial<_136.MsgRetireResponse>): _136.MsgRetireResponse; - fromAmino(_: _136.MsgRetireResponseAmino): _136.MsgRetireResponse; - toAmino(_: _136.MsgRetireResponse): _136.MsgRetireResponseAmino; - fromAminoMsg(object: _136.MsgRetireResponseAminoMsg): _136.MsgRetireResponse; - fromProtoMsg(message: _136.MsgRetireResponseProtoMsg): _136.MsgRetireResponse; - toProto(message: _136.MsgRetireResponse): Uint8Array; - toProtoMsg(message: _136.MsgRetireResponse): _136.MsgRetireResponseProtoMsg; - }; - MsgCancel: { - encode(message: _136.MsgCancel, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCancel; - fromJSON(object: any): _136.MsgCancel; - toJSON(message: _136.MsgCancel): unknown; - fromPartial(object: Partial<_136.MsgCancel>): _136.MsgCancel; - fromAmino(object: _136.MsgCancelAmino): _136.MsgCancel; - toAmino(message: _136.MsgCancel): _136.MsgCancelAmino; - fromAminoMsg(object: _136.MsgCancelAminoMsg): _136.MsgCancel; - fromProtoMsg(message: _136.MsgCancelProtoMsg): _136.MsgCancel; - toProto(message: _136.MsgCancel): Uint8Array; - toProtoMsg(message: _136.MsgCancel): _136.MsgCancelProtoMsg; - }; - MsgCancel_CancelCredits: { - encode(message: _136.MsgCancel_CancelCredits, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCancel_CancelCredits; - fromJSON(object: any): _136.MsgCancel_CancelCredits; - toJSON(message: _136.MsgCancel_CancelCredits): unknown; - fromPartial(object: Partial<_136.MsgCancel_CancelCredits>): _136.MsgCancel_CancelCredits; - fromAmino(object: _136.MsgCancel_CancelCreditsAmino): _136.MsgCancel_CancelCredits; - toAmino(message: _136.MsgCancel_CancelCredits): _136.MsgCancel_CancelCreditsAmino; - fromAminoMsg(object: _136.MsgCancel_CancelCreditsAminoMsg): _136.MsgCancel_CancelCredits; - fromProtoMsg(message: _136.MsgCancel_CancelCreditsProtoMsg): _136.MsgCancel_CancelCredits; - toProto(message: _136.MsgCancel_CancelCredits): Uint8Array; - toProtoMsg(message: _136.MsgCancel_CancelCredits): _136.MsgCancel_CancelCreditsProtoMsg; - }; - MsgCancelResponse: { - encode(_: _136.MsgCancelResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgCancelResponse; - fromJSON(_: any): _136.MsgCancelResponse; - toJSON(_: _136.MsgCancelResponse): unknown; - fromPartial(_: Partial<_136.MsgCancelResponse>): _136.MsgCancelResponse; - fromAmino(_: _136.MsgCancelResponseAmino): _136.MsgCancelResponse; - toAmino(_: _136.MsgCancelResponse): _136.MsgCancelResponseAmino; - fromAminoMsg(object: _136.MsgCancelResponseAminoMsg): _136.MsgCancelResponse; - fromProtoMsg(message: _136.MsgCancelResponseProtoMsg): _136.MsgCancelResponse; - toProto(message: _136.MsgCancelResponse): Uint8Array; - toProtoMsg(message: _136.MsgCancelResponse): _136.MsgCancelResponseProtoMsg; - }; - MsgUpdateClassAdmin: { - encode(message: _136.MsgUpdateClassAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgUpdateClassAdmin; - fromJSON(object: any): _136.MsgUpdateClassAdmin; - toJSON(message: _136.MsgUpdateClassAdmin): unknown; - fromPartial(object: Partial<_136.MsgUpdateClassAdmin>): _136.MsgUpdateClassAdmin; - fromAmino(object: _136.MsgUpdateClassAdminAmino): _136.MsgUpdateClassAdmin; - toAmino(message: _136.MsgUpdateClassAdmin): _136.MsgUpdateClassAdminAmino; - fromAminoMsg(object: _136.MsgUpdateClassAdminAminoMsg): _136.MsgUpdateClassAdmin; - fromProtoMsg(message: _136.MsgUpdateClassAdminProtoMsg): _136.MsgUpdateClassAdmin; - toProto(message: _136.MsgUpdateClassAdmin): Uint8Array; - toProtoMsg(message: _136.MsgUpdateClassAdmin): _136.MsgUpdateClassAdminProtoMsg; - }; - MsgUpdateClassAdminResponse: { - encode(_: _136.MsgUpdateClassAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgUpdateClassAdminResponse; - fromJSON(_: any): _136.MsgUpdateClassAdminResponse; - toJSON(_: _136.MsgUpdateClassAdminResponse): unknown; - fromPartial(_: Partial<_136.MsgUpdateClassAdminResponse>): _136.MsgUpdateClassAdminResponse; - fromAmino(_: _136.MsgUpdateClassAdminResponseAmino): _136.MsgUpdateClassAdminResponse; - toAmino(_: _136.MsgUpdateClassAdminResponse): _136.MsgUpdateClassAdminResponseAmino; - fromAminoMsg(object: _136.MsgUpdateClassAdminResponseAminoMsg): _136.MsgUpdateClassAdminResponse; - fromProtoMsg(message: _136.MsgUpdateClassAdminResponseProtoMsg): _136.MsgUpdateClassAdminResponse; - toProto(message: _136.MsgUpdateClassAdminResponse): Uint8Array; - toProtoMsg(message: _136.MsgUpdateClassAdminResponse): _136.MsgUpdateClassAdminResponseProtoMsg; - }; - MsgUpdateClassIssuers: { - encode(message: _136.MsgUpdateClassIssuers, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgUpdateClassIssuers; - fromJSON(object: any): _136.MsgUpdateClassIssuers; - toJSON(message: _136.MsgUpdateClassIssuers): unknown; - fromPartial(object: Partial<_136.MsgUpdateClassIssuers>): _136.MsgUpdateClassIssuers; - fromAmino(object: _136.MsgUpdateClassIssuersAmino): _136.MsgUpdateClassIssuers; - toAmino(message: _136.MsgUpdateClassIssuers): _136.MsgUpdateClassIssuersAmino; - fromAminoMsg(object: _136.MsgUpdateClassIssuersAminoMsg): _136.MsgUpdateClassIssuers; - fromProtoMsg(message: _136.MsgUpdateClassIssuersProtoMsg): _136.MsgUpdateClassIssuers; - toProto(message: _136.MsgUpdateClassIssuers): Uint8Array; - toProtoMsg(message: _136.MsgUpdateClassIssuers): _136.MsgUpdateClassIssuersProtoMsg; - }; - MsgUpdateClassIssuersResponse: { - encode(_: _136.MsgUpdateClassIssuersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgUpdateClassIssuersResponse; - fromJSON(_: any): _136.MsgUpdateClassIssuersResponse; - toJSON(_: _136.MsgUpdateClassIssuersResponse): unknown; - fromPartial(_: Partial<_136.MsgUpdateClassIssuersResponse>): _136.MsgUpdateClassIssuersResponse; - fromAmino(_: _136.MsgUpdateClassIssuersResponseAmino): _136.MsgUpdateClassIssuersResponse; - toAmino(_: _136.MsgUpdateClassIssuersResponse): _136.MsgUpdateClassIssuersResponseAmino; - fromAminoMsg(object: _136.MsgUpdateClassIssuersResponseAminoMsg): _136.MsgUpdateClassIssuersResponse; - fromProtoMsg(message: _136.MsgUpdateClassIssuersResponseProtoMsg): _136.MsgUpdateClassIssuersResponse; - toProto(message: _136.MsgUpdateClassIssuersResponse): Uint8Array; - toProtoMsg(message: _136.MsgUpdateClassIssuersResponse): _136.MsgUpdateClassIssuersResponseProtoMsg; - }; - MsgUpdateClassMetadata: { - encode(message: _136.MsgUpdateClassMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgUpdateClassMetadata; - fromJSON(object: any): _136.MsgUpdateClassMetadata; - toJSON(message: _136.MsgUpdateClassMetadata): unknown; - fromPartial(object: Partial<_136.MsgUpdateClassMetadata>): _136.MsgUpdateClassMetadata; - fromAmino(object: _136.MsgUpdateClassMetadataAmino): _136.MsgUpdateClassMetadata; - toAmino(message: _136.MsgUpdateClassMetadata): _136.MsgUpdateClassMetadataAmino; - fromAminoMsg(object: _136.MsgUpdateClassMetadataAminoMsg): _136.MsgUpdateClassMetadata; - fromProtoMsg(message: _136.MsgUpdateClassMetadataProtoMsg): _136.MsgUpdateClassMetadata; - toProto(message: _136.MsgUpdateClassMetadata): Uint8Array; - toProtoMsg(message: _136.MsgUpdateClassMetadata): _136.MsgUpdateClassMetadataProtoMsg; - }; - MsgUpdateClassMetadataResponse: { - encode(_: _136.MsgUpdateClassMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _136.MsgUpdateClassMetadataResponse; - fromJSON(_: any): _136.MsgUpdateClassMetadataResponse; - toJSON(_: _136.MsgUpdateClassMetadataResponse): unknown; - fromPartial(_: Partial<_136.MsgUpdateClassMetadataResponse>): _136.MsgUpdateClassMetadataResponse; - fromAmino(_: _136.MsgUpdateClassMetadataResponseAmino): _136.MsgUpdateClassMetadataResponse; - toAmino(_: _136.MsgUpdateClassMetadataResponse): _136.MsgUpdateClassMetadataResponseAmino; - fromAminoMsg(object: _136.MsgUpdateClassMetadataResponseAminoMsg): _136.MsgUpdateClassMetadataResponse; - fromProtoMsg(message: _136.MsgUpdateClassMetadataResponseProtoMsg): _136.MsgUpdateClassMetadataResponse; - toProto(message: _136.MsgUpdateClassMetadataResponse): Uint8Array; - toProtoMsg(message: _136.MsgUpdateClassMetadataResponse): _136.MsgUpdateClassMetadataResponseProtoMsg; - }; - QueryParamsRequest: { - encode(_: _135.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryParamsRequest; - fromJSON(_: any): _135.QueryParamsRequest; - toJSON(_: _135.QueryParamsRequest): unknown; - fromPartial(_: Partial<_135.QueryParamsRequest>): _135.QueryParamsRequest; - fromAmino(_: _135.QueryParamsRequestAmino): _135.QueryParamsRequest; - toAmino(_: _135.QueryParamsRequest): _135.QueryParamsRequestAmino; - fromAminoMsg(object: _135.QueryParamsRequestAminoMsg): _135.QueryParamsRequest; - fromProtoMsg(message: _135.QueryParamsRequestProtoMsg): _135.QueryParamsRequest; - toProto(message: _135.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _135.QueryParamsRequest): _135.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - encode(message: _135.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryParamsResponse; - fromJSON(object: any): _135.QueryParamsResponse; - toJSON(message: _135.QueryParamsResponse): unknown; - fromPartial(object: Partial<_135.QueryParamsResponse>): _135.QueryParamsResponse; - fromAmino(object: _135.QueryParamsResponseAmino): _135.QueryParamsResponse; - toAmino(message: _135.QueryParamsResponse): _135.QueryParamsResponseAmino; - fromAminoMsg(object: _135.QueryParamsResponseAminoMsg): _135.QueryParamsResponse; - fromProtoMsg(message: _135.QueryParamsResponseProtoMsg): _135.QueryParamsResponse; - toProto(message: _135.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _135.QueryParamsResponse): _135.QueryParamsResponseProtoMsg; - }; - QueryClassesRequest: { - encode(message: _135.QueryClassesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryClassesRequest; - fromJSON(object: any): _135.QueryClassesRequest; - toJSON(message: _135.QueryClassesRequest): unknown; - fromPartial(object: Partial<_135.QueryClassesRequest>): _135.QueryClassesRequest; - fromAmino(object: _135.QueryClassesRequestAmino): _135.QueryClassesRequest; - toAmino(message: _135.QueryClassesRequest): _135.QueryClassesRequestAmino; - fromAminoMsg(object: _135.QueryClassesRequestAminoMsg): _135.QueryClassesRequest; - fromProtoMsg(message: _135.QueryClassesRequestProtoMsg): _135.QueryClassesRequest; - toProto(message: _135.QueryClassesRequest): Uint8Array; - toProtoMsg(message: _135.QueryClassesRequest): _135.QueryClassesRequestProtoMsg; - }; - QueryClassesResponse: { - encode(message: _135.QueryClassesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryClassesResponse; - fromJSON(object: any): _135.QueryClassesResponse; - toJSON(message: _135.QueryClassesResponse): unknown; - fromPartial(object: Partial<_135.QueryClassesResponse>): _135.QueryClassesResponse; - fromAmino(object: _135.QueryClassesResponseAmino): _135.QueryClassesResponse; - toAmino(message: _135.QueryClassesResponse): _135.QueryClassesResponseAmino; - fromAminoMsg(object: _135.QueryClassesResponseAminoMsg): _135.QueryClassesResponse; - fromProtoMsg(message: _135.QueryClassesResponseProtoMsg): _135.QueryClassesResponse; - toProto(message: _135.QueryClassesResponse): Uint8Array; - toProtoMsg(message: _135.QueryClassesResponse): _135.QueryClassesResponseProtoMsg; - }; - QueryClassInfoRequest: { - encode(message: _135.QueryClassInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryClassInfoRequest; - fromJSON(object: any): _135.QueryClassInfoRequest; - toJSON(message: _135.QueryClassInfoRequest): unknown; - fromPartial(object: Partial<_135.QueryClassInfoRequest>): _135.QueryClassInfoRequest; - fromAmino(object: _135.QueryClassInfoRequestAmino): _135.QueryClassInfoRequest; - toAmino(message: _135.QueryClassInfoRequest): _135.QueryClassInfoRequestAmino; - fromAminoMsg(object: _135.QueryClassInfoRequestAminoMsg): _135.QueryClassInfoRequest; - fromProtoMsg(message: _135.QueryClassInfoRequestProtoMsg): _135.QueryClassInfoRequest; - toProto(message: _135.QueryClassInfoRequest): Uint8Array; - toProtoMsg(message: _135.QueryClassInfoRequest): _135.QueryClassInfoRequestProtoMsg; - }; - QueryClassInfoResponse: { - encode(message: _135.QueryClassInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryClassInfoResponse; - fromJSON(object: any): _135.QueryClassInfoResponse; - toJSON(message: _135.QueryClassInfoResponse): unknown; - fromPartial(object: Partial<_135.QueryClassInfoResponse>): _135.QueryClassInfoResponse; - fromAmino(object: _135.QueryClassInfoResponseAmino): _135.QueryClassInfoResponse; - toAmino(message: _135.QueryClassInfoResponse): _135.QueryClassInfoResponseAmino; - fromAminoMsg(object: _135.QueryClassInfoResponseAminoMsg): _135.QueryClassInfoResponse; - fromProtoMsg(message: _135.QueryClassInfoResponseProtoMsg): _135.QueryClassInfoResponse; - toProto(message: _135.QueryClassInfoResponse): Uint8Array; - toProtoMsg(message: _135.QueryClassInfoResponse): _135.QueryClassInfoResponseProtoMsg; - }; - QueryBatchesRequest: { - encode(message: _135.QueryBatchesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryBatchesRequest; - fromJSON(object: any): _135.QueryBatchesRequest; - toJSON(message: _135.QueryBatchesRequest): unknown; - fromPartial(object: Partial<_135.QueryBatchesRequest>): _135.QueryBatchesRequest; - fromAmino(object: _135.QueryBatchesRequestAmino): _135.QueryBatchesRequest; - toAmino(message: _135.QueryBatchesRequest): _135.QueryBatchesRequestAmino; - fromAminoMsg(object: _135.QueryBatchesRequestAminoMsg): _135.QueryBatchesRequest; - fromProtoMsg(message: _135.QueryBatchesRequestProtoMsg): _135.QueryBatchesRequest; - toProto(message: _135.QueryBatchesRequest): Uint8Array; - toProtoMsg(message: _135.QueryBatchesRequest): _135.QueryBatchesRequestProtoMsg; - }; - QueryBatchesResponse: { - encode(message: _135.QueryBatchesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryBatchesResponse; - fromJSON(object: any): _135.QueryBatchesResponse; - toJSON(message: _135.QueryBatchesResponse): unknown; - fromPartial(object: Partial<_135.QueryBatchesResponse>): _135.QueryBatchesResponse; - fromAmino(object: _135.QueryBatchesResponseAmino): _135.QueryBatchesResponse; - toAmino(message: _135.QueryBatchesResponse): _135.QueryBatchesResponseAmino; - fromAminoMsg(object: _135.QueryBatchesResponseAminoMsg): _135.QueryBatchesResponse; - fromProtoMsg(message: _135.QueryBatchesResponseProtoMsg): _135.QueryBatchesResponse; - toProto(message: _135.QueryBatchesResponse): Uint8Array; - toProtoMsg(message: _135.QueryBatchesResponse): _135.QueryBatchesResponseProtoMsg; - }; - QueryBatchInfoRequest: { - encode(message: _135.QueryBatchInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryBatchInfoRequest; - fromJSON(object: any): _135.QueryBatchInfoRequest; - toJSON(message: _135.QueryBatchInfoRequest): unknown; - fromPartial(object: Partial<_135.QueryBatchInfoRequest>): _135.QueryBatchInfoRequest; - fromAmino(object: _135.QueryBatchInfoRequestAmino): _135.QueryBatchInfoRequest; - toAmino(message: _135.QueryBatchInfoRequest): _135.QueryBatchInfoRequestAmino; - fromAminoMsg(object: _135.QueryBatchInfoRequestAminoMsg): _135.QueryBatchInfoRequest; - fromProtoMsg(message: _135.QueryBatchInfoRequestProtoMsg): _135.QueryBatchInfoRequest; - toProto(message: _135.QueryBatchInfoRequest): Uint8Array; - toProtoMsg(message: _135.QueryBatchInfoRequest): _135.QueryBatchInfoRequestProtoMsg; - }; - QueryBatchInfoResponse: { - encode(message: _135.QueryBatchInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryBatchInfoResponse; - fromJSON(object: any): _135.QueryBatchInfoResponse; - toJSON(message: _135.QueryBatchInfoResponse): unknown; - fromPartial(object: Partial<_135.QueryBatchInfoResponse>): _135.QueryBatchInfoResponse; - fromAmino(object: _135.QueryBatchInfoResponseAmino): _135.QueryBatchInfoResponse; - toAmino(message: _135.QueryBatchInfoResponse): _135.QueryBatchInfoResponseAmino; - fromAminoMsg(object: _135.QueryBatchInfoResponseAminoMsg): _135.QueryBatchInfoResponse; - fromProtoMsg(message: _135.QueryBatchInfoResponseProtoMsg): _135.QueryBatchInfoResponse; - toProto(message: _135.QueryBatchInfoResponse): Uint8Array; - toProtoMsg(message: _135.QueryBatchInfoResponse): _135.QueryBatchInfoResponseProtoMsg; - }; - QueryBalanceRequest: { - encode(message: _135.QueryBalanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryBalanceRequest; - fromJSON(object: any): _135.QueryBalanceRequest; - toJSON(message: _135.QueryBalanceRequest): unknown; - fromPartial(object: Partial<_135.QueryBalanceRequest>): _135.QueryBalanceRequest; - fromAmino(object: _135.QueryBalanceRequestAmino): _135.QueryBalanceRequest; - toAmino(message: _135.QueryBalanceRequest): _135.QueryBalanceRequestAmino; - fromAminoMsg(object: _135.QueryBalanceRequestAminoMsg): _135.QueryBalanceRequest; - fromProtoMsg(message: _135.QueryBalanceRequestProtoMsg): _135.QueryBalanceRequest; - toProto(message: _135.QueryBalanceRequest): Uint8Array; - toProtoMsg(message: _135.QueryBalanceRequest): _135.QueryBalanceRequestProtoMsg; - }; - QueryBalanceResponse: { - encode(message: _135.QueryBalanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryBalanceResponse; - fromJSON(object: any): _135.QueryBalanceResponse; - toJSON(message: _135.QueryBalanceResponse): unknown; - fromPartial(object: Partial<_135.QueryBalanceResponse>): _135.QueryBalanceResponse; - fromAmino(object: _135.QueryBalanceResponseAmino): _135.QueryBalanceResponse; - toAmino(message: _135.QueryBalanceResponse): _135.QueryBalanceResponseAmino; - fromAminoMsg(object: _135.QueryBalanceResponseAminoMsg): _135.QueryBalanceResponse; - fromProtoMsg(message: _135.QueryBalanceResponseProtoMsg): _135.QueryBalanceResponse; - toProto(message: _135.QueryBalanceResponse): Uint8Array; - toProtoMsg(message: _135.QueryBalanceResponse): _135.QueryBalanceResponseProtoMsg; - }; - QuerySupplyRequest: { - encode(message: _135.QuerySupplyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QuerySupplyRequest; - fromJSON(object: any): _135.QuerySupplyRequest; - toJSON(message: _135.QuerySupplyRequest): unknown; - fromPartial(object: Partial<_135.QuerySupplyRequest>): _135.QuerySupplyRequest; - fromAmino(object: _135.QuerySupplyRequestAmino): _135.QuerySupplyRequest; - toAmino(message: _135.QuerySupplyRequest): _135.QuerySupplyRequestAmino; - fromAminoMsg(object: _135.QuerySupplyRequestAminoMsg): _135.QuerySupplyRequest; - fromProtoMsg(message: _135.QuerySupplyRequestProtoMsg): _135.QuerySupplyRequest; - toProto(message: _135.QuerySupplyRequest): Uint8Array; - toProtoMsg(message: _135.QuerySupplyRequest): _135.QuerySupplyRequestProtoMsg; - }; - QuerySupplyResponse: { - encode(message: _135.QuerySupplyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QuerySupplyResponse; - fromJSON(object: any): _135.QuerySupplyResponse; - toJSON(message: _135.QuerySupplyResponse): unknown; - fromPartial(object: Partial<_135.QuerySupplyResponse>): _135.QuerySupplyResponse; - fromAmino(object: _135.QuerySupplyResponseAmino): _135.QuerySupplyResponse; - toAmino(message: _135.QuerySupplyResponse): _135.QuerySupplyResponseAmino; - fromAminoMsg(object: _135.QuerySupplyResponseAminoMsg): _135.QuerySupplyResponse; - fromProtoMsg(message: _135.QuerySupplyResponseProtoMsg): _135.QuerySupplyResponse; - toProto(message: _135.QuerySupplyResponse): Uint8Array; - toProtoMsg(message: _135.QuerySupplyResponse): _135.QuerySupplyResponseProtoMsg; - }; - QueryCreditTypesRequest: { - encode(_: _135.QueryCreditTypesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryCreditTypesRequest; - fromJSON(_: any): _135.QueryCreditTypesRequest; - toJSON(_: _135.QueryCreditTypesRequest): unknown; - fromPartial(_: Partial<_135.QueryCreditTypesRequest>): _135.QueryCreditTypesRequest; - fromAmino(_: _135.QueryCreditTypesRequestAmino): _135.QueryCreditTypesRequest; - toAmino(_: _135.QueryCreditTypesRequest): _135.QueryCreditTypesRequestAmino; - fromAminoMsg(object: _135.QueryCreditTypesRequestAminoMsg): _135.QueryCreditTypesRequest; - fromProtoMsg(message: _135.QueryCreditTypesRequestProtoMsg): _135.QueryCreditTypesRequest; - toProto(message: _135.QueryCreditTypesRequest): Uint8Array; - toProtoMsg(message: _135.QueryCreditTypesRequest): _135.QueryCreditTypesRequestProtoMsg; - }; - QueryCreditTypesResponse: { - encode(message: _135.QueryCreditTypesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _135.QueryCreditTypesResponse; - fromJSON(object: any): _135.QueryCreditTypesResponse; - toJSON(message: _135.QueryCreditTypesResponse): unknown; - fromPartial(object: Partial<_135.QueryCreditTypesResponse>): _135.QueryCreditTypesResponse; - fromAmino(object: _135.QueryCreditTypesResponseAmino): _135.QueryCreditTypesResponse; - toAmino(message: _135.QueryCreditTypesResponse): _135.QueryCreditTypesResponseAmino; - fromAminoMsg(object: _135.QueryCreditTypesResponseAminoMsg): _135.QueryCreditTypesResponse; - fromProtoMsg(message: _135.QueryCreditTypesResponseProtoMsg): _135.QueryCreditTypesResponse; - toProto(message: _135.QueryCreditTypesResponse): Uint8Array; - toProtoMsg(message: _135.QueryCreditTypesResponse): _135.QueryCreditTypesResponseProtoMsg; - }; - GenesisState: { - encode(message: _134.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _134.GenesisState; - fromJSON(object: any): _134.GenesisState; - toJSON(message: _134.GenesisState): unknown; - fromPartial(object: Partial<_134.GenesisState>): _134.GenesisState; - fromAmino(object: _134.GenesisStateAmino): _134.GenesisState; - toAmino(message: _134.GenesisState): _134.GenesisStateAmino; - fromAminoMsg(object: _134.GenesisStateAminoMsg): _134.GenesisState; - fromProtoMsg(message: _134.GenesisStateProtoMsg): _134.GenesisState; - toProto(message: _134.GenesisState): Uint8Array; - toProtoMsg(message: _134.GenesisState): _134.GenesisStateProtoMsg; - }; - Balance: { - encode(message: _134.Balance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _134.Balance; - fromJSON(object: any): _134.Balance; - toJSON(message: _134.Balance): unknown; - fromPartial(object: Partial<_134.Balance>): _134.Balance; - fromAmino(object: _134.BalanceAmino): _134.Balance; - toAmino(message: _134.Balance): _134.BalanceAmino; - fromAminoMsg(object: _134.BalanceAminoMsg): _134.Balance; - fromProtoMsg(message: _134.BalanceProtoMsg): _134.Balance; - toProto(message: _134.Balance): Uint8Array; - toProtoMsg(message: _134.Balance): _134.BalanceProtoMsg; - }; - Supply: { - encode(message: _134.Supply, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _134.Supply; - fromJSON(object: any): _134.Supply; - toJSON(message: _134.Supply): unknown; - fromPartial(object: Partial<_134.Supply>): _134.Supply; - fromAmino(object: _134.SupplyAmino): _134.Supply; - toAmino(message: _134.Supply): _134.SupplyAmino; - fromAminoMsg(object: _134.SupplyAminoMsg): _134.Supply; - fromProtoMsg(message: _134.SupplyProtoMsg): _134.Supply; - toProto(message: _134.Supply): Uint8Array; - toProtoMsg(message: _134.Supply): _134.SupplyProtoMsg; - }; - EventCreateClass: { - encode(message: _133.EventCreateClass, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _133.EventCreateClass; - fromJSON(object: any): _133.EventCreateClass; - toJSON(message: _133.EventCreateClass): unknown; - fromPartial(object: Partial<_133.EventCreateClass>): _133.EventCreateClass; - fromAmino(object: _133.EventCreateClassAmino): _133.EventCreateClass; - toAmino(message: _133.EventCreateClass): _133.EventCreateClassAmino; - fromAminoMsg(object: _133.EventCreateClassAminoMsg): _133.EventCreateClass; - fromProtoMsg(message: _133.EventCreateClassProtoMsg): _133.EventCreateClass; - toProto(message: _133.EventCreateClass): Uint8Array; - toProtoMsg(message: _133.EventCreateClass): _133.EventCreateClassProtoMsg; - }; - EventCreateBatch: { - encode(message: _133.EventCreateBatch, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _133.EventCreateBatch; - fromJSON(object: any): _133.EventCreateBatch; - toJSON(message: _133.EventCreateBatch): unknown; - fromPartial(object: Partial<_133.EventCreateBatch>): _133.EventCreateBatch; - fromAmino(object: _133.EventCreateBatchAmino): _133.EventCreateBatch; - toAmino(message: _133.EventCreateBatch): _133.EventCreateBatchAmino; - fromAminoMsg(object: _133.EventCreateBatchAminoMsg): _133.EventCreateBatch; - fromProtoMsg(message: _133.EventCreateBatchProtoMsg): _133.EventCreateBatch; - toProto(message: _133.EventCreateBatch): Uint8Array; - toProtoMsg(message: _133.EventCreateBatch): _133.EventCreateBatchProtoMsg; - }; - EventReceive: { - encode(message: _133.EventReceive, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _133.EventReceive; - fromJSON(object: any): _133.EventReceive; - toJSON(message: _133.EventReceive): unknown; - fromPartial(object: Partial<_133.EventReceive>): _133.EventReceive; - fromAmino(object: _133.EventReceiveAmino): _133.EventReceive; - toAmino(message: _133.EventReceive): _133.EventReceiveAmino; - fromAminoMsg(object: _133.EventReceiveAminoMsg): _133.EventReceive; - fromProtoMsg(message: _133.EventReceiveProtoMsg): _133.EventReceive; - toProto(message: _133.EventReceive): Uint8Array; - toProtoMsg(message: _133.EventReceive): _133.EventReceiveProtoMsg; - }; - EventRetire: { - encode(message: _133.EventRetire, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _133.EventRetire; - fromJSON(object: any): _133.EventRetire; - toJSON(message: _133.EventRetire): unknown; - fromPartial(object: Partial<_133.EventRetire>): _133.EventRetire; - fromAmino(object: _133.EventRetireAmino): _133.EventRetire; - toAmino(message: _133.EventRetire): _133.EventRetireAmino; - fromAminoMsg(object: _133.EventRetireAminoMsg): _133.EventRetire; - fromProtoMsg(message: _133.EventRetireProtoMsg): _133.EventRetire; - toProto(message: _133.EventRetire): Uint8Array; - toProtoMsg(message: _133.EventRetire): _133.EventRetireProtoMsg; - }; - EventCancel: { - encode(message: _133.EventCancel, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _133.EventCancel; - fromJSON(object: any): _133.EventCancel; - toJSON(message: _133.EventCancel): unknown; - fromPartial(object: Partial<_133.EventCancel>): _133.EventCancel; - fromAmino(object: _133.EventCancelAmino): _133.EventCancel; - toAmino(message: _133.EventCancel): _133.EventCancelAmino; - fromAminoMsg(object: _133.EventCancelAminoMsg): _133.EventCancel; - fromProtoMsg(message: _133.EventCancelProtoMsg): _133.EventCancel; - toProto(message: _133.EventCancel): Uint8Array; - toProtoMsg(message: _133.EventCancel): _133.EventCancelProtoMsg; - }; - }; - } - namespace intertx { - const v1: { - MsgClientImpl: typeof _269.MsgClientImpl; - QueryClientImpl: typeof _263.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - interchainAccount(request: _138.QueryInterchainAccountRequest): Promise<_138.QueryInterchainAccountResponse>; - }; - LCDQueryClient: typeof _257.LCDQueryClient; - registry: readonly [string, import("@cosmjs/proto-signing").GeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - registerAccount(value: _139.MsgRegisterAccount): { - typeUrl: string; - value: Uint8Array; - }; - submitTx(value: _139.MsgSubmitTx): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - registerAccount(value: _139.MsgRegisterAccount): { - typeUrl: string; - value: _139.MsgRegisterAccount; - }; - submitTx(value: _139.MsgSubmitTx): { - typeUrl: string; - value: _139.MsgSubmitTx; - }; - }; - toJSON: { - registerAccount(value: _139.MsgRegisterAccount): { - typeUrl: string; - value: unknown; - }; - submitTx(value: _139.MsgSubmitTx): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - registerAccount(value: any): { - typeUrl: string; - value: _139.MsgRegisterAccount; - }; - submitTx(value: any): { - typeUrl: string; - value: _139.MsgSubmitTx; - }; - }; - fromPartial: { - registerAccount(value: _139.MsgRegisterAccount): { - typeUrl: string; - value: _139.MsgRegisterAccount; - }; - submitTx(value: _139.MsgSubmitTx): { - typeUrl: string; - value: _139.MsgSubmitTx; - }; - }; - }; - AminoConverter: { - "/regen.intertx.v1.MsgRegisterAccount": { - aminoType: string; - toAmino: (message: _139.MsgRegisterAccount) => _139.MsgRegisterAccountAmino; - fromAmino: (object: _139.MsgRegisterAccountAmino) => _139.MsgRegisterAccount; - }; - "/regen.intertx.v1.MsgSubmitTx": { - aminoType: string; - toAmino: (message: _139.MsgSubmitTx) => _139.MsgSubmitTxAmino; - fromAmino: (object: _139.MsgSubmitTxAmino) => _139.MsgSubmitTx; - }; - }; - MsgRegisterAccount: { - encode(message: _139.MsgRegisterAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _139.MsgRegisterAccount; - fromJSON(object: any): _139.MsgRegisterAccount; - toJSON(message: _139.MsgRegisterAccount): unknown; - fromPartial(object: Partial<_139.MsgRegisterAccount>): _139.MsgRegisterAccount; - fromAmino(object: _139.MsgRegisterAccountAmino): _139.MsgRegisterAccount; - toAmino(message: _139.MsgRegisterAccount): _139.MsgRegisterAccountAmino; - fromAminoMsg(object: _139.MsgRegisterAccountAminoMsg): _139.MsgRegisterAccount; - fromProtoMsg(message: _139.MsgRegisterAccountProtoMsg): _139.MsgRegisterAccount; - toProto(message: _139.MsgRegisterAccount): Uint8Array; - toProtoMsg(message: _139.MsgRegisterAccount): _139.MsgRegisterAccountProtoMsg; - }; - MsgRegisterAccountResponse: { - encode(_: _139.MsgRegisterAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _139.MsgRegisterAccountResponse; - fromJSON(_: any): _139.MsgRegisterAccountResponse; - toJSON(_: _139.MsgRegisterAccountResponse): unknown; - fromPartial(_: Partial<_139.MsgRegisterAccountResponse>): _139.MsgRegisterAccountResponse; - fromAmino(_: _139.MsgRegisterAccountResponseAmino): _139.MsgRegisterAccountResponse; - toAmino(_: _139.MsgRegisterAccountResponse): _139.MsgRegisterAccountResponseAmino; - fromAminoMsg(object: _139.MsgRegisterAccountResponseAminoMsg): _139.MsgRegisterAccountResponse; - fromProtoMsg(message: _139.MsgRegisterAccountResponseProtoMsg): _139.MsgRegisterAccountResponse; - toProto(message: _139.MsgRegisterAccountResponse): Uint8Array; - toProtoMsg(message: _139.MsgRegisterAccountResponse): _139.MsgRegisterAccountResponseProtoMsg; - }; - MsgSubmitTx: { - encode(message: _139.MsgSubmitTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _139.MsgSubmitTx; - fromJSON(object: any): _139.MsgSubmitTx; - toJSON(message: _139.MsgSubmitTx): unknown; - fromPartial(object: Partial<_139.MsgSubmitTx>): _139.MsgSubmitTx; - fromAmino(object: _139.MsgSubmitTxAmino): _139.MsgSubmitTx; - toAmino(message: _139.MsgSubmitTx): _139.MsgSubmitTxAmino; - fromAminoMsg(object: _139.MsgSubmitTxAminoMsg): _139.MsgSubmitTx; - fromProtoMsg(message: _139.MsgSubmitTxProtoMsg): _139.MsgSubmitTx; - toProto(message: _139.MsgSubmitTx): Uint8Array; - toProtoMsg(message: _139.MsgSubmitTx): _139.MsgSubmitTxProtoMsg; - }; - MsgSubmitTxResponse: { - encode(_: _139.MsgSubmitTxResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _139.MsgSubmitTxResponse; - fromJSON(_: any): _139.MsgSubmitTxResponse; - toJSON(_: _139.MsgSubmitTxResponse): unknown; - fromPartial(_: Partial<_139.MsgSubmitTxResponse>): _139.MsgSubmitTxResponse; - fromAmino(_: _139.MsgSubmitTxResponseAmino): _139.MsgSubmitTxResponse; - toAmino(_: _139.MsgSubmitTxResponse): _139.MsgSubmitTxResponseAmino; - fromAminoMsg(object: _139.MsgSubmitTxResponseAminoMsg): _139.MsgSubmitTxResponse; - fromProtoMsg(message: _139.MsgSubmitTxResponseProtoMsg): _139.MsgSubmitTxResponse; - toProto(message: _139.MsgSubmitTxResponse): Uint8Array; - toProtoMsg(message: _139.MsgSubmitTxResponse): _139.MsgSubmitTxResponseProtoMsg; - }; - QueryInterchainAccountRequest: { - encode(message: _138.QueryInterchainAccountRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _138.QueryInterchainAccountRequest; - fromJSON(object: any): _138.QueryInterchainAccountRequest; - toJSON(message: _138.QueryInterchainAccountRequest): unknown; - fromPartial(object: Partial<_138.QueryInterchainAccountRequest>): _138.QueryInterchainAccountRequest; - fromAmino(object: _138.QueryInterchainAccountRequestAmino): _138.QueryInterchainAccountRequest; - toAmino(message: _138.QueryInterchainAccountRequest): _138.QueryInterchainAccountRequestAmino; - fromAminoMsg(object: _138.QueryInterchainAccountRequestAminoMsg): _138.QueryInterchainAccountRequest; - fromProtoMsg(message: _138.QueryInterchainAccountRequestProtoMsg): _138.QueryInterchainAccountRequest; - toProto(message: _138.QueryInterchainAccountRequest): Uint8Array; - toProtoMsg(message: _138.QueryInterchainAccountRequest): _138.QueryInterchainAccountRequestProtoMsg; - }; - QueryInterchainAccountResponse: { - encode(message: _138.QueryInterchainAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _138.QueryInterchainAccountResponse; - fromJSON(object: any): _138.QueryInterchainAccountResponse; - toJSON(message: _138.QueryInterchainAccountResponse): unknown; - fromPartial(object: Partial<_138.QueryInterchainAccountResponse>): _138.QueryInterchainAccountResponse; - fromAmino(object: _138.QueryInterchainAccountResponseAmino): _138.QueryInterchainAccountResponse; - toAmino(message: _138.QueryInterchainAccountResponse): _138.QueryInterchainAccountResponseAmino; - fromAminoMsg(object: _138.QueryInterchainAccountResponseAminoMsg): _138.QueryInterchainAccountResponse; - fromProtoMsg(message: _138.QueryInterchainAccountResponseProtoMsg): _138.QueryInterchainAccountResponse; - toProto(message: _138.QueryInterchainAccountResponse): Uint8Array; - toProtoMsg(message: _138.QueryInterchainAccountResponse): _138.QueryInterchainAccountResponseProtoMsg; - }; - }; - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - regen: { - data: { - v1: _264.MsgClientImpl; - }; - ecocredit: { - basket: { - v1: _265.MsgClientImpl; - }; - marketplace: { - v1: _266.MsgClientImpl; - }; - v1: _267.MsgClientImpl; - v1alpha1: _268.MsgClientImpl; - }; - intertx: { - v1: _269.MsgClientImpl; - }; - }; - }>; - createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | import("@cosmjs/tendermint-rpc").HttpEndpoint; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest | undefined): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest | undefined): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - accountAddressByID(request: import("../cosmos/auth/v1beta1/query").QueryAccountAddressByIDRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest | undefined): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest | undefined): Promise; - moduleAccountByName(request: import("../cosmos/auth/v1beta1/query").QueryModuleAccountByNameRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest | undefined): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest | undefined): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest | undefined): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest | undefined): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - node: { - v1beta1: { - config(request?: import("../cosmos/base/node/v1beta1/query").ConfigRequest | undefined): Promise; - }; - }; - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest | undefined): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest | undefined): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest | undefined): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest | undefined): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - aBCIQuery(request: import("../cosmos/base/tendermint/v1beta1/query").ABCIQueryRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest | undefined): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest | undefined): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest | undefined): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest | undefined): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest | undefined): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest | undefined): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest | undefined): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest | undefined): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest | undefined): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest | undefined): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest | undefined): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest | undefined): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest | undefined): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest | undefined): Promise; - }; - }; - }; - regen: { - data: { - v1: { - anchorByIRI(request: _113.QueryAnchorByIRIRequest): Promise<_113.QueryAnchorByIRIResponse>; - anchorByHash(request: _113.QueryAnchorByHashRequest): Promise<_113.QueryAnchorByHashResponse>; - attestationsByAttestor(request: _113.QueryAttestationsByAttestorRequest): Promise<_113.QueryAttestationsByAttestorResponse>; - attestationsByIRI(request: _113.QueryAttestationsByIRIRequest): Promise<_113.QueryAttestationsByIRIResponse>; - attestationsByHash(request: _113.QueryAttestationsByHashRequest): Promise<_113.QueryAttestationsByHashResponse>; - resolver(request: _113.QueryResolverRequest): Promise<_113.QueryResolverResponse>; - resolversByIRI(request: _113.QueryResolversByIRIRequest): Promise<_113.QueryResolversByIRIResponse>; - resolversByHash(request: _113.QueryResolversByHashRequest): Promise<_113.QueryResolversByHashResponse>; - resolversByURL(request: _113.QueryResolversByURLRequest): Promise<_113.QueryResolversByURLResponse>; - convertIRIToHash(request: _113.ConvertIRIToHashRequest): Promise<_113.ConvertIRIToHashResponse>; - convertHashToIRI(request: _113.ConvertHashToIRIRequest): Promise<_113.ConvertHashToIRIResponse>; - }; - }; - ecocredit: { - basket: { - v1: { - basket(request: _118.QueryBasketRequest): Promise<_118.QueryBasketResponse>; - baskets(request?: _118.QueryBasketsRequest | undefined): Promise<_118.QueryBasketsResponse>; - basketBalances(request: _118.QueryBasketBalancesRequest): Promise<_118.QueryBasketBalancesResponse>; - basketBalance(request: _118.QueryBasketBalanceRequest): Promise<_118.QueryBasketBalanceResponse>; - basketFee(request?: _118.QueryBasketFeeRequest | undefined): Promise<_118.QueryBasketFeeResponse>; - }; - }; - marketplace: { - v1: { - sellOrder(request: _123.QuerySellOrderRequest): Promise<_123.QuerySellOrderResponse>; - sellOrders(request?: _123.QuerySellOrdersRequest | undefined): Promise<_123.QuerySellOrdersResponse>; - sellOrdersByBatch(request: _123.QuerySellOrdersByBatchRequest): Promise<_123.QuerySellOrdersByBatchResponse>; - sellOrdersBySeller(request: _123.QuerySellOrdersBySellerRequest): Promise<_123.QuerySellOrdersBySellerResponse>; - allowedDenoms(request?: _123.QueryAllowedDenomsRequest | undefined): Promise<_123.QueryAllowedDenomsResponse>; - }; - }; - v1: { - classes(request?: _129.QueryClassesRequest | undefined): Promise<_129.QueryClassesResponse>; - classesByAdmin(request: _129.QueryClassesByAdminRequest): Promise<_129.QueryClassesByAdminResponse>; - class(request: _129.QueryClassRequest): Promise<_129.QueryClassResponse>; - classIssuers(request: _129.QueryClassIssuersRequest): Promise<_129.QueryClassIssuersResponse>; - projects(request?: _129.QueryProjectsRequest | undefined): Promise<_129.QueryProjectsResponse>; - projectsByClass(request: _129.QueryProjectsByClassRequest): Promise<_129.QueryProjectsByClassResponse>; - projectsByReferenceId(request: _129.QueryProjectsByReferenceIdRequest): Promise<_129.QueryProjectsByReferenceIdResponse>; - projectsByAdmin(request: _129.QueryProjectsByAdminRequest): Promise<_129.QueryProjectsByAdminResponse>; - project(request: _129.QueryProjectRequest): Promise<_129.QueryProjectResponse>; - batches(request?: _129.QueryBatchesRequest | undefined): Promise<_129.QueryBatchesResponse>; - batchesByIssuer(request: _129.QueryBatchesByIssuerRequest): Promise<_129.QueryBatchesByIssuerResponse>; - batchesByClass(request: _129.QueryBatchesByClassRequest): Promise<_129.QueryBatchesByClassResponse>; - batchesByProject(request: _129.QueryBatchesByProjectRequest): Promise<_129.QueryBatchesByProjectResponse>; - batch(request: _129.QueryBatchRequest): Promise<_129.QueryBatchResponse>; - balance(request: _129.QueryBalanceRequest): Promise<_129.QueryBalanceResponse>; - balances(request: _129.QueryBalancesRequest): Promise<_129.QueryBalancesResponse>; - balancesByBatch(request: _129.QueryBalancesByBatchRequest): Promise<_129.QueryBalancesByBatchResponse>; - allBalances(request?: _129.QueryAllBalancesRequest | undefined): Promise<_129.QueryAllBalancesResponse>; - supply(request: _129.QuerySupplyRequest): Promise<_129.QuerySupplyResponse>; - creditTypes(request?: _129.QueryCreditTypesRequest | undefined): Promise<_129.QueryCreditTypesResponse>; - params(request?: _129.QueryParamsRequest | undefined): Promise<_129.QueryParamsResponse>; - creditType(request: _129.QueryCreditTypeRequest): Promise<_129.QueryCreditTypeResponse>; - classCreatorAllowlist(request?: _129.QueryClassCreatorAllowlistRequest | undefined): Promise<_129.QueryClassCreatorAllowlistResponse>; - allowedClassCreators(request?: _129.QueryAllowedClassCreatorsRequest | undefined): Promise<_129.QueryAllowedClassCreatorsResponse>; - classFee(request?: _129.QueryClassFeeRequest | undefined): Promise<_129.QueryClassFeeResponse>; - allowedBridgeChains(request?: _129.QueryAllowedBridgeChainsRequest | undefined): Promise<_129.QueryAllowedBridgeChainsResponse>; - }; - v1alpha1: { - classes(request?: _135.QueryClassesRequest | undefined): Promise<_135.QueryClassesResponse>; - classInfo(request: _135.QueryClassInfoRequest): Promise<_135.QueryClassInfoResponse>; - batches(request: _135.QueryBatchesRequest): Promise<_135.QueryBatchesResponse>; - batchInfo(request: _135.QueryBatchInfoRequest): Promise<_135.QueryBatchInfoResponse>; - balance(request: _135.QueryBalanceRequest): Promise<_135.QueryBalanceResponse>; - supply(request: _135.QuerySupplyRequest): Promise<_135.QuerySupplyResponse>; - creditTypes(request?: _135.QueryCreditTypesRequest | undefined): Promise<_135.QueryCreditTypesResponse>; - params(request?: _135.QueryParamsRequest | undefined): Promise<_135.QueryParamsResponse>; - }; - }; - intertx: { - v1: { - interchainAccount(request: _138.QueryInterchainAccountRequest): Promise<_138.QueryInterchainAccountResponse>; - }; - }; - }; - }>; - createLCDClient: ({ restEndpoint }: { - restEndpoint: string; - }) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - node: { - v1beta1: import("../cosmos/base/node/v1beta1/query.lcd").LCDQueryClient; - }; - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - regen: { - data: { - v1: _252.LCDQueryClient; - }; - ecocredit: { - basket: { - v1: _253.LCDQueryClient; - }; - marketplace: { - v1: _254.LCDQueryClient; - }; - v1: _255.LCDQueryClient; - v1alpha1: _256.LCDQueryClient; - }; - intertx: { - v1: _257.LCDQueryClient; - }; - }; - }>; - }; -} diff --git a/packages/api/types/codegen/regen/client.d.ts b/packages/api/types/codegen/regen/client.d.ts deleted file mode 100644 index af020465..00000000 --- a/packages/api/types/codegen/regen/client.d.ts +++ /dev/null @@ -1,262 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const regenAminoConverters: { - "/regen.intertx.v1.MsgRegisterAccount": { - aminoType: string; - toAmino: (message: import("./intertx/v1/tx").MsgRegisterAccount) => import("./intertx/v1/tx").MsgRegisterAccountAmino; - fromAmino: (object: import("./intertx/v1/tx").MsgRegisterAccountAmino) => import("./intertx/v1/tx").MsgRegisterAccount; - }; - "/regen.intertx.v1.MsgSubmitTx": { - aminoType: string; - toAmino: (message: import("./intertx/v1/tx").MsgSubmitTx) => import("./intertx/v1/tx").MsgSubmitTxAmino; - fromAmino: (object: import("./intertx/v1/tx").MsgSubmitTxAmino) => import("./intertx/v1/tx").MsgSubmitTx; - }; - "/regen.ecocredit.v1alpha1.MsgCreateClass": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgCreateClass) => import("./ecocredit/v1alpha1/tx").MsgCreateClassAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgCreateClassAmino) => import("./ecocredit/v1alpha1/tx").MsgCreateClass; - }; - "/regen.ecocredit.v1alpha1.MsgCreateBatch": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgCreateBatch) => import("./ecocredit/v1alpha1/tx").MsgCreateBatchAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgCreateBatchAmino) => import("./ecocredit/v1alpha1/tx").MsgCreateBatch; - }; - "/regen.ecocredit.v1alpha1.MsgSend": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgSend) => import("./ecocredit/v1alpha1/tx").MsgSendAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgSendAmino) => import("./ecocredit/v1alpha1/tx").MsgSend; - }; - "/regen.ecocredit.v1alpha1.MsgRetire": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgRetire) => import("./ecocredit/v1alpha1/tx").MsgRetireAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgRetireAmino) => import("./ecocredit/v1alpha1/tx").MsgRetire; - }; - "/regen.ecocredit.v1alpha1.MsgCancel": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgCancel) => import("./ecocredit/v1alpha1/tx").MsgCancelAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgCancelAmino) => import("./ecocredit/v1alpha1/tx").MsgCancel; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgUpdateClassAdmin) => import("./ecocredit/v1alpha1/tx").MsgUpdateClassAdminAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgUpdateClassAdminAmino) => import("./ecocredit/v1alpha1/tx").MsgUpdateClassAdmin; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgUpdateClassIssuers) => import("./ecocredit/v1alpha1/tx").MsgUpdateClassIssuersAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgUpdateClassIssuersAmino) => import("./ecocredit/v1alpha1/tx").MsgUpdateClassIssuers; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1alpha1/tx").MsgUpdateClassMetadata) => import("./ecocredit/v1alpha1/tx").MsgUpdateClassMetadataAmino; - fromAmino: (object: import("./ecocredit/v1alpha1/tx").MsgUpdateClassMetadataAmino) => import("./ecocredit/v1alpha1/tx").MsgUpdateClassMetadata; - }; - "/regen.ecocredit.v1.MsgCreateClass": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgCreateClass) => import("./ecocredit/v1/tx").MsgCreateClassAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgCreateClassAmino) => import("./ecocredit/v1/tx").MsgCreateClass; - }; - "/regen.ecocredit.v1.MsgCreateProject": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgCreateProject) => import("./ecocredit/v1/tx").MsgCreateProjectAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgCreateProjectAmino) => import("./ecocredit/v1/tx").MsgCreateProject; - }; - "/regen.ecocredit.v1.MsgCreateBatch": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgCreateBatch) => import("./ecocredit/v1/tx").MsgCreateBatchAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgCreateBatchAmino) => import("./ecocredit/v1/tx").MsgCreateBatch; - }; - "/regen.ecocredit.v1.MsgMintBatchCredits": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgMintBatchCredits) => import("./ecocredit/v1/tx").MsgMintBatchCreditsAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgMintBatchCreditsAmino) => import("./ecocredit/v1/tx").MsgMintBatchCredits; - }; - "/regen.ecocredit.v1.MsgSealBatch": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgSealBatch) => import("./ecocredit/v1/tx").MsgSealBatchAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgSealBatchAmino) => import("./ecocredit/v1/tx").MsgSealBatch; - }; - "/regen.ecocredit.v1.MsgSend": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgSend) => import("./ecocredit/v1/tx").MsgSendAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgSendAmino) => import("./ecocredit/v1/tx").MsgSend; - }; - "/regen.ecocredit.v1.MsgRetire": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgRetire) => import("./ecocredit/v1/tx").MsgRetireAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgRetireAmino) => import("./ecocredit/v1/tx").MsgRetire; - }; - "/regen.ecocredit.v1.MsgCancel": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgCancel) => import("./ecocredit/v1/tx").MsgCancelAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgCancelAmino) => import("./ecocredit/v1/tx").MsgCancel; - }; - "/regen.ecocredit.v1.MsgUpdateClassAdmin": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgUpdateClassAdmin) => import("./ecocredit/v1/tx").MsgUpdateClassAdminAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgUpdateClassAdminAmino) => import("./ecocredit/v1/tx").MsgUpdateClassAdmin; - }; - "/regen.ecocredit.v1.MsgUpdateClassIssuers": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgUpdateClassIssuers) => import("./ecocredit/v1/tx").MsgUpdateClassIssuersAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgUpdateClassIssuersAmino) => import("./ecocredit/v1/tx").MsgUpdateClassIssuers; - }; - "/regen.ecocredit.v1.MsgUpdateClassMetadata": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgUpdateClassMetadata) => import("./ecocredit/v1/tx").MsgUpdateClassMetadataAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgUpdateClassMetadataAmino) => import("./ecocredit/v1/tx").MsgUpdateClassMetadata; - }; - "/regen.ecocredit.v1.MsgUpdateProjectAdmin": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgUpdateProjectAdmin) => import("./ecocredit/v1/tx").MsgUpdateProjectAdminAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgUpdateProjectAdminAmino) => import("./ecocredit/v1/tx").MsgUpdateProjectAdmin; - }; - "/regen.ecocredit.v1.MsgUpdateProjectMetadata": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgUpdateProjectMetadata) => import("./ecocredit/v1/tx").MsgUpdateProjectMetadataAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgUpdateProjectMetadataAmino) => import("./ecocredit/v1/tx").MsgUpdateProjectMetadata; - }; - "/regen.ecocredit.v1.MsgUpdateBatchMetadata": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgUpdateBatchMetadata) => import("./ecocredit/v1/tx").MsgUpdateBatchMetadataAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgUpdateBatchMetadataAmino) => import("./ecocredit/v1/tx").MsgUpdateBatchMetadata; - }; - "/regen.ecocredit.v1.MsgBridge": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgBridge) => import("./ecocredit/v1/tx").MsgBridgeAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgBridgeAmino) => import("./ecocredit/v1/tx").MsgBridge; - }; - "/regen.ecocredit.v1.MsgBridgeReceive": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgBridgeReceive) => import("./ecocredit/v1/tx").MsgBridgeReceiveAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgBridgeReceiveAmino) => import("./ecocredit/v1/tx").MsgBridgeReceive; - }; - "/regen.ecocredit.v1.MsgAddCreditType": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgAddCreditType) => import("./ecocredit/v1/tx").MsgAddCreditTypeAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgAddCreditTypeAmino) => import("./ecocredit/v1/tx").MsgAddCreditType; - }; - "/regen.ecocredit.v1.MsgSetClassCreatorAllowlist": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgSetClassCreatorAllowlist) => import("./ecocredit/v1/tx").MsgSetClassCreatorAllowlistAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgSetClassCreatorAllowlistAmino) => import("./ecocredit/v1/tx").MsgSetClassCreatorAllowlist; - }; - "/regen.ecocredit.v1.MsgAddClassCreator": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgAddClassCreator) => import("./ecocredit/v1/tx").MsgAddClassCreatorAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgAddClassCreatorAmino) => import("./ecocredit/v1/tx").MsgAddClassCreator; - }; - "/regen.ecocredit.v1.MsgRemoveClassCreator": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgRemoveClassCreator) => import("./ecocredit/v1/tx").MsgRemoveClassCreatorAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgRemoveClassCreatorAmino) => import("./ecocredit/v1/tx").MsgRemoveClassCreator; - }; - "/regen.ecocredit.v1.MsgUpdateClassFee": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgUpdateClassFee) => import("./ecocredit/v1/tx").MsgUpdateClassFeeAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgUpdateClassFeeAmino) => import("./ecocredit/v1/tx").MsgUpdateClassFee; - }; - "/regen.ecocredit.v1.MsgAddAllowedBridgeChain": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgAddAllowedBridgeChain) => import("./ecocredit/v1/tx").MsgAddAllowedBridgeChainAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgAddAllowedBridgeChainAmino) => import("./ecocredit/v1/tx").MsgAddAllowedBridgeChain; - }; - "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChain": { - aminoType: string; - toAmino: (message: import("./ecocredit/v1/tx").MsgRemoveAllowedBridgeChain) => import("./ecocredit/v1/tx").MsgRemoveAllowedBridgeChainAmino; - fromAmino: (object: import("./ecocredit/v1/tx").MsgRemoveAllowedBridgeChainAmino) => import("./ecocredit/v1/tx").MsgRemoveAllowedBridgeChain; - }; - "/regen.ecocredit.marketplace.v1.MsgSell": { - aminoType: string; - toAmino: (message: import("./ecocredit/marketplace/v1/tx").MsgSell) => import("./ecocredit/marketplace/v1/tx").MsgSellAmino; - fromAmino: (object: import("./ecocredit/marketplace/v1/tx").MsgSellAmino) => import("./ecocredit/marketplace/v1/tx").MsgSell; - }; - "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrders": { - aminoType: string; - toAmino: (message: import("./ecocredit/marketplace/v1/tx").MsgUpdateSellOrders) => import("./ecocredit/marketplace/v1/tx").MsgUpdateSellOrdersAmino; - fromAmino: (object: import("./ecocredit/marketplace/v1/tx").MsgUpdateSellOrdersAmino) => import("./ecocredit/marketplace/v1/tx").MsgUpdateSellOrders; - }; - "/regen.ecocredit.marketplace.v1.MsgCancelSellOrder": { - aminoType: string; - toAmino: (message: import("./ecocredit/marketplace/v1/tx").MsgCancelSellOrder) => import("./ecocredit/marketplace/v1/tx").MsgCancelSellOrderAmino; - fromAmino: (object: import("./ecocredit/marketplace/v1/tx").MsgCancelSellOrderAmino) => import("./ecocredit/marketplace/v1/tx").MsgCancelSellOrder; - }; - "/regen.ecocredit.marketplace.v1.MsgBuyDirect": { - aminoType: string; - toAmino: (message: import("./ecocredit/marketplace/v1/tx").MsgBuyDirect) => import("./ecocredit/marketplace/v1/tx").MsgBuyDirectAmino; - fromAmino: (object: import("./ecocredit/marketplace/v1/tx").MsgBuyDirectAmino) => import("./ecocredit/marketplace/v1/tx").MsgBuyDirect; - }; - "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenom": { - aminoType: string; - toAmino: (message: import("./ecocredit/marketplace/v1/tx").MsgAddAllowedDenom) => import("./ecocredit/marketplace/v1/tx").MsgAddAllowedDenomAmino; - fromAmino: (object: import("./ecocredit/marketplace/v1/tx").MsgAddAllowedDenomAmino) => import("./ecocredit/marketplace/v1/tx").MsgAddAllowedDenom; - }; - "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom": { - aminoType: string; - toAmino: (message: import("./ecocredit/marketplace/v1/tx").MsgRemoveAllowedDenom) => import("./ecocredit/marketplace/v1/tx").MsgRemoveAllowedDenomAmino; - fromAmino: (object: import("./ecocredit/marketplace/v1/tx").MsgRemoveAllowedDenomAmino) => import("./ecocredit/marketplace/v1/tx").MsgRemoveAllowedDenom; - }; - "/regen.ecocredit.basket.v1.MsgCreate": { - aminoType: string; - toAmino: (message: import("./ecocredit/basket/v1/tx").MsgCreate) => import("./ecocredit/basket/v1/tx").MsgCreateAmino; - fromAmino: (object: import("./ecocredit/basket/v1/tx").MsgCreateAmino) => import("./ecocredit/basket/v1/tx").MsgCreate; - }; - "/regen.ecocredit.basket.v1.MsgPut": { - aminoType: string; - toAmino: (message: import("./ecocredit/basket/v1/tx").MsgPut) => import("./ecocredit/basket/v1/tx").MsgPutAmino; - fromAmino: (object: import("./ecocredit/basket/v1/tx").MsgPutAmino) => import("./ecocredit/basket/v1/tx").MsgPut; - }; - "/regen.ecocredit.basket.v1.MsgTake": { - aminoType: string; - toAmino: (message: import("./ecocredit/basket/v1/tx").MsgTake) => import("./ecocredit/basket/v1/tx").MsgTakeAmino; - fromAmino: (object: import("./ecocredit/basket/v1/tx").MsgTakeAmino) => import("./ecocredit/basket/v1/tx").MsgTake; - }; - "/regen.ecocredit.basket.v1.MsgUpdateBasketFee": { - aminoType: string; - toAmino: (message: import("./ecocredit/basket/v1/tx").MsgUpdateBasketFee) => import("./ecocredit/basket/v1/tx").MsgUpdateBasketFeeAmino; - fromAmino: (object: import("./ecocredit/basket/v1/tx").MsgUpdateBasketFeeAmino) => import("./ecocredit/basket/v1/tx").MsgUpdateBasketFee; - }; - "/regen.ecocredit.basket.v1.MsgUpdateCurator": { - aminoType: string; - toAmino: (message: import("./ecocredit/basket/v1/tx").MsgUpdateCurator) => import("./ecocredit/basket/v1/tx").MsgUpdateCuratorAmino; - fromAmino: (object: import("./ecocredit/basket/v1/tx").MsgUpdateCuratorAmino) => import("./ecocredit/basket/v1/tx").MsgUpdateCurator; - }; - "/regen.ecocredit.basket.v1.MsgUpdateDateCriteria": { - aminoType: string; - toAmino: (message: import("./ecocredit/basket/v1/tx").MsgUpdateDateCriteria) => import("./ecocredit/basket/v1/tx").MsgUpdateDateCriteriaAmino; - fromAmino: (object: import("./ecocredit/basket/v1/tx").MsgUpdateDateCriteriaAmino) => import("./ecocredit/basket/v1/tx").MsgUpdateDateCriteria; - }; - "/regen.data.v1.MsgAnchor": { - aminoType: string; - toAmino: (message: import("./data/v1/tx").MsgAnchor) => import("./data/v1/tx").MsgAnchorAmino; - fromAmino: (object: import("./data/v1/tx").MsgAnchorAmino) => import("./data/v1/tx").MsgAnchor; - }; - "/regen.data.v1.MsgAttest": { - aminoType: string; - toAmino: (message: import("./data/v1/tx").MsgAttest) => import("./data/v1/tx").MsgAttestAmino; - fromAmino: (object: import("./data/v1/tx").MsgAttestAmino) => import("./data/v1/tx").MsgAttest; - }; - "/regen.data.v1.MsgDefineResolver": { - aminoType: string; - toAmino: (message: import("./data/v1/tx").MsgDefineResolver) => import("./data/v1/tx").MsgDefineResolverAmino; - fromAmino: (object: import("./data/v1/tx").MsgDefineResolverAmino) => import("./data/v1/tx").MsgDefineResolver; - }; - "/regen.data.v1.MsgRegisterResolver": { - aminoType: string; - toAmino: (message: import("./data/v1/tx").MsgRegisterResolver) => import("./data/v1/tx").MsgRegisterResolverAmino; - fromAmino: (object: import("./data/v1/tx").MsgRegisterResolverAmino) => import("./data/v1/tx").MsgRegisterResolver; - }; -}; -export declare const regenProtoRegistry: ReadonlyArray<[string, GeneratedType]>; -export declare const getSigningRegenClientOptions: ({ defaultTypes }?: { - defaultTypes?: readonly [string, GeneratedType][] | undefined; -}) => { - registry: Registry; - aminoTypes: AminoTypes; -}; -export declare const getSigningRegenClient: ({ rpcEndpoint, signer, defaultTypes }: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; - defaultTypes?: readonly [string, GeneratedType][] | undefined; -}) => Promise; diff --git a/packages/api/types/codegen/regen/data/v1/events.d.ts b/packages/api/types/codegen/regen/data/v1/events.d.ts deleted file mode 100644 index bc07639d..00000000 --- a/packages/api/types/codegen/regen/data/v1/events.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** EventAnchor is an event emitted when data is anchored on chain. */ -export interface EventAnchor { - /** iri is the IRI of the data anchored on chain. */ - iri: string; -} -export interface EventAnchorProtoMsg { - typeUrl: "/regen.data.v1.EventAnchor"; - value: Uint8Array; -} -/** EventAnchor is an event emitted when data is anchored on chain. */ -export interface EventAnchorAmino { - /** iri is the IRI of the data anchored on chain. */ - iri: string; -} -export interface EventAnchorAminoMsg { - type: "/regen.data.v1.EventAnchor"; - value: EventAnchorAmino; -} -/** EventAnchor is an event emitted when data is anchored on chain. */ -export interface EventAnchorSDKType { - iri: string; -} -/** EventAttest is an event emitted when data is attested to on chain. */ -export interface EventAttest { - /** iri is the IRI of the data attested to. */ - iri: string; - /** - * attestor is the address of the account that has attested to the veracity of - * the data. - */ - attestor: string; -} -export interface EventAttestProtoMsg { - typeUrl: "/regen.data.v1.EventAttest"; - value: Uint8Array; -} -/** EventAttest is an event emitted when data is attested to on chain. */ -export interface EventAttestAmino { - /** iri is the IRI of the data attested to. */ - iri: string; - /** - * attestor is the address of the account that has attested to the veracity of - * the data. - */ - attestor: string; -} -export interface EventAttestAminoMsg { - type: "/regen.data.v1.EventAttest"; - value: EventAttestAmino; -} -/** EventAttest is an event emitted when data is attested to on chain. */ -export interface EventAttestSDKType { - iri: string; - attestor: string; -} -/** EventDefineResolver is an event emitted when a resolved is defined on chain. */ -export interface EventDefineResolver { - /** id is the ID of the defined resolver. */ - id: Long; -} -export interface EventDefineResolverProtoMsg { - typeUrl: "/regen.data.v1.EventDefineResolver"; - value: Uint8Array; -} -/** EventDefineResolver is an event emitted when a resolved is defined on chain. */ -export interface EventDefineResolverAmino { - /** id is the ID of the defined resolver. */ - id: string; -} -export interface EventDefineResolverAminoMsg { - type: "/regen.data.v1.EventDefineResolver"; - value: EventDefineResolverAmino; -} -/** EventDefineResolver is an event emitted when a resolved is defined on chain. */ -export interface EventDefineResolverSDKType { - id: Long; -} -/** - * EventRegisterResolver is an event emitted when data is registered to a - * resolver on chain. - */ -export interface EventRegisterResolver { - /** id is the ID of the resolver that the data was registered to. */ - id: Long; - /** iri is the IRI of the data that was registered. */ - iri: string; -} -export interface EventRegisterResolverProtoMsg { - typeUrl: "/regen.data.v1.EventRegisterResolver"; - value: Uint8Array; -} -/** - * EventRegisterResolver is an event emitted when data is registered to a - * resolver on chain. - */ -export interface EventRegisterResolverAmino { - /** id is the ID of the resolver that the data was registered to. */ - id: string; - /** iri is the IRI of the data that was registered. */ - iri: string; -} -export interface EventRegisterResolverAminoMsg { - type: "/regen.data.v1.EventRegisterResolver"; - value: EventRegisterResolverAmino; -} -/** - * EventRegisterResolver is an event emitted when data is registered to a - * resolver on chain. - */ -export interface EventRegisterResolverSDKType { - id: Long; - iri: string; -} -export declare const EventAnchor: { - encode(message: EventAnchor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventAnchor; - fromJSON(object: any): EventAnchor; - toJSON(message: EventAnchor): unknown; - fromPartial(object: Partial): EventAnchor; - fromAmino(object: EventAnchorAmino): EventAnchor; - toAmino(message: EventAnchor): EventAnchorAmino; - fromAminoMsg(object: EventAnchorAminoMsg): EventAnchor; - fromProtoMsg(message: EventAnchorProtoMsg): EventAnchor; - toProto(message: EventAnchor): Uint8Array; - toProtoMsg(message: EventAnchor): EventAnchorProtoMsg; -}; -export declare const EventAttest: { - encode(message: EventAttest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventAttest; - fromJSON(object: any): EventAttest; - toJSON(message: EventAttest): unknown; - fromPartial(object: Partial): EventAttest; - fromAmino(object: EventAttestAmino): EventAttest; - toAmino(message: EventAttest): EventAttestAmino; - fromAminoMsg(object: EventAttestAminoMsg): EventAttest; - fromProtoMsg(message: EventAttestProtoMsg): EventAttest; - toProto(message: EventAttest): Uint8Array; - toProtoMsg(message: EventAttest): EventAttestProtoMsg; -}; -export declare const EventDefineResolver: { - encode(message: EventDefineResolver, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventDefineResolver; - fromJSON(object: any): EventDefineResolver; - toJSON(message: EventDefineResolver): unknown; - fromPartial(object: Partial): EventDefineResolver; - fromAmino(object: EventDefineResolverAmino): EventDefineResolver; - toAmino(message: EventDefineResolver): EventDefineResolverAmino; - fromAminoMsg(object: EventDefineResolverAminoMsg): EventDefineResolver; - fromProtoMsg(message: EventDefineResolverProtoMsg): EventDefineResolver; - toProto(message: EventDefineResolver): Uint8Array; - toProtoMsg(message: EventDefineResolver): EventDefineResolverProtoMsg; -}; -export declare const EventRegisterResolver: { - encode(message: EventRegisterResolver, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventRegisterResolver; - fromJSON(object: any): EventRegisterResolver; - toJSON(message: EventRegisterResolver): unknown; - fromPartial(object: Partial): EventRegisterResolver; - fromAmino(object: EventRegisterResolverAmino): EventRegisterResolver; - toAmino(message: EventRegisterResolver): EventRegisterResolverAmino; - fromAminoMsg(object: EventRegisterResolverAminoMsg): EventRegisterResolver; - fromProtoMsg(message: EventRegisterResolverProtoMsg): EventRegisterResolver; - toProto(message: EventRegisterResolver): Uint8Array; - toProtoMsg(message: EventRegisterResolver): EventRegisterResolverProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/data/v1/query.d.ts b/packages/api/types/codegen/regen/data/v1/query.d.ts deleted file mode 100644 index ff71bdd1..00000000 --- a/packages/api/types/codegen/regen/data/v1/query.d.ts +++ /dev/null @@ -1,997 +0,0 @@ -import { ContentHash, ContentHashAmino, ContentHashSDKType } from "./types"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryAnchorByIRIRequest is the Query/AnchorByIRI request type. */ -export interface QueryAnchorByIRIRequest { - /** iri is the IRI of the anchored data. */ - iri: string; -} -export interface QueryAnchorByIRIRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryAnchorByIRIRequest"; - value: Uint8Array; -} -/** QueryAnchorByIRIRequest is the Query/AnchorByIRI request type. */ -export interface QueryAnchorByIRIRequestAmino { - /** iri is the IRI of the anchored data. */ - iri: string; -} -export interface QueryAnchorByIRIRequestAminoMsg { - type: "/regen.data.v1.QueryAnchorByIRIRequest"; - value: QueryAnchorByIRIRequestAmino; -} -/** QueryAnchorByIRIRequest is the Query/AnchorByIRI request type. */ -export interface QueryAnchorByIRIRequestSDKType { - iri: string; -} -/** QueryAnchorByIRIResponse is the Query/AnchorByIRI response type. */ -export interface QueryAnchorByIRIResponse { - /** anchor is information about the data anchor. */ - anchor: AnchorInfo; -} -export interface QueryAnchorByIRIResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryAnchorByIRIResponse"; - value: Uint8Array; -} -/** QueryAnchorByIRIResponse is the Query/AnchorByIRI response type. */ -export interface QueryAnchorByIRIResponseAmino { - /** anchor is information about the data anchor. */ - anchor?: AnchorInfoAmino; -} -export interface QueryAnchorByIRIResponseAminoMsg { - type: "/regen.data.v1.QueryAnchorByIRIResponse"; - value: QueryAnchorByIRIResponseAmino; -} -/** QueryAnchorByIRIResponse is the Query/AnchorByIRI response type. */ -export interface QueryAnchorByIRIResponseSDKType { - anchor: AnchorInfoSDKType; -} -/** QueryAnchorByHashRequest is the Query/AnchorByHash request type. */ -export interface QueryAnchorByHashRequest { - /** content_hash is the ContentHash of the anchored data. */ - contentHash: ContentHash; -} -export interface QueryAnchorByHashRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryAnchorByHashRequest"; - value: Uint8Array; -} -/** QueryAnchorByHashRequest is the Query/AnchorByHash request type. */ -export interface QueryAnchorByHashRequestAmino { - /** content_hash is the ContentHash of the anchored data. */ - content_hash?: ContentHashAmino; -} -export interface QueryAnchorByHashRequestAminoMsg { - type: "/regen.data.v1.QueryAnchorByHashRequest"; - value: QueryAnchorByHashRequestAmino; -} -/** QueryAnchorByHashRequest is the Query/AnchorByHash request type. */ -export interface QueryAnchorByHashRequestSDKType { - content_hash: ContentHashSDKType; -} -/** QueryAnchorByHashResponse is the Query/AnchorByHash response type. */ -export interface QueryAnchorByHashResponse { - /** anchor is information about the data anchor. */ - anchor: AnchorInfo; -} -export interface QueryAnchorByHashResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryAnchorByHashResponse"; - value: Uint8Array; -} -/** QueryAnchorByHashResponse is the Query/AnchorByHash response type. */ -export interface QueryAnchorByHashResponseAmino { - /** anchor is information about the data anchor. */ - anchor?: AnchorInfoAmino; -} -export interface QueryAnchorByHashResponseAminoMsg { - type: "/regen.data.v1.QueryAnchorByHashResponse"; - value: QueryAnchorByHashResponseAmino; -} -/** QueryAnchorByHashResponse is the Query/AnchorByHash response type. */ -export interface QueryAnchorByHashResponseSDKType { - anchor: AnchorInfoSDKType; -} -/** - * QueryAttestationsByAttestorRequest is the Query/AttestationsByAttestor - * request type. - */ -export interface QueryAttestationsByAttestorRequest { - /** attestor is the address of the attestor. */ - attestor: string; - /** pagination is the PageRequest to use for pagination. */ - pagination: PageRequest; -} -export interface QueryAttestationsByAttestorRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryAttestationsByAttestorRequest"; - value: Uint8Array; -} -/** - * QueryAttestationsByAttestorRequest is the Query/AttestationsByAttestor - * request type. - */ -export interface QueryAttestationsByAttestorRequestAmino { - /** attestor is the address of the attestor. */ - attestor: string; - /** pagination is the PageRequest to use for pagination. */ - pagination?: PageRequestAmino; -} -export interface QueryAttestationsByAttestorRequestAminoMsg { - type: "/regen.data.v1.QueryAttestationsByAttestorRequest"; - value: QueryAttestationsByAttestorRequestAmino; -} -/** - * QueryAttestationsByAttestorRequest is the Query/AttestationsByAttestor - * request type. - */ -export interface QueryAttestationsByAttestorRequestSDKType { - attestor: string; - pagination: PageRequestSDKType; -} -/** - * QueryAttestationsByAttestorResponse is the Query/AttestationsByAttestor - * response type. - */ -export interface QueryAttestationsByAttestorResponse { - /** attestations are the attestations by the attestor. */ - attestations: AttestationInfo[]; - /** pagination is the pagination PageResponse. */ - pagination: PageResponse; -} -export interface QueryAttestationsByAttestorResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryAttestationsByAttestorResponse"; - value: Uint8Array; -} -/** - * QueryAttestationsByAttestorResponse is the Query/AttestationsByAttestor - * response type. - */ -export interface QueryAttestationsByAttestorResponseAmino { - /** attestations are the attestations by the attestor. */ - attestations: AttestationInfoAmino[]; - /** pagination is the pagination PageResponse. */ - pagination?: PageResponseAmino; -} -export interface QueryAttestationsByAttestorResponseAminoMsg { - type: "/regen.data.v1.QueryAttestationsByAttestorResponse"; - value: QueryAttestationsByAttestorResponseAmino; -} -/** - * QueryAttestationsByAttestorResponse is the Query/AttestationsByAttestor - * response type. - */ -export interface QueryAttestationsByAttestorResponseSDKType { - attestations: AttestationInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryAttestationsByIRIRequest is the Query/AttestationsByIRI request type. */ -export interface QueryAttestationsByIRIRequest { - /** iri is the IRI of the anchored data. */ - iri: string; - /** pagination is the PageRequest to use for pagination. */ - pagination: PageRequest; -} -export interface QueryAttestationsByIRIRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryAttestationsByIRIRequest"; - value: Uint8Array; -} -/** QueryAttestationsByIRIRequest is the Query/AttestationsByIRI request type. */ -export interface QueryAttestationsByIRIRequestAmino { - /** iri is the IRI of the anchored data. */ - iri: string; - /** pagination is the PageRequest to use for pagination. */ - pagination?: PageRequestAmino; -} -export interface QueryAttestationsByIRIRequestAminoMsg { - type: "/regen.data.v1.QueryAttestationsByIRIRequest"; - value: QueryAttestationsByIRIRequestAmino; -} -/** QueryAttestationsByIRIRequest is the Query/AttestationsByIRI request type. */ -export interface QueryAttestationsByIRIRequestSDKType { - iri: string; - pagination: PageRequestSDKType; -} -/** QueryAttestationsByIRIResponse is the Query/AttestationsByIRI response type. */ -export interface QueryAttestationsByIRIResponse { - /** attestations are the attestations that have been made to the anchored data. */ - attestations: AttestationInfo[]; - /** pagination is the pagination PageResponse. */ - pagination: PageResponse; -} -export interface QueryAttestationsByIRIResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryAttestationsByIRIResponse"; - value: Uint8Array; -} -/** QueryAttestationsByIRIResponse is the Query/AttestationsByIRI response type. */ -export interface QueryAttestationsByIRIResponseAmino { - /** attestations are the attestations that have been made to the anchored data. */ - attestations: AttestationInfoAmino[]; - /** pagination is the pagination PageResponse. */ - pagination?: PageResponseAmino; -} -export interface QueryAttestationsByIRIResponseAminoMsg { - type: "/regen.data.v1.QueryAttestationsByIRIResponse"; - value: QueryAttestationsByIRIResponseAmino; -} -/** QueryAttestationsByIRIResponse is the Query/AttestationsByIRI response type. */ -export interface QueryAttestationsByIRIResponseSDKType { - attestations: AttestationInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryAttestationsByHashRequest is the Query/AttestationsByHash request type. */ -export interface QueryAttestationsByHashRequest { - /** content_hash is the ContentHash of the anchored data. */ - contentHash: ContentHash; - /** pagination is the PageRequest to use for pagination. */ - pagination: PageRequest; -} -export interface QueryAttestationsByHashRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryAttestationsByHashRequest"; - value: Uint8Array; -} -/** QueryAttestationsByHashRequest is the Query/AttestationsByHash request type. */ -export interface QueryAttestationsByHashRequestAmino { - /** content_hash is the ContentHash of the anchored data. */ - content_hash?: ContentHashAmino; - /** pagination is the PageRequest to use for pagination. */ - pagination?: PageRequestAmino; -} -export interface QueryAttestationsByHashRequestAminoMsg { - type: "/regen.data.v1.QueryAttestationsByHashRequest"; - value: QueryAttestationsByHashRequestAmino; -} -/** QueryAttestationsByHashRequest is the Query/AttestationsByHash request type. */ -export interface QueryAttestationsByHashRequestSDKType { - content_hash: ContentHashSDKType; - pagination: PageRequestSDKType; -} -/** - * QueryAttestationsByHashResponse is the Query/AttestationsByHash response - * type. - */ -export interface QueryAttestationsByHashResponse { - /** attestations are the attestations that have been made to the anchored data. */ - attestations: AttestationInfo[]; - /** pagination is the pagination PageResponse. */ - pagination: PageResponse; -} -export interface QueryAttestationsByHashResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryAttestationsByHashResponse"; - value: Uint8Array; -} -/** - * QueryAttestationsByHashResponse is the Query/AttestationsByHash response - * type. - */ -export interface QueryAttestationsByHashResponseAmino { - /** attestations are the attestations that have been made to the anchored data. */ - attestations: AttestationInfoAmino[]; - /** pagination is the pagination PageResponse. */ - pagination?: PageResponseAmino; -} -export interface QueryAttestationsByHashResponseAminoMsg { - type: "/regen.data.v1.QueryAttestationsByHashResponse"; - value: QueryAttestationsByHashResponseAmino; -} -/** - * QueryAttestationsByHashResponse is the Query/AttestationsByHash response - * type. - */ -export interface QueryAttestationsByHashResponseSDKType { - attestations: AttestationInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryResolverRequest is the Query/Resolver request type. */ -export interface QueryResolverRequest { - /** id is the ID of the resolver. */ - id: Long; -} -export interface QueryResolverRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryResolverRequest"; - value: Uint8Array; -} -/** QueryResolverRequest is the Query/Resolver request type. */ -export interface QueryResolverRequestAmino { - /** id is the ID of the resolver. */ - id: string; -} -export interface QueryResolverRequestAminoMsg { - type: "/regen.data.v1.QueryResolverRequest"; - value: QueryResolverRequestAmino; -} -/** QueryResolverRequest is the Query/Resolver request type. */ -export interface QueryResolverRequestSDKType { - id: Long; -} -/** QueryResolverResponse is the Query/Resolver response type. */ -export interface QueryResolverResponse { - /** resolver is information about the resolver. */ - resolver: ResolverInfo; -} -export interface QueryResolverResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryResolverResponse"; - value: Uint8Array; -} -/** QueryResolverResponse is the Query/Resolver response type. */ -export interface QueryResolverResponseAmino { - /** resolver is information about the resolver. */ - resolver?: ResolverInfoAmino; -} -export interface QueryResolverResponseAminoMsg { - type: "/regen.data.v1.QueryResolverResponse"; - value: QueryResolverResponseAmino; -} -/** QueryResolverResponse is the Query/Resolver response type. */ -export interface QueryResolverResponseSDKType { - resolver: ResolverInfoSDKType; -} -/** QueryResolversByIRIRequest is the Query/ResolversByIRI request type. */ -export interface QueryResolversByIRIRequest { - /** iri is the IRI of the anchored data. */ - iri: string; - /** pagination is the PageRequest to use for pagination. */ - pagination: PageRequest; -} -export interface QueryResolversByIRIRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryResolversByIRIRequest"; - value: Uint8Array; -} -/** QueryResolversByIRIRequest is the Query/ResolversByIRI request type. */ -export interface QueryResolversByIRIRequestAmino { - /** iri is the IRI of the anchored data. */ - iri: string; - /** pagination is the PageRequest to use for pagination. */ - pagination?: PageRequestAmino; -} -export interface QueryResolversByIRIRequestAminoMsg { - type: "/regen.data.v1.QueryResolversByIRIRequest"; - value: QueryResolversByIRIRequestAmino; -} -/** QueryResolversByIRIRequest is the Query/ResolversByIRI request type. */ -export interface QueryResolversByIRIRequestSDKType { - iri: string; - pagination: PageRequestSDKType; -} -/** QueryResolversByIRIResponse is the Query/ResolversByIRI response type. */ -export interface QueryResolversByIRIResponse { - /** resolvers are the resolvers that have registered the anchored data. */ - resolvers: ResolverInfo[]; - /** pagination is the PageResponse to use for pagination. */ - pagination: PageResponse; -} -export interface QueryResolversByIRIResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryResolversByIRIResponse"; - value: Uint8Array; -} -/** QueryResolversByIRIResponse is the Query/ResolversByIRI response type. */ -export interface QueryResolversByIRIResponseAmino { - /** resolvers are the resolvers that have registered the anchored data. */ - resolvers: ResolverInfoAmino[]; - /** pagination is the PageResponse to use for pagination. */ - pagination?: PageResponseAmino; -} -export interface QueryResolversByIRIResponseAminoMsg { - type: "/regen.data.v1.QueryResolversByIRIResponse"; - value: QueryResolversByIRIResponseAmino; -} -/** QueryResolversByIRIResponse is the Query/ResolversByIRI response type. */ -export interface QueryResolversByIRIResponseSDKType { - resolvers: ResolverInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryResolversByHashRequest is the Query/ResolversByHash request type. */ -export interface QueryResolversByHashRequest { - /** content_hash is the ContentHash of the anchored data. */ - contentHash: ContentHash; - /** pagination is the PageRequest to use for pagination. */ - pagination: PageRequest; -} -export interface QueryResolversByHashRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryResolversByHashRequest"; - value: Uint8Array; -} -/** QueryResolversByHashRequest is the Query/ResolversByHash request type. */ -export interface QueryResolversByHashRequestAmino { - /** content_hash is the ContentHash of the anchored data. */ - content_hash?: ContentHashAmino; - /** pagination is the PageRequest to use for pagination. */ - pagination?: PageRequestAmino; -} -export interface QueryResolversByHashRequestAminoMsg { - type: "/regen.data.v1.QueryResolversByHashRequest"; - value: QueryResolversByHashRequestAmino; -} -/** QueryResolversByHashRequest is the Query/ResolversByHash request type. */ -export interface QueryResolversByHashRequestSDKType { - content_hash: ContentHashSDKType; - pagination: PageRequestSDKType; -} -/** QueryResolversByHashResponse is the Query/ResolversByHash response type. */ -export interface QueryResolversByHashResponse { - /** resolvers are the resolvers that have registered the data. */ - resolvers: ResolverInfo[]; - /** pagination is the PageResponse to use for pagination. */ - pagination: PageResponse; -} -export interface QueryResolversByHashResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryResolversByHashResponse"; - value: Uint8Array; -} -/** QueryResolversByHashResponse is the Query/ResolversByHash response type. */ -export interface QueryResolversByHashResponseAmino { - /** resolvers are the resolvers that have registered the data. */ - resolvers: ResolverInfoAmino[]; - /** pagination is the PageResponse to use for pagination. */ - pagination?: PageResponseAmino; -} -export interface QueryResolversByHashResponseAminoMsg { - type: "/regen.data.v1.QueryResolversByHashResponse"; - value: QueryResolversByHashResponseAmino; -} -/** QueryResolversByHashResponse is the Query/ResolversByHash response type. */ -export interface QueryResolversByHashResponseSDKType { - resolvers: ResolverInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryResolversByURLRequest is the Query/ResolversByURL request type. */ -export interface QueryResolversByURLRequest { - /** url is the URL of the resolver. */ - url: string; - /** pagination is the PageRequest to use for pagination. */ - pagination: PageRequest; -} -export interface QueryResolversByURLRequestProtoMsg { - typeUrl: "/regen.data.v1.QueryResolversByURLRequest"; - value: Uint8Array; -} -/** QueryResolversByURLRequest is the Query/ResolversByURL request type. */ -export interface QueryResolversByURLRequestAmino { - /** url is the URL of the resolver. */ - url: string; - /** pagination is the PageRequest to use for pagination. */ - pagination?: PageRequestAmino; -} -export interface QueryResolversByURLRequestAminoMsg { - type: "/regen.data.v1.QueryResolversByURLRequest"; - value: QueryResolversByURLRequestAmino; -} -/** QueryResolversByURLRequest is the Query/ResolversByURL request type. */ -export interface QueryResolversByURLRequestSDKType { - url: string; - pagination: PageRequestSDKType; -} -/** QueryResolversByURLResponse is the Query/ResolversByURL response type. */ -export interface QueryResolversByURLResponse { - /** resolvers are the resolvers that have a matching URL. */ - resolvers: ResolverInfo[]; - /** pagination is the PageResponse to use for pagination. */ - pagination: PageResponse; -} -export interface QueryResolversByURLResponseProtoMsg { - typeUrl: "/regen.data.v1.QueryResolversByURLResponse"; - value: Uint8Array; -} -/** QueryResolversByURLResponse is the Query/ResolversByURL response type. */ -export interface QueryResolversByURLResponseAmino { - /** resolvers are the resolvers that have a matching URL. */ - resolvers: ResolverInfoAmino[]; - /** pagination is the PageResponse to use for pagination. */ - pagination?: PageResponseAmino; -} -export interface QueryResolversByURLResponseAminoMsg { - type: "/regen.data.v1.QueryResolversByURLResponse"; - value: QueryResolversByURLResponseAmino; -} -/** QueryResolversByURLResponse is the Query/ResolversByURL response type. */ -export interface QueryResolversByURLResponseSDKType { - resolvers: ResolverInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** ConvertIRIToHashRequest is the Query/ConvertIRIToHash request type. */ -export interface ConvertIRIToHashRequest { - /** iri is the IRI to convert to a ContentHash. */ - iri: string; -} -export interface ConvertIRIToHashRequestProtoMsg { - typeUrl: "/regen.data.v1.ConvertIRIToHashRequest"; - value: Uint8Array; -} -/** ConvertIRIToHashRequest is the Query/ConvertIRIToHash request type. */ -export interface ConvertIRIToHashRequestAmino { - /** iri is the IRI to convert to a ContentHash. */ - iri: string; -} -export interface ConvertIRIToHashRequestAminoMsg { - type: "/regen.data.v1.ConvertIRIToHashRequest"; - value: ConvertIRIToHashRequestAmino; -} -/** ConvertIRIToHashRequest is the Query/ConvertIRIToHash request type. */ -export interface ConvertIRIToHashRequestSDKType { - iri: string; -} -/** ConvertIRIToHashResponse is the Query/ConvertIRIToHash response type. */ -export interface ConvertIRIToHashResponse { - /** content_hash is the ContentHash converted from the IRI. */ - contentHash: ContentHash; -} -export interface ConvertIRIToHashResponseProtoMsg { - typeUrl: "/regen.data.v1.ConvertIRIToHashResponse"; - value: Uint8Array; -} -/** ConvertIRIToHashResponse is the Query/ConvertIRIToHash response type. */ -export interface ConvertIRIToHashResponseAmino { - /** content_hash is the ContentHash converted from the IRI. */ - content_hash?: ContentHashAmino; -} -export interface ConvertIRIToHashResponseAminoMsg { - type: "/regen.data.v1.ConvertIRIToHashResponse"; - value: ConvertIRIToHashResponseAmino; -} -/** ConvertIRIToHashResponse is the Query/ConvertIRIToHash response type. */ -export interface ConvertIRIToHashResponseSDKType { - content_hash: ContentHashSDKType; -} -/** ConvertHashToIRIRequest is the Query/ConvertHashToIRI request type. */ -export interface ConvertHashToIRIRequest { - /** content_hash is the ContentHash to convert to an IRI. */ - contentHash: ContentHash; -} -export interface ConvertHashToIRIRequestProtoMsg { - typeUrl: "/regen.data.v1.ConvertHashToIRIRequest"; - value: Uint8Array; -} -/** ConvertHashToIRIRequest is the Query/ConvertHashToIRI request type. */ -export interface ConvertHashToIRIRequestAmino { - /** content_hash is the ContentHash to convert to an IRI. */ - content_hash?: ContentHashAmino; -} -export interface ConvertHashToIRIRequestAminoMsg { - type: "/regen.data.v1.ConvertHashToIRIRequest"; - value: ConvertHashToIRIRequestAmino; -} -/** ConvertHashToIRIRequest is the Query/ConvertHashToIRI request type. */ -export interface ConvertHashToIRIRequestSDKType { - content_hash: ContentHashSDKType; -} -/** ConvertHashToIRIResponse is the Query/ConvertHashToIRI response type. */ -export interface ConvertHashToIRIResponse { - /** iri is the IRI converted from the ContentHash. */ - iri: string; -} -export interface ConvertHashToIRIResponseProtoMsg { - typeUrl: "/regen.data.v1.ConvertHashToIRIResponse"; - value: Uint8Array; -} -/** ConvertHashToIRIResponse is the Query/ConvertHashToIRI response type. */ -export interface ConvertHashToIRIResponseAmino { - /** iri is the IRI converted from the ContentHash. */ - iri: string; -} -export interface ConvertHashToIRIResponseAminoMsg { - type: "/regen.data.v1.ConvertHashToIRIResponse"; - value: ConvertHashToIRIResponseAmino; -} -/** ConvertHashToIRIResponse is the Query/ConvertHashToIRI response type. */ -export interface ConvertHashToIRIResponseSDKType { - iri: string; -} -/** AnchorInfo is the information for a data anchor. */ -export interface AnchorInfo { - /** iri is the IRI of the anchored data. */ - iri: string; - /** content_hash is the ContentHash of the anchored data. */ - contentHash: ContentHash; - /** timestamp is the time at which the data was anchored. */ - timestamp: Timestamp; -} -export interface AnchorInfoProtoMsg { - typeUrl: "/regen.data.v1.AnchorInfo"; - value: Uint8Array; -} -/** AnchorInfo is the information for a data anchor. */ -export interface AnchorInfoAmino { - /** iri is the IRI of the anchored data. */ - iri: string; - /** content_hash is the ContentHash of the anchored data. */ - content_hash?: ContentHashAmino; - /** timestamp is the time at which the data was anchored. */ - timestamp?: TimestampAmino; -} -export interface AnchorInfoAminoMsg { - type: "/regen.data.v1.AnchorInfo"; - value: AnchorInfoAmino; -} -/** AnchorInfo is the information for a data anchor. */ -export interface AnchorInfoSDKType { - iri: string; - content_hash: ContentHashSDKType; - timestamp: TimestampSDKType; -} -/** AttestationInfo is the information for an attestation. */ -export interface AttestationInfo { - /** iri is the IRI of the anchored data. */ - iri: string; - /** attestor is the address of the account that attested to the anchored data. */ - attestor: string; - /** timestamp is the time at which the data was attested to. */ - timestamp: Timestamp; -} -export interface AttestationInfoProtoMsg { - typeUrl: "/regen.data.v1.AttestationInfo"; - value: Uint8Array; -} -/** AttestationInfo is the information for an attestation. */ -export interface AttestationInfoAmino { - /** iri is the IRI of the anchored data. */ - iri: string; - /** attestor is the address of the account that attested to the anchored data. */ - attestor: string; - /** timestamp is the time at which the data was attested to. */ - timestamp?: TimestampAmino; -} -export interface AttestationInfoAminoMsg { - type: "/regen.data.v1.AttestationInfo"; - value: AttestationInfoAmino; -} -/** AttestationInfo is the information for an attestation. */ -export interface AttestationInfoSDKType { - iri: string; - attestor: string; - timestamp: TimestampSDKType; -} -/** ResolverInfo is the information for a resolver. */ -export interface ResolverInfo { - /** id is the ID of the resolver. */ - id: Long; - /** url is the URL of the resolver. */ - url: string; - /** manager is the address of the account that manages the resolver. */ - manager: string; -} -export interface ResolverInfoProtoMsg { - typeUrl: "/regen.data.v1.ResolverInfo"; - value: Uint8Array; -} -/** ResolverInfo is the information for a resolver. */ -export interface ResolverInfoAmino { - /** id is the ID of the resolver. */ - id: string; - /** url is the URL of the resolver. */ - url: string; - /** manager is the address of the account that manages the resolver. */ - manager: string; -} -export interface ResolverInfoAminoMsg { - type: "/regen.data.v1.ResolverInfo"; - value: ResolverInfoAmino; -} -/** ResolverInfo is the information for a resolver. */ -export interface ResolverInfoSDKType { - id: Long; - url: string; - manager: string; -} -export declare const QueryAnchorByIRIRequest: { - encode(message: QueryAnchorByIRIRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnchorByIRIRequest; - fromJSON(object: any): QueryAnchorByIRIRequest; - toJSON(message: QueryAnchorByIRIRequest): unknown; - fromPartial(object: Partial): QueryAnchorByIRIRequest; - fromAmino(object: QueryAnchorByIRIRequestAmino): QueryAnchorByIRIRequest; - toAmino(message: QueryAnchorByIRIRequest): QueryAnchorByIRIRequestAmino; - fromAminoMsg(object: QueryAnchorByIRIRequestAminoMsg): QueryAnchorByIRIRequest; - fromProtoMsg(message: QueryAnchorByIRIRequestProtoMsg): QueryAnchorByIRIRequest; - toProto(message: QueryAnchorByIRIRequest): Uint8Array; - toProtoMsg(message: QueryAnchorByIRIRequest): QueryAnchorByIRIRequestProtoMsg; -}; -export declare const QueryAnchorByIRIResponse: { - encode(message: QueryAnchorByIRIResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnchorByIRIResponse; - fromJSON(object: any): QueryAnchorByIRIResponse; - toJSON(message: QueryAnchorByIRIResponse): unknown; - fromPartial(object: Partial): QueryAnchorByIRIResponse; - fromAmino(object: QueryAnchorByIRIResponseAmino): QueryAnchorByIRIResponse; - toAmino(message: QueryAnchorByIRIResponse): QueryAnchorByIRIResponseAmino; - fromAminoMsg(object: QueryAnchorByIRIResponseAminoMsg): QueryAnchorByIRIResponse; - fromProtoMsg(message: QueryAnchorByIRIResponseProtoMsg): QueryAnchorByIRIResponse; - toProto(message: QueryAnchorByIRIResponse): Uint8Array; - toProtoMsg(message: QueryAnchorByIRIResponse): QueryAnchorByIRIResponseProtoMsg; -}; -export declare const QueryAnchorByHashRequest: { - encode(message: QueryAnchorByHashRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnchorByHashRequest; - fromJSON(object: any): QueryAnchorByHashRequest; - toJSON(message: QueryAnchorByHashRequest): unknown; - fromPartial(object: Partial): QueryAnchorByHashRequest; - fromAmino(object: QueryAnchorByHashRequestAmino): QueryAnchorByHashRequest; - toAmino(message: QueryAnchorByHashRequest): QueryAnchorByHashRequestAmino; - fromAminoMsg(object: QueryAnchorByHashRequestAminoMsg): QueryAnchorByHashRequest; - fromProtoMsg(message: QueryAnchorByHashRequestProtoMsg): QueryAnchorByHashRequest; - toProto(message: QueryAnchorByHashRequest): Uint8Array; - toProtoMsg(message: QueryAnchorByHashRequest): QueryAnchorByHashRequestProtoMsg; -}; -export declare const QueryAnchorByHashResponse: { - encode(message: QueryAnchorByHashResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnchorByHashResponse; - fromJSON(object: any): QueryAnchorByHashResponse; - toJSON(message: QueryAnchorByHashResponse): unknown; - fromPartial(object: Partial): QueryAnchorByHashResponse; - fromAmino(object: QueryAnchorByHashResponseAmino): QueryAnchorByHashResponse; - toAmino(message: QueryAnchorByHashResponse): QueryAnchorByHashResponseAmino; - fromAminoMsg(object: QueryAnchorByHashResponseAminoMsg): QueryAnchorByHashResponse; - fromProtoMsg(message: QueryAnchorByHashResponseProtoMsg): QueryAnchorByHashResponse; - toProto(message: QueryAnchorByHashResponse): Uint8Array; - toProtoMsg(message: QueryAnchorByHashResponse): QueryAnchorByHashResponseProtoMsg; -}; -export declare const QueryAttestationsByAttestorRequest: { - encode(message: QueryAttestationsByAttestorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAttestationsByAttestorRequest; - fromJSON(object: any): QueryAttestationsByAttestorRequest; - toJSON(message: QueryAttestationsByAttestorRequest): unknown; - fromPartial(object: Partial): QueryAttestationsByAttestorRequest; - fromAmino(object: QueryAttestationsByAttestorRequestAmino): QueryAttestationsByAttestorRequest; - toAmino(message: QueryAttestationsByAttestorRequest): QueryAttestationsByAttestorRequestAmino; - fromAminoMsg(object: QueryAttestationsByAttestorRequestAminoMsg): QueryAttestationsByAttestorRequest; - fromProtoMsg(message: QueryAttestationsByAttestorRequestProtoMsg): QueryAttestationsByAttestorRequest; - toProto(message: QueryAttestationsByAttestorRequest): Uint8Array; - toProtoMsg(message: QueryAttestationsByAttestorRequest): QueryAttestationsByAttestorRequestProtoMsg; -}; -export declare const QueryAttestationsByAttestorResponse: { - encode(message: QueryAttestationsByAttestorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAttestationsByAttestorResponse; - fromJSON(object: any): QueryAttestationsByAttestorResponse; - toJSON(message: QueryAttestationsByAttestorResponse): unknown; - fromPartial(object: Partial): QueryAttestationsByAttestorResponse; - fromAmino(object: QueryAttestationsByAttestorResponseAmino): QueryAttestationsByAttestorResponse; - toAmino(message: QueryAttestationsByAttestorResponse): QueryAttestationsByAttestorResponseAmino; - fromAminoMsg(object: QueryAttestationsByAttestorResponseAminoMsg): QueryAttestationsByAttestorResponse; - fromProtoMsg(message: QueryAttestationsByAttestorResponseProtoMsg): QueryAttestationsByAttestorResponse; - toProto(message: QueryAttestationsByAttestorResponse): Uint8Array; - toProtoMsg(message: QueryAttestationsByAttestorResponse): QueryAttestationsByAttestorResponseProtoMsg; -}; -export declare const QueryAttestationsByIRIRequest: { - encode(message: QueryAttestationsByIRIRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAttestationsByIRIRequest; - fromJSON(object: any): QueryAttestationsByIRIRequest; - toJSON(message: QueryAttestationsByIRIRequest): unknown; - fromPartial(object: Partial): QueryAttestationsByIRIRequest; - fromAmino(object: QueryAttestationsByIRIRequestAmino): QueryAttestationsByIRIRequest; - toAmino(message: QueryAttestationsByIRIRequest): QueryAttestationsByIRIRequestAmino; - fromAminoMsg(object: QueryAttestationsByIRIRequestAminoMsg): QueryAttestationsByIRIRequest; - fromProtoMsg(message: QueryAttestationsByIRIRequestProtoMsg): QueryAttestationsByIRIRequest; - toProto(message: QueryAttestationsByIRIRequest): Uint8Array; - toProtoMsg(message: QueryAttestationsByIRIRequest): QueryAttestationsByIRIRequestProtoMsg; -}; -export declare const QueryAttestationsByIRIResponse: { - encode(message: QueryAttestationsByIRIResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAttestationsByIRIResponse; - fromJSON(object: any): QueryAttestationsByIRIResponse; - toJSON(message: QueryAttestationsByIRIResponse): unknown; - fromPartial(object: Partial): QueryAttestationsByIRIResponse; - fromAmino(object: QueryAttestationsByIRIResponseAmino): QueryAttestationsByIRIResponse; - toAmino(message: QueryAttestationsByIRIResponse): QueryAttestationsByIRIResponseAmino; - fromAminoMsg(object: QueryAttestationsByIRIResponseAminoMsg): QueryAttestationsByIRIResponse; - fromProtoMsg(message: QueryAttestationsByIRIResponseProtoMsg): QueryAttestationsByIRIResponse; - toProto(message: QueryAttestationsByIRIResponse): Uint8Array; - toProtoMsg(message: QueryAttestationsByIRIResponse): QueryAttestationsByIRIResponseProtoMsg; -}; -export declare const QueryAttestationsByHashRequest: { - encode(message: QueryAttestationsByHashRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAttestationsByHashRequest; - fromJSON(object: any): QueryAttestationsByHashRequest; - toJSON(message: QueryAttestationsByHashRequest): unknown; - fromPartial(object: Partial): QueryAttestationsByHashRequest; - fromAmino(object: QueryAttestationsByHashRequestAmino): QueryAttestationsByHashRequest; - toAmino(message: QueryAttestationsByHashRequest): QueryAttestationsByHashRequestAmino; - fromAminoMsg(object: QueryAttestationsByHashRequestAminoMsg): QueryAttestationsByHashRequest; - fromProtoMsg(message: QueryAttestationsByHashRequestProtoMsg): QueryAttestationsByHashRequest; - toProto(message: QueryAttestationsByHashRequest): Uint8Array; - toProtoMsg(message: QueryAttestationsByHashRequest): QueryAttestationsByHashRequestProtoMsg; -}; -export declare const QueryAttestationsByHashResponse: { - encode(message: QueryAttestationsByHashResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAttestationsByHashResponse; - fromJSON(object: any): QueryAttestationsByHashResponse; - toJSON(message: QueryAttestationsByHashResponse): unknown; - fromPartial(object: Partial): QueryAttestationsByHashResponse; - fromAmino(object: QueryAttestationsByHashResponseAmino): QueryAttestationsByHashResponse; - toAmino(message: QueryAttestationsByHashResponse): QueryAttestationsByHashResponseAmino; - fromAminoMsg(object: QueryAttestationsByHashResponseAminoMsg): QueryAttestationsByHashResponse; - fromProtoMsg(message: QueryAttestationsByHashResponseProtoMsg): QueryAttestationsByHashResponse; - toProto(message: QueryAttestationsByHashResponse): Uint8Array; - toProtoMsg(message: QueryAttestationsByHashResponse): QueryAttestationsByHashResponseProtoMsg; -}; -export declare const QueryResolverRequest: { - encode(message: QueryResolverRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolverRequest; - fromJSON(object: any): QueryResolverRequest; - toJSON(message: QueryResolverRequest): unknown; - fromPartial(object: Partial): QueryResolverRequest; - fromAmino(object: QueryResolverRequestAmino): QueryResolverRequest; - toAmino(message: QueryResolverRequest): QueryResolverRequestAmino; - fromAminoMsg(object: QueryResolverRequestAminoMsg): QueryResolverRequest; - fromProtoMsg(message: QueryResolverRequestProtoMsg): QueryResolverRequest; - toProto(message: QueryResolverRequest): Uint8Array; - toProtoMsg(message: QueryResolverRequest): QueryResolverRequestProtoMsg; -}; -export declare const QueryResolverResponse: { - encode(message: QueryResolverResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolverResponse; - fromJSON(object: any): QueryResolverResponse; - toJSON(message: QueryResolverResponse): unknown; - fromPartial(object: Partial): QueryResolverResponse; - fromAmino(object: QueryResolverResponseAmino): QueryResolverResponse; - toAmino(message: QueryResolverResponse): QueryResolverResponseAmino; - fromAminoMsg(object: QueryResolverResponseAminoMsg): QueryResolverResponse; - fromProtoMsg(message: QueryResolverResponseProtoMsg): QueryResolverResponse; - toProto(message: QueryResolverResponse): Uint8Array; - toProtoMsg(message: QueryResolverResponse): QueryResolverResponseProtoMsg; -}; -export declare const QueryResolversByIRIRequest: { - encode(message: QueryResolversByIRIRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolversByIRIRequest; - fromJSON(object: any): QueryResolversByIRIRequest; - toJSON(message: QueryResolversByIRIRequest): unknown; - fromPartial(object: Partial): QueryResolversByIRIRequest; - fromAmino(object: QueryResolversByIRIRequestAmino): QueryResolversByIRIRequest; - toAmino(message: QueryResolversByIRIRequest): QueryResolversByIRIRequestAmino; - fromAminoMsg(object: QueryResolversByIRIRequestAminoMsg): QueryResolversByIRIRequest; - fromProtoMsg(message: QueryResolversByIRIRequestProtoMsg): QueryResolversByIRIRequest; - toProto(message: QueryResolversByIRIRequest): Uint8Array; - toProtoMsg(message: QueryResolversByIRIRequest): QueryResolversByIRIRequestProtoMsg; -}; -export declare const QueryResolversByIRIResponse: { - encode(message: QueryResolversByIRIResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolversByIRIResponse; - fromJSON(object: any): QueryResolversByIRIResponse; - toJSON(message: QueryResolversByIRIResponse): unknown; - fromPartial(object: Partial): QueryResolversByIRIResponse; - fromAmino(object: QueryResolversByIRIResponseAmino): QueryResolversByIRIResponse; - toAmino(message: QueryResolversByIRIResponse): QueryResolversByIRIResponseAmino; - fromAminoMsg(object: QueryResolversByIRIResponseAminoMsg): QueryResolversByIRIResponse; - fromProtoMsg(message: QueryResolversByIRIResponseProtoMsg): QueryResolversByIRIResponse; - toProto(message: QueryResolversByIRIResponse): Uint8Array; - toProtoMsg(message: QueryResolversByIRIResponse): QueryResolversByIRIResponseProtoMsg; -}; -export declare const QueryResolversByHashRequest: { - encode(message: QueryResolversByHashRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolversByHashRequest; - fromJSON(object: any): QueryResolversByHashRequest; - toJSON(message: QueryResolversByHashRequest): unknown; - fromPartial(object: Partial): QueryResolversByHashRequest; - fromAmino(object: QueryResolversByHashRequestAmino): QueryResolversByHashRequest; - toAmino(message: QueryResolversByHashRequest): QueryResolversByHashRequestAmino; - fromAminoMsg(object: QueryResolversByHashRequestAminoMsg): QueryResolversByHashRequest; - fromProtoMsg(message: QueryResolversByHashRequestProtoMsg): QueryResolversByHashRequest; - toProto(message: QueryResolversByHashRequest): Uint8Array; - toProtoMsg(message: QueryResolversByHashRequest): QueryResolversByHashRequestProtoMsg; -}; -export declare const QueryResolversByHashResponse: { - encode(message: QueryResolversByHashResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolversByHashResponse; - fromJSON(object: any): QueryResolversByHashResponse; - toJSON(message: QueryResolversByHashResponse): unknown; - fromPartial(object: Partial): QueryResolversByHashResponse; - fromAmino(object: QueryResolversByHashResponseAmino): QueryResolversByHashResponse; - toAmino(message: QueryResolversByHashResponse): QueryResolversByHashResponseAmino; - fromAminoMsg(object: QueryResolversByHashResponseAminoMsg): QueryResolversByHashResponse; - fromProtoMsg(message: QueryResolversByHashResponseProtoMsg): QueryResolversByHashResponse; - toProto(message: QueryResolversByHashResponse): Uint8Array; - toProtoMsg(message: QueryResolversByHashResponse): QueryResolversByHashResponseProtoMsg; -}; -export declare const QueryResolversByURLRequest: { - encode(message: QueryResolversByURLRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolversByURLRequest; - fromJSON(object: any): QueryResolversByURLRequest; - toJSON(message: QueryResolversByURLRequest): unknown; - fromPartial(object: Partial): QueryResolversByURLRequest; - fromAmino(object: QueryResolversByURLRequestAmino): QueryResolversByURLRequest; - toAmino(message: QueryResolversByURLRequest): QueryResolversByURLRequestAmino; - fromAminoMsg(object: QueryResolversByURLRequestAminoMsg): QueryResolversByURLRequest; - fromProtoMsg(message: QueryResolversByURLRequestProtoMsg): QueryResolversByURLRequest; - toProto(message: QueryResolversByURLRequest): Uint8Array; - toProtoMsg(message: QueryResolversByURLRequest): QueryResolversByURLRequestProtoMsg; -}; -export declare const QueryResolversByURLResponse: { - encode(message: QueryResolversByURLResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryResolversByURLResponse; - fromJSON(object: any): QueryResolversByURLResponse; - toJSON(message: QueryResolversByURLResponse): unknown; - fromPartial(object: Partial): QueryResolversByURLResponse; - fromAmino(object: QueryResolversByURLResponseAmino): QueryResolversByURLResponse; - toAmino(message: QueryResolversByURLResponse): QueryResolversByURLResponseAmino; - fromAminoMsg(object: QueryResolversByURLResponseAminoMsg): QueryResolversByURLResponse; - fromProtoMsg(message: QueryResolversByURLResponseProtoMsg): QueryResolversByURLResponse; - toProto(message: QueryResolversByURLResponse): Uint8Array; - toProtoMsg(message: QueryResolversByURLResponse): QueryResolversByURLResponseProtoMsg; -}; -export declare const ConvertIRIToHashRequest: { - encode(message: ConvertIRIToHashRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConvertIRIToHashRequest; - fromJSON(object: any): ConvertIRIToHashRequest; - toJSON(message: ConvertIRIToHashRequest): unknown; - fromPartial(object: Partial): ConvertIRIToHashRequest; - fromAmino(object: ConvertIRIToHashRequestAmino): ConvertIRIToHashRequest; - toAmino(message: ConvertIRIToHashRequest): ConvertIRIToHashRequestAmino; - fromAminoMsg(object: ConvertIRIToHashRequestAminoMsg): ConvertIRIToHashRequest; - fromProtoMsg(message: ConvertIRIToHashRequestProtoMsg): ConvertIRIToHashRequest; - toProto(message: ConvertIRIToHashRequest): Uint8Array; - toProtoMsg(message: ConvertIRIToHashRequest): ConvertIRIToHashRequestProtoMsg; -}; -export declare const ConvertIRIToHashResponse: { - encode(message: ConvertIRIToHashResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConvertIRIToHashResponse; - fromJSON(object: any): ConvertIRIToHashResponse; - toJSON(message: ConvertIRIToHashResponse): unknown; - fromPartial(object: Partial): ConvertIRIToHashResponse; - fromAmino(object: ConvertIRIToHashResponseAmino): ConvertIRIToHashResponse; - toAmino(message: ConvertIRIToHashResponse): ConvertIRIToHashResponseAmino; - fromAminoMsg(object: ConvertIRIToHashResponseAminoMsg): ConvertIRIToHashResponse; - fromProtoMsg(message: ConvertIRIToHashResponseProtoMsg): ConvertIRIToHashResponse; - toProto(message: ConvertIRIToHashResponse): Uint8Array; - toProtoMsg(message: ConvertIRIToHashResponse): ConvertIRIToHashResponseProtoMsg; -}; -export declare const ConvertHashToIRIRequest: { - encode(message: ConvertHashToIRIRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConvertHashToIRIRequest; - fromJSON(object: any): ConvertHashToIRIRequest; - toJSON(message: ConvertHashToIRIRequest): unknown; - fromPartial(object: Partial): ConvertHashToIRIRequest; - fromAmino(object: ConvertHashToIRIRequestAmino): ConvertHashToIRIRequest; - toAmino(message: ConvertHashToIRIRequest): ConvertHashToIRIRequestAmino; - fromAminoMsg(object: ConvertHashToIRIRequestAminoMsg): ConvertHashToIRIRequest; - fromProtoMsg(message: ConvertHashToIRIRequestProtoMsg): ConvertHashToIRIRequest; - toProto(message: ConvertHashToIRIRequest): Uint8Array; - toProtoMsg(message: ConvertHashToIRIRequest): ConvertHashToIRIRequestProtoMsg; -}; -export declare const ConvertHashToIRIResponse: { - encode(message: ConvertHashToIRIResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConvertHashToIRIResponse; - fromJSON(object: any): ConvertHashToIRIResponse; - toJSON(message: ConvertHashToIRIResponse): unknown; - fromPartial(object: Partial): ConvertHashToIRIResponse; - fromAmino(object: ConvertHashToIRIResponseAmino): ConvertHashToIRIResponse; - toAmino(message: ConvertHashToIRIResponse): ConvertHashToIRIResponseAmino; - fromAminoMsg(object: ConvertHashToIRIResponseAminoMsg): ConvertHashToIRIResponse; - fromProtoMsg(message: ConvertHashToIRIResponseProtoMsg): ConvertHashToIRIResponse; - toProto(message: ConvertHashToIRIResponse): Uint8Array; - toProtoMsg(message: ConvertHashToIRIResponse): ConvertHashToIRIResponseProtoMsg; -}; -export declare const AnchorInfo: { - encode(message: AnchorInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AnchorInfo; - fromJSON(object: any): AnchorInfo; - toJSON(message: AnchorInfo): unknown; - fromPartial(object: Partial): AnchorInfo; - fromAmino(object: AnchorInfoAmino): AnchorInfo; - toAmino(message: AnchorInfo): AnchorInfoAmino; - fromAminoMsg(object: AnchorInfoAminoMsg): AnchorInfo; - fromProtoMsg(message: AnchorInfoProtoMsg): AnchorInfo; - toProto(message: AnchorInfo): Uint8Array; - toProtoMsg(message: AnchorInfo): AnchorInfoProtoMsg; -}; -export declare const AttestationInfo: { - encode(message: AttestationInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AttestationInfo; - fromJSON(object: any): AttestationInfo; - toJSON(message: AttestationInfo): unknown; - fromPartial(object: Partial): AttestationInfo; - fromAmino(object: AttestationInfoAmino): AttestationInfo; - toAmino(message: AttestationInfo): AttestationInfoAmino; - fromAminoMsg(object: AttestationInfoAminoMsg): AttestationInfo; - fromProtoMsg(message: AttestationInfoProtoMsg): AttestationInfo; - toProto(message: AttestationInfo): Uint8Array; - toProtoMsg(message: AttestationInfo): AttestationInfoProtoMsg; -}; -export declare const ResolverInfo: { - encode(message: ResolverInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResolverInfo; - fromJSON(object: any): ResolverInfo; - toJSON(message: ResolverInfo): unknown; - fromPartial(object: Partial): ResolverInfo; - fromAmino(object: ResolverInfoAmino): ResolverInfo; - toAmino(message: ResolverInfo): ResolverInfoAmino; - fromAminoMsg(object: ResolverInfoAminoMsg): ResolverInfo; - fromProtoMsg(message: ResolverInfoProtoMsg): ResolverInfo; - toProto(message: ResolverInfo): Uint8Array; - toProtoMsg(message: ResolverInfo): ResolverInfoProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/data/v1/query.lcd.d.ts b/packages/api/types/codegen/regen/data/v1/query.lcd.d.ts deleted file mode 100644 index 9740017c..00000000 --- a/packages/api/types/codegen/regen/data/v1/query.lcd.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryAnchorByIRIRequest, QueryAnchorByIRIResponseSDKType, QueryAttestationsByAttestorRequest, QueryAttestationsByAttestorResponseSDKType, QueryAttestationsByIRIRequest, QueryAttestationsByIRIResponseSDKType, QueryResolverRequest, QueryResolverResponseSDKType, QueryResolversByIRIRequest, QueryResolversByIRIResponseSDKType, ConvertIRIToHashRequest, ConvertIRIToHashResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - anchorByIRI(params: QueryAnchorByIRIRequest): Promise; - attestationsByAttestor(params: QueryAttestationsByAttestorRequest): Promise; - attestationsByIRI(params: QueryAttestationsByIRIRequest): Promise; - resolver(params: QueryResolverRequest): Promise; - resolversByIRI(params: QueryResolversByIRIRequest): Promise; - convertIRIToHash(params: ConvertIRIToHashRequest): Promise; -} diff --git a/packages/api/types/codegen/regen/data/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/regen/data/v1/query.rpc.Query.d.ts deleted file mode 100644 index 62fa3704..00000000 --- a/packages/api/types/codegen/regen/data/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryAnchorByIRIRequest, QueryAnchorByIRIResponse, QueryAnchorByHashRequest, QueryAnchorByHashResponse, QueryAttestationsByAttestorRequest, QueryAttestationsByAttestorResponse, QueryAttestationsByIRIRequest, QueryAttestationsByIRIResponse, QueryAttestationsByHashRequest, QueryAttestationsByHashResponse, QueryResolverRequest, QueryResolverResponse, QueryResolversByIRIRequest, QueryResolversByIRIResponse, QueryResolversByHashRequest, QueryResolversByHashResponse, QueryResolversByURLRequest, QueryResolversByURLResponse, ConvertIRIToHashRequest, ConvertIRIToHashResponse, ConvertHashToIRIRequest, ConvertHashToIRIResponse } from "./query"; -/** Query is the regen.data.v1 Query service */ -export interface Query { - /** AnchorByIRI queries a data anchor by the IRI of the data. */ - anchorByIRI(request: QueryAnchorByIRIRequest): Promise; - /** AnchorByHash queries a data anchor by the ContentHash of the data. */ - anchorByHash(request: QueryAnchorByHashRequest): Promise; - /** AttestationsByAttestor queries data attestations by an attestor. */ - attestationsByAttestor(request: QueryAttestationsByAttestorRequest): Promise; - /** AttestationsByIRI queries data attestations by the IRI of the data. */ - attestationsByIRI(request: QueryAttestationsByIRIRequest): Promise; - /** - * AttestationsByHash queries data attestations by the ContentHash of the - * data. - */ - attestationsByHash(request: QueryAttestationsByHashRequest): Promise; - /** Resolver queries a resolver by its unique identifier. */ - resolver(request: QueryResolverRequest): Promise; - /** - * ResolversByIRI queries resolvers with registered data by the IRI of the - * data. - */ - resolversByIRI(request: QueryResolversByIRIRequest): Promise; - /** - * ResolversByHash queries resolvers with registered data by the ContentHash - * of the data. - */ - resolversByHash(request: QueryResolversByHashRequest): Promise; - /** ResolversByURL queries resolvers by URL. */ - resolversByURL(request: QueryResolversByURLRequest): Promise; - /** ConvertIRIToHash converts an IRI to a ContentHash. */ - convertIRIToHash(request: ConvertIRIToHashRequest): Promise; - /** ConvertHashToIRI converts a ContentHash to an IRI. */ - convertHashToIRI(request: ConvertHashToIRIRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - anchorByIRI(request: QueryAnchorByIRIRequest): Promise; - anchorByHash(request: QueryAnchorByHashRequest): Promise; - attestationsByAttestor(request: QueryAttestationsByAttestorRequest): Promise; - attestationsByIRI(request: QueryAttestationsByIRIRequest): Promise; - attestationsByHash(request: QueryAttestationsByHashRequest): Promise; - resolver(request: QueryResolverRequest): Promise; - resolversByIRI(request: QueryResolversByIRIRequest): Promise; - resolversByHash(request: QueryResolversByHashRequest): Promise; - resolversByURL(request: QueryResolversByURLRequest): Promise; - convertIRIToHash(request: ConvertIRIToHashRequest): Promise; - convertHashToIRI(request: ConvertHashToIRIRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - anchorByIRI(request: QueryAnchorByIRIRequest): Promise; - anchorByHash(request: QueryAnchorByHashRequest): Promise; - attestationsByAttestor(request: QueryAttestationsByAttestorRequest): Promise; - attestationsByIRI(request: QueryAttestationsByIRIRequest): Promise; - attestationsByHash(request: QueryAttestationsByHashRequest): Promise; - resolver(request: QueryResolverRequest): Promise; - resolversByIRI(request: QueryResolversByIRIRequest): Promise; - resolversByHash(request: QueryResolversByHashRequest): Promise; - resolversByURL(request: QueryResolversByURLRequest): Promise; - convertIRIToHash(request: ConvertIRIToHashRequest): Promise; - convertHashToIRI(request: ConvertHashToIRIRequest): Promise; -}; diff --git a/packages/api/types/codegen/regen/data/v1/state.d.ts b/packages/api/types/codegen/regen/data/v1/state.d.ts deleted file mode 100644 index 1337aedb..00000000 --- a/packages/api/types/codegen/regen/data/v1/state.d.ts +++ /dev/null @@ -1,234 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** DataID stores a compact data ID and its full IRI. */ -export interface DataID { - /** id is the compact automatically-generated data ID. */ - id: Uint8Array; - /** iri is the IRI of the data which contains its full ContentHash. */ - iri: string; -} -export interface DataIDProtoMsg { - typeUrl: "/regen.data.v1.DataID"; - value: Uint8Array; -} -/** DataID stores a compact data ID and its full IRI. */ -export interface DataIDAmino { - /** id is the compact automatically-generated data ID. */ - id: Uint8Array; - /** iri is the IRI of the data which contains its full ContentHash. */ - iri: string; -} -export interface DataIDAminoMsg { - type: "/regen.data.v1.DataID"; - value: DataIDAmino; -} -/** DataID stores a compact data ID and its full IRI. */ -export interface DataIDSDKType { - id: Uint8Array; - iri: string; -} -/** DataAnchor stores the anchor timestamp for a data object. */ -export interface DataAnchor { - /** id is the compact data ID. */ - id: Uint8Array; - /** - * timestamp is the anchor timestamp for this object - the time at which - * it was first known to the blockchain. - */ - timestamp: Timestamp; -} -export interface DataAnchorProtoMsg { - typeUrl: "/regen.data.v1.DataAnchor"; - value: Uint8Array; -} -/** DataAnchor stores the anchor timestamp for a data object. */ -export interface DataAnchorAmino { - /** id is the compact data ID. */ - id: Uint8Array; - /** - * timestamp is the anchor timestamp for this object - the time at which - * it was first known to the blockchain. - */ - timestamp?: TimestampAmino; -} -export interface DataAnchorAminoMsg { - type: "/regen.data.v1.DataAnchor"; - value: DataAnchorAmino; -} -/** DataAnchor stores the anchor timestamp for a data object. */ -export interface DataAnchorSDKType { - id: Uint8Array; - timestamp: TimestampSDKType; -} -/** DataAttestor is a join table for associating data IDs and attestors. */ -export interface DataAttestor { - /** id is the compact data ID. */ - id: Uint8Array; - /** attestor is the account address of the attestor. */ - attestor: Uint8Array; - /** timestamp is the time at which the attestor signed this data object. */ - timestamp: Timestamp; -} -export interface DataAttestorProtoMsg { - typeUrl: "/regen.data.v1.DataAttestor"; - value: Uint8Array; -} -/** DataAttestor is a join table for associating data IDs and attestors. */ -export interface DataAttestorAmino { - /** id is the compact data ID. */ - id: Uint8Array; - /** attestor is the account address of the attestor. */ - attestor: Uint8Array; - /** timestamp is the time at which the attestor signed this data object. */ - timestamp?: TimestampAmino; -} -export interface DataAttestorAminoMsg { - type: "/regen.data.v1.DataAttestor"; - value: DataAttestorAmino; -} -/** DataAttestor is a join table for associating data IDs and attestors. */ -export interface DataAttestorSDKType { - id: Uint8Array; - attestor: Uint8Array; - timestamp: TimestampSDKType; -} -/** Resolver describes a data resolver. */ -export interface Resolver { - /** id is the ID of the resolver. */ - id: Long; - /** url is the URL of the resolver. */ - url: string; - /** - * manager is the bytes address of the resolver manager who is allowed - * to make calls to Msg/RegisterResolver for this resolver. - */ - manager: Uint8Array; -} -export interface ResolverProtoMsg { - typeUrl: "/regen.data.v1.Resolver"; - value: Uint8Array; -} -/** Resolver describes a data resolver. */ -export interface ResolverAmino { - /** id is the ID of the resolver. */ - id: string; - /** url is the URL of the resolver. */ - url: string; - /** - * manager is the bytes address of the resolver manager who is allowed - * to make calls to Msg/RegisterResolver for this resolver. - */ - manager: Uint8Array; -} -export interface ResolverAminoMsg { - type: "/regen.data.v1.Resolver"; - value: ResolverAmino; -} -/** Resolver describes a data resolver. */ -export interface ResolverSDKType { - id: Long; - url: string; - manager: Uint8Array; -} -/** - * DataResolver is a join table between data objects and resolvers and indicates - * that a resolver claims to be able to resolve this data object. - */ -export interface DataResolver { - /** id is the compact data ID. */ - id: Uint8Array; - /** resolver_id is the ID of the resolver. */ - resolverId: Long; -} -export interface DataResolverProtoMsg { - typeUrl: "/regen.data.v1.DataResolver"; - value: Uint8Array; -} -/** - * DataResolver is a join table between data objects and resolvers and indicates - * that a resolver claims to be able to resolve this data object. - */ -export interface DataResolverAmino { - /** id is the compact data ID. */ - id: Uint8Array; - /** resolver_id is the ID of the resolver. */ - resolver_id: string; -} -export interface DataResolverAminoMsg { - type: "/regen.data.v1.DataResolver"; - value: DataResolverAmino; -} -/** - * DataResolver is a join table between data objects and resolvers and indicates - * that a resolver claims to be able to resolve this data object. - */ -export interface DataResolverSDKType { - id: Uint8Array; - resolver_id: Long; -} -export declare const DataID: { - encode(message: DataID, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DataID; - fromJSON(object: any): DataID; - toJSON(message: DataID): unknown; - fromPartial(object: Partial): DataID; - fromAmino(object: DataIDAmino): DataID; - toAmino(message: DataID): DataIDAmino; - fromAminoMsg(object: DataIDAminoMsg): DataID; - fromProtoMsg(message: DataIDProtoMsg): DataID; - toProto(message: DataID): Uint8Array; - toProtoMsg(message: DataID): DataIDProtoMsg; -}; -export declare const DataAnchor: { - encode(message: DataAnchor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DataAnchor; - fromJSON(object: any): DataAnchor; - toJSON(message: DataAnchor): unknown; - fromPartial(object: Partial): DataAnchor; - fromAmino(object: DataAnchorAmino): DataAnchor; - toAmino(message: DataAnchor): DataAnchorAmino; - fromAminoMsg(object: DataAnchorAminoMsg): DataAnchor; - fromProtoMsg(message: DataAnchorProtoMsg): DataAnchor; - toProto(message: DataAnchor): Uint8Array; - toProtoMsg(message: DataAnchor): DataAnchorProtoMsg; -}; -export declare const DataAttestor: { - encode(message: DataAttestor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DataAttestor; - fromJSON(object: any): DataAttestor; - toJSON(message: DataAttestor): unknown; - fromPartial(object: Partial): DataAttestor; - fromAmino(object: DataAttestorAmino): DataAttestor; - toAmino(message: DataAttestor): DataAttestorAmino; - fromAminoMsg(object: DataAttestorAminoMsg): DataAttestor; - fromProtoMsg(message: DataAttestorProtoMsg): DataAttestor; - toProto(message: DataAttestor): Uint8Array; - toProtoMsg(message: DataAttestor): DataAttestorProtoMsg; -}; -export declare const Resolver: { - encode(message: Resolver, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Resolver; - fromJSON(object: any): Resolver; - toJSON(message: Resolver): unknown; - fromPartial(object: Partial): Resolver; - fromAmino(object: ResolverAmino): Resolver; - toAmino(message: Resolver): ResolverAmino; - fromAminoMsg(object: ResolverAminoMsg): Resolver; - fromProtoMsg(message: ResolverProtoMsg): Resolver; - toProto(message: Resolver): Uint8Array; - toProtoMsg(message: Resolver): ResolverProtoMsg; -}; -export declare const DataResolver: { - encode(message: DataResolver, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DataResolver; - fromJSON(object: any): DataResolver; - toJSON(message: DataResolver): unknown; - fromPartial(object: Partial): DataResolver; - fromAmino(object: DataResolverAmino): DataResolver; - toAmino(message: DataResolver): DataResolverAmino; - fromAminoMsg(object: DataResolverAminoMsg): DataResolver; - fromProtoMsg(message: DataResolverProtoMsg): DataResolver; - toProto(message: DataResolver): Uint8Array; - toProtoMsg(message: DataResolver): DataResolverProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/data/v1/tx.amino.d.ts b/packages/api/types/codegen/regen/data/v1/tx.amino.d.ts deleted file mode 100644 index bc6cf1aa..00000000 --- a/packages/api/types/codegen/regen/data/v1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgAnchor, MsgAttest, MsgDefineResolver, MsgRegisterResolver } from "./tx"; -export declare const AminoConverter: { - "/regen.data.v1.MsgAnchor": { - aminoType: string; - toAmino: (message: MsgAnchor) => import("./tx").MsgAnchorAmino; - fromAmino: (object: import("./tx").MsgAnchorAmino) => MsgAnchor; - }; - "/regen.data.v1.MsgAttest": { - aminoType: string; - toAmino: (message: MsgAttest) => import("./tx").MsgAttestAmino; - fromAmino: (object: import("./tx").MsgAttestAmino) => MsgAttest; - }; - "/regen.data.v1.MsgDefineResolver": { - aminoType: string; - toAmino: (message: MsgDefineResolver) => import("./tx").MsgDefineResolverAmino; - fromAmino: (object: import("./tx").MsgDefineResolverAmino) => MsgDefineResolver; - }; - "/regen.data.v1.MsgRegisterResolver": { - aminoType: string; - toAmino: (message: MsgRegisterResolver) => import("./tx").MsgRegisterResolverAmino; - fromAmino: (object: import("./tx").MsgRegisterResolverAmino) => MsgRegisterResolver; - }; -}; diff --git a/packages/api/types/codegen/regen/data/v1/tx.registry.d.ts b/packages/api/types/codegen/regen/data/v1/tx.registry.d.ts deleted file mode 100644 index 5b682d63..00000000 --- a/packages/api/types/codegen/regen/data/v1/tx.registry.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgAnchor, MsgAttest, MsgDefineResolver, MsgRegisterResolver } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - anchor(value: MsgAnchor): { - typeUrl: string; - value: Uint8Array; - }; - attest(value: MsgAttest): { - typeUrl: string; - value: Uint8Array; - }; - defineResolver(value: MsgDefineResolver): { - typeUrl: string; - value: Uint8Array; - }; - registerResolver(value: MsgRegisterResolver): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - anchor(value: MsgAnchor): { - typeUrl: string; - value: MsgAnchor; - }; - attest(value: MsgAttest): { - typeUrl: string; - value: MsgAttest; - }; - defineResolver(value: MsgDefineResolver): { - typeUrl: string; - value: MsgDefineResolver; - }; - registerResolver(value: MsgRegisterResolver): { - typeUrl: string; - value: MsgRegisterResolver; - }; - }; - toJSON: { - anchor(value: MsgAnchor): { - typeUrl: string; - value: unknown; - }; - attest(value: MsgAttest): { - typeUrl: string; - value: unknown; - }; - defineResolver(value: MsgDefineResolver): { - typeUrl: string; - value: unknown; - }; - registerResolver(value: MsgRegisterResolver): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - anchor(value: any): { - typeUrl: string; - value: MsgAnchor; - }; - attest(value: any): { - typeUrl: string; - value: MsgAttest; - }; - defineResolver(value: any): { - typeUrl: string; - value: MsgDefineResolver; - }; - registerResolver(value: any): { - typeUrl: string; - value: MsgRegisterResolver; - }; - }; - fromPartial: { - anchor(value: MsgAnchor): { - typeUrl: string; - value: MsgAnchor; - }; - attest(value: MsgAttest): { - typeUrl: string; - value: MsgAttest; - }; - defineResolver(value: MsgDefineResolver): { - typeUrl: string; - value: MsgDefineResolver; - }; - registerResolver(value: MsgRegisterResolver): { - typeUrl: string; - value: MsgRegisterResolver; - }; - }; -}; diff --git a/packages/api/types/codegen/regen/data/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/regen/data/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 774839ef..00000000 --- a/packages/api/types/codegen/regen/data/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgAnchor, MsgAnchorResponse, MsgAttest, MsgAttestResponse, MsgDefineResolver, MsgDefineResolverResponse, MsgRegisterResolver, MsgRegisterResolverResponse } from "./tx"; -/** Msg is the regen.data.v1 Msg service */ -export interface Msg { - /** - * Anchor "anchors" a piece of data to the blockchain based on its secure - * hash, effectively providing a tamper resistant timestamp. - * - * The sender in Anchor is not attesting to the veracity of the underlying - * data. They can simply be an intermediary providing timestamp services. - * Attest should be used to create a digital signature attesting to the - * veracity of some piece of data. - */ - anchor(request: MsgAnchor): Promise; - /** - * Attest allows for digital signing of an arbitrary piece of data on the - * blockchain. By attesting to data, the attestor is making a statement about - * the veracity of the data itself. It is like signing a legal document, - * meaning that I agree to all conditions and to the best of my knowledge - * everything is true. When anchoring data, the sender is not attesting to the - * veracity of the data, they are simply communicating that it exists. - * - * On-chain signatures have the following benefits: - * - on-chain identities can be managed using different cryptographic keys - * that change over time through key rotation practices - * - an on-chain identity may represent an organization and through delegation - * individual members may sign on behalf of the group - * - the blockchain transaction envelope provides built-in replay protection - * and timestamping - * - * Attest implicitly calls Anchor if the data was not already anchored. - * - * Attest can be called multiple times for the same content hash with - * different attestors and those attestors will be appended to the list of - * attestors. If the same attestor attempts to attest to the same piece of - * data, the attestor will be ignored and a new attestation with a new - * timestamp will not be added. - */ - attest(request: MsgAttest): Promise; - /** - * DefineResolver defines a resolver URL and assigns it a new integer ID - * that can be used in calls to RegisterResolver. - */ - defineResolver(request: MsgDefineResolver): Promise; - /** RegisterResolver registers data content hashes */ - registerResolver(request: MsgRegisterResolver): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - anchor(request: MsgAnchor): Promise; - attest(request: MsgAttest): Promise; - defineResolver(request: MsgDefineResolver): Promise; - registerResolver(request: MsgRegisterResolver): Promise; -} diff --git a/packages/api/types/codegen/regen/data/v1/types.d.ts b/packages/api/types/codegen/regen/data/v1/types.d.ts deleted file mode 100644 index 64e9ac6a..00000000 --- a/packages/api/types/codegen/regen/data/v1/types.d.ts +++ /dev/null @@ -1,291 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** DigestAlgorithm is the hash digest algorithm */ -export declare enum DigestAlgorithm { - /** DIGEST_ALGORITHM_UNSPECIFIED - unspecified and invalid */ - DIGEST_ALGORITHM_UNSPECIFIED = 0, - /** DIGEST_ALGORITHM_BLAKE2B_256 - BLAKE2b-256 */ - DIGEST_ALGORITHM_BLAKE2B_256 = 1, - UNRECOGNIZED = -1 -} -export declare const DigestAlgorithmSDKType: typeof DigestAlgorithm; -export declare const DigestAlgorithmAmino: typeof DigestAlgorithm; -export declare function digestAlgorithmFromJSON(object: any): DigestAlgorithm; -export declare function digestAlgorithmToJSON(object: DigestAlgorithm): string; -/** RawMediaType defines MIME media types to be used with a ContentHash.Raw hash. */ -export declare enum RawMediaType { - /** RAW_MEDIA_TYPE_UNSPECIFIED - RAW_MEDIA_TYPE_UNSPECIFIED can be used for raw binary data */ - RAW_MEDIA_TYPE_UNSPECIFIED = 0, - /** RAW_MEDIA_TYPE_TEXT_PLAIN - plain text */ - RAW_MEDIA_TYPE_TEXT_PLAIN = 1, - /** RAW_MEDIA_TYPE_JSON - JSON */ - RAW_MEDIA_TYPE_JSON = 2, - /** RAW_MEDIA_TYPE_CSV - CSV */ - RAW_MEDIA_TYPE_CSV = 3, - /** RAW_MEDIA_TYPE_XML - XML */ - RAW_MEDIA_TYPE_XML = 4, - /** RAW_MEDIA_TYPE_PDF - PDF */ - RAW_MEDIA_TYPE_PDF = 5, - /** RAW_MEDIA_TYPE_TIFF - TIIF */ - RAW_MEDIA_TYPE_TIFF = 16, - /** RAW_MEDIA_TYPE_JPG - JPG */ - RAW_MEDIA_TYPE_JPG = 17, - /** RAW_MEDIA_TYPE_PNG - PNG */ - RAW_MEDIA_TYPE_PNG = 18, - /** RAW_MEDIA_TYPE_SVG - SVG */ - RAW_MEDIA_TYPE_SVG = 19, - /** RAW_MEDIA_TYPE_WEBP - WEBP */ - RAW_MEDIA_TYPE_WEBP = 20, - /** RAW_MEDIA_TYPE_AVIF - AVIF */ - RAW_MEDIA_TYPE_AVIF = 21, - /** RAW_MEDIA_TYPE_GIF - GIF */ - RAW_MEDIA_TYPE_GIF = 22, - /** RAW_MEDIA_TYPE_APNG - APNG */ - RAW_MEDIA_TYPE_APNG = 23, - /** RAW_MEDIA_TYPE_MPEG - MPEG */ - RAW_MEDIA_TYPE_MPEG = 32, - /** RAW_MEDIA_TYPE_MP4 - MP4 */ - RAW_MEDIA_TYPE_MP4 = 33, - /** RAW_MEDIA_TYPE_WEBM - WEBM */ - RAW_MEDIA_TYPE_WEBM = 34, - /** RAW_MEDIA_TYPE_OGG - OGG */ - RAW_MEDIA_TYPE_OGG = 35, - UNRECOGNIZED = -1 -} -export declare const RawMediaTypeSDKType: typeof RawMediaType; -export declare const RawMediaTypeAmino: typeof RawMediaType; -export declare function rawMediaTypeFromJSON(object: any): RawMediaType; -export declare function rawMediaTypeToJSON(object: RawMediaType): string; -/** GraphCanonicalizationAlgorithm is the graph canonicalization algorithm */ -export declare enum GraphCanonicalizationAlgorithm { - /** GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED - unspecified and invalid */ - GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED = 0, - /** GRAPH_CANONICALIZATION_ALGORITHM_URDNA2015 - URDNA2015 graph hashing */ - GRAPH_CANONICALIZATION_ALGORITHM_URDNA2015 = 1, - UNRECOGNIZED = -1 -} -export declare const GraphCanonicalizationAlgorithmSDKType: typeof GraphCanonicalizationAlgorithm; -export declare const GraphCanonicalizationAlgorithmAmino: typeof GraphCanonicalizationAlgorithm; -export declare function graphCanonicalizationAlgorithmFromJSON(object: any): GraphCanonicalizationAlgorithm; -export declare function graphCanonicalizationAlgorithmToJSON(object: GraphCanonicalizationAlgorithm): string; -/** GraphMerkleTree is the graph merkle tree type used for hashing, if any */ -export declare enum GraphMerkleTree { - /** GRAPH_MERKLE_TREE_NONE_UNSPECIFIED - unspecified and valid */ - GRAPH_MERKLE_TREE_NONE_UNSPECIFIED = 0, - UNRECOGNIZED = -1 -} -export declare const GraphMerkleTreeSDKType: typeof GraphMerkleTree; -export declare const GraphMerkleTreeAmino: typeof GraphMerkleTree; -export declare function graphMerkleTreeFromJSON(object: any): GraphMerkleTree; -export declare function graphMerkleTreeToJSON(object: GraphMerkleTree): string; -/** ContentHash specifies a hash-based content identifier for a piece of data. */ -export interface ContentHash { - /** - * Raw specifies "raw" data which does not specify a deterministic, canonical - * encoding. Users of these hashes MUST maintain a copy of the hashed data - * which is preserved bit by bit. All other content encodings specify a - * deterministic, canonical encoding allowing implementations to choose from a - * variety of alternative formats for transport and encoding while maintaining - * the guarantee that the canonical hash will not change. The media type for - * "raw" data is defined by the MediaType enum. - */ - raw: ContentHash_Raw; - /** - * Graph specifies graph data that conforms to the RDF data model. - * The canonicalization algorithm used for an RDF graph is specified by - * GraphCanonicalizationAlgorithm. - */ - graph: ContentHash_Graph; -} -export interface ContentHashProtoMsg { - typeUrl: "/regen.data.v1.ContentHash"; - value: Uint8Array; -} -/** ContentHash specifies a hash-based content identifier for a piece of data. */ -export interface ContentHashAmino { - /** - * Raw specifies "raw" data which does not specify a deterministic, canonical - * encoding. Users of these hashes MUST maintain a copy of the hashed data - * which is preserved bit by bit. All other content encodings specify a - * deterministic, canonical encoding allowing implementations to choose from a - * variety of alternative formats for transport and encoding while maintaining - * the guarantee that the canonical hash will not change. The media type for - * "raw" data is defined by the MediaType enum. - */ - raw?: ContentHash_RawAmino; - /** - * Graph specifies graph data that conforms to the RDF data model. - * The canonicalization algorithm used for an RDF graph is specified by - * GraphCanonicalizationAlgorithm. - */ - graph?: ContentHash_GraphAmino; -} -export interface ContentHashAminoMsg { - type: "/regen.data.v1.ContentHash"; - value: ContentHashAmino; -} -/** ContentHash specifies a hash-based content identifier for a piece of data. */ -export interface ContentHashSDKType { - raw: ContentHash_RawSDKType; - graph: ContentHash_GraphSDKType; -} -/** Raw is the content hash type used for raw data. */ -export interface ContentHash_Raw { - /** - * hash represents the hash of the data based on the specified - * digest_algorithm. - */ - hash: Uint8Array; - /** digest_algorithm represents the hash digest algorithm. */ - digestAlgorithm: DigestAlgorithm; - /** media_type represents the media type for raw data. */ - mediaType: RawMediaType; -} -export interface ContentHash_RawProtoMsg { - typeUrl: "/regen.data.v1.Raw"; - value: Uint8Array; -} -/** Raw is the content hash type used for raw data. */ -export interface ContentHash_RawAmino { - /** - * hash represents the hash of the data based on the specified - * digest_algorithm. - */ - hash: Uint8Array; - /** digest_algorithm represents the hash digest algorithm. */ - digest_algorithm: DigestAlgorithm; - /** media_type represents the media type for raw data. */ - media_type: RawMediaType; -} -export interface ContentHash_RawAminoMsg { - type: "/regen.data.v1.Raw"; - value: ContentHash_RawAmino; -} -/** Raw is the content hash type used for raw data. */ -export interface ContentHash_RawSDKType { - hash: Uint8Array; - digest_algorithm: DigestAlgorithm; - media_type: RawMediaType; -} -/** Graph is the content hash type used for RDF graph data. */ -export interface ContentHash_Graph { - /** - * hash represents the hash of the data based on the specified - * digest_algorithm. - */ - hash: Uint8Array; - /** digest_algorithm represents the hash digest algorithm. */ - digestAlgorithm: DigestAlgorithm; - /** - * graph_canonicalization_algorithm represents the RDF graph - * canonicalization algorithm. - */ - canonicalizationAlgorithm: GraphCanonicalizationAlgorithm; - /** merkle_tree is the merkle tree type used for the graph hash, if any. */ - merkleTree: GraphMerkleTree; -} -export interface ContentHash_GraphProtoMsg { - typeUrl: "/regen.data.v1.Graph"; - value: Uint8Array; -} -/** Graph is the content hash type used for RDF graph data. */ -export interface ContentHash_GraphAmino { - /** - * hash represents the hash of the data based on the specified - * digest_algorithm. - */ - hash: Uint8Array; - /** digest_algorithm represents the hash digest algorithm. */ - digest_algorithm: DigestAlgorithm; - /** - * graph_canonicalization_algorithm represents the RDF graph - * canonicalization algorithm. - */ - canonicalization_algorithm: GraphCanonicalizationAlgorithm; - /** merkle_tree is the merkle tree type used for the graph hash, if any. */ - merkle_tree: GraphMerkleTree; -} -export interface ContentHash_GraphAminoMsg { - type: "/regen.data.v1.Graph"; - value: ContentHash_GraphAmino; -} -/** Graph is the content hash type used for RDF graph data. */ -export interface ContentHash_GraphSDKType { - hash: Uint8Array; - digest_algorithm: DigestAlgorithm; - canonicalization_algorithm: GraphCanonicalizationAlgorithm; - merkle_tree: GraphMerkleTree; -} -/** ContentHashes contains list of content ContentHash. */ -export interface ContentHashes { - /** data is a list of content hashes which the resolver claims to serve. */ - contentHashes: ContentHash[]; -} -export interface ContentHashesProtoMsg { - typeUrl: "/regen.data.v1.ContentHashes"; - value: Uint8Array; -} -/** ContentHashes contains list of content ContentHash. */ -export interface ContentHashesAmino { - /** data is a list of content hashes which the resolver claims to serve. */ - content_hashes: ContentHashAmino[]; -} -export interface ContentHashesAminoMsg { - type: "/regen.data.v1.ContentHashes"; - value: ContentHashesAmino; -} -/** ContentHashes contains list of content ContentHash. */ -export interface ContentHashesSDKType { - content_hashes: ContentHashSDKType[]; -} -export declare const ContentHash: { - encode(message: ContentHash, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContentHash; - fromJSON(object: any): ContentHash; - toJSON(message: ContentHash): unknown; - fromPartial(object: Partial): ContentHash; - fromAmino(object: ContentHashAmino): ContentHash; - toAmino(message: ContentHash): ContentHashAmino; - fromAminoMsg(object: ContentHashAminoMsg): ContentHash; - fromProtoMsg(message: ContentHashProtoMsg): ContentHash; - toProto(message: ContentHash): Uint8Array; - toProtoMsg(message: ContentHash): ContentHashProtoMsg; -}; -export declare const ContentHash_Raw: { - encode(message: ContentHash_Raw, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContentHash_Raw; - fromJSON(object: any): ContentHash_Raw; - toJSON(message: ContentHash_Raw): unknown; - fromPartial(object: Partial): ContentHash_Raw; - fromAmino(object: ContentHash_RawAmino): ContentHash_Raw; - toAmino(message: ContentHash_Raw): ContentHash_RawAmino; - fromAminoMsg(object: ContentHash_RawAminoMsg): ContentHash_Raw; - fromProtoMsg(message: ContentHash_RawProtoMsg): ContentHash_Raw; - toProto(message: ContentHash_Raw): Uint8Array; - toProtoMsg(message: ContentHash_Raw): ContentHash_RawProtoMsg; -}; -export declare const ContentHash_Graph: { - encode(message: ContentHash_Graph, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContentHash_Graph; - fromJSON(object: any): ContentHash_Graph; - toJSON(message: ContentHash_Graph): unknown; - fromPartial(object: Partial): ContentHash_Graph; - fromAmino(object: ContentHash_GraphAmino): ContentHash_Graph; - toAmino(message: ContentHash_Graph): ContentHash_GraphAmino; - fromAminoMsg(object: ContentHash_GraphAminoMsg): ContentHash_Graph; - fromProtoMsg(message: ContentHash_GraphProtoMsg): ContentHash_Graph; - toProto(message: ContentHash_Graph): Uint8Array; - toProtoMsg(message: ContentHash_Graph): ContentHash_GraphProtoMsg; -}; -export declare const ContentHashes: { - encode(message: ContentHashes, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContentHashes; - fromJSON(object: any): ContentHashes; - toJSON(message: ContentHashes): unknown; - fromPartial(object: Partial): ContentHashes; - fromAmino(object: ContentHashesAmino): ContentHashes; - toAmino(message: ContentHashes): ContentHashesAmino; - fromAminoMsg(object: ContentHashesAminoMsg): ContentHashes; - fromProtoMsg(message: ContentHashesProtoMsg): ContentHashes; - toProto(message: ContentHashes): Uint8Array; - toProtoMsg(message: ContentHashes): ContentHashesProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/events.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/events.d.ts deleted file mode 100644 index 1856b179..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/events.d.ts +++ /dev/null @@ -1,324 +0,0 @@ -import { BasketCredit, BasketCreditAmino, BasketCreditSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -/** EventCreate is an event emitted when a basket is created. */ -export interface EventCreate { - /** basket_denom is the basket bank denom. */ - basketDenom: string; - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - curator: string; -} -export interface EventCreateProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.EventCreate"; - value: Uint8Array; -} -/** EventCreate is an event emitted when a basket is created. */ -export interface EventCreateAmino { - /** basket_denom is the basket bank denom. */ - basket_denom: string; - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - curator: string; -} -export interface EventCreateAminoMsg { - type: "/regen.ecocredit.basket.v1.EventCreate"; - value: EventCreateAmino; -} -/** EventCreate is an event emitted when a basket is created. */ -export interface EventCreateSDKType { - basket_denom: string; - /** @deprecated */ - curator: string; -} -/** - * EventPut is an event emitted when credits are put into a basket in return for - * basket tokens. - */ -export interface EventPut { - /** owner is the owner of the credits put into the basket. */ - owner: string; - /** basket_denom is the basket bank denom that the credits were added to. */ - basketDenom: string; - /** - * credits are the credits that were added to the basket. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - credits: BasketCredit[]; - /** - * amount is the integer number of basket tokens converted from credits. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - amount: string; -} -export interface EventPutProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.EventPut"; - value: Uint8Array; -} -/** - * EventPut is an event emitted when credits are put into a basket in return for - * basket tokens. - */ -export interface EventPutAmino { - /** owner is the owner of the credits put into the basket. */ - owner: string; - /** basket_denom is the basket bank denom that the credits were added to. */ - basket_denom: string; - /** - * credits are the credits that were added to the basket. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - credits: BasketCreditAmino[]; - /** - * amount is the integer number of basket tokens converted from credits. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - amount: string; -} -export interface EventPutAminoMsg { - type: "/regen.ecocredit.basket.v1.EventPut"; - value: EventPutAmino; -} -/** - * EventPut is an event emitted when credits are put into a basket in return for - * basket tokens. - */ -export interface EventPutSDKType { - owner: string; - basket_denom: string; - /** @deprecated */ - credits: BasketCreditSDKType[]; - /** @deprecated */ - amount: string; -} -/** - * EventTake is an event emitted when credits are taken from a basket starting - * from the oldest credits first. - */ -export interface EventTake { - /** owner is the owner of the credits taken from the basket. */ - owner: string; - /** basket_denom is the basket bank denom that credits were taken from. */ - basketDenom: string; - /** - * credits are the credits that were taken from the basket. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - credits: BasketCredit[]; - /** - * amount is the integer number of basket tokens converted to credits. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - amount: string; -} -export interface EventTakeProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.EventTake"; - value: Uint8Array; -} -/** - * EventTake is an event emitted when credits are taken from a basket starting - * from the oldest credits first. - */ -export interface EventTakeAmino { - /** owner is the owner of the credits taken from the basket. */ - owner: string; - /** basket_denom is the basket bank denom that credits were taken from. */ - basket_denom: string; - /** - * credits are the credits that were taken from the basket. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - credits: BasketCreditAmino[]; - /** - * amount is the integer number of basket tokens converted to credits. - * - * Deprecated (Since Revision 1): This field is still populated and will be - * removed in the next version. - */ - /** @deprecated */ - amount: string; -} -export interface EventTakeAminoMsg { - type: "/regen.ecocredit.basket.v1.EventTake"; - value: EventTakeAmino; -} -/** - * EventTake is an event emitted when credits are taken from a basket starting - * from the oldest credits first. - */ -export interface EventTakeSDKType { - owner: string; - basket_denom: string; - /** @deprecated */ - credits: BasketCreditSDKType[]; - /** @deprecated */ - amount: string; -} -/** - * EventUpdateCurator is an event emitted when the basket curator is updated. - * - * Since Revision 2 - */ -export interface EventUpdateCurator { - /** denom is the basket denom. */ - denom: string; -} -export interface EventUpdateCuratorProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.EventUpdateCurator"; - value: Uint8Array; -} -/** - * EventUpdateCurator is an event emitted when the basket curator is updated. - * - * Since Revision 2 - */ -export interface EventUpdateCuratorAmino { - /** denom is the basket denom. */ - denom: string; -} -export interface EventUpdateCuratorAminoMsg { - type: "/regen.ecocredit.basket.v1.EventUpdateCurator"; - value: EventUpdateCuratorAmino; -} -/** - * EventUpdateCurator is an event emitted when the basket curator is updated. - * - * Since Revision 2 - */ -export interface EventUpdateCuratorSDKType { - denom: string; -} -/** - * EventUpdateDateCriteria is an event emitted when the basket date criteria is - * updated. - * - * Since Revision 3 - */ -export interface EventUpdateDateCriteria { - /** denom is the basket denom. */ - denom: string; -} -export interface EventUpdateDateCriteriaProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.EventUpdateDateCriteria"; - value: Uint8Array; -} -/** - * EventUpdateDateCriteria is an event emitted when the basket date criteria is - * updated. - * - * Since Revision 3 - */ -export interface EventUpdateDateCriteriaAmino { - /** denom is the basket denom. */ - denom: string; -} -export interface EventUpdateDateCriteriaAminoMsg { - type: "/regen.ecocredit.basket.v1.EventUpdateDateCriteria"; - value: EventUpdateDateCriteriaAmino; -} -/** - * EventUpdateDateCriteria is an event emitted when the basket date criteria is - * updated. - * - * Since Revision 3 - */ -export interface EventUpdateDateCriteriaSDKType { - denom: string; -} -export declare const EventCreate: { - encode(message: EventCreate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreate; - fromJSON(object: any): EventCreate; - toJSON(message: EventCreate): unknown; - fromPartial(object: Partial): EventCreate; - fromAmino(object: EventCreateAmino): EventCreate; - toAmino(message: EventCreate): EventCreateAmino; - fromAminoMsg(object: EventCreateAminoMsg): EventCreate; - fromProtoMsg(message: EventCreateProtoMsg): EventCreate; - toProto(message: EventCreate): Uint8Array; - toProtoMsg(message: EventCreate): EventCreateProtoMsg; -}; -export declare const EventPut: { - encode(message: EventPut, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventPut; - fromJSON(object: any): EventPut; - toJSON(message: EventPut): unknown; - fromPartial(object: Partial): EventPut; - fromAmino(object: EventPutAmino): EventPut; - toAmino(message: EventPut): EventPutAmino; - fromAminoMsg(object: EventPutAminoMsg): EventPut; - fromProtoMsg(message: EventPutProtoMsg): EventPut; - toProto(message: EventPut): Uint8Array; - toProtoMsg(message: EventPut): EventPutProtoMsg; -}; -export declare const EventTake: { - encode(message: EventTake, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventTake; - fromJSON(object: any): EventTake; - toJSON(message: EventTake): unknown; - fromPartial(object: Partial): EventTake; - fromAmino(object: EventTakeAmino): EventTake; - toAmino(message: EventTake): EventTakeAmino; - fromAminoMsg(object: EventTakeAminoMsg): EventTake; - fromProtoMsg(message: EventTakeProtoMsg): EventTake; - toProto(message: EventTake): Uint8Array; - toProtoMsg(message: EventTake): EventTakeProtoMsg; -}; -export declare const EventUpdateCurator: { - encode(message: EventUpdateCurator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateCurator; - fromJSON(object: any): EventUpdateCurator; - toJSON(message: EventUpdateCurator): unknown; - fromPartial(object: Partial): EventUpdateCurator; - fromAmino(object: EventUpdateCuratorAmino): EventUpdateCurator; - toAmino(message: EventUpdateCurator): EventUpdateCuratorAmino; - fromAminoMsg(object: EventUpdateCuratorAminoMsg): EventUpdateCurator; - fromProtoMsg(message: EventUpdateCuratorProtoMsg): EventUpdateCurator; - toProto(message: EventUpdateCurator): Uint8Array; - toProtoMsg(message: EventUpdateCurator): EventUpdateCuratorProtoMsg; -}; -export declare const EventUpdateDateCriteria: { - encode(message: EventUpdateDateCriteria, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateDateCriteria; - fromJSON(object: any): EventUpdateDateCriteria; - toJSON(message: EventUpdateDateCriteria): unknown; - fromPartial(object: Partial): EventUpdateDateCriteria; - fromAmino(object: EventUpdateDateCriteriaAmino): EventUpdateDateCriteria; - toAmino(message: EventUpdateDateCriteria): EventUpdateDateCriteriaAmino; - fromAminoMsg(object: EventUpdateDateCriteriaAminoMsg): EventUpdateDateCriteria; - fromProtoMsg(message: EventUpdateDateCriteriaProtoMsg): EventUpdateDateCriteria; - toProto(message: EventUpdateDateCriteria): Uint8Array; - toProtoMsg(message: EventUpdateDateCriteria): EventUpdateDateCriteriaProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/query.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/query.d.ts deleted file mode 100644 index 49ace8ae..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/query.d.ts +++ /dev/null @@ -1,620 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Basket, BasketAmino, BasketSDKType, BasketBalance, BasketBalanceAmino, BasketBalanceSDKType } from "./state"; -import { DateCriteria, DateCriteriaAmino, DateCriteriaSDKType } from "./types"; -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** QueryBasketRequest is the Query/Basket request type. */ -export interface QueryBasketRequest { - /** basket_denom represents the denom of the basket to query. */ - basketDenom: string; -} -export interface QueryBasketRequestProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketRequest"; - value: Uint8Array; -} -/** QueryBasketRequest is the Query/Basket request type. */ -export interface QueryBasketRequestAmino { - /** basket_denom represents the denom of the basket to query. */ - basket_denom: string; -} -export interface QueryBasketRequestAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketRequest"; - value: QueryBasketRequestAmino; -} -/** QueryBasketRequest is the Query/Basket request type. */ -export interface QueryBasketRequestSDKType { - basket_denom: string; -} -/** QueryBasketResponse is the Query/Basket response type. */ -export interface QueryBasketResponse { - /** - * basket is the queried basket. - * - * Deprecated (Since Revision 1): This field is still populated using Basket - * but will be updated to use BasketInfo in the next version. In the meantime - * basket_info is available using BasketInfo. - */ - /** @deprecated */ - basket: Basket; - /** classes are the credit classes that can be deposited in the basket. */ - classes: string[]; - /** - * basket_info is the queried basket. - * - * Since Revision 1 - */ - basketInfo: BasketInfo; -} -export interface QueryBasketResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketResponse"; - value: Uint8Array; -} -/** QueryBasketResponse is the Query/Basket response type. */ -export interface QueryBasketResponseAmino { - /** - * basket is the queried basket. - * - * Deprecated (Since Revision 1): This field is still populated using Basket - * but will be updated to use BasketInfo in the next version. In the meantime - * basket_info is available using BasketInfo. - */ - /** @deprecated */ - basket?: BasketAmino; - /** classes are the credit classes that can be deposited in the basket. */ - classes: string[]; - /** - * basket_info is the queried basket. - * - * Since Revision 1 - */ - basket_info?: BasketInfoAmino; -} -export interface QueryBasketResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketResponse"; - value: QueryBasketResponseAmino; -} -/** QueryBasketResponse is the Query/Basket response type. */ -export interface QueryBasketResponseSDKType { - /** @deprecated */ - basket: BasketSDKType; - classes: string[]; - basket_info: BasketInfoSDKType; -} -/** QueryBasketsRequest is the Query/Baskets request type. */ -export interface QueryBasketsRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBasketsRequestProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketsRequest"; - value: Uint8Array; -} -/** QueryBasketsRequest is the Query/Baskets request type. */ -export interface QueryBasketsRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBasketsRequestAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketsRequest"; - value: QueryBasketsRequestAmino; -} -/** QueryBasketsRequest is the Query/Baskets request type. */ -export interface QueryBasketsRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryBasketsResponse is the Query/Baskets response type. */ -export interface QueryBasketsResponse { - /** - * baskets are the fetched baskets. - * - * Deprecated (Since Revision 1): This field is still populated using Basket - * but will be updated to use BasketInfo in the next version. In the meantime - * baskets_info is available using BasketInfo. - */ - /** @deprecated */ - baskets: Basket[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; - /** - * baskets_info are the fetched baskets. - * - * Since Revision 1 - */ - basketsInfo: BasketInfo[]; -} -export interface QueryBasketsResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketsResponse"; - value: Uint8Array; -} -/** QueryBasketsResponse is the Query/Baskets response type. */ -export interface QueryBasketsResponseAmino { - /** - * baskets are the fetched baskets. - * - * Deprecated (Since Revision 1): This field is still populated using Basket - * but will be updated to use BasketInfo in the next version. In the meantime - * baskets_info is available using BasketInfo. - */ - /** @deprecated */ - baskets: BasketAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; - /** - * baskets_info are the fetched baskets. - * - * Since Revision 1 - */ - baskets_info: BasketInfoAmino[]; -} -export interface QueryBasketsResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketsResponse"; - value: QueryBasketsResponseAmino; -} -/** QueryBasketsResponse is the Query/Baskets response type. */ -export interface QueryBasketsResponseSDKType { - /** @deprecated */ - baskets: BasketSDKType[]; - pagination: PageResponseSDKType; - baskets_info: BasketInfoSDKType[]; -} -/** QueryBasketBalancesRequest is the Query/BasketBalances request type. */ -export interface QueryBasketBalancesRequest { - /** basket_denom is the denom of the basket. */ - basketDenom: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBasketBalancesRequestProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketBalancesRequest"; - value: Uint8Array; -} -/** QueryBasketBalancesRequest is the Query/BasketBalances request type. */ -export interface QueryBasketBalancesRequestAmino { - /** basket_denom is the denom of the basket. */ - basket_denom: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBasketBalancesRequestAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketBalancesRequest"; - value: QueryBasketBalancesRequestAmino; -} -/** QueryBasketBalancesRequest is the Query/BasketBalances request type. */ -export interface QueryBasketBalancesRequestSDKType { - basket_denom: string; - pagination: PageRequestSDKType; -} -/** QueryBasketBalancesResponse is the Query/BasketBalances response type. */ -export interface QueryBasketBalancesResponse { - /** - * balances is a list of credit balances in the basket. - * - * Deprecated (Since Revision 1): This field is still populated using - * BasketBalance but will be updated to use BasketBalanceInfo in the next - * version. In the meantime baskets_info is available using BasketBalanceInfo. - */ - /** @deprecated */ - balances: BasketBalance[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; - /** - * balances_info is a list of credit balances in the basket. - * - * Since Revision 1 - */ - balancesInfo: BasketBalanceInfo[]; -} -export interface QueryBasketBalancesResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketBalancesResponse"; - value: Uint8Array; -} -/** QueryBasketBalancesResponse is the Query/BasketBalances response type. */ -export interface QueryBasketBalancesResponseAmino { - /** - * balances is a list of credit balances in the basket. - * - * Deprecated (Since Revision 1): This field is still populated using - * BasketBalance but will be updated to use BasketBalanceInfo in the next - * version. In the meantime baskets_info is available using BasketBalanceInfo. - */ - /** @deprecated */ - balances: BasketBalanceAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; - /** - * balances_info is a list of credit balances in the basket. - * - * Since Revision 1 - */ - balances_info: BasketBalanceInfoAmino[]; -} -export interface QueryBasketBalancesResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketBalancesResponse"; - value: QueryBasketBalancesResponseAmino; -} -/** QueryBasketBalancesResponse is the Query/BasketBalances response type. */ -export interface QueryBasketBalancesResponseSDKType { - /** @deprecated */ - balances: BasketBalanceSDKType[]; - pagination: PageResponseSDKType; - balances_info: BasketBalanceInfoSDKType[]; -} -/** QueryBasketBalanceRequest is the Query/BasketBalance request type. */ -export interface QueryBasketBalanceRequest { - /** basket_denom is the denom of the basket. */ - basketDenom: string; - /** batch_denom is the denom of the credit batch. */ - batchDenom: string; -} -export interface QueryBasketBalanceRequestProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketBalanceRequest"; - value: Uint8Array; -} -/** QueryBasketBalanceRequest is the Query/BasketBalance request type. */ -export interface QueryBasketBalanceRequestAmino { - /** basket_denom is the denom of the basket. */ - basket_denom: string; - /** batch_denom is the denom of the credit batch. */ - batch_denom: string; -} -export interface QueryBasketBalanceRequestAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketBalanceRequest"; - value: QueryBasketBalanceRequestAmino; -} -/** QueryBasketBalanceRequest is the Query/BasketBalance request type. */ -export interface QueryBasketBalanceRequestSDKType { - basket_denom: string; - batch_denom: string; -} -/** QueryBasketBalanceResponse is the Query/BasketBalance response type. */ -export interface QueryBasketBalanceResponse { - /** balance is the amount of the queried credit batch in the basket. */ - balance: string; -} -export interface QueryBasketBalanceResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketBalanceResponse"; - value: Uint8Array; -} -/** QueryBasketBalanceResponse is the Query/BasketBalance response type. */ -export interface QueryBasketBalanceResponseAmino { - /** balance is the amount of the queried credit batch in the basket. */ - balance: string; -} -export interface QueryBasketBalanceResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketBalanceResponse"; - value: QueryBasketBalanceResponseAmino; -} -/** QueryBasketBalanceResponse is the Query/BasketBalance response type. */ -export interface QueryBasketBalanceResponseSDKType { - balance: string; -} -/** BasketInfo is the human-readable basket information. */ -export interface BasketInfo { - /** basket_denom is the basket bank denom. */ - basketDenom: string; - /** - * name is the unique name of the basket specified in MsgCreate. Basket - * names must be unique across all credit types and choices of exponent - * above and beyond the uniqueness constraint on basket_denom. - */ - name: string; - /** - * disable_auto_retire indicates whether or not the credits will be retired - * upon withdraw from the basket. - */ - disableAutoRetire: boolean; - /** - * credit_type_abbrev is the abbreviation of the credit type this basket is - * able to hold. - */ - creditTypeAbbrev: string; - /** date_criteria is the date criteria for batches admitted to the basket. */ - dateCriteria: DateCriteria; - /** exponent is the exponent for converting credits to/from basket tokens. */ - exponent: number; - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - */ - curator: string; -} -export interface BasketInfoProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.BasketInfo"; - value: Uint8Array; -} -/** BasketInfo is the human-readable basket information. */ -export interface BasketInfoAmino { - /** basket_denom is the basket bank denom. */ - basket_denom: string; - /** - * name is the unique name of the basket specified in MsgCreate. Basket - * names must be unique across all credit types and choices of exponent - * above and beyond the uniqueness constraint on basket_denom. - */ - name: string; - /** - * disable_auto_retire indicates whether or not the credits will be retired - * upon withdraw from the basket. - */ - disable_auto_retire: boolean; - /** - * credit_type_abbrev is the abbreviation of the credit type this basket is - * able to hold. - */ - credit_type_abbrev: string; - /** date_criteria is the date criteria for batches admitted to the basket. */ - date_criteria?: DateCriteriaAmino; - /** exponent is the exponent for converting credits to/from basket tokens. */ - exponent: number; - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - */ - curator: string; -} -export interface BasketInfoAminoMsg { - type: "/regen.ecocredit.basket.v1.BasketInfo"; - value: BasketInfoAmino; -} -/** BasketInfo is the human-readable basket information. */ -export interface BasketInfoSDKType { - basket_denom: string; - name: string; - disable_auto_retire: boolean; - credit_type_abbrev: string; - date_criteria: DateCriteriaSDKType; - exponent: number; - curator: string; -} -/** BasketBalanceInfo is the human-readable basket balance information. */ -export interface BasketBalanceInfo { - /** batch_denom is the denom of the credit batch */ - batchDenom: string; - /** balance is the amount of ecocredits held in the basket */ - balance: string; -} -export interface BasketBalanceInfoProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.BasketBalanceInfo"; - value: Uint8Array; -} -/** BasketBalanceInfo is the human-readable basket balance information. */ -export interface BasketBalanceInfoAmino { - /** batch_denom is the denom of the credit batch */ - batch_denom: string; - /** balance is the amount of ecocredits held in the basket */ - balance: string; -} -export interface BasketBalanceInfoAminoMsg { - type: "/regen.ecocredit.basket.v1.BasketBalanceInfo"; - value: BasketBalanceInfoAmino; -} -/** BasketBalanceInfo is the human-readable basket balance information. */ -export interface BasketBalanceInfoSDKType { - batch_denom: string; - balance: string; -} -/** - * QueryBasketFeeRequest is the Query/BasketFee request type. - * - * Since Revision 2 - */ -export interface QueryBasketFeeRequest { -} -export interface QueryBasketFeeRequestProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketFeeRequest"; - value: Uint8Array; -} -/** - * QueryBasketFeeRequest is the Query/BasketFee request type. - * - * Since Revision 2 - */ -export interface QueryBasketFeeRequestAmino { -} -export interface QueryBasketFeeRequestAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketFeeRequest"; - value: QueryBasketFeeRequestAmino; -} -/** - * QueryBasketFeeRequest is the Query/BasketFee request type. - * - * Since Revision 2 - */ -export interface QueryBasketFeeRequestSDKType { -} -/** - * QueryBasketFeeResponse is the Query/BasketFee response type. - * - * Since Revision 2 - */ -export interface QueryBasketFeeResponse { - /** - * fee is the basket creation fee. If not set, a basket creation fee is not - * required. - */ - fee: Coin; -} -export interface QueryBasketFeeResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.QueryBasketFeeResponse"; - value: Uint8Array; -} -/** - * QueryBasketFeeResponse is the Query/BasketFee response type. - * - * Since Revision 2 - */ -export interface QueryBasketFeeResponseAmino { - /** - * fee is the basket creation fee. If not set, a basket creation fee is not - * required. - */ - fee?: CoinAmino; -} -export interface QueryBasketFeeResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.QueryBasketFeeResponse"; - value: QueryBasketFeeResponseAmino; -} -/** - * QueryBasketFeeResponse is the Query/BasketFee response type. - * - * Since Revision 2 - */ -export interface QueryBasketFeeResponseSDKType { - fee: CoinSDKType; -} -export declare const QueryBasketRequest: { - encode(message: QueryBasketRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketRequest; - fromJSON(object: any): QueryBasketRequest; - toJSON(message: QueryBasketRequest): unknown; - fromPartial(object: Partial): QueryBasketRequest; - fromAmino(object: QueryBasketRequestAmino): QueryBasketRequest; - toAmino(message: QueryBasketRequest): QueryBasketRequestAmino; - fromAminoMsg(object: QueryBasketRequestAminoMsg): QueryBasketRequest; - fromProtoMsg(message: QueryBasketRequestProtoMsg): QueryBasketRequest; - toProto(message: QueryBasketRequest): Uint8Array; - toProtoMsg(message: QueryBasketRequest): QueryBasketRequestProtoMsg; -}; -export declare const QueryBasketResponse: { - encode(message: QueryBasketResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketResponse; - fromJSON(object: any): QueryBasketResponse; - toJSON(message: QueryBasketResponse): unknown; - fromPartial(object: Partial): QueryBasketResponse; - fromAmino(object: QueryBasketResponseAmino): QueryBasketResponse; - toAmino(message: QueryBasketResponse): QueryBasketResponseAmino; - fromAminoMsg(object: QueryBasketResponseAminoMsg): QueryBasketResponse; - fromProtoMsg(message: QueryBasketResponseProtoMsg): QueryBasketResponse; - toProto(message: QueryBasketResponse): Uint8Array; - toProtoMsg(message: QueryBasketResponse): QueryBasketResponseProtoMsg; -}; -export declare const QueryBasketsRequest: { - encode(message: QueryBasketsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketsRequest; - fromJSON(object: any): QueryBasketsRequest; - toJSON(message: QueryBasketsRequest): unknown; - fromPartial(object: Partial): QueryBasketsRequest; - fromAmino(object: QueryBasketsRequestAmino): QueryBasketsRequest; - toAmino(message: QueryBasketsRequest): QueryBasketsRequestAmino; - fromAminoMsg(object: QueryBasketsRequestAminoMsg): QueryBasketsRequest; - fromProtoMsg(message: QueryBasketsRequestProtoMsg): QueryBasketsRequest; - toProto(message: QueryBasketsRequest): Uint8Array; - toProtoMsg(message: QueryBasketsRequest): QueryBasketsRequestProtoMsg; -}; -export declare const QueryBasketsResponse: { - encode(message: QueryBasketsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketsResponse; - fromJSON(object: any): QueryBasketsResponse; - toJSON(message: QueryBasketsResponse): unknown; - fromPartial(object: Partial): QueryBasketsResponse; - fromAmino(object: QueryBasketsResponseAmino): QueryBasketsResponse; - toAmino(message: QueryBasketsResponse): QueryBasketsResponseAmino; - fromAminoMsg(object: QueryBasketsResponseAminoMsg): QueryBasketsResponse; - fromProtoMsg(message: QueryBasketsResponseProtoMsg): QueryBasketsResponse; - toProto(message: QueryBasketsResponse): Uint8Array; - toProtoMsg(message: QueryBasketsResponse): QueryBasketsResponseProtoMsg; -}; -export declare const QueryBasketBalancesRequest: { - encode(message: QueryBasketBalancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketBalancesRequest; - fromJSON(object: any): QueryBasketBalancesRequest; - toJSON(message: QueryBasketBalancesRequest): unknown; - fromPartial(object: Partial): QueryBasketBalancesRequest; - fromAmino(object: QueryBasketBalancesRequestAmino): QueryBasketBalancesRequest; - toAmino(message: QueryBasketBalancesRequest): QueryBasketBalancesRequestAmino; - fromAminoMsg(object: QueryBasketBalancesRequestAminoMsg): QueryBasketBalancesRequest; - fromProtoMsg(message: QueryBasketBalancesRequestProtoMsg): QueryBasketBalancesRequest; - toProto(message: QueryBasketBalancesRequest): Uint8Array; - toProtoMsg(message: QueryBasketBalancesRequest): QueryBasketBalancesRequestProtoMsg; -}; -export declare const QueryBasketBalancesResponse: { - encode(message: QueryBasketBalancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketBalancesResponse; - fromJSON(object: any): QueryBasketBalancesResponse; - toJSON(message: QueryBasketBalancesResponse): unknown; - fromPartial(object: Partial): QueryBasketBalancesResponse; - fromAmino(object: QueryBasketBalancesResponseAmino): QueryBasketBalancesResponse; - toAmino(message: QueryBasketBalancesResponse): QueryBasketBalancesResponseAmino; - fromAminoMsg(object: QueryBasketBalancesResponseAminoMsg): QueryBasketBalancesResponse; - fromProtoMsg(message: QueryBasketBalancesResponseProtoMsg): QueryBasketBalancesResponse; - toProto(message: QueryBasketBalancesResponse): Uint8Array; - toProtoMsg(message: QueryBasketBalancesResponse): QueryBasketBalancesResponseProtoMsg; -}; -export declare const QueryBasketBalanceRequest: { - encode(message: QueryBasketBalanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketBalanceRequest; - fromJSON(object: any): QueryBasketBalanceRequest; - toJSON(message: QueryBasketBalanceRequest): unknown; - fromPartial(object: Partial): QueryBasketBalanceRequest; - fromAmino(object: QueryBasketBalanceRequestAmino): QueryBasketBalanceRequest; - toAmino(message: QueryBasketBalanceRequest): QueryBasketBalanceRequestAmino; - fromAminoMsg(object: QueryBasketBalanceRequestAminoMsg): QueryBasketBalanceRequest; - fromProtoMsg(message: QueryBasketBalanceRequestProtoMsg): QueryBasketBalanceRequest; - toProto(message: QueryBasketBalanceRequest): Uint8Array; - toProtoMsg(message: QueryBasketBalanceRequest): QueryBasketBalanceRequestProtoMsg; -}; -export declare const QueryBasketBalanceResponse: { - encode(message: QueryBasketBalanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketBalanceResponse; - fromJSON(object: any): QueryBasketBalanceResponse; - toJSON(message: QueryBasketBalanceResponse): unknown; - fromPartial(object: Partial): QueryBasketBalanceResponse; - fromAmino(object: QueryBasketBalanceResponseAmino): QueryBasketBalanceResponse; - toAmino(message: QueryBasketBalanceResponse): QueryBasketBalanceResponseAmino; - fromAminoMsg(object: QueryBasketBalanceResponseAminoMsg): QueryBasketBalanceResponse; - fromProtoMsg(message: QueryBasketBalanceResponseProtoMsg): QueryBasketBalanceResponse; - toProto(message: QueryBasketBalanceResponse): Uint8Array; - toProtoMsg(message: QueryBasketBalanceResponse): QueryBasketBalanceResponseProtoMsg; -}; -export declare const BasketInfo: { - encode(message: BasketInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasketInfo; - fromJSON(object: any): BasketInfo; - toJSON(message: BasketInfo): unknown; - fromPartial(object: Partial): BasketInfo; - fromAmino(object: BasketInfoAmino): BasketInfo; - toAmino(message: BasketInfo): BasketInfoAmino; - fromAminoMsg(object: BasketInfoAminoMsg): BasketInfo; - fromProtoMsg(message: BasketInfoProtoMsg): BasketInfo; - toProto(message: BasketInfo): Uint8Array; - toProtoMsg(message: BasketInfo): BasketInfoProtoMsg; -}; -export declare const BasketBalanceInfo: { - encode(message: BasketBalanceInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasketBalanceInfo; - fromJSON(object: any): BasketBalanceInfo; - toJSON(message: BasketBalanceInfo): unknown; - fromPartial(object: Partial): BasketBalanceInfo; - fromAmino(object: BasketBalanceInfoAmino): BasketBalanceInfo; - toAmino(message: BasketBalanceInfo): BasketBalanceInfoAmino; - fromAminoMsg(object: BasketBalanceInfoAminoMsg): BasketBalanceInfo; - fromProtoMsg(message: BasketBalanceInfoProtoMsg): BasketBalanceInfo; - toProto(message: BasketBalanceInfo): Uint8Array; - toProtoMsg(message: BasketBalanceInfo): BasketBalanceInfoProtoMsg; -}; -export declare const QueryBasketFeeRequest: { - encode(_: QueryBasketFeeRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketFeeRequest; - fromJSON(_: any): QueryBasketFeeRequest; - toJSON(_: QueryBasketFeeRequest): unknown; - fromPartial(_: Partial): QueryBasketFeeRequest; - fromAmino(_: QueryBasketFeeRequestAmino): QueryBasketFeeRequest; - toAmino(_: QueryBasketFeeRequest): QueryBasketFeeRequestAmino; - fromAminoMsg(object: QueryBasketFeeRequestAminoMsg): QueryBasketFeeRequest; - fromProtoMsg(message: QueryBasketFeeRequestProtoMsg): QueryBasketFeeRequest; - toProto(message: QueryBasketFeeRequest): Uint8Array; - toProtoMsg(message: QueryBasketFeeRequest): QueryBasketFeeRequestProtoMsg; -}; -export declare const QueryBasketFeeResponse: { - encode(message: QueryBasketFeeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBasketFeeResponse; - fromJSON(object: any): QueryBasketFeeResponse; - toJSON(message: QueryBasketFeeResponse): unknown; - fromPartial(object: Partial): QueryBasketFeeResponse; - fromAmino(object: QueryBasketFeeResponseAmino): QueryBasketFeeResponse; - toAmino(message: QueryBasketFeeResponse): QueryBasketFeeResponseAmino; - fromAminoMsg(object: QueryBasketFeeResponseAminoMsg): QueryBasketFeeResponse; - fromProtoMsg(message: QueryBasketFeeResponseProtoMsg): QueryBasketFeeResponse; - toProto(message: QueryBasketFeeResponse): Uint8Array; - toProtoMsg(message: QueryBasketFeeResponse): QueryBasketFeeResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/query.lcd.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/query.lcd.d.ts deleted file mode 100644 index fd3cea3e..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/query.lcd.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryBasketRequest, QueryBasketResponseSDKType, QueryBasketsRequest, QueryBasketsResponseSDKType, QueryBasketBalancesRequest, QueryBasketBalancesResponseSDKType, QueryBasketBalanceRequest, QueryBasketBalanceResponseSDKType, QueryBasketFeeRequest, QueryBasketFeeResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - basket(params: QueryBasketRequest): Promise; - baskets(params?: QueryBasketsRequest): Promise; - basketBalances(params: QueryBasketBalancesRequest): Promise; - basketBalance(params: QueryBasketBalanceRequest): Promise; - basketFee(_params?: QueryBasketFeeRequest): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/query.rpc.Query.d.ts deleted file mode 100644 index 9087afa0..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryBasketRequest, QueryBasketResponse, QueryBasketsRequest, QueryBasketsResponse, QueryBasketBalancesRequest, QueryBasketBalancesResponse, QueryBasketBalanceRequest, QueryBasketBalanceResponse, QueryBasketFeeRequest, QueryBasketFeeResponse } from "./query"; -/** Msg is the regen.ecocredit.basket.v1 Query service. */ -export interface Query { - /** Basket queries one basket by denom. */ - basket(request: QueryBasketRequest): Promise; - /** Baskets lists all baskets in the ecocredit module. */ - baskets(request?: QueryBasketsRequest): Promise; - /** BasketBalances lists the balance of each credit batch in the basket. */ - basketBalances(request: QueryBasketBalancesRequest): Promise; - /** BasketBalance queries the balance of a specific credit batch in the basket. */ - basketBalance(request: QueryBasketBalanceRequest): Promise; - /** - * BasketFee returns the basket creation fee. If not set, a basket creation - * fee is not required. - * - * Since Revision 2 - */ - basketFee(request?: QueryBasketFeeRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - basket(request: QueryBasketRequest): Promise; - baskets(request?: QueryBasketsRequest): Promise; - basketBalances(request: QueryBasketBalancesRequest): Promise; - basketBalance(request: QueryBasketBalanceRequest): Promise; - basketFee(request?: QueryBasketFeeRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - basket(request: QueryBasketRequest): Promise; - baskets(request?: QueryBasketsRequest): Promise; - basketBalances(request: QueryBasketBalancesRequest): Promise; - basketBalance(request: QueryBasketBalanceRequest): Promise; - basketFee(request?: QueryBasketFeeRequest): Promise; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/state.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/state.d.ts deleted file mode 100644 index 50be16e0..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/state.d.ts +++ /dev/null @@ -1,314 +0,0 @@ -import { DateCriteria, DateCriteriaAmino, DateCriteriaSDKType } from "./types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Basket represents a basket in state. */ -export interface Basket { - /** - * id is the uint64 ID of the basket. It is used internally for reducing - * storage space. - */ - id: Long; - /** - * basket_denom is the basket bank denom formed from name and credit type with - * the format `eco..` where prefix is the - * prefix of the bank denom exponent, a standard SI unit derived from credit - * type precision, and mapped as follows: - * 0 - no prefix - * 1 - d (deci) - * 2 - c (centi) - * 3 - m (milli) - * 6 - u (micro) - * 9 - n (nano) - * 12 - p (pico) - * 15 - f (femto) - * 18 - a (atto) - * 21 - z (zepto) - * 24 - y (yocto) - */ - basketDenom: string; - /** - * name is the unique name of the basket specified in MsgCreate. Basket - * names must be unique across all credit types and choices of exponent - * above and beyond the uniqueness constraint on basket_denom. - */ - name: string; - /** - * disable_auto_retire indicates whether or not the credits will be retired - * upon withdraw from the basket. - */ - disableAutoRetire: boolean; - /** - * credit_type_abbrev is the abbreviation of the credit type this basket is - * able to hold. - */ - creditTypeAbbrev: string; - /** date_criteria is the date criteria for batches admitted to the basket. */ - dateCriteria: DateCriteria; - /** - * Deprecated (Since Revision 1): This field is no longer used and will be - * removed in the next version. The value of credit type precision is always - * used as the exponent when converting credits to/from basket tokens. This - * field will be set to the value of credit type precision until removed. - */ - /** @deprecated */ - exponent: number; - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - * - * Since Revision 1 - */ - curator: Uint8Array; -} -export interface BasketProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.Basket"; - value: Uint8Array; -} -/** Basket represents a basket in state. */ -export interface BasketAmino { - /** - * id is the uint64 ID of the basket. It is used internally for reducing - * storage space. - */ - id: string; - /** - * basket_denom is the basket bank denom formed from name and credit type with - * the format `eco..` where prefix is the - * prefix of the bank denom exponent, a standard SI unit derived from credit - * type precision, and mapped as follows: - * 0 - no prefix - * 1 - d (deci) - * 2 - c (centi) - * 3 - m (milli) - * 6 - u (micro) - * 9 - n (nano) - * 12 - p (pico) - * 15 - f (femto) - * 18 - a (atto) - * 21 - z (zepto) - * 24 - y (yocto) - */ - basket_denom: string; - /** - * name is the unique name of the basket specified in MsgCreate. Basket - * names must be unique across all credit types and choices of exponent - * above and beyond the uniqueness constraint on basket_denom. - */ - name: string; - /** - * disable_auto_retire indicates whether or not the credits will be retired - * upon withdraw from the basket. - */ - disable_auto_retire: boolean; - /** - * credit_type_abbrev is the abbreviation of the credit type this basket is - * able to hold. - */ - credit_type_abbrev: string; - /** date_criteria is the date criteria for batches admitted to the basket. */ - date_criteria?: DateCriteriaAmino; - /** - * Deprecated (Since Revision 1): This field is no longer used and will be - * removed in the next version. The value of credit type precision is always - * used as the exponent when converting credits to/from basket tokens. This - * field will be set to the value of credit type precision until removed. - */ - /** @deprecated */ - exponent: number; - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - * - * Since Revision 1 - */ - curator: Uint8Array; -} -export interface BasketAminoMsg { - type: "/regen.ecocredit.basket.v1.Basket"; - value: BasketAmino; -} -/** Basket represents a basket in state. */ -export interface BasketSDKType { - id: Long; - basket_denom: string; - name: string; - disable_auto_retire: boolean; - credit_type_abbrev: string; - date_criteria: DateCriteriaSDKType; - /** @deprecated */ - exponent: number; - curator: Uint8Array; -} -/** BasketClass describes a credit class that can be deposited in a basket. */ -export interface BasketClass { - /** basket_id is the ID of the basket */ - basketId: Long; - /** - * class_id is the id of the credit class that is allowed to be deposited in - * the basket - */ - classId: string; -} -export interface BasketClassProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.BasketClass"; - value: Uint8Array; -} -/** BasketClass describes a credit class that can be deposited in a basket. */ -export interface BasketClassAmino { - /** basket_id is the ID of the basket */ - basket_id: string; - /** - * class_id is the id of the credit class that is allowed to be deposited in - * the basket - */ - class_id: string; -} -export interface BasketClassAminoMsg { - type: "/regen.ecocredit.basket.v1.BasketClass"; - value: BasketClassAmino; -} -/** BasketClass describes a credit class that can be deposited in a basket. */ -export interface BasketClassSDKType { - basket_id: Long; - class_id: string; -} -/** BasketBalance stores the amount of credits from a batch in a basket */ -export interface BasketBalance { - /** basket_id is the ID of the basket */ - basketId: Long; - /** batch_denom is the denom of the credit batch */ - batchDenom: string; - /** balance is the amount of ecocredits held in the basket */ - balance: string; - /** - * batch_start_date is the start date of the batch. This field is used - * to create an index which is used to remove the oldest credits first. - */ - batchStartDate: Timestamp; -} -export interface BasketBalanceProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.BasketBalance"; - value: Uint8Array; -} -/** BasketBalance stores the amount of credits from a batch in a basket */ -export interface BasketBalanceAmino { - /** basket_id is the ID of the basket */ - basket_id: string; - /** batch_denom is the denom of the credit batch */ - batch_denom: string; - /** balance is the amount of ecocredits held in the basket */ - balance: string; - /** - * batch_start_date is the start date of the batch. This field is used - * to create an index which is used to remove the oldest credits first. - */ - batch_start_date?: TimestampAmino; -} -export interface BasketBalanceAminoMsg { - type: "/regen.ecocredit.basket.v1.BasketBalance"; - value: BasketBalanceAmino; -} -/** BasketBalance stores the amount of credits from a batch in a basket */ -export interface BasketBalanceSDKType { - basket_id: Long; - batch_denom: string; - balance: string; - batch_start_date: TimestampSDKType; -} -/** - * BasketFee is the basket creation fee. If not set, a basket creation fee is - * not required. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface BasketFee { - /** - * fee is the basket creation fee. If not set, a basket creation fee is not - * required. - */ - fee: Coin; -} -export interface BasketFeeProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.BasketFee"; - value: Uint8Array; -} -/** - * BasketFee is the basket creation fee. If not set, a basket creation fee is - * not required. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface BasketFeeAmino { - /** - * fee is the basket creation fee. If not set, a basket creation fee is not - * required. - */ - fee?: CoinAmino; -} -export interface BasketFeeAminoMsg { - type: "/regen.ecocredit.basket.v1.BasketFee"; - value: BasketFeeAmino; -} -/** - * BasketFee is the basket creation fee. If not set, a basket creation fee is - * not required. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface BasketFeeSDKType { - fee: CoinSDKType; -} -export declare const Basket: { - encode(message: Basket, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Basket; - fromJSON(object: any): Basket; - toJSON(message: Basket): unknown; - fromPartial(object: Partial): Basket; - fromAmino(object: BasketAmino): Basket; - toAmino(message: Basket): BasketAmino; - fromAminoMsg(object: BasketAminoMsg): Basket; - fromProtoMsg(message: BasketProtoMsg): Basket; - toProto(message: Basket): Uint8Array; - toProtoMsg(message: Basket): BasketProtoMsg; -}; -export declare const BasketClass: { - encode(message: BasketClass, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasketClass; - fromJSON(object: any): BasketClass; - toJSON(message: BasketClass): unknown; - fromPartial(object: Partial): BasketClass; - fromAmino(object: BasketClassAmino): BasketClass; - toAmino(message: BasketClass): BasketClassAmino; - fromAminoMsg(object: BasketClassAminoMsg): BasketClass; - fromProtoMsg(message: BasketClassProtoMsg): BasketClass; - toProto(message: BasketClass): Uint8Array; - toProtoMsg(message: BasketClass): BasketClassProtoMsg; -}; -export declare const BasketBalance: { - encode(message: BasketBalance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasketBalance; - fromJSON(object: any): BasketBalance; - toJSON(message: BasketBalance): unknown; - fromPartial(object: Partial): BasketBalance; - fromAmino(object: BasketBalanceAmino): BasketBalance; - toAmino(message: BasketBalance): BasketBalanceAmino; - fromAminoMsg(object: BasketBalanceAminoMsg): BasketBalance; - fromProtoMsg(message: BasketBalanceProtoMsg): BasketBalance; - toProto(message: BasketBalance): Uint8Array; - toProtoMsg(message: BasketBalance): BasketBalanceProtoMsg; -}; -export declare const BasketFee: { - encode(message: BasketFee, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasketFee; - fromJSON(object: any): BasketFee; - toJSON(message: BasketFee): unknown; - fromPartial(object: Partial): BasketFee; - fromAmino(object: BasketFeeAmino): BasketFee; - toAmino(message: BasketFee): BasketFeeAmino; - fromAminoMsg(object: BasketFeeAminoMsg): BasketFee; - fromProtoMsg(message: BasketFeeProtoMsg): BasketFee; - toProto(message: BasketFee): Uint8Array; - toProtoMsg(message: BasketFee): BasketFeeProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.amino.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.amino.d.ts deleted file mode 100644 index b96583d1..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.amino.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { MsgCreate, MsgPut, MsgTake, MsgUpdateBasketFee, MsgUpdateCurator, MsgUpdateDateCriteria } from "./tx"; -export declare const AminoConverter: { - "/regen.ecocredit.basket.v1.MsgCreate": { - aminoType: string; - toAmino: (message: MsgCreate) => import("./tx").MsgCreateAmino; - fromAmino: (object: import("./tx").MsgCreateAmino) => MsgCreate; - }; - "/regen.ecocredit.basket.v1.MsgPut": { - aminoType: string; - toAmino: (message: MsgPut) => import("./tx").MsgPutAmino; - fromAmino: (object: import("./tx").MsgPutAmino) => MsgPut; - }; - "/regen.ecocredit.basket.v1.MsgTake": { - aminoType: string; - toAmino: (message: MsgTake) => import("./tx").MsgTakeAmino; - fromAmino: (object: import("./tx").MsgTakeAmino) => MsgTake; - }; - "/regen.ecocredit.basket.v1.MsgUpdateBasketFee": { - aminoType: string; - toAmino: (message: MsgUpdateBasketFee) => import("./tx").MsgUpdateBasketFeeAmino; - fromAmino: (object: import("./tx").MsgUpdateBasketFeeAmino) => MsgUpdateBasketFee; - }; - "/regen.ecocredit.basket.v1.MsgUpdateCurator": { - aminoType: string; - toAmino: (message: MsgUpdateCurator) => import("./tx").MsgUpdateCuratorAmino; - fromAmino: (object: import("./tx").MsgUpdateCuratorAmino) => MsgUpdateCurator; - }; - "/regen.ecocredit.basket.v1.MsgUpdateDateCriteria": { - aminoType: string; - toAmino: (message: MsgUpdateDateCriteria) => import("./tx").MsgUpdateDateCriteriaAmino; - fromAmino: (object: import("./tx").MsgUpdateDateCriteriaAmino) => MsgUpdateDateCriteria; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.d.ts deleted file mode 100644 index ab5ccbec..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.d.ts +++ /dev/null @@ -1,753 +0,0 @@ -import { DateCriteria, DateCriteriaAmino, DateCriteriaSDKType, BasketCredit, BasketCreditAmino, BasketCreditSDKType } from "./types"; -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** MsgCreateBasket is the Msg/CreateBasket request type. */ -export interface MsgCreate { - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - */ - curator: string; - /** - * name will be used to together with prefix to create a bank denom for this - * basket token. It can be between 3-8 alphanumeric characters, with the - * first character being alphabetic. - * - * The bank denom will be formed from name and credit type with the format - * `eco..` where prefix is the prefix of - * a standard SI unit derived from credit type precision. - */ - name: string; - /** - * description is a human-readable description of the basket denom that should - * be at most 256 characters. - */ - description: string; - /** - * Deprecated (Since Revision 1): This field is no longer used and will be - * removed in the next version. The value of credit type precision is always - * used as the exponent when determining the prefix for basket denom, defining - * bank denom metadata, and converting credits to/from basket tokens. - */ - /** @deprecated */ - exponent: number; - /** - * disable_auto_retire allows auto-retirement to be disabled. - * The credits will be auto-retired if disable_auto_retire is - * false unless the credits were previously put into the basket by the - * address picking them from the basket, in which case they will remain - * tradable. - */ - disableAutoRetire: boolean; - /** - * credit_type_abbrev is the abbreviation of the credit type this basket is - * able to hold. - */ - creditTypeAbbrev: string; - /** allowed_classes are the credit classes allowed to be put in the basket */ - allowedClasses: string[]; - /** - * date_criteria is the date criteria for batches admitted to the basket. - * At most, only one of the date criteria fields can be set. - */ - dateCriteria: DateCriteria; - /** - * fee is the basket creation fee. A fee is not required if no fee exists - * in the basket fee parameter. The fee must be greater than or equal to the - * fee param. The curator will be charged the amount specified in the fee - * parameter, even if a greater amount is provided. - * - * Note (Since Revision 1): Although this field supports a list of fees, the - * basket creator must provide no more than one fee (i.e. one Coin in a list - * of Coins). Providing more than one fee will fail basic message validation. - * This field will be updated to a single fee rather than a list of fees in - * the next version to reflect these requirements. - */ - fee: Coin[]; -} -export interface MsgCreateProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgCreate"; - value: Uint8Array; -} -/** MsgCreateBasket is the Msg/CreateBasket request type. */ -export interface MsgCreateAmino { - /** - * curator is the address of the basket curator who is able to change certain - * basket settings. - */ - curator: string; - /** - * name will be used to together with prefix to create a bank denom for this - * basket token. It can be between 3-8 alphanumeric characters, with the - * first character being alphabetic. - * - * The bank denom will be formed from name and credit type with the format - * `eco..` where prefix is the prefix of - * a standard SI unit derived from credit type precision. - */ - name: string; - /** - * description is a human-readable description of the basket denom that should - * be at most 256 characters. - */ - description: string; - /** - * Deprecated (Since Revision 1): This field is no longer used and will be - * removed in the next version. The value of credit type precision is always - * used as the exponent when determining the prefix for basket denom, defining - * bank denom metadata, and converting credits to/from basket tokens. - */ - /** @deprecated */ - exponent: number; - /** - * disable_auto_retire allows auto-retirement to be disabled. - * The credits will be auto-retired if disable_auto_retire is - * false unless the credits were previously put into the basket by the - * address picking them from the basket, in which case they will remain - * tradable. - */ - disable_auto_retire: boolean; - /** - * credit_type_abbrev is the abbreviation of the credit type this basket is - * able to hold. - */ - credit_type_abbrev: string; - /** allowed_classes are the credit classes allowed to be put in the basket */ - allowed_classes: string[]; - /** - * date_criteria is the date criteria for batches admitted to the basket. - * At most, only one of the date criteria fields can be set. - */ - date_criteria?: DateCriteriaAmino; - /** - * fee is the basket creation fee. A fee is not required if no fee exists - * in the basket fee parameter. The fee must be greater than or equal to the - * fee param. The curator will be charged the amount specified in the fee - * parameter, even if a greater amount is provided. - * - * Note (Since Revision 1): Although this field supports a list of fees, the - * basket creator must provide no more than one fee (i.e. one Coin in a list - * of Coins). Providing more than one fee will fail basic message validation. - * This field will be updated to a single fee rather than a list of fees in - * the next version to reflect these requirements. - */ - fee: CoinAmino[]; -} -export interface MsgCreateAminoMsg { - type: "regen.basket/MsgCreate"; - value: MsgCreateAmino; -} -/** MsgCreateBasket is the Msg/CreateBasket request type. */ -export interface MsgCreateSDKType { - curator: string; - name: string; - description: string; - /** @deprecated */ - exponent: number; - disable_auto_retire: boolean; - credit_type_abbrev: string; - allowed_classes: string[]; - date_criteria: DateCriteriaSDKType; - fee: CoinSDKType[]; -} -/** MsgCreateBasketResponse is the Msg/CreateBasket response type. */ -export interface MsgCreateResponse { - /** basket_denom is the unique denomination ID of the newly created basket. */ - basketDenom: string; -} -export interface MsgCreateResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgCreateResponse"; - value: Uint8Array; -} -/** MsgCreateBasketResponse is the Msg/CreateBasket response type. */ -export interface MsgCreateResponseAmino { - /** basket_denom is the unique denomination ID of the newly created basket. */ - basket_denom: string; -} -export interface MsgCreateResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.MsgCreateResponse"; - value: MsgCreateResponseAmino; -} -/** MsgCreateBasketResponse is the Msg/CreateBasket response type. */ -export interface MsgCreateResponseSDKType { - basket_denom: string; -} -/** MsgAddToBasket is the Msg/AddToBasket request type. */ -export interface MsgPut { - /** owner is the owner of credits being put into the basket. */ - owner: string; - /** basket_denom is the basket denom to add credits to. */ - basketDenom: string; - /** - * credits are credits to add to the basket. If they do not match the basket's - * admission criteria, the operation will fail. - */ - credits: BasketCredit[]; -} -export interface MsgPutProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgPut"; - value: Uint8Array; -} -/** MsgAddToBasket is the Msg/AddToBasket request type. */ -export interface MsgPutAmino { - /** owner is the owner of credits being put into the basket. */ - owner: string; - /** basket_denom is the basket denom to add credits to. */ - basket_denom: string; - /** - * credits are credits to add to the basket. If they do not match the basket's - * admission criteria, the operation will fail. - */ - credits: BasketCreditAmino[]; -} -export interface MsgPutAminoMsg { - type: "regen.basket/MsgPut"; - value: MsgPutAmino; -} -/** MsgAddToBasket is the Msg/AddToBasket request type. */ -export interface MsgPutSDKType { - owner: string; - basket_denom: string; - credits: BasketCreditSDKType[]; -} -/** MsgAddToBasketResponse is the Msg/AddToBasket response type. */ -export interface MsgPutResponse { - /** amount_received is the integer amount of basket tokens received. */ - amountReceived: string; -} -export interface MsgPutResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgPutResponse"; - value: Uint8Array; -} -/** MsgAddToBasketResponse is the Msg/AddToBasket response type. */ -export interface MsgPutResponseAmino { - /** amount_received is the integer amount of basket tokens received. */ - amount_received: string; -} -export interface MsgPutResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.MsgPutResponse"; - value: MsgPutResponseAmino; -} -/** MsgAddToBasketResponse is the Msg/AddToBasket response type. */ -export interface MsgPutResponseSDKType { - amount_received: string; -} -/** MsgTakeFromBasket is the Msg/TakeFromBasket request type. */ -export interface MsgTake { - /** owner is the owner of the basket tokens. */ - owner: string; - /** basket_denom is the basket bank denom to take credits from. */ - basketDenom: string; - /** amount is the integer number of basket tokens to convert into credits. */ - amount: string; - /** - * retirement_location is the optional retirement jurisdiction for the - * credits which will be used only if retire_on_take is true. - * - * Deprecated (Since Revision 1): This field will be removed in the next - * version in favor of retirement_jurisdiction. Only one of these need to be - * set and retirement_jurisdiction will be used if both are set. - */ - /** @deprecated */ - retirementLocation: string; - /** - * retire_on_take is a boolean that dictates whether the ecocredits - * received in exchange for the basket tokens will be received as - * retired or tradable credits. If the basket has disable_auto_retire set to - * false, retire_on_take MUST be set to true, and a retirement jurisdiction - * must be provided. - */ - retireOnTake: boolean; - /** - * retirement_jurisdiction is the optional retirement jurisdiction for the - * credits which will be used only if retire_on_take is true. - * - * Since Revision 1 - */ - retirementJurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. The reason will be included in EventRetire and is not - * stored in state. - * - * Since Revision 2 - */ - retirementReason: string; -} -export interface MsgTakeProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgTake"; - value: Uint8Array; -} -/** MsgTakeFromBasket is the Msg/TakeFromBasket request type. */ -export interface MsgTakeAmino { - /** owner is the owner of the basket tokens. */ - owner: string; - /** basket_denom is the basket bank denom to take credits from. */ - basket_denom: string; - /** amount is the integer number of basket tokens to convert into credits. */ - amount: string; - /** - * retirement_location is the optional retirement jurisdiction for the - * credits which will be used only if retire_on_take is true. - * - * Deprecated (Since Revision 1): This field will be removed in the next - * version in favor of retirement_jurisdiction. Only one of these need to be - * set and retirement_jurisdiction will be used if both are set. - */ - /** @deprecated */ - retirement_location: string; - /** - * retire_on_take is a boolean that dictates whether the ecocredits - * received in exchange for the basket tokens will be received as - * retired or tradable credits. If the basket has disable_auto_retire set to - * false, retire_on_take MUST be set to true, and a retirement jurisdiction - * must be provided. - */ - retire_on_take: boolean; - /** - * retirement_jurisdiction is the optional retirement jurisdiction for the - * credits which will be used only if retire_on_take is true. - * - * Since Revision 1 - */ - retirement_jurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. The reason will be included in EventRetire and is not - * stored in state. - * - * Since Revision 2 - */ - retirement_reason: string; -} -export interface MsgTakeAminoMsg { - type: "regen.basket/MsgTake"; - value: MsgTakeAmino; -} -/** MsgTakeFromBasket is the Msg/TakeFromBasket request type. */ -export interface MsgTakeSDKType { - owner: string; - basket_denom: string; - amount: string; - /** @deprecated */ - retirement_location: string; - retire_on_take: boolean; - retirement_jurisdiction: string; - retirement_reason: string; -} -/** MsgTakeFromBasketResponse is the Msg/TakeFromBasket response type. */ -export interface MsgTakeResponse { - /** credits are the credits taken out of the basket. */ - credits: BasketCredit[]; -} -export interface MsgTakeResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgTakeResponse"; - value: Uint8Array; -} -/** MsgTakeFromBasketResponse is the Msg/TakeFromBasket response type. */ -export interface MsgTakeResponseAmino { - /** credits are the credits taken out of the basket. */ - credits: BasketCreditAmino[]; -} -export interface MsgTakeResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.MsgTakeResponse"; - value: MsgTakeResponseAmino; -} -/** MsgTakeFromBasketResponse is the Msg/TakeFromBasket response type. */ -export interface MsgTakeResponseSDKType { - credits: BasketCreditSDKType[]; -} -/** - * MsgUpdateBasketFee is the Msg/UpdateBasketFee request type. - * - * Since Revision 2 - */ -export interface MsgUpdateBasketFee { - /** authority is the address of the governance account. */ - authority: string; - /** - * fee is the basket creation fee. If not set, the basket creation fee will be - * removed and no fee will be required to create a basket. - */ - fee: Coin; -} -export interface MsgUpdateBasketFeeProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateBasketFee"; - value: Uint8Array; -} -/** - * MsgUpdateBasketFee is the Msg/UpdateBasketFee request type. - * - * Since Revision 2 - */ -export interface MsgUpdateBasketFeeAmino { - /** authority is the address of the governance account. */ - authority: string; - /** - * fee is the basket creation fee. If not set, the basket creation fee will be - * removed and no fee will be required to create a basket. - */ - fee?: CoinAmino; -} -export interface MsgUpdateBasketFeeAminoMsg { - type: "regen.basket/MsgUpdateBasketFee"; - value: MsgUpdateBasketFeeAmino; -} -/** - * MsgUpdateBasketFee is the Msg/UpdateBasketFee request type. - * - * Since Revision 2 - */ -export interface MsgUpdateBasketFeeSDKType { - authority: string; - fee: CoinSDKType; -} -/** - * MsgUpdateBasketFeeResponse is the Msg/UpdateBasketFee response type. - * - * Since Revision 2 - */ -export interface MsgUpdateBasketFeeResponse { -} -export interface MsgUpdateBasketFeeResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateBasketFeeResponse"; - value: Uint8Array; -} -/** - * MsgUpdateBasketFeeResponse is the Msg/UpdateBasketFee response type. - * - * Since Revision 2 - */ -export interface MsgUpdateBasketFeeResponseAmino { -} -export interface MsgUpdateBasketFeeResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.MsgUpdateBasketFeeResponse"; - value: MsgUpdateBasketFeeResponseAmino; -} -/** - * MsgUpdateBasketFeeResponse is the Msg/UpdateBasketFee response type. - * - * Since Revision 2 - */ -export interface MsgUpdateBasketFeeResponseSDKType { -} -/** - * MsgUpdateCurator is the Msg/UpdateCurator request type. - * - * Since Revision 2 - */ -export interface MsgUpdateCurator { - /** curator is the address of the basket curator. */ - curator: string; - /** denom is the unique identifier of the basket. */ - denom: string; - /** - * new_curator is the address of the account that will become the - * new curator of the basket. - */ - newCurator: string; -} -export interface MsgUpdateCuratorProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateCurator"; - value: Uint8Array; -} -/** - * MsgUpdateCurator is the Msg/UpdateCurator request type. - * - * Since Revision 2 - */ -export interface MsgUpdateCuratorAmino { - /** curator is the address of the basket curator. */ - curator: string; - /** denom is the unique identifier of the basket. */ - denom: string; - /** - * new_curator is the address of the account that will become the - * new curator of the basket. - */ - new_curator: string; -} -export interface MsgUpdateCuratorAminoMsg { - type: "regen.basket/MsgUpdateCurator"; - value: MsgUpdateCuratorAmino; -} -/** - * MsgUpdateCurator is the Msg/UpdateCurator request type. - * - * Since Revision 2 - */ -export interface MsgUpdateCuratorSDKType { - curator: string; - denom: string; - new_curator: string; -} -/** - * MsgUpdateCuratorResponse is the Msg/UpdateCurator response type. - * - * Since Revision 2 - */ -export interface MsgUpdateCuratorResponse { -} -export interface MsgUpdateCuratorResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateCuratorResponse"; - value: Uint8Array; -} -/** - * MsgUpdateCuratorResponse is the Msg/UpdateCurator response type. - * - * Since Revision 2 - */ -export interface MsgUpdateCuratorResponseAmino { -} -export interface MsgUpdateCuratorResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.MsgUpdateCuratorResponse"; - value: MsgUpdateCuratorResponseAmino; -} -/** - * MsgUpdateCuratorResponse is the Msg/UpdateCurator response type. - * - * Since Revision 2 - */ -export interface MsgUpdateCuratorResponseSDKType { -} -/** - * MsgUpdateDateCriteria is the Msg/UpdateDateCriteria request type. - * - * Since Revision 3 - */ -export interface MsgUpdateDateCriteria { - /** authority is the address of the governance account. */ - authority: string; - /** denom is the unique identifier of the basket. */ - denom: string; - /** - * new_date_criteria is the new date criteria for batches admitted to the - * basket. At most, only one of the date criteria fields can be set. - */ - newDateCriteria: DateCriteria; -} -export interface MsgUpdateDateCriteriaProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateDateCriteria"; - value: Uint8Array; -} -/** - * MsgUpdateDateCriteria is the Msg/UpdateDateCriteria request type. - * - * Since Revision 3 - */ -export interface MsgUpdateDateCriteriaAmino { - /** authority is the address of the governance account. */ - authority: string; - /** denom is the unique identifier of the basket. */ - denom: string; - /** - * new_date_criteria is the new date criteria for batches admitted to the - * basket. At most, only one of the date criteria fields can be set. - */ - new_date_criteria?: DateCriteriaAmino; -} -export interface MsgUpdateDateCriteriaAminoMsg { - type: "regen.basket/MsgUpdateDateCriteria"; - value: MsgUpdateDateCriteriaAmino; -} -/** - * MsgUpdateDateCriteria is the Msg/UpdateDateCriteria request type. - * - * Since Revision 3 - */ -export interface MsgUpdateDateCriteriaSDKType { - authority: string; - denom: string; - new_date_criteria: DateCriteriaSDKType; -} -/** - * MsgUpdateDateCriteriaResponse is the Msg/UpdateDateCriteria response type. - * - * Since Revision 3 - */ -export interface MsgUpdateDateCriteriaResponse { -} -export interface MsgUpdateDateCriteriaResponseProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.MsgUpdateDateCriteriaResponse"; - value: Uint8Array; -} -/** - * MsgUpdateDateCriteriaResponse is the Msg/UpdateDateCriteria response type. - * - * Since Revision 3 - */ -export interface MsgUpdateDateCriteriaResponseAmino { -} -export interface MsgUpdateDateCriteriaResponseAminoMsg { - type: "/regen.ecocredit.basket.v1.MsgUpdateDateCriteriaResponse"; - value: MsgUpdateDateCriteriaResponseAmino; -} -/** - * MsgUpdateDateCriteriaResponse is the Msg/UpdateDateCriteria response type. - * - * Since Revision 3 - */ -export interface MsgUpdateDateCriteriaResponseSDKType { -} -export declare const MsgCreate: { - encode(message: MsgCreate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreate; - fromJSON(object: any): MsgCreate; - toJSON(message: MsgCreate): unknown; - fromPartial(object: Partial): MsgCreate; - fromAmino(object: MsgCreateAmino): MsgCreate; - toAmino(message: MsgCreate): MsgCreateAmino; - fromAminoMsg(object: MsgCreateAminoMsg): MsgCreate; - toAminoMsg(message: MsgCreate): MsgCreateAminoMsg; - fromProtoMsg(message: MsgCreateProtoMsg): MsgCreate; - toProto(message: MsgCreate): Uint8Array; - toProtoMsg(message: MsgCreate): MsgCreateProtoMsg; -}; -export declare const MsgCreateResponse: { - encode(message: MsgCreateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateResponse; - fromJSON(object: any): MsgCreateResponse; - toJSON(message: MsgCreateResponse): unknown; - fromPartial(object: Partial): MsgCreateResponse; - fromAmino(object: MsgCreateResponseAmino): MsgCreateResponse; - toAmino(message: MsgCreateResponse): MsgCreateResponseAmino; - fromAminoMsg(object: MsgCreateResponseAminoMsg): MsgCreateResponse; - fromProtoMsg(message: MsgCreateResponseProtoMsg): MsgCreateResponse; - toProto(message: MsgCreateResponse): Uint8Array; - toProtoMsg(message: MsgCreateResponse): MsgCreateResponseProtoMsg; -}; -export declare const MsgPut: { - encode(message: MsgPut, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgPut; - fromJSON(object: any): MsgPut; - toJSON(message: MsgPut): unknown; - fromPartial(object: Partial): MsgPut; - fromAmino(object: MsgPutAmino): MsgPut; - toAmino(message: MsgPut): MsgPutAmino; - fromAminoMsg(object: MsgPutAminoMsg): MsgPut; - toAminoMsg(message: MsgPut): MsgPutAminoMsg; - fromProtoMsg(message: MsgPutProtoMsg): MsgPut; - toProto(message: MsgPut): Uint8Array; - toProtoMsg(message: MsgPut): MsgPutProtoMsg; -}; -export declare const MsgPutResponse: { - encode(message: MsgPutResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgPutResponse; - fromJSON(object: any): MsgPutResponse; - toJSON(message: MsgPutResponse): unknown; - fromPartial(object: Partial): MsgPutResponse; - fromAmino(object: MsgPutResponseAmino): MsgPutResponse; - toAmino(message: MsgPutResponse): MsgPutResponseAmino; - fromAminoMsg(object: MsgPutResponseAminoMsg): MsgPutResponse; - fromProtoMsg(message: MsgPutResponseProtoMsg): MsgPutResponse; - toProto(message: MsgPutResponse): Uint8Array; - toProtoMsg(message: MsgPutResponse): MsgPutResponseProtoMsg; -}; -export declare const MsgTake: { - encode(message: MsgTake, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTake; - fromJSON(object: any): MsgTake; - toJSON(message: MsgTake): unknown; - fromPartial(object: Partial): MsgTake; - fromAmino(object: MsgTakeAmino): MsgTake; - toAmino(message: MsgTake): MsgTakeAmino; - fromAminoMsg(object: MsgTakeAminoMsg): MsgTake; - toAminoMsg(message: MsgTake): MsgTakeAminoMsg; - fromProtoMsg(message: MsgTakeProtoMsg): MsgTake; - toProto(message: MsgTake): Uint8Array; - toProtoMsg(message: MsgTake): MsgTakeProtoMsg; -}; -export declare const MsgTakeResponse: { - encode(message: MsgTakeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTakeResponse; - fromJSON(object: any): MsgTakeResponse; - toJSON(message: MsgTakeResponse): unknown; - fromPartial(object: Partial): MsgTakeResponse; - fromAmino(object: MsgTakeResponseAmino): MsgTakeResponse; - toAmino(message: MsgTakeResponse): MsgTakeResponseAmino; - fromAminoMsg(object: MsgTakeResponseAminoMsg): MsgTakeResponse; - fromProtoMsg(message: MsgTakeResponseProtoMsg): MsgTakeResponse; - toProto(message: MsgTakeResponse): Uint8Array; - toProtoMsg(message: MsgTakeResponse): MsgTakeResponseProtoMsg; -}; -export declare const MsgUpdateBasketFee: { - encode(message: MsgUpdateBasketFee, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateBasketFee; - fromJSON(object: any): MsgUpdateBasketFee; - toJSON(message: MsgUpdateBasketFee): unknown; - fromPartial(object: Partial): MsgUpdateBasketFee; - fromAmino(object: MsgUpdateBasketFeeAmino): MsgUpdateBasketFee; - toAmino(message: MsgUpdateBasketFee): MsgUpdateBasketFeeAmino; - fromAminoMsg(object: MsgUpdateBasketFeeAminoMsg): MsgUpdateBasketFee; - toAminoMsg(message: MsgUpdateBasketFee): MsgUpdateBasketFeeAminoMsg; - fromProtoMsg(message: MsgUpdateBasketFeeProtoMsg): MsgUpdateBasketFee; - toProto(message: MsgUpdateBasketFee): Uint8Array; - toProtoMsg(message: MsgUpdateBasketFee): MsgUpdateBasketFeeProtoMsg; -}; -export declare const MsgUpdateBasketFeeResponse: { - encode(_: MsgUpdateBasketFeeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateBasketFeeResponse; - fromJSON(_: any): MsgUpdateBasketFeeResponse; - toJSON(_: MsgUpdateBasketFeeResponse): unknown; - fromPartial(_: Partial): MsgUpdateBasketFeeResponse; - fromAmino(_: MsgUpdateBasketFeeResponseAmino): MsgUpdateBasketFeeResponse; - toAmino(_: MsgUpdateBasketFeeResponse): MsgUpdateBasketFeeResponseAmino; - fromAminoMsg(object: MsgUpdateBasketFeeResponseAminoMsg): MsgUpdateBasketFeeResponse; - fromProtoMsg(message: MsgUpdateBasketFeeResponseProtoMsg): MsgUpdateBasketFeeResponse; - toProto(message: MsgUpdateBasketFeeResponse): Uint8Array; - toProtoMsg(message: MsgUpdateBasketFeeResponse): MsgUpdateBasketFeeResponseProtoMsg; -}; -export declare const MsgUpdateCurator: { - encode(message: MsgUpdateCurator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateCurator; - fromJSON(object: any): MsgUpdateCurator; - toJSON(message: MsgUpdateCurator): unknown; - fromPartial(object: Partial): MsgUpdateCurator; - fromAmino(object: MsgUpdateCuratorAmino): MsgUpdateCurator; - toAmino(message: MsgUpdateCurator): MsgUpdateCuratorAmino; - fromAminoMsg(object: MsgUpdateCuratorAminoMsg): MsgUpdateCurator; - toAminoMsg(message: MsgUpdateCurator): MsgUpdateCuratorAminoMsg; - fromProtoMsg(message: MsgUpdateCuratorProtoMsg): MsgUpdateCurator; - toProto(message: MsgUpdateCurator): Uint8Array; - toProtoMsg(message: MsgUpdateCurator): MsgUpdateCuratorProtoMsg; -}; -export declare const MsgUpdateCuratorResponse: { - encode(_: MsgUpdateCuratorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateCuratorResponse; - fromJSON(_: any): MsgUpdateCuratorResponse; - toJSON(_: MsgUpdateCuratorResponse): unknown; - fromPartial(_: Partial): MsgUpdateCuratorResponse; - fromAmino(_: MsgUpdateCuratorResponseAmino): MsgUpdateCuratorResponse; - toAmino(_: MsgUpdateCuratorResponse): MsgUpdateCuratorResponseAmino; - fromAminoMsg(object: MsgUpdateCuratorResponseAminoMsg): MsgUpdateCuratorResponse; - fromProtoMsg(message: MsgUpdateCuratorResponseProtoMsg): MsgUpdateCuratorResponse; - toProto(message: MsgUpdateCuratorResponse): Uint8Array; - toProtoMsg(message: MsgUpdateCuratorResponse): MsgUpdateCuratorResponseProtoMsg; -}; -export declare const MsgUpdateDateCriteria: { - encode(message: MsgUpdateDateCriteria, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateDateCriteria; - fromJSON(object: any): MsgUpdateDateCriteria; - toJSON(message: MsgUpdateDateCriteria): unknown; - fromPartial(object: Partial): MsgUpdateDateCriteria; - fromAmino(object: MsgUpdateDateCriteriaAmino): MsgUpdateDateCriteria; - toAmino(message: MsgUpdateDateCriteria): MsgUpdateDateCriteriaAmino; - fromAminoMsg(object: MsgUpdateDateCriteriaAminoMsg): MsgUpdateDateCriteria; - toAminoMsg(message: MsgUpdateDateCriteria): MsgUpdateDateCriteriaAminoMsg; - fromProtoMsg(message: MsgUpdateDateCriteriaProtoMsg): MsgUpdateDateCriteria; - toProto(message: MsgUpdateDateCriteria): Uint8Array; - toProtoMsg(message: MsgUpdateDateCriteria): MsgUpdateDateCriteriaProtoMsg; -}; -export declare const MsgUpdateDateCriteriaResponse: { - encode(_: MsgUpdateDateCriteriaResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateDateCriteriaResponse; - fromJSON(_: any): MsgUpdateDateCriteriaResponse; - toJSON(_: MsgUpdateDateCriteriaResponse): unknown; - fromPartial(_: Partial): MsgUpdateDateCriteriaResponse; - fromAmino(_: MsgUpdateDateCriteriaResponseAmino): MsgUpdateDateCriteriaResponse; - toAmino(_: MsgUpdateDateCriteriaResponse): MsgUpdateDateCriteriaResponseAmino; - fromAminoMsg(object: MsgUpdateDateCriteriaResponseAminoMsg): MsgUpdateDateCriteriaResponse; - fromProtoMsg(message: MsgUpdateDateCriteriaResponseProtoMsg): MsgUpdateDateCriteriaResponse; - toProto(message: MsgUpdateDateCriteriaResponse): Uint8Array; - toProtoMsg(message: MsgUpdateDateCriteriaResponse): MsgUpdateDateCriteriaResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.registry.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.registry.d.ts deleted file mode 100644 index 9998a733..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.registry.d.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreate, MsgPut, MsgTake, MsgUpdateBasketFee, MsgUpdateCurator, MsgUpdateDateCriteria } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - create(value: MsgCreate): { - typeUrl: string; - value: Uint8Array; - }; - put(value: MsgPut): { - typeUrl: string; - value: Uint8Array; - }; - take(value: MsgTake): { - typeUrl: string; - value: Uint8Array; - }; - updateBasketFee(value: MsgUpdateBasketFee): { - typeUrl: string; - value: Uint8Array; - }; - updateCurator(value: MsgUpdateCurator): { - typeUrl: string; - value: Uint8Array; - }; - updateDateCriteria(value: MsgUpdateDateCriteria): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - create(value: MsgCreate): { - typeUrl: string; - value: MsgCreate; - }; - put(value: MsgPut): { - typeUrl: string; - value: MsgPut; - }; - take(value: MsgTake): { - typeUrl: string; - value: MsgTake; - }; - updateBasketFee(value: MsgUpdateBasketFee): { - typeUrl: string; - value: MsgUpdateBasketFee; - }; - updateCurator(value: MsgUpdateCurator): { - typeUrl: string; - value: MsgUpdateCurator; - }; - updateDateCriteria(value: MsgUpdateDateCriteria): { - typeUrl: string; - value: MsgUpdateDateCriteria; - }; - }; - toJSON: { - create(value: MsgCreate): { - typeUrl: string; - value: unknown; - }; - put(value: MsgPut): { - typeUrl: string; - value: unknown; - }; - take(value: MsgTake): { - typeUrl: string; - value: unknown; - }; - updateBasketFee(value: MsgUpdateBasketFee): { - typeUrl: string; - value: unknown; - }; - updateCurator(value: MsgUpdateCurator): { - typeUrl: string; - value: unknown; - }; - updateDateCriteria(value: MsgUpdateDateCriteria): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - create(value: any): { - typeUrl: string; - value: MsgCreate; - }; - put(value: any): { - typeUrl: string; - value: MsgPut; - }; - take(value: any): { - typeUrl: string; - value: MsgTake; - }; - updateBasketFee(value: any): { - typeUrl: string; - value: MsgUpdateBasketFee; - }; - updateCurator(value: any): { - typeUrl: string; - value: MsgUpdateCurator; - }; - updateDateCriteria(value: any): { - typeUrl: string; - value: MsgUpdateDateCriteria; - }; - }; - fromPartial: { - create(value: MsgCreate): { - typeUrl: string; - value: MsgCreate; - }; - put(value: MsgPut): { - typeUrl: string; - value: MsgPut; - }; - take(value: MsgTake): { - typeUrl: string; - value: MsgTake; - }; - updateBasketFee(value: MsgUpdateBasketFee): { - typeUrl: string; - value: MsgUpdateBasketFee; - }; - updateCurator(value: MsgUpdateCurator): { - typeUrl: string; - value: MsgUpdateCurator; - }; - updateDateCriteria(value: MsgUpdateDateCriteria): { - typeUrl: string; - value: MsgUpdateDateCriteria; - }; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 9a754117..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { MsgCreate, MsgCreateResponse, MsgPut, MsgPutResponse, MsgTake, MsgTakeResponse, MsgUpdateBasketFee, MsgUpdateBasketFeeResponse, MsgUpdateCurator, MsgUpdateCuratorResponse, MsgUpdateDateCriteria, MsgUpdateDateCriteriaResponse } from "./tx"; -/** Msg is the regen.ecocredit.basket.v1 Msg service. */ -export interface Msg { - /** - * Create creates a basket that can hold different types of ecocredits that - * meet the basket's criteria. Upon depositing ecocredits into the basket, - * basket tokens are minted and sent to depositor using the Cosmos SDK Bank - * module. This allows basket tokens to be utilized within IBC. Basket tokens - * are fully fungible with other basket tokens from the same basket. The - * basket token denom is derived from the basket name, credit type - * abbreviation, and credit type precision (i.e. basket name "foo", credit - * type exponent 6, and credit type abbreviation "C" generates the denom - * eco.uC.foo). Baskets can limit credit acceptance criteria based on a - * combination of credit type, credit classes, and credit batch start date. - * Credits can be taken from the basket in exchange for basket tokens. Taken - * credits will be immediately retired, unless disable_auto_retire is set to - * true. When set to true, credits may be received in either a tradable or - * retired state, depending on the taker's request. If the basket fee - * governance parameter is set, a fee of equal or greater value must be - * provided in the request. Only the amount specified in the fee parameter - * will be charged, even if a greater value fee is provided. Fees from - * creating a basket are burned. - */ - create(request: MsgCreate): Promise; - /** - * Put deposits credits into the basket from the holder's tradable balance in - * exchange for basket tokens. The amount of tokens received is calculated by - * the following formula: sum(credits_deposited) * 10^credit_type_exponent. - * The credits being deposited MUST adhere to the criteria of the basket. - */ - put(request: MsgPut): Promise; - /** - * Take exchanges basket tokens for credits from the specified basket. Credits - * are taken deterministically, ordered by oldest batch start date to the most - * recent batch start date. If the basket has disable_auto_retire set to - * false, both retirement_jurisdiction and retire_on_take must be set, and the - * taken credits will be retired immediately upon receipt. Otherwise, credits - * may be received as tradable or retired, based on the request. - */ - take(request: MsgTake): Promise; - /** - * UpdateBasketFee is a governance method that allows for updating the basket - * creation fee. If not set, the basket creation fee will be removed and no - * fee will be required to create a basket. - * - * Since Revision 2 - */ - updateBasketFee(request: MsgUpdateBasketFee): Promise; - /** - * UpdateCurator updates basket curator. - * - * Since Revision 2 - */ - updateCurator(request: MsgUpdateCurator): Promise; - /** - * UpdateDateCriteria is a governance method that allows for updating the date - * criteria of a basket. Updating basket date criteria could affect the value - * of basket tokens and therefore requires a network-wide governance process. - * - * Since Revision 3 - */ - updateDateCriteria(request: MsgUpdateDateCriteria): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - create(request: MsgCreate): Promise; - put(request: MsgPut): Promise; - take(request: MsgTake): Promise; - updateBasketFee(request: MsgUpdateBasketFee): Promise; - updateCurator(request: MsgUpdateCurator): Promise; - updateDateCriteria(request: MsgUpdateDateCriteria): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/basket/v1/types.d.ts b/packages/api/types/codegen/regen/ecocredit/basket/v1/types.d.ts deleted file mode 100644 index b605d29c..00000000 --- a/packages/api/types/codegen/regen/ecocredit/basket/v1/types.d.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -/** BasketCredit represents the information for a credit batch inside a basket. */ -export interface BasketCredit { - /** batch_denom is the unique ID of the credit batch. */ - batchDenom: string; - /** - * amount is the number of credits being put into or taken out of the basket. - * Decimal values are acceptable within the precision of the corresponding - * credit type for this batch. - */ - amount: string; -} -export interface BasketCreditProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.BasketCredit"; - value: Uint8Array; -} -/** BasketCredit represents the information for a credit batch inside a basket. */ -export interface BasketCreditAmino { - /** batch_denom is the unique ID of the credit batch. */ - batch_denom: string; - /** - * amount is the number of credits being put into or taken out of the basket. - * Decimal values are acceptable within the precision of the corresponding - * credit type for this batch. - */ - amount: string; -} -export interface BasketCreditAminoMsg { - type: "/regen.ecocredit.basket.v1.BasketCredit"; - value: BasketCreditAmino; -} -/** BasketCredit represents the information for a credit batch inside a basket. */ -export interface BasketCreditSDKType { - batch_denom: string; - amount: string; -} -/** - * DateCriteria represents the information for credit acceptance in a basket. - * At most, only one of the values should be set. - */ -export interface DateCriteria { - /** - * min_start_date (optional) is the earliest start date for batches of credits - * allowed into the basket. At most only one of `start_date_window`, - * `min_start_date`, and `years_in_the_past` can be set for a basket. - */ - minStartDate: Timestamp; - /** - * start_date_window (optional) is a duration of time measured into the past - * which sets a cutoff for batch start dates when adding new credits to the - * basket. Based on the current block timestamp, credits whose start date is - * before `block_timestamp - start_date_window` will not be allowed into the - * basket. At most only one of `start_date_window`, `min_start_date`, and - * `years_in_the_past` can be set for a basket. - */ - startDateWindow: Duration; - /** - * years_in_the_past (optional) is the number of years into the past which - * sets a cutoff for the batch start dates when adding new credits to the - * basket. Based on the current block timestamp, credits whose start date year - * is less than `block_timestamp_year - years_in_the_past` will not be allowed - * into the basket. At most only one of `start_date_window`, `min_start_date`, - * and `years_in_the_past` can be set for a basket. - * - * Since Revision 1 - */ - yearsInThePast: number; -} -export interface DateCriteriaProtoMsg { - typeUrl: "/regen.ecocredit.basket.v1.DateCriteria"; - value: Uint8Array; -} -/** - * DateCriteria represents the information for credit acceptance in a basket. - * At most, only one of the values should be set. - */ -export interface DateCriteriaAmino { - /** - * min_start_date (optional) is the earliest start date for batches of credits - * allowed into the basket. At most only one of `start_date_window`, - * `min_start_date`, and `years_in_the_past` can be set for a basket. - */ - min_start_date?: TimestampAmino; - /** - * start_date_window (optional) is a duration of time measured into the past - * which sets a cutoff for batch start dates when adding new credits to the - * basket. Based on the current block timestamp, credits whose start date is - * before `block_timestamp - start_date_window` will not be allowed into the - * basket. At most only one of `start_date_window`, `min_start_date`, and - * `years_in_the_past` can be set for a basket. - */ - start_date_window?: DurationAmino; - /** - * years_in_the_past (optional) is the number of years into the past which - * sets a cutoff for the batch start dates when adding new credits to the - * basket. Based on the current block timestamp, credits whose start date year - * is less than `block_timestamp_year - years_in_the_past` will not be allowed - * into the basket. At most only one of `start_date_window`, `min_start_date`, - * and `years_in_the_past` can be set for a basket. - * - * Since Revision 1 - */ - years_in_the_past: number; -} -export interface DateCriteriaAminoMsg { - type: "/regen.ecocredit.basket.v1.DateCriteria"; - value: DateCriteriaAmino; -} -/** - * DateCriteria represents the information for credit acceptance in a basket. - * At most, only one of the values should be set. - */ -export interface DateCriteriaSDKType { - min_start_date: TimestampSDKType; - start_date_window: DurationSDKType; - years_in_the_past: number; -} -export declare const BasketCredit: { - encode(message: BasketCredit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasketCredit; - fromJSON(object: any): BasketCredit; - toJSON(message: BasketCredit): unknown; - fromPartial(object: Partial): BasketCredit; - fromAmino(object: BasketCreditAmino): BasketCredit; - toAmino(message: BasketCredit): BasketCreditAmino; - fromAminoMsg(object: BasketCreditAminoMsg): BasketCredit; - fromProtoMsg(message: BasketCreditProtoMsg): BasketCredit; - toProto(message: BasketCredit): Uint8Array; - toProtoMsg(message: BasketCredit): BasketCreditProtoMsg; -}; -export declare const DateCriteria: { - encode(message: DateCriteria, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DateCriteria; - fromJSON(object: any): DateCriteria; - toJSON(message: DateCriteria): unknown; - fromPartial(object: Partial): DateCriteria; - fromAmino(object: DateCriteriaAmino): DateCriteria; - toAmino(message: DateCriteria): DateCriteriaAmino; - fromAminoMsg(object: DateCriteriaAminoMsg): DateCriteria; - fromProtoMsg(message: DateCriteriaProtoMsg): DateCriteria; - toProto(message: DateCriteria): Uint8Array; - toProtoMsg(message: DateCriteria): DateCriteriaProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/events.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/events.d.ts deleted file mode 100644 index d1de922b..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/events.d.ts +++ /dev/null @@ -1,260 +0,0 @@ -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** EventSell is an event emitted when a sell order is created. */ -export interface EventSell { - /** sell_order_id is the unique identifier of the sell order that was created. */ - sellOrderId: Long; -} -export interface EventSellProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.EventSell"; - value: Uint8Array; -} -/** EventSell is an event emitted when a sell order is created. */ -export interface EventSellAmino { - /** sell_order_id is the unique identifier of the sell order that was created. */ - sell_order_id: string; -} -export interface EventSellAminoMsg { - type: "/regen.ecocredit.marketplace.v1.EventSell"; - value: EventSellAmino; -} -/** EventSell is an event emitted when a sell order is created. */ -export interface EventSellSDKType { - sell_order_id: Long; -} -/** EventBuyDirect is an event emitted when a direct buy order is processed. */ -export interface EventBuyDirect { - /** - * sell_order_id is the unique identifier of the sell order that credits were - * purchased from. - */ - sellOrderId: Long; -} -export interface EventBuyDirectProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.EventBuyDirect"; - value: Uint8Array; -} -/** EventBuyDirect is an event emitted when a direct buy order is processed. */ -export interface EventBuyDirectAmino { - /** - * sell_order_id is the unique identifier of the sell order that credits were - * purchased from. - */ - sell_order_id: string; -} -export interface EventBuyDirectAminoMsg { - type: "/regen.ecocredit.marketplace.v1.EventBuyDirect"; - value: EventBuyDirectAmino; -} -/** EventBuyDirect is an event emitted when a direct buy order is processed. */ -export interface EventBuyDirectSDKType { - sell_order_id: Long; -} -/** EventUpdateSellOrder is an event emitted when a sell order is updated. */ -export interface EventUpdateSellOrder { - /** sell_order_id is the unique identifier of the sell order that was updated. */ - sellOrderId: Long; -} -export interface EventUpdateSellOrderProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.EventUpdateSellOrder"; - value: Uint8Array; -} -/** EventUpdateSellOrder is an event emitted when a sell order is updated. */ -export interface EventUpdateSellOrderAmino { - /** sell_order_id is the unique identifier of the sell order that was updated. */ - sell_order_id: string; -} -export interface EventUpdateSellOrderAminoMsg { - type: "/regen.ecocredit.marketplace.v1.EventUpdateSellOrder"; - value: EventUpdateSellOrderAmino; -} -/** EventUpdateSellOrder is an event emitted when a sell order is updated. */ -export interface EventUpdateSellOrderSDKType { - sell_order_id: Long; -} -/** EventCancelSellOrder is an event emitted when a sell order is cancelled. */ -export interface EventCancelSellOrder { - /** - * sell_order_id is the unique identifier of the sell order that was - * cancelled. - */ - sellOrderId: Long; -} -export interface EventCancelSellOrderProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.EventCancelSellOrder"; - value: Uint8Array; -} -/** EventCancelSellOrder is an event emitted when a sell order is cancelled. */ -export interface EventCancelSellOrderAmino { - /** - * sell_order_id is the unique identifier of the sell order that was - * cancelled. - */ - sell_order_id: string; -} -export interface EventCancelSellOrderAminoMsg { - type: "/regen.ecocredit.marketplace.v1.EventCancelSellOrder"; - value: EventCancelSellOrderAmino; -} -/** EventCancelSellOrder is an event emitted when a sell order is cancelled. */ -export interface EventCancelSellOrderSDKType { - sell_order_id: Long; -} -/** - * EventAllowDenom is an event emitted when a new denom is added for use in the - * marketplace. - */ -export interface EventAllowDenom { - /** - * denom is the bank denom (e.g. ibc/GLKHDSG423SGS) added to the list of - * allowed denoms for use in the marketplace. - */ - denom: string; -} -export interface EventAllowDenomProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.EventAllowDenom"; - value: Uint8Array; -} -/** - * EventAllowDenom is an event emitted when a new denom is added for use in the - * marketplace. - */ -export interface EventAllowDenomAmino { - /** - * denom is the bank denom (e.g. ibc/GLKHDSG423SGS) added to the list of - * allowed denoms for use in the marketplace. - */ - denom: string; -} -export interface EventAllowDenomAminoMsg { - type: "/regen.ecocredit.marketplace.v1.EventAllowDenom"; - value: EventAllowDenomAmino; -} -/** - * EventAllowDenom is an event emitted when a new denom is added for use in the - * marketplace. - */ -export interface EventAllowDenomSDKType { - denom: string; -} -/** - * EventRemoveAllowedDenom is an event emitted when a denom is removed from use - * in the marketplace. - * - * Since Revision 1 - */ -export interface EventRemoveAllowedDenom { - /** - * denom is the bank denom (e.g. ibc/GLKHDSG423SGS) removed from the list of - * allowed denoms for use in the marketplace. - */ - denom: string; -} -export interface EventRemoveAllowedDenomProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.EventRemoveAllowedDenom"; - value: Uint8Array; -} -/** - * EventRemoveAllowedDenom is an event emitted when a denom is removed from use - * in the marketplace. - * - * Since Revision 1 - */ -export interface EventRemoveAllowedDenomAmino { - /** - * denom is the bank denom (e.g. ibc/GLKHDSG423SGS) removed from the list of - * allowed denoms for use in the marketplace. - */ - denom: string; -} -export interface EventRemoveAllowedDenomAminoMsg { - type: "/regen.ecocredit.marketplace.v1.EventRemoveAllowedDenom"; - value: EventRemoveAllowedDenomAmino; -} -/** - * EventRemoveAllowedDenom is an event emitted when a denom is removed from use - * in the marketplace. - * - * Since Revision 1 - */ -export interface EventRemoveAllowedDenomSDKType { - denom: string; -} -export declare const EventSell: { - encode(message: EventSell, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventSell; - fromJSON(object: any): EventSell; - toJSON(message: EventSell): unknown; - fromPartial(object: Partial): EventSell; - fromAmino(object: EventSellAmino): EventSell; - toAmino(message: EventSell): EventSellAmino; - fromAminoMsg(object: EventSellAminoMsg): EventSell; - fromProtoMsg(message: EventSellProtoMsg): EventSell; - toProto(message: EventSell): Uint8Array; - toProtoMsg(message: EventSell): EventSellProtoMsg; -}; -export declare const EventBuyDirect: { - encode(message: EventBuyDirect, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventBuyDirect; - fromJSON(object: any): EventBuyDirect; - toJSON(message: EventBuyDirect): unknown; - fromPartial(object: Partial): EventBuyDirect; - fromAmino(object: EventBuyDirectAmino): EventBuyDirect; - toAmino(message: EventBuyDirect): EventBuyDirectAmino; - fromAminoMsg(object: EventBuyDirectAminoMsg): EventBuyDirect; - fromProtoMsg(message: EventBuyDirectProtoMsg): EventBuyDirect; - toProto(message: EventBuyDirect): Uint8Array; - toProtoMsg(message: EventBuyDirect): EventBuyDirectProtoMsg; -}; -export declare const EventUpdateSellOrder: { - encode(message: EventUpdateSellOrder, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateSellOrder; - fromJSON(object: any): EventUpdateSellOrder; - toJSON(message: EventUpdateSellOrder): unknown; - fromPartial(object: Partial): EventUpdateSellOrder; - fromAmino(object: EventUpdateSellOrderAmino): EventUpdateSellOrder; - toAmino(message: EventUpdateSellOrder): EventUpdateSellOrderAmino; - fromAminoMsg(object: EventUpdateSellOrderAminoMsg): EventUpdateSellOrder; - fromProtoMsg(message: EventUpdateSellOrderProtoMsg): EventUpdateSellOrder; - toProto(message: EventUpdateSellOrder): Uint8Array; - toProtoMsg(message: EventUpdateSellOrder): EventUpdateSellOrderProtoMsg; -}; -export declare const EventCancelSellOrder: { - encode(message: EventCancelSellOrder, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCancelSellOrder; - fromJSON(object: any): EventCancelSellOrder; - toJSON(message: EventCancelSellOrder): unknown; - fromPartial(object: Partial): EventCancelSellOrder; - fromAmino(object: EventCancelSellOrderAmino): EventCancelSellOrder; - toAmino(message: EventCancelSellOrder): EventCancelSellOrderAmino; - fromAminoMsg(object: EventCancelSellOrderAminoMsg): EventCancelSellOrder; - fromProtoMsg(message: EventCancelSellOrderProtoMsg): EventCancelSellOrder; - toProto(message: EventCancelSellOrder): Uint8Array; - toProtoMsg(message: EventCancelSellOrder): EventCancelSellOrderProtoMsg; -}; -export declare const EventAllowDenom: { - encode(message: EventAllowDenom, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventAllowDenom; - fromJSON(object: any): EventAllowDenom; - toJSON(message: EventAllowDenom): unknown; - fromPartial(object: Partial): EventAllowDenom; - fromAmino(object: EventAllowDenomAmino): EventAllowDenom; - toAmino(message: EventAllowDenom): EventAllowDenomAmino; - fromAminoMsg(object: EventAllowDenomAminoMsg): EventAllowDenom; - fromProtoMsg(message: EventAllowDenomProtoMsg): EventAllowDenom; - toProto(message: EventAllowDenom): Uint8Array; - toProtoMsg(message: EventAllowDenom): EventAllowDenomProtoMsg; -}; -export declare const EventRemoveAllowedDenom: { - encode(message: EventRemoveAllowedDenom, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventRemoveAllowedDenom; - fromJSON(object: any): EventRemoveAllowedDenom; - toJSON(message: EventRemoveAllowedDenom): unknown; - fromPartial(object: Partial): EventRemoveAllowedDenom; - fromAmino(object: EventRemoveAllowedDenomAmino): EventRemoveAllowedDenom; - toAmino(message: EventRemoveAllowedDenom): EventRemoveAllowedDenomAmino; - fromAminoMsg(object: EventRemoveAllowedDenomAminoMsg): EventRemoveAllowedDenom; - fromProtoMsg(message: EventRemoveAllowedDenomProtoMsg): EventRemoveAllowedDenom; - toProto(message: EventRemoveAllowedDenom): Uint8Array; - toProtoMsg(message: EventRemoveAllowedDenom): EventRemoveAllowedDenomProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.d.ts deleted file mode 100644 index 17ec7af2..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.d.ts +++ /dev/null @@ -1,519 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { AllowedDenom, AllowedDenomAmino, AllowedDenomSDKType } from "./state"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QuerySellOrderRequest is the Query/SellOrder request type. */ -export interface QuerySellOrderRequest { - /** sell_order_id is the id of the requested sell order. */ - sellOrderId: Long; -} -export interface QuerySellOrderRequestProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrderRequest"; - value: Uint8Array; -} -/** QuerySellOrderRequest is the Query/SellOrder request type. */ -export interface QuerySellOrderRequestAmino { - /** sell_order_id is the id of the requested sell order. */ - sell_order_id: string; -} -export interface QuerySellOrderRequestAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrderRequest"; - value: QuerySellOrderRequestAmino; -} -/** QuerySellOrderRequest is the Query/SellOrder request type. */ -export interface QuerySellOrderRequestSDKType { - sell_order_id: Long; -} -/** QuerySellOrderResponse is the Query/SellOrder response type. */ -export interface QuerySellOrderResponse { - /** sell_order contains all information related to a sell order. */ - sellOrder: SellOrderInfo; -} -export interface QuerySellOrderResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrderResponse"; - value: Uint8Array; -} -/** QuerySellOrderResponse is the Query/SellOrder response type. */ -export interface QuerySellOrderResponseAmino { - /** sell_order contains all information related to a sell order. */ - sell_order?: SellOrderInfoAmino; -} -export interface QuerySellOrderResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrderResponse"; - value: QuerySellOrderResponseAmino; -} -/** QuerySellOrderResponse is the Query/SellOrder response type. */ -export interface QuerySellOrderResponseSDKType { - sell_order: SellOrderInfoSDKType; -} -/** QuerySellOrdersRequest is the Query/SellOrders request type. */ -export interface QuerySellOrdersRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QuerySellOrdersRequestProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrdersRequest"; - value: Uint8Array; -} -/** QuerySellOrdersRequest is the Query/SellOrders request type. */ -export interface QuerySellOrdersRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QuerySellOrdersRequestAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrdersRequest"; - value: QuerySellOrdersRequestAmino; -} -/** QuerySellOrdersRequest is the Query/SellOrders request type. */ -export interface QuerySellOrdersRequestSDKType { - pagination: PageRequestSDKType; -} -/** QuerySellOrdersResponse is the Query/SellOrders response type. */ -export interface QuerySellOrdersResponse { - /** sell_orders is a list of sell orders. */ - sellOrders: SellOrderInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QuerySellOrdersResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrdersResponse"; - value: Uint8Array; -} -/** QuerySellOrdersResponse is the Query/SellOrders response type. */ -export interface QuerySellOrdersResponseAmino { - /** sell_orders is a list of sell orders. */ - sell_orders: SellOrderInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QuerySellOrdersResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrdersResponse"; - value: QuerySellOrdersResponseAmino; -} -/** QuerySellOrdersResponse is the Query/SellOrders response type. */ -export interface QuerySellOrdersResponseSDKType { - sell_orders: SellOrderInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QuerySellOrdersByBatchRequest is the Query/SellOrdersByBatch - * request type. - */ -export interface QuerySellOrdersByBatchRequest { - /** batch_denom is an ecocredit denom */ - batchDenom: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QuerySellOrdersByBatchRequestProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrdersByBatchRequest"; - value: Uint8Array; -} -/** - * QuerySellOrdersByBatchRequest is the Query/SellOrdersByBatch - * request type. - */ -export interface QuerySellOrdersByBatchRequestAmino { - /** batch_denom is an ecocredit denom */ - batch_denom: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QuerySellOrdersByBatchRequestAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrdersByBatchRequest"; - value: QuerySellOrdersByBatchRequestAmino; -} -/** - * QuerySellOrdersByBatchRequest is the Query/SellOrdersByBatch - * request type. - */ -export interface QuerySellOrdersByBatchRequestSDKType { - batch_denom: string; - pagination: PageRequestSDKType; -} -/** - * QuerySellOrdersByBatchResponse is the Query/SellOrdersByBatch - * response type. - */ -export interface QuerySellOrdersByBatchResponse { - /** sell_orders is a list of sell orders. */ - sellOrders: SellOrderInfo[]; - /** pagination defines an optional pagination for the response. */ - pagination: PageResponse; -} -export interface QuerySellOrdersByBatchResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrdersByBatchResponse"; - value: Uint8Array; -} -/** - * QuerySellOrdersByBatchResponse is the Query/SellOrdersByBatch - * response type. - */ -export interface QuerySellOrdersByBatchResponseAmino { - /** sell_orders is a list of sell orders. */ - sell_orders: SellOrderInfoAmino[]; - /** pagination defines an optional pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QuerySellOrdersByBatchResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrdersByBatchResponse"; - value: QuerySellOrdersByBatchResponseAmino; -} -/** - * QuerySellOrdersByBatchResponse is the Query/SellOrdersByBatch - * response type. - */ -export interface QuerySellOrdersByBatchResponseSDKType { - sell_orders: SellOrderInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QuerySellOrdersBySellerRequest is the Query/SellOrdersBySeller request - * type. - */ -export interface QuerySellOrdersBySellerRequest { - /** seller is the address of the account that is selling credits. */ - seller: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QuerySellOrdersBySellerRequestProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrdersBySellerRequest"; - value: Uint8Array; -} -/** - * QuerySellOrdersBySellerRequest is the Query/SellOrdersBySeller request - * type. - */ -export interface QuerySellOrdersBySellerRequestAmino { - /** seller is the address of the account that is selling credits. */ - seller: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QuerySellOrdersBySellerRequestAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrdersBySellerRequest"; - value: QuerySellOrdersBySellerRequestAmino; -} -/** - * QuerySellOrdersBySellerRequest is the Query/SellOrdersBySeller request - * type. - */ -export interface QuerySellOrdersBySellerRequestSDKType { - seller: string; - pagination: PageRequestSDKType; -} -/** - * QuerySellOrdersBySellerResponse is the Query/SellOrdersBySellerResponse - * response type. - */ -export interface QuerySellOrdersBySellerResponse { - /** sell_orders is a list of sell orders. */ - sellOrders: SellOrderInfo[]; - /** pagination defines an optional pagination for the response. */ - pagination: PageResponse; -} -export interface QuerySellOrdersBySellerResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QuerySellOrdersBySellerResponse"; - value: Uint8Array; -} -/** - * QuerySellOrdersBySellerResponse is the Query/SellOrdersBySellerResponse - * response type. - */ -export interface QuerySellOrdersBySellerResponseAmino { - /** sell_orders is a list of sell orders. */ - sell_orders: SellOrderInfoAmino[]; - /** pagination defines an optional pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QuerySellOrdersBySellerResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QuerySellOrdersBySellerResponse"; - value: QuerySellOrdersBySellerResponseAmino; -} -/** - * QuerySellOrdersBySellerResponse is the Query/SellOrdersBySellerResponse - * response type. - */ -export interface QuerySellOrdersBySellerResponseSDKType { - sell_orders: SellOrderInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryAllowedDenomsRequest is the Query/AllowedDenoms request type. */ -export interface QueryAllowedDenomsRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllowedDenomsRequestProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QueryAllowedDenomsRequest"; - value: Uint8Array; -} -/** QueryAllowedDenomsRequest is the Query/AllowedDenoms request type. */ -export interface QueryAllowedDenomsRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllowedDenomsRequestAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QueryAllowedDenomsRequest"; - value: QueryAllowedDenomsRequestAmino; -} -/** QueryAllowedDenomsRequest is the Query/AllowedDenoms request type. */ -export interface QueryAllowedDenomsRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryAllowedDenomsResponse is the Query/AllowedDenoms response type. */ -export interface QueryAllowedDenomsResponse { - /** - * allowed_denoms is a list of coin denoms allowed to use in the ask price of - * sell orders. - */ - allowedDenoms: AllowedDenom[]; - /** pagination defines an optional pagination for the response. */ - pagination: PageResponse; -} -export interface QueryAllowedDenomsResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.QueryAllowedDenomsResponse"; - value: Uint8Array; -} -/** QueryAllowedDenomsResponse is the Query/AllowedDenoms response type. */ -export interface QueryAllowedDenomsResponseAmino { - /** - * allowed_denoms is a list of coin denoms allowed to use in the ask price of - * sell orders. - */ - allowed_denoms: AllowedDenomAmino[]; - /** pagination defines an optional pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllowedDenomsResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.QueryAllowedDenomsResponse"; - value: QueryAllowedDenomsResponseAmino; -} -/** QueryAllowedDenomsResponse is the Query/AllowedDenoms response type. */ -export interface QueryAllowedDenomsResponseSDKType { - allowed_denoms: AllowedDenomSDKType[]; - pagination: PageResponseSDKType; -} -/** SellOrderInfo is the human-readable sell order information. */ -export interface SellOrderInfo { - /** id is the unique ID of sell order. */ - id: Long; - /** seller is the address of the account that is selling credits. */ - seller: string; - /** batch_denom is denom of the credit batch being sold. */ - batchDenom: string; - /** quantity is the decimal quantity of credits being sold. */ - quantity: string; - /** ask_denom is the denom used in the ask price of the sell order. */ - askDenom: string; - /** - * ask_amount is the amount that the seller is asking for each credit unit of - * the batch. Each credit unit of the batch will be sold for at least the - * ask_amount. - */ - askAmount: string; - /** - * disable_auto_retire disables auto-retirement of credits which allows a - * buyer to disable auto-retirement in their buy order enabling them to - * resell the credits to another buyer. - */ - disableAutoRetire: boolean; - /** - * expiration is an optional timestamp when the sell order expires. When the - * expiration time is reached, the sell order is removed from state. - */ - expiration: Timestamp; -} -export interface SellOrderInfoProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.SellOrderInfo"; - value: Uint8Array; -} -/** SellOrderInfo is the human-readable sell order information. */ -export interface SellOrderInfoAmino { - /** id is the unique ID of sell order. */ - id: string; - /** seller is the address of the account that is selling credits. */ - seller: string; - /** batch_denom is denom of the credit batch being sold. */ - batch_denom: string; - /** quantity is the decimal quantity of credits being sold. */ - quantity: string; - /** ask_denom is the denom used in the ask price of the sell order. */ - ask_denom: string; - /** - * ask_amount is the amount that the seller is asking for each credit unit of - * the batch. Each credit unit of the batch will be sold for at least the - * ask_amount. - */ - ask_amount: string; - /** - * disable_auto_retire disables auto-retirement of credits which allows a - * buyer to disable auto-retirement in their buy order enabling them to - * resell the credits to another buyer. - */ - disable_auto_retire: boolean; - /** - * expiration is an optional timestamp when the sell order expires. When the - * expiration time is reached, the sell order is removed from state. - */ - expiration?: TimestampAmino; -} -export interface SellOrderInfoAminoMsg { - type: "/regen.ecocredit.marketplace.v1.SellOrderInfo"; - value: SellOrderInfoAmino; -} -/** SellOrderInfo is the human-readable sell order information. */ -export interface SellOrderInfoSDKType { - id: Long; - seller: string; - batch_denom: string; - quantity: string; - ask_denom: string; - ask_amount: string; - disable_auto_retire: boolean; - expiration: TimestampSDKType; -} -export declare const QuerySellOrderRequest: { - encode(message: QuerySellOrderRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrderRequest; - fromJSON(object: any): QuerySellOrderRequest; - toJSON(message: QuerySellOrderRequest): unknown; - fromPartial(object: Partial): QuerySellOrderRequest; - fromAmino(object: QuerySellOrderRequestAmino): QuerySellOrderRequest; - toAmino(message: QuerySellOrderRequest): QuerySellOrderRequestAmino; - fromAminoMsg(object: QuerySellOrderRequestAminoMsg): QuerySellOrderRequest; - fromProtoMsg(message: QuerySellOrderRequestProtoMsg): QuerySellOrderRequest; - toProto(message: QuerySellOrderRequest): Uint8Array; - toProtoMsg(message: QuerySellOrderRequest): QuerySellOrderRequestProtoMsg; -}; -export declare const QuerySellOrderResponse: { - encode(message: QuerySellOrderResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrderResponse; - fromJSON(object: any): QuerySellOrderResponse; - toJSON(message: QuerySellOrderResponse): unknown; - fromPartial(object: Partial): QuerySellOrderResponse; - fromAmino(object: QuerySellOrderResponseAmino): QuerySellOrderResponse; - toAmino(message: QuerySellOrderResponse): QuerySellOrderResponseAmino; - fromAminoMsg(object: QuerySellOrderResponseAminoMsg): QuerySellOrderResponse; - fromProtoMsg(message: QuerySellOrderResponseProtoMsg): QuerySellOrderResponse; - toProto(message: QuerySellOrderResponse): Uint8Array; - toProtoMsg(message: QuerySellOrderResponse): QuerySellOrderResponseProtoMsg; -}; -export declare const QuerySellOrdersRequest: { - encode(message: QuerySellOrdersRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrdersRequest; - fromJSON(object: any): QuerySellOrdersRequest; - toJSON(message: QuerySellOrdersRequest): unknown; - fromPartial(object: Partial): QuerySellOrdersRequest; - fromAmino(object: QuerySellOrdersRequestAmino): QuerySellOrdersRequest; - toAmino(message: QuerySellOrdersRequest): QuerySellOrdersRequestAmino; - fromAminoMsg(object: QuerySellOrdersRequestAminoMsg): QuerySellOrdersRequest; - fromProtoMsg(message: QuerySellOrdersRequestProtoMsg): QuerySellOrdersRequest; - toProto(message: QuerySellOrdersRequest): Uint8Array; - toProtoMsg(message: QuerySellOrdersRequest): QuerySellOrdersRequestProtoMsg; -}; -export declare const QuerySellOrdersResponse: { - encode(message: QuerySellOrdersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrdersResponse; - fromJSON(object: any): QuerySellOrdersResponse; - toJSON(message: QuerySellOrdersResponse): unknown; - fromPartial(object: Partial): QuerySellOrdersResponse; - fromAmino(object: QuerySellOrdersResponseAmino): QuerySellOrdersResponse; - toAmino(message: QuerySellOrdersResponse): QuerySellOrdersResponseAmino; - fromAminoMsg(object: QuerySellOrdersResponseAminoMsg): QuerySellOrdersResponse; - fromProtoMsg(message: QuerySellOrdersResponseProtoMsg): QuerySellOrdersResponse; - toProto(message: QuerySellOrdersResponse): Uint8Array; - toProtoMsg(message: QuerySellOrdersResponse): QuerySellOrdersResponseProtoMsg; -}; -export declare const QuerySellOrdersByBatchRequest: { - encode(message: QuerySellOrdersByBatchRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrdersByBatchRequest; - fromJSON(object: any): QuerySellOrdersByBatchRequest; - toJSON(message: QuerySellOrdersByBatchRequest): unknown; - fromPartial(object: Partial): QuerySellOrdersByBatchRequest; - fromAmino(object: QuerySellOrdersByBatchRequestAmino): QuerySellOrdersByBatchRequest; - toAmino(message: QuerySellOrdersByBatchRequest): QuerySellOrdersByBatchRequestAmino; - fromAminoMsg(object: QuerySellOrdersByBatchRequestAminoMsg): QuerySellOrdersByBatchRequest; - fromProtoMsg(message: QuerySellOrdersByBatchRequestProtoMsg): QuerySellOrdersByBatchRequest; - toProto(message: QuerySellOrdersByBatchRequest): Uint8Array; - toProtoMsg(message: QuerySellOrdersByBatchRequest): QuerySellOrdersByBatchRequestProtoMsg; -}; -export declare const QuerySellOrdersByBatchResponse: { - encode(message: QuerySellOrdersByBatchResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrdersByBatchResponse; - fromJSON(object: any): QuerySellOrdersByBatchResponse; - toJSON(message: QuerySellOrdersByBatchResponse): unknown; - fromPartial(object: Partial): QuerySellOrdersByBatchResponse; - fromAmino(object: QuerySellOrdersByBatchResponseAmino): QuerySellOrdersByBatchResponse; - toAmino(message: QuerySellOrdersByBatchResponse): QuerySellOrdersByBatchResponseAmino; - fromAminoMsg(object: QuerySellOrdersByBatchResponseAminoMsg): QuerySellOrdersByBatchResponse; - fromProtoMsg(message: QuerySellOrdersByBatchResponseProtoMsg): QuerySellOrdersByBatchResponse; - toProto(message: QuerySellOrdersByBatchResponse): Uint8Array; - toProtoMsg(message: QuerySellOrdersByBatchResponse): QuerySellOrdersByBatchResponseProtoMsg; -}; -export declare const QuerySellOrdersBySellerRequest: { - encode(message: QuerySellOrdersBySellerRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrdersBySellerRequest; - fromJSON(object: any): QuerySellOrdersBySellerRequest; - toJSON(message: QuerySellOrdersBySellerRequest): unknown; - fromPartial(object: Partial): QuerySellOrdersBySellerRequest; - fromAmino(object: QuerySellOrdersBySellerRequestAmino): QuerySellOrdersBySellerRequest; - toAmino(message: QuerySellOrdersBySellerRequest): QuerySellOrdersBySellerRequestAmino; - fromAminoMsg(object: QuerySellOrdersBySellerRequestAminoMsg): QuerySellOrdersBySellerRequest; - fromProtoMsg(message: QuerySellOrdersBySellerRequestProtoMsg): QuerySellOrdersBySellerRequest; - toProto(message: QuerySellOrdersBySellerRequest): Uint8Array; - toProtoMsg(message: QuerySellOrdersBySellerRequest): QuerySellOrdersBySellerRequestProtoMsg; -}; -export declare const QuerySellOrdersBySellerResponse: { - encode(message: QuerySellOrdersBySellerResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySellOrdersBySellerResponse; - fromJSON(object: any): QuerySellOrdersBySellerResponse; - toJSON(message: QuerySellOrdersBySellerResponse): unknown; - fromPartial(object: Partial): QuerySellOrdersBySellerResponse; - fromAmino(object: QuerySellOrdersBySellerResponseAmino): QuerySellOrdersBySellerResponse; - toAmino(message: QuerySellOrdersBySellerResponse): QuerySellOrdersBySellerResponseAmino; - fromAminoMsg(object: QuerySellOrdersBySellerResponseAminoMsg): QuerySellOrdersBySellerResponse; - fromProtoMsg(message: QuerySellOrdersBySellerResponseProtoMsg): QuerySellOrdersBySellerResponse; - toProto(message: QuerySellOrdersBySellerResponse): Uint8Array; - toProtoMsg(message: QuerySellOrdersBySellerResponse): QuerySellOrdersBySellerResponseProtoMsg; -}; -export declare const QueryAllowedDenomsRequest: { - encode(message: QueryAllowedDenomsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowedDenomsRequest; - fromJSON(object: any): QueryAllowedDenomsRequest; - toJSON(message: QueryAllowedDenomsRequest): unknown; - fromPartial(object: Partial): QueryAllowedDenomsRequest; - fromAmino(object: QueryAllowedDenomsRequestAmino): QueryAllowedDenomsRequest; - toAmino(message: QueryAllowedDenomsRequest): QueryAllowedDenomsRequestAmino; - fromAminoMsg(object: QueryAllowedDenomsRequestAminoMsg): QueryAllowedDenomsRequest; - fromProtoMsg(message: QueryAllowedDenomsRequestProtoMsg): QueryAllowedDenomsRequest; - toProto(message: QueryAllowedDenomsRequest): Uint8Array; - toProtoMsg(message: QueryAllowedDenomsRequest): QueryAllowedDenomsRequestProtoMsg; -}; -export declare const QueryAllowedDenomsResponse: { - encode(message: QueryAllowedDenomsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowedDenomsResponse; - fromJSON(object: any): QueryAllowedDenomsResponse; - toJSON(message: QueryAllowedDenomsResponse): unknown; - fromPartial(object: Partial): QueryAllowedDenomsResponse; - fromAmino(object: QueryAllowedDenomsResponseAmino): QueryAllowedDenomsResponse; - toAmino(message: QueryAllowedDenomsResponse): QueryAllowedDenomsResponseAmino; - fromAminoMsg(object: QueryAllowedDenomsResponseAminoMsg): QueryAllowedDenomsResponse; - fromProtoMsg(message: QueryAllowedDenomsResponseProtoMsg): QueryAllowedDenomsResponse; - toProto(message: QueryAllowedDenomsResponse): Uint8Array; - toProtoMsg(message: QueryAllowedDenomsResponse): QueryAllowedDenomsResponseProtoMsg; -}; -export declare const SellOrderInfo: { - encode(message: SellOrderInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SellOrderInfo; - fromJSON(object: any): SellOrderInfo; - toJSON(message: SellOrderInfo): unknown; - fromPartial(object: Partial): SellOrderInfo; - fromAmino(object: SellOrderInfoAmino): SellOrderInfo; - toAmino(message: SellOrderInfo): SellOrderInfoAmino; - fromAminoMsg(object: SellOrderInfoAminoMsg): SellOrderInfo; - fromProtoMsg(message: SellOrderInfoProtoMsg): SellOrderInfo; - toProto(message: SellOrderInfo): Uint8Array; - toProtoMsg(message: SellOrderInfo): SellOrderInfoProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.lcd.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.lcd.d.ts deleted file mode 100644 index 7662f3c2..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.lcd.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QuerySellOrderRequest, QuerySellOrderResponseSDKType, QuerySellOrdersRequest, QuerySellOrdersResponseSDKType, QuerySellOrdersByBatchRequest, QuerySellOrdersByBatchResponseSDKType, QuerySellOrdersBySellerRequest, QuerySellOrdersBySellerResponseSDKType, QueryAllowedDenomsRequest, QueryAllowedDenomsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - sellOrder(params: QuerySellOrderRequest): Promise; - sellOrders(params?: QuerySellOrdersRequest): Promise; - sellOrdersByBatch(params: QuerySellOrdersByBatchRequest): Promise; - sellOrdersBySeller(params: QuerySellOrdersBySellerRequest): Promise; - allowedDenoms(params?: QueryAllowedDenomsRequest): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.rpc.Query.d.ts deleted file mode 100644 index 8edfdc02..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QuerySellOrderRequest, QuerySellOrderResponse, QuerySellOrdersRequest, QuerySellOrdersResponse, QuerySellOrdersByBatchRequest, QuerySellOrdersByBatchResponse, QuerySellOrdersBySellerRequest, QuerySellOrdersBySellerResponse, QueryAllowedDenomsRequest, QueryAllowedDenomsResponse } from "./query"; -/** Msg is the regen.ecocredit.marketplace.v1 Query service. */ -export interface Query { - /** SellOrder queries a sell order by its unique identifier. */ - sellOrder(request: QuerySellOrderRequest): Promise; - /** SellOrders queries a paginated list of all sell orders. */ - sellOrders(request?: QuerySellOrdersRequest): Promise; - /** - * SellOrdersByBatch queries a paginated list of all sell orders based on - * the batch denom of the credits being sold. - */ - sellOrdersByBatch(request: QuerySellOrdersByBatchRequest): Promise; - /** - * SellOrdersBySeller queries a paginated list of all sell orders based on the - * account address of the seller. - */ - sellOrdersBySeller(request: QuerySellOrdersBySellerRequest): Promise; - /** - * AllowedDenoms queries a paginated list of all bank denoms allowed to be - * used in the marketplace. - */ - allowedDenoms(request?: QueryAllowedDenomsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - sellOrder(request: QuerySellOrderRequest): Promise; - sellOrders(request?: QuerySellOrdersRequest): Promise; - sellOrdersByBatch(request: QuerySellOrdersByBatchRequest): Promise; - sellOrdersBySeller(request: QuerySellOrdersBySellerRequest): Promise; - allowedDenoms(request?: QueryAllowedDenomsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - sellOrder(request: QuerySellOrderRequest): Promise; - sellOrders(request?: QuerySellOrdersRequest): Promise; - sellOrdersByBatch(request: QuerySellOrdersByBatchRequest): Promise; - sellOrdersBySeller(request: QuerySellOrdersBySellerRequest): Promise; - allowedDenoms(request?: QueryAllowedDenomsRequest): Promise; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/state.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/state.d.ts deleted file mode 100644 index e7cd829a..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/state.d.ts +++ /dev/null @@ -1,311 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** SellOrder represents the information for a sell order. */ -export interface SellOrder { - /** id is the unique ID of sell order. */ - id: Long; - /** seller is the address of the account that is selling credits. */ - seller: Uint8Array; - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links a sell order to a credit batch. - */ - batchKey: Long; - /** quantity is the decimal quantity of credits being sold. */ - quantity: string; - /** - * market_id is the market in which this sell order exists and specifies - * the bank_denom that ask_amount corresponds to forming the ask_price. - */ - marketId: Long; - /** - * ask_amount is the integer amount (encoded as a string) that the seller is - * asking for each credit unit of the batch. Each credit unit of the batch - * will be sold for at least the ask_amount. The ask_amount corresponds to the - * Market.denom to form the ask price. - */ - askAmount: string; - /** - * disable_auto_retire disables auto-retirement of credits which allows a - * buyer to disable auto-retirement in their buy order enabling them to - * resell the credits to another buyer. - */ - disableAutoRetire: boolean; - /** - * expiration is an optional timestamp when the sell order expires. When the - * expiration time is reached, the sell order is removed from state. - */ - expiration: Timestamp; - /** - * maker indicates that this is a maker order, meaning that when it hit - * the order book, there were no matching buy orders. - */ - maker: boolean; -} -export interface SellOrderProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.SellOrder"; - value: Uint8Array; -} -/** SellOrder represents the information for a sell order. */ -export interface SellOrderAmino { - /** id is the unique ID of sell order. */ - id: string; - /** seller is the address of the account that is selling credits. */ - seller: Uint8Array; - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links a sell order to a credit batch. - */ - batch_key: string; - /** quantity is the decimal quantity of credits being sold. */ - quantity: string; - /** - * market_id is the market in which this sell order exists and specifies - * the bank_denom that ask_amount corresponds to forming the ask_price. - */ - market_id: string; - /** - * ask_amount is the integer amount (encoded as a string) that the seller is - * asking for each credit unit of the batch. Each credit unit of the batch - * will be sold for at least the ask_amount. The ask_amount corresponds to the - * Market.denom to form the ask price. - */ - ask_amount: string; - /** - * disable_auto_retire disables auto-retirement of credits which allows a - * buyer to disable auto-retirement in their buy order enabling them to - * resell the credits to another buyer. - */ - disable_auto_retire: boolean; - /** - * expiration is an optional timestamp when the sell order expires. When the - * expiration time is reached, the sell order is removed from state. - */ - expiration?: TimestampAmino; - /** - * maker indicates that this is a maker order, meaning that when it hit - * the order book, there were no matching buy orders. - */ - maker: boolean; -} -export interface SellOrderAminoMsg { - type: "/regen.ecocredit.marketplace.v1.SellOrder"; - value: SellOrderAmino; -} -/** SellOrder represents the information for a sell order. */ -export interface SellOrderSDKType { - id: Long; - seller: Uint8Array; - batch_key: Long; - quantity: string; - market_id: Long; - ask_amount: string; - disable_auto_retire: boolean; - expiration: TimestampSDKType; - maker: boolean; -} -/** AllowedDenom represents the information for an allowed ask/bid denom. */ -export interface AllowedDenom { - /** denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS) */ - bankDenom: string; - /** - * display_denom is the denom to display to the user and is informational. - * Because the denom is likely an IBC denom, this should be chosen by - * governance to represent the consensus trusted name of the denom. - */ - displayDenom: string; - /** - * exponent is the exponent that relates the denom to the display_denom and is - * informational - */ - exponent: number; -} -export interface AllowedDenomProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.AllowedDenom"; - value: Uint8Array; -} -/** AllowedDenom represents the information for an allowed ask/bid denom. */ -export interface AllowedDenomAmino { - /** denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS) */ - bank_denom: string; - /** - * display_denom is the denom to display to the user and is informational. - * Because the denom is likely an IBC denom, this should be chosen by - * governance to represent the consensus trusted name of the denom. - */ - display_denom: string; - /** - * exponent is the exponent that relates the denom to the display_denom and is - * informational - */ - exponent: number; -} -export interface AllowedDenomAminoMsg { - type: "/regen.ecocredit.marketplace.v1.AllowedDenom"; - value: AllowedDenomAmino; -} -/** AllowedDenom represents the information for an allowed ask/bid denom. */ -export interface AllowedDenomSDKType { - bank_denom: string; - display_denom: string; - exponent: number; -} -/** - * Market describes a distinctly processed market between a credit type and - * allowed bank denom. Each market has its own precision in the order book - * and is processed independently of other markets. Governance must enable - * markets one by one. Every additional enabled market potentially adds more - * processing overhead to the blockchain and potentially weakens liquidity in - * competing markets. For instance, enabling side by side USD/Carbon and - * EUR/Carbon markets may have the end result that each market individually has - * less liquidity and longer settlement times. Such decisions should be taken - * with care. - */ -export interface Market { - /** id is the unique ID of the market. */ - id: Long; - /** credit_type_abbrev is the abbreviation of the credit type. */ - creditTypeAbbrev: string; - /** bank_denom is an allowed bank denom. */ - bankDenom: string; - /** - * precision_modifier is an optional modifier used to convert arbitrary - * precision integer bank amounts to uint32 values used for sorting in the - * order book. Given an arbitrary precision integer x, its uint32 conversion - * will be x / 10^precision_modifier using round half away from zero - * rounding. - * - * uint32 values range from 0 to 4,294,967,295. - * This allows for a full 9 digits of precision. In most real world markets - * this amount of precision is sufficient and most common downside - - * that some orders with very miniscule price differences may be ordered - * equivalently (because of rounding) - is acceptable. - * Note that this rounding will not affect settlement price which will - * always be done exactly. - * - * Given a USD stable coin with 6 decimal digits, a precision_modifier - * of 0 is probably acceptable as long as credits are always less than - * $4,294/unit. With precision down to $0.001 (a precision_modifier of 3 - * in this case), prices can rise up to $4,294,000/unit. Either scenario - * is probably quite acceptable given that carbon prices are unlikely to - * rise above $1000/ton any time in the near future. - * - * If credit prices, exceed the maximum range of uint32 with this - * precision_modifier, orders with high prices will fail and governance - * will need to adjust precision_modifier to allow for higher prices in - * exchange for less precision at the lower end. - */ - precisionModifier: number; -} -export interface MarketProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.Market"; - value: Uint8Array; -} -/** - * Market describes a distinctly processed market between a credit type and - * allowed bank denom. Each market has its own precision in the order book - * and is processed independently of other markets. Governance must enable - * markets one by one. Every additional enabled market potentially adds more - * processing overhead to the blockchain and potentially weakens liquidity in - * competing markets. For instance, enabling side by side USD/Carbon and - * EUR/Carbon markets may have the end result that each market individually has - * less liquidity and longer settlement times. Such decisions should be taken - * with care. - */ -export interface MarketAmino { - /** id is the unique ID of the market. */ - id: string; - /** credit_type_abbrev is the abbreviation of the credit type. */ - credit_type_abbrev: string; - /** bank_denom is an allowed bank denom. */ - bank_denom: string; - /** - * precision_modifier is an optional modifier used to convert arbitrary - * precision integer bank amounts to uint32 values used for sorting in the - * order book. Given an arbitrary precision integer x, its uint32 conversion - * will be x / 10^precision_modifier using round half away from zero - * rounding. - * - * uint32 values range from 0 to 4,294,967,295. - * This allows for a full 9 digits of precision. In most real world markets - * this amount of precision is sufficient and most common downside - - * that some orders with very miniscule price differences may be ordered - * equivalently (because of rounding) - is acceptable. - * Note that this rounding will not affect settlement price which will - * always be done exactly. - * - * Given a USD stable coin with 6 decimal digits, a precision_modifier - * of 0 is probably acceptable as long as credits are always less than - * $4,294/unit. With precision down to $0.001 (a precision_modifier of 3 - * in this case), prices can rise up to $4,294,000/unit. Either scenario - * is probably quite acceptable given that carbon prices are unlikely to - * rise above $1000/ton any time in the near future. - * - * If credit prices, exceed the maximum range of uint32 with this - * precision_modifier, orders with high prices will fail and governance - * will need to adjust precision_modifier to allow for higher prices in - * exchange for less precision at the lower end. - */ - precision_modifier: number; -} -export interface MarketAminoMsg { - type: "/regen.ecocredit.marketplace.v1.Market"; - value: MarketAmino; -} -/** - * Market describes a distinctly processed market between a credit type and - * allowed bank denom. Each market has its own precision in the order book - * and is processed independently of other markets. Governance must enable - * markets one by one. Every additional enabled market potentially adds more - * processing overhead to the blockchain and potentially weakens liquidity in - * competing markets. For instance, enabling side by side USD/Carbon and - * EUR/Carbon markets may have the end result that each market individually has - * less liquidity and longer settlement times. Such decisions should be taken - * with care. - */ -export interface MarketSDKType { - id: Long; - credit_type_abbrev: string; - bank_denom: string; - precision_modifier: number; -} -export declare const SellOrder: { - encode(message: SellOrder, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SellOrder; - fromJSON(object: any): SellOrder; - toJSON(message: SellOrder): unknown; - fromPartial(object: Partial): SellOrder; - fromAmino(object: SellOrderAmino): SellOrder; - toAmino(message: SellOrder): SellOrderAmino; - fromAminoMsg(object: SellOrderAminoMsg): SellOrder; - fromProtoMsg(message: SellOrderProtoMsg): SellOrder; - toProto(message: SellOrder): Uint8Array; - toProtoMsg(message: SellOrder): SellOrderProtoMsg; -}; -export declare const AllowedDenom: { - encode(message: AllowedDenom, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedDenom; - fromJSON(object: any): AllowedDenom; - toJSON(message: AllowedDenom): unknown; - fromPartial(object: Partial): AllowedDenom; - fromAmino(object: AllowedDenomAmino): AllowedDenom; - toAmino(message: AllowedDenom): AllowedDenomAmino; - fromAminoMsg(object: AllowedDenomAminoMsg): AllowedDenom; - fromProtoMsg(message: AllowedDenomProtoMsg): AllowedDenom; - toProto(message: AllowedDenom): Uint8Array; - toProtoMsg(message: AllowedDenom): AllowedDenomProtoMsg; -}; -export declare const Market: { - encode(message: Market, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Market; - fromJSON(object: any): Market; - toJSON(message: Market): unknown; - fromPartial(object: Partial): Market; - fromAmino(object: MarketAmino): Market; - toAmino(message: Market): MarketAmino; - fromAminoMsg(object: MarketAminoMsg): Market; - fromProtoMsg(message: MarketProtoMsg): Market; - toProto(message: Market): Uint8Array; - toProtoMsg(message: Market): MarketProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.amino.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.amino.d.ts deleted file mode 100644 index d17e5b87..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.amino.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { MsgSell, MsgUpdateSellOrders, MsgCancelSellOrder, MsgBuyDirect, MsgAddAllowedDenom, MsgRemoveAllowedDenom } from "./tx"; -export declare const AminoConverter: { - "/regen.ecocredit.marketplace.v1.MsgSell": { - aminoType: string; - toAmino: (message: MsgSell) => import("./tx").MsgSellAmino; - fromAmino: (object: import("./tx").MsgSellAmino) => MsgSell; - }; - "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrders": { - aminoType: string; - toAmino: (message: MsgUpdateSellOrders) => import("./tx").MsgUpdateSellOrdersAmino; - fromAmino: (object: import("./tx").MsgUpdateSellOrdersAmino) => MsgUpdateSellOrders; - }; - "/regen.ecocredit.marketplace.v1.MsgCancelSellOrder": { - aminoType: string; - toAmino: (message: MsgCancelSellOrder) => import("./tx").MsgCancelSellOrderAmino; - fromAmino: (object: import("./tx").MsgCancelSellOrderAmino) => MsgCancelSellOrder; - }; - "/regen.ecocredit.marketplace.v1.MsgBuyDirect": { - aminoType: string; - toAmino: (message: MsgBuyDirect) => import("./tx").MsgBuyDirectAmino; - fromAmino: (object: import("./tx").MsgBuyDirectAmino) => MsgBuyDirect; - }; - "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenom": { - aminoType: string; - toAmino: (message: MsgAddAllowedDenom) => import("./tx").MsgAddAllowedDenomAmino; - fromAmino: (object: import("./tx").MsgAddAllowedDenomAmino) => MsgAddAllowedDenom; - }; - "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom": { - aminoType: string; - toAmino: (message: MsgRemoveAllowedDenom) => import("./tx").MsgRemoveAllowedDenomAmino; - fromAmino: (object: import("./tx").MsgRemoveAllowedDenomAmino) => MsgRemoveAllowedDenom; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.d.ts deleted file mode 100644 index 04c086e6..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.d.ts +++ /dev/null @@ -1,765 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** MsgSell is the Msg/Sell request type. */ -export interface MsgSell { - /** seller is the address of the account that is selling credits. */ - seller: string; - /** orders are the sell orders being created. */ - orders: MsgSell_Order[]; -} -export interface MsgSellProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgSell"; - value: Uint8Array; -} -/** MsgSell is the Msg/Sell request type. */ -export interface MsgSellAmino { - /** seller is the address of the account that is selling credits. */ - seller: string; - /** orders are the sell orders being created. */ - orders: MsgSell_OrderAmino[]; -} -export interface MsgSellAminoMsg { - type: "regen.marketplace/MsgSell"; - value: MsgSellAmino; -} -/** MsgSell is the Msg/Sell request type. */ -export interface MsgSellSDKType { - seller: string; - orders: MsgSell_OrderSDKType[]; -} -/** Order is the content of a new sell order. */ -export interface MsgSell_Order { - /** batch_denom is the credit batch being sold. */ - batchDenom: string; - /** - * quantity is the quantity of credits being sold from this batch. If it is - * less then the balance of credits the owner has available at the time this - * sell order is matched, the quantity will be adjusted downwards to the - * owner's balance. However, if the balance of credits is less than this - * quantity at the time the sell order is created, the operation will fail. - */ - quantity: string; - /** - * ask_price is the price the seller is asking for each unit of the - * batch_denom. Each credit unit of the batch will be sold for at least the - * ask_price or more. - */ - askPrice: Coin; - /** - * disable_auto_retire disables auto-retirement of credits which allows a - * buyer to disable auto-retirement in their buy order enabling them to - * resell the credits to another buyer. - */ - disableAutoRetire: boolean; - /** - * expiration is an optional timestamp when the sell order expires. When the - * expiration time is reached, the sell order is removed from state. - */ - expiration: Timestamp; -} -export interface MsgSell_OrderProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.Order"; - value: Uint8Array; -} -/** Order is the content of a new sell order. */ -export interface MsgSell_OrderAmino { - /** batch_denom is the credit batch being sold. */ - batch_denom: string; - /** - * quantity is the quantity of credits being sold from this batch. If it is - * less then the balance of credits the owner has available at the time this - * sell order is matched, the quantity will be adjusted downwards to the - * owner's balance. However, if the balance of credits is less than this - * quantity at the time the sell order is created, the operation will fail. - */ - quantity: string; - /** - * ask_price is the price the seller is asking for each unit of the - * batch_denom. Each credit unit of the batch will be sold for at least the - * ask_price or more. - */ - ask_price?: CoinAmino; - /** - * disable_auto_retire disables auto-retirement of credits which allows a - * buyer to disable auto-retirement in their buy order enabling them to - * resell the credits to another buyer. - */ - disable_auto_retire: boolean; - /** - * expiration is an optional timestamp when the sell order expires. When the - * expiration time is reached, the sell order is removed from state. - */ - expiration?: TimestampAmino; -} -export interface MsgSell_OrderAminoMsg { - type: "/regen.ecocredit.marketplace.v1.Order"; - value: MsgSell_OrderAmino; -} -/** Order is the content of a new sell order. */ -export interface MsgSell_OrderSDKType { - batch_denom: string; - quantity: string; - ask_price: CoinSDKType; - disable_auto_retire: boolean; - expiration: TimestampSDKType; -} -/** MsgSellResponse is the Msg/Sell response type. */ -export interface MsgSellResponse { - /** sell_order_ids are the sell order IDs of the newly created sell orders. */ - sellOrderIds: Long[]; -} -export interface MsgSellResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgSellResponse"; - value: Uint8Array; -} -/** MsgSellResponse is the Msg/Sell response type. */ -export interface MsgSellResponseAmino { - /** sell_order_ids are the sell order IDs of the newly created sell orders. */ - sell_order_ids: string[]; -} -export interface MsgSellResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.MsgSellResponse"; - value: MsgSellResponseAmino; -} -/** MsgSellResponse is the Msg/Sell response type. */ -export interface MsgSellResponseSDKType { - sell_order_ids: Long[]; -} -/** MsgUpdateSellOrders is the Msg/UpdateSellOrders request type. */ -export interface MsgUpdateSellOrders { - /** seller is the address of the account that is selling credits. */ - seller: string; - /** updates are updates to existing sell orders. */ - updates: MsgUpdateSellOrders_Update[]; -} -export interface MsgUpdateSellOrdersProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrders"; - value: Uint8Array; -} -/** MsgUpdateSellOrders is the Msg/UpdateSellOrders request type. */ -export interface MsgUpdateSellOrdersAmino { - /** seller is the address of the account that is selling credits. */ - seller: string; - /** updates are updates to existing sell orders. */ - updates: MsgUpdateSellOrders_UpdateAmino[]; -} -export interface MsgUpdateSellOrdersAminoMsg { - type: "regen.marketplace/MsgUpdateSellOrders"; - value: MsgUpdateSellOrdersAmino; -} -/** MsgUpdateSellOrders is the Msg/UpdateSellOrders request type. */ -export interface MsgUpdateSellOrdersSDKType { - seller: string; - updates: MsgUpdateSellOrders_UpdateSDKType[]; -} -/** Update is an update to an existing sell order. */ -export interface MsgUpdateSellOrders_Update { - /** sell_order_id is the ID of an existing sell order. */ - sellOrderId: Long; - /** new_quantity is the updated quantity of credits available to sell. */ - newQuantity: string; - /** new_ask_price is the new ask price for this sell order */ - newAskPrice: Coin; - /** - * disable_auto_retire updates the disable_auto_retire field in the sell - * order. - */ - disableAutoRetire: boolean; - /** - * new_expiration is an optional timestamp when the sell order expires. When - * the expiration time is reached, the sell order is removed from state. - */ - newExpiration: Timestamp; -} -export interface MsgUpdateSellOrders_UpdateProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.Update"; - value: Uint8Array; -} -/** Update is an update to an existing sell order. */ -export interface MsgUpdateSellOrders_UpdateAmino { - /** sell_order_id is the ID of an existing sell order. */ - sell_order_id: string; - /** new_quantity is the updated quantity of credits available to sell. */ - new_quantity: string; - /** new_ask_price is the new ask price for this sell order */ - new_ask_price?: CoinAmino; - /** - * disable_auto_retire updates the disable_auto_retire field in the sell - * order. - */ - disable_auto_retire: boolean; - /** - * new_expiration is an optional timestamp when the sell order expires. When - * the expiration time is reached, the sell order is removed from state. - */ - new_expiration?: TimestampAmino; -} -export interface MsgUpdateSellOrders_UpdateAminoMsg { - type: "/regen.ecocredit.marketplace.v1.Update"; - value: MsgUpdateSellOrders_UpdateAmino; -} -/** Update is an update to an existing sell order. */ -export interface MsgUpdateSellOrders_UpdateSDKType { - sell_order_id: Long; - new_quantity: string; - new_ask_price: CoinSDKType; - disable_auto_retire: boolean; - new_expiration: TimestampSDKType; -} -/** MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type. */ -export interface MsgUpdateSellOrdersResponse { -} -export interface MsgUpdateSellOrdersResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrdersResponse"; - value: Uint8Array; -} -/** MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type. */ -export interface MsgUpdateSellOrdersResponseAmino { -} -export interface MsgUpdateSellOrdersResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.MsgUpdateSellOrdersResponse"; - value: MsgUpdateSellOrdersResponseAmino; -} -/** MsgUpdateSellOrdersResponse is the Msg/UpdateSellOrders response type. */ -export interface MsgUpdateSellOrdersResponseSDKType { -} -/** MsgCancelSellOrder is the Msg/CancelSellOrder request type. */ -export interface MsgCancelSellOrder { - /** - * seller is the address of the account that created the sell order and is - * therefore authorized to cancel the sell order. - */ - seller: string; - /** sell_order_id is the id of the seller order to cancel. */ - sellOrderId: Long; -} -export interface MsgCancelSellOrderProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgCancelSellOrder"; - value: Uint8Array; -} -/** MsgCancelSellOrder is the Msg/CancelSellOrder request type. */ -export interface MsgCancelSellOrderAmino { - /** - * seller is the address of the account that created the sell order and is - * therefore authorized to cancel the sell order. - */ - seller: string; - /** sell_order_id is the id of the seller order to cancel. */ - sell_order_id: string; -} -export interface MsgCancelSellOrderAminoMsg { - type: "regen.marketplace/MsgCancelSellOrder"; - value: MsgCancelSellOrderAmino; -} -/** MsgCancelSellOrder is the Msg/CancelSellOrder request type. */ -export interface MsgCancelSellOrderSDKType { - seller: string; - sell_order_id: Long; -} -/** MsgCancelSellOrder is the Msg/CancelSellOrder response type. */ -export interface MsgCancelSellOrderResponse { -} -export interface MsgCancelSellOrderResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgCancelSellOrderResponse"; - value: Uint8Array; -} -/** MsgCancelSellOrder is the Msg/CancelSellOrder response type. */ -export interface MsgCancelSellOrderResponseAmino { -} -export interface MsgCancelSellOrderResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.MsgCancelSellOrderResponse"; - value: MsgCancelSellOrderResponseAmino; -} -/** MsgCancelSellOrder is the Msg/CancelSellOrder response type. */ -export interface MsgCancelSellOrderResponseSDKType { -} -/** MsgBuyDirect is the Msg/BuyDirect request type. */ -export interface MsgBuyDirect { - /** buyer is the address of the account that is buying credits. */ - buyer: string; - /** orders is a list of orders for ecocredits. */ - orders: MsgBuyDirect_Order[]; -} -export interface MsgBuyDirectProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgBuyDirect"; - value: Uint8Array; -} -/** MsgBuyDirect is the Msg/BuyDirect request type. */ -export interface MsgBuyDirectAmino { - /** buyer is the address of the account that is buying credits. */ - buyer: string; - /** orders is a list of orders for ecocredits. */ - orders: MsgBuyDirect_OrderAmino[]; -} -export interface MsgBuyDirectAminoMsg { - type: "regen.marketplace/MsgBuyDirect"; - value: MsgBuyDirectAmino; -} -/** MsgBuyDirect is the Msg/BuyDirect request type. */ -export interface MsgBuyDirectSDKType { - buyer: string; - orders: MsgBuyDirect_OrderSDKType[]; -} -/** Order contains the information needed to purchase an ecocredit. */ -export interface MsgBuyDirect_Order { - /** - * sell_order_id is the sell order ID against which the buyer is trying - * to buy. - */ - sellOrderId: Long; - /** quantity is the quantity of credits to buy. */ - quantity: string; - /** bid_price is the price the buyer is willing to pay per credit. */ - bidPrice: Coin; - /** - * disable_auto_retire allows auto-retirement to be disabled. If it is set - * to true the credits will not auto-retire and can be resold assuming that - * the corresponding sell order has auto-retirement disabled. If the sell - * order hasn't disabled auto-retirement and the buy order tries to disable - * it, that buy order will fail. - */ - disableAutoRetire: boolean; - /** - * retirement_jurisdiction is the optional retirement jurisdiction for the - * credits which will be used only if disable_auto_retire is false. - */ - retirementJurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. The reason will be included in EventRetire and is not - * stored in state. - * - * Since Revision 1 - */ - retirementReason: string; -} -export interface MsgBuyDirect_OrderProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.Order"; - value: Uint8Array; -} -/** Order contains the information needed to purchase an ecocredit. */ -export interface MsgBuyDirect_OrderAmino { - /** - * sell_order_id is the sell order ID against which the buyer is trying - * to buy. - */ - sell_order_id: string; - /** quantity is the quantity of credits to buy. */ - quantity: string; - /** bid_price is the price the buyer is willing to pay per credit. */ - bid_price?: CoinAmino; - /** - * disable_auto_retire allows auto-retirement to be disabled. If it is set - * to true the credits will not auto-retire and can be resold assuming that - * the corresponding sell order has auto-retirement disabled. If the sell - * order hasn't disabled auto-retirement and the buy order tries to disable - * it, that buy order will fail. - */ - disable_auto_retire: boolean; - /** - * retirement_jurisdiction is the optional retirement jurisdiction for the - * credits which will be used only if disable_auto_retire is false. - */ - retirement_jurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. The reason will be included in EventRetire and is not - * stored in state. - * - * Since Revision 1 - */ - retirement_reason: string; -} -export interface MsgBuyDirect_OrderAminoMsg { - type: "/regen.ecocredit.marketplace.v1.Order"; - value: MsgBuyDirect_OrderAmino; -} -/** Order contains the information needed to purchase an ecocredit. */ -export interface MsgBuyDirect_OrderSDKType { - sell_order_id: Long; - quantity: string; - bid_price: CoinSDKType; - disable_auto_retire: boolean; - retirement_jurisdiction: string; - retirement_reason: string; -} -/** MsgBuyDirectResponse is the Msg/BuyDirect response type. */ -export interface MsgBuyDirectResponse { -} -export interface MsgBuyDirectResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgBuyDirectResponse"; - value: Uint8Array; -} -/** MsgBuyDirectResponse is the Msg/BuyDirect response type. */ -export interface MsgBuyDirectResponseAmino { -} -export interface MsgBuyDirectResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.MsgBuyDirectResponse"; - value: MsgBuyDirectResponseAmino; -} -/** MsgBuyDirectResponse is the Msg/BuyDirect response type. */ -export interface MsgBuyDirectResponseSDKType { -} -/** - * MsgAddAllowedDenom is the Msg/AddAllowedDenom request type. - * - * Since Revision 1 - */ -export interface MsgAddAllowedDenom { - /** authority is the address of the governance account. */ - authority: string; - /** denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS) */ - bankDenom: string; - /** - * display_denom is the denom to display to the user and is informational. - * Because the denom is likely an IBC denom, this should be chosen by - * governance to represent the consensus trusted name of the denom. - */ - displayDenom: string; - /** - * exponent is the exponent that relates the denom to the display_denom and is - * informational - */ - exponent: number; -} -export interface MsgAddAllowedDenomProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenom"; - value: Uint8Array; -} -/** - * MsgAddAllowedDenom is the Msg/AddAllowedDenom request type. - * - * Since Revision 1 - */ -export interface MsgAddAllowedDenomAmino { - /** authority is the address of the governance account. */ - authority: string; - /** denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS) */ - bank_denom: string; - /** - * display_denom is the denom to display to the user and is informational. - * Because the denom is likely an IBC denom, this should be chosen by - * governance to represent the consensus trusted name of the denom. - */ - display_denom: string; - /** - * exponent is the exponent that relates the denom to the display_denom and is - * informational - */ - exponent: number; -} -export interface MsgAddAllowedDenomAminoMsg { - type: "regen.marketplace/MsgAddAllowedDenom"; - value: MsgAddAllowedDenomAmino; -} -/** - * MsgAddAllowedDenom is the Msg/AddAllowedDenom request type. - * - * Since Revision 1 - */ -export interface MsgAddAllowedDenomSDKType { - authority: string; - bank_denom: string; - display_denom: string; - exponent: number; -} -/** - * MsgAddAllowedDenomResponse is the Msg/AddAllowedDenom response type. - * - * Since Revision 1 - */ -export interface MsgAddAllowedDenomResponse { -} -export interface MsgAddAllowedDenomResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse"; - value: Uint8Array; -} -/** - * MsgAddAllowedDenomResponse is the Msg/AddAllowedDenom response type. - * - * Since Revision 1 - */ -export interface MsgAddAllowedDenomResponseAmino { -} -export interface MsgAddAllowedDenomResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.MsgAddAllowedDenomResponse"; - value: MsgAddAllowedDenomResponseAmino; -} -/** - * MsgAddAllowedDenomResponse is the Msg/AddAllowedDenom response type. - * - * Since Revision 1 - */ -export interface MsgAddAllowedDenomResponseSDKType { -} -/** - * MsgRemoveAllowedDenom is the Msg/RemoveAllowedDenom request type. - * - * Since Revision 1 - */ -export interface MsgRemoveAllowedDenom { - /** authority is the address of the governance account. */ - authority: string; - /** denom is the denom to remove (ex. ibc/GLKHDSG423SGS) */ - denom: string; -} -export interface MsgRemoveAllowedDenomProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenom"; - value: Uint8Array; -} -/** - * MsgRemoveAllowedDenom is the Msg/RemoveAllowedDenom request type. - * - * Since Revision 1 - */ -export interface MsgRemoveAllowedDenomAmino { - /** authority is the address of the governance account. */ - authority: string; - /** denom is the denom to remove (ex. ibc/GLKHDSG423SGS) */ - denom: string; -} -export interface MsgRemoveAllowedDenomAminoMsg { - type: "regen.marketplace/MsgRemoveAllowedDenom"; - value: MsgRemoveAllowedDenomAmino; -} -/** - * MsgRemoveAllowedDenom is the Msg/RemoveAllowedDenom request type. - * - * Since Revision 1 - */ -export interface MsgRemoveAllowedDenomSDKType { - authority: string; - denom: string; -} -/** - * MsgRemoveAllowedDenomResponse is the Msg/RemoveAllowedDenom response type. - * - * Since Revision 1 - */ -export interface MsgRemoveAllowedDenomResponse { -} -export interface MsgRemoveAllowedDenomResponseProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse"; - value: Uint8Array; -} -/** - * MsgRemoveAllowedDenomResponse is the Msg/RemoveAllowedDenom response type. - * - * Since Revision 1 - */ -export interface MsgRemoveAllowedDenomResponseAmino { -} -export interface MsgRemoveAllowedDenomResponseAminoMsg { - type: "/regen.ecocredit.marketplace.v1.MsgRemoveAllowedDenomResponse"; - value: MsgRemoveAllowedDenomResponseAmino; -} -/** - * MsgRemoveAllowedDenomResponse is the Msg/RemoveAllowedDenom response type. - * - * Since Revision 1 - */ -export interface MsgRemoveAllowedDenomResponseSDKType { -} -export declare const MsgSell: { - encode(message: MsgSell, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSell; - fromJSON(object: any): MsgSell; - toJSON(message: MsgSell): unknown; - fromPartial(object: Partial): MsgSell; - fromAmino(object: MsgSellAmino): MsgSell; - toAmino(message: MsgSell): MsgSellAmino; - fromAminoMsg(object: MsgSellAminoMsg): MsgSell; - toAminoMsg(message: MsgSell): MsgSellAminoMsg; - fromProtoMsg(message: MsgSellProtoMsg): MsgSell; - toProto(message: MsgSell): Uint8Array; - toProtoMsg(message: MsgSell): MsgSellProtoMsg; -}; -export declare const MsgSell_Order: { - encode(message: MsgSell_Order, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSell_Order; - fromJSON(object: any): MsgSell_Order; - toJSON(message: MsgSell_Order): unknown; - fromPartial(object: Partial): MsgSell_Order; - fromAmino(object: MsgSell_OrderAmino): MsgSell_Order; - toAmino(message: MsgSell_Order): MsgSell_OrderAmino; - fromAminoMsg(object: MsgSell_OrderAminoMsg): MsgSell_Order; - fromProtoMsg(message: MsgSell_OrderProtoMsg): MsgSell_Order; - toProto(message: MsgSell_Order): Uint8Array; - toProtoMsg(message: MsgSell_Order): MsgSell_OrderProtoMsg; -}; -export declare const MsgSellResponse: { - encode(message: MsgSellResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSellResponse; - fromJSON(object: any): MsgSellResponse; - toJSON(message: MsgSellResponse): unknown; - fromPartial(object: Partial): MsgSellResponse; - fromAmino(object: MsgSellResponseAmino): MsgSellResponse; - toAmino(message: MsgSellResponse): MsgSellResponseAmino; - fromAminoMsg(object: MsgSellResponseAminoMsg): MsgSellResponse; - fromProtoMsg(message: MsgSellResponseProtoMsg): MsgSellResponse; - toProto(message: MsgSellResponse): Uint8Array; - toProtoMsg(message: MsgSellResponse): MsgSellResponseProtoMsg; -}; -export declare const MsgUpdateSellOrders: { - encode(message: MsgUpdateSellOrders, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateSellOrders; - fromJSON(object: any): MsgUpdateSellOrders; - toJSON(message: MsgUpdateSellOrders): unknown; - fromPartial(object: Partial): MsgUpdateSellOrders; - fromAmino(object: MsgUpdateSellOrdersAmino): MsgUpdateSellOrders; - toAmino(message: MsgUpdateSellOrders): MsgUpdateSellOrdersAmino; - fromAminoMsg(object: MsgUpdateSellOrdersAminoMsg): MsgUpdateSellOrders; - toAminoMsg(message: MsgUpdateSellOrders): MsgUpdateSellOrdersAminoMsg; - fromProtoMsg(message: MsgUpdateSellOrdersProtoMsg): MsgUpdateSellOrders; - toProto(message: MsgUpdateSellOrders): Uint8Array; - toProtoMsg(message: MsgUpdateSellOrders): MsgUpdateSellOrdersProtoMsg; -}; -export declare const MsgUpdateSellOrders_Update: { - encode(message: MsgUpdateSellOrders_Update, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateSellOrders_Update; - fromJSON(object: any): MsgUpdateSellOrders_Update; - toJSON(message: MsgUpdateSellOrders_Update): unknown; - fromPartial(object: Partial): MsgUpdateSellOrders_Update; - fromAmino(object: MsgUpdateSellOrders_UpdateAmino): MsgUpdateSellOrders_Update; - toAmino(message: MsgUpdateSellOrders_Update): MsgUpdateSellOrders_UpdateAmino; - fromAminoMsg(object: MsgUpdateSellOrders_UpdateAminoMsg): MsgUpdateSellOrders_Update; - fromProtoMsg(message: MsgUpdateSellOrders_UpdateProtoMsg): MsgUpdateSellOrders_Update; - toProto(message: MsgUpdateSellOrders_Update): Uint8Array; - toProtoMsg(message: MsgUpdateSellOrders_Update): MsgUpdateSellOrders_UpdateProtoMsg; -}; -export declare const MsgUpdateSellOrdersResponse: { - encode(_: MsgUpdateSellOrdersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateSellOrdersResponse; - fromJSON(_: any): MsgUpdateSellOrdersResponse; - toJSON(_: MsgUpdateSellOrdersResponse): unknown; - fromPartial(_: Partial): MsgUpdateSellOrdersResponse; - fromAmino(_: MsgUpdateSellOrdersResponseAmino): MsgUpdateSellOrdersResponse; - toAmino(_: MsgUpdateSellOrdersResponse): MsgUpdateSellOrdersResponseAmino; - fromAminoMsg(object: MsgUpdateSellOrdersResponseAminoMsg): MsgUpdateSellOrdersResponse; - fromProtoMsg(message: MsgUpdateSellOrdersResponseProtoMsg): MsgUpdateSellOrdersResponse; - toProto(message: MsgUpdateSellOrdersResponse): Uint8Array; - toProtoMsg(message: MsgUpdateSellOrdersResponse): MsgUpdateSellOrdersResponseProtoMsg; -}; -export declare const MsgCancelSellOrder: { - encode(message: MsgCancelSellOrder, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelSellOrder; - fromJSON(object: any): MsgCancelSellOrder; - toJSON(message: MsgCancelSellOrder): unknown; - fromPartial(object: Partial): MsgCancelSellOrder; - fromAmino(object: MsgCancelSellOrderAmino): MsgCancelSellOrder; - toAmino(message: MsgCancelSellOrder): MsgCancelSellOrderAmino; - fromAminoMsg(object: MsgCancelSellOrderAminoMsg): MsgCancelSellOrder; - toAminoMsg(message: MsgCancelSellOrder): MsgCancelSellOrderAminoMsg; - fromProtoMsg(message: MsgCancelSellOrderProtoMsg): MsgCancelSellOrder; - toProto(message: MsgCancelSellOrder): Uint8Array; - toProtoMsg(message: MsgCancelSellOrder): MsgCancelSellOrderProtoMsg; -}; -export declare const MsgCancelSellOrderResponse: { - encode(_: MsgCancelSellOrderResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelSellOrderResponse; - fromJSON(_: any): MsgCancelSellOrderResponse; - toJSON(_: MsgCancelSellOrderResponse): unknown; - fromPartial(_: Partial): MsgCancelSellOrderResponse; - fromAmino(_: MsgCancelSellOrderResponseAmino): MsgCancelSellOrderResponse; - toAmino(_: MsgCancelSellOrderResponse): MsgCancelSellOrderResponseAmino; - fromAminoMsg(object: MsgCancelSellOrderResponseAminoMsg): MsgCancelSellOrderResponse; - fromProtoMsg(message: MsgCancelSellOrderResponseProtoMsg): MsgCancelSellOrderResponse; - toProto(message: MsgCancelSellOrderResponse): Uint8Array; - toProtoMsg(message: MsgCancelSellOrderResponse): MsgCancelSellOrderResponseProtoMsg; -}; -export declare const MsgBuyDirect: { - encode(message: MsgBuyDirect, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBuyDirect; - fromJSON(object: any): MsgBuyDirect; - toJSON(message: MsgBuyDirect): unknown; - fromPartial(object: Partial): MsgBuyDirect; - fromAmino(object: MsgBuyDirectAmino): MsgBuyDirect; - toAmino(message: MsgBuyDirect): MsgBuyDirectAmino; - fromAminoMsg(object: MsgBuyDirectAminoMsg): MsgBuyDirect; - toAminoMsg(message: MsgBuyDirect): MsgBuyDirectAminoMsg; - fromProtoMsg(message: MsgBuyDirectProtoMsg): MsgBuyDirect; - toProto(message: MsgBuyDirect): Uint8Array; - toProtoMsg(message: MsgBuyDirect): MsgBuyDirectProtoMsg; -}; -export declare const MsgBuyDirect_Order: { - encode(message: MsgBuyDirect_Order, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBuyDirect_Order; - fromJSON(object: any): MsgBuyDirect_Order; - toJSON(message: MsgBuyDirect_Order): unknown; - fromPartial(object: Partial): MsgBuyDirect_Order; - fromAmino(object: MsgBuyDirect_OrderAmino): MsgBuyDirect_Order; - toAmino(message: MsgBuyDirect_Order): MsgBuyDirect_OrderAmino; - fromAminoMsg(object: MsgBuyDirect_OrderAminoMsg): MsgBuyDirect_Order; - fromProtoMsg(message: MsgBuyDirect_OrderProtoMsg): MsgBuyDirect_Order; - toProto(message: MsgBuyDirect_Order): Uint8Array; - toProtoMsg(message: MsgBuyDirect_Order): MsgBuyDirect_OrderProtoMsg; -}; -export declare const MsgBuyDirectResponse: { - encode(_: MsgBuyDirectResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBuyDirectResponse; - fromJSON(_: any): MsgBuyDirectResponse; - toJSON(_: MsgBuyDirectResponse): unknown; - fromPartial(_: Partial): MsgBuyDirectResponse; - fromAmino(_: MsgBuyDirectResponseAmino): MsgBuyDirectResponse; - toAmino(_: MsgBuyDirectResponse): MsgBuyDirectResponseAmino; - fromAminoMsg(object: MsgBuyDirectResponseAminoMsg): MsgBuyDirectResponse; - fromProtoMsg(message: MsgBuyDirectResponseProtoMsg): MsgBuyDirectResponse; - toProto(message: MsgBuyDirectResponse): Uint8Array; - toProtoMsg(message: MsgBuyDirectResponse): MsgBuyDirectResponseProtoMsg; -}; -export declare const MsgAddAllowedDenom: { - encode(message: MsgAddAllowedDenom, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddAllowedDenom; - fromJSON(object: any): MsgAddAllowedDenom; - toJSON(message: MsgAddAllowedDenom): unknown; - fromPartial(object: Partial): MsgAddAllowedDenom; - fromAmino(object: MsgAddAllowedDenomAmino): MsgAddAllowedDenom; - toAmino(message: MsgAddAllowedDenom): MsgAddAllowedDenomAmino; - fromAminoMsg(object: MsgAddAllowedDenomAminoMsg): MsgAddAllowedDenom; - toAminoMsg(message: MsgAddAllowedDenom): MsgAddAllowedDenomAminoMsg; - fromProtoMsg(message: MsgAddAllowedDenomProtoMsg): MsgAddAllowedDenom; - toProto(message: MsgAddAllowedDenom): Uint8Array; - toProtoMsg(message: MsgAddAllowedDenom): MsgAddAllowedDenomProtoMsg; -}; -export declare const MsgAddAllowedDenomResponse: { - encode(_: MsgAddAllowedDenomResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddAllowedDenomResponse; - fromJSON(_: any): MsgAddAllowedDenomResponse; - toJSON(_: MsgAddAllowedDenomResponse): unknown; - fromPartial(_: Partial): MsgAddAllowedDenomResponse; - fromAmino(_: MsgAddAllowedDenomResponseAmino): MsgAddAllowedDenomResponse; - toAmino(_: MsgAddAllowedDenomResponse): MsgAddAllowedDenomResponseAmino; - fromAminoMsg(object: MsgAddAllowedDenomResponseAminoMsg): MsgAddAllowedDenomResponse; - fromProtoMsg(message: MsgAddAllowedDenomResponseProtoMsg): MsgAddAllowedDenomResponse; - toProto(message: MsgAddAllowedDenomResponse): Uint8Array; - toProtoMsg(message: MsgAddAllowedDenomResponse): MsgAddAllowedDenomResponseProtoMsg; -}; -export declare const MsgRemoveAllowedDenom: { - encode(message: MsgRemoveAllowedDenom, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveAllowedDenom; - fromJSON(object: any): MsgRemoveAllowedDenom; - toJSON(message: MsgRemoveAllowedDenom): unknown; - fromPartial(object: Partial): MsgRemoveAllowedDenom; - fromAmino(object: MsgRemoveAllowedDenomAmino): MsgRemoveAllowedDenom; - toAmino(message: MsgRemoveAllowedDenom): MsgRemoveAllowedDenomAmino; - fromAminoMsg(object: MsgRemoveAllowedDenomAminoMsg): MsgRemoveAllowedDenom; - toAminoMsg(message: MsgRemoveAllowedDenom): MsgRemoveAllowedDenomAminoMsg; - fromProtoMsg(message: MsgRemoveAllowedDenomProtoMsg): MsgRemoveAllowedDenom; - toProto(message: MsgRemoveAllowedDenom): Uint8Array; - toProtoMsg(message: MsgRemoveAllowedDenom): MsgRemoveAllowedDenomProtoMsg; -}; -export declare const MsgRemoveAllowedDenomResponse: { - encode(_: MsgRemoveAllowedDenomResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveAllowedDenomResponse; - fromJSON(_: any): MsgRemoveAllowedDenomResponse; - toJSON(_: MsgRemoveAllowedDenomResponse): unknown; - fromPartial(_: Partial): MsgRemoveAllowedDenomResponse; - fromAmino(_: MsgRemoveAllowedDenomResponseAmino): MsgRemoveAllowedDenomResponse; - toAmino(_: MsgRemoveAllowedDenomResponse): MsgRemoveAllowedDenomResponseAmino; - fromAminoMsg(object: MsgRemoveAllowedDenomResponseAminoMsg): MsgRemoveAllowedDenomResponse; - fromProtoMsg(message: MsgRemoveAllowedDenomResponseProtoMsg): MsgRemoveAllowedDenomResponse; - toProto(message: MsgRemoveAllowedDenomResponse): Uint8Array; - toProtoMsg(message: MsgRemoveAllowedDenomResponse): MsgRemoveAllowedDenomResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.registry.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.registry.d.ts deleted file mode 100644 index 62c25eb4..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.registry.d.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSell, MsgUpdateSellOrders, MsgCancelSellOrder, MsgBuyDirect, MsgAddAllowedDenom, MsgRemoveAllowedDenom } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - sell(value: MsgSell): { - typeUrl: string; - value: Uint8Array; - }; - updateSellOrders(value: MsgUpdateSellOrders): { - typeUrl: string; - value: Uint8Array; - }; - cancelSellOrder(value: MsgCancelSellOrder): { - typeUrl: string; - value: Uint8Array; - }; - buyDirect(value: MsgBuyDirect): { - typeUrl: string; - value: Uint8Array; - }; - addAllowedDenom(value: MsgAddAllowedDenom): { - typeUrl: string; - value: Uint8Array; - }; - removeAllowedDenom(value: MsgRemoveAllowedDenom): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - sell(value: MsgSell): { - typeUrl: string; - value: MsgSell; - }; - updateSellOrders(value: MsgUpdateSellOrders): { - typeUrl: string; - value: MsgUpdateSellOrders; - }; - cancelSellOrder(value: MsgCancelSellOrder): { - typeUrl: string; - value: MsgCancelSellOrder; - }; - buyDirect(value: MsgBuyDirect): { - typeUrl: string; - value: MsgBuyDirect; - }; - addAllowedDenom(value: MsgAddAllowedDenom): { - typeUrl: string; - value: MsgAddAllowedDenom; - }; - removeAllowedDenom(value: MsgRemoveAllowedDenom): { - typeUrl: string; - value: MsgRemoveAllowedDenom; - }; - }; - toJSON: { - sell(value: MsgSell): { - typeUrl: string; - value: unknown; - }; - updateSellOrders(value: MsgUpdateSellOrders): { - typeUrl: string; - value: unknown; - }; - cancelSellOrder(value: MsgCancelSellOrder): { - typeUrl: string; - value: unknown; - }; - buyDirect(value: MsgBuyDirect): { - typeUrl: string; - value: unknown; - }; - addAllowedDenom(value: MsgAddAllowedDenom): { - typeUrl: string; - value: unknown; - }; - removeAllowedDenom(value: MsgRemoveAllowedDenom): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - sell(value: any): { - typeUrl: string; - value: MsgSell; - }; - updateSellOrders(value: any): { - typeUrl: string; - value: MsgUpdateSellOrders; - }; - cancelSellOrder(value: any): { - typeUrl: string; - value: MsgCancelSellOrder; - }; - buyDirect(value: any): { - typeUrl: string; - value: MsgBuyDirect; - }; - addAllowedDenom(value: any): { - typeUrl: string; - value: MsgAddAllowedDenom; - }; - removeAllowedDenom(value: any): { - typeUrl: string; - value: MsgRemoveAllowedDenom; - }; - }; - fromPartial: { - sell(value: MsgSell): { - typeUrl: string; - value: MsgSell; - }; - updateSellOrders(value: MsgUpdateSellOrders): { - typeUrl: string; - value: MsgUpdateSellOrders; - }; - cancelSellOrder(value: MsgCancelSellOrder): { - typeUrl: string; - value: MsgCancelSellOrder; - }; - buyDirect(value: MsgBuyDirect): { - typeUrl: string; - value: MsgBuyDirect; - }; - addAllowedDenom(value: MsgAddAllowedDenom): { - typeUrl: string; - value: MsgAddAllowedDenom; - }; - removeAllowedDenom(value: MsgRemoveAllowedDenom): { - typeUrl: string; - value: MsgRemoveAllowedDenom; - }; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 9f22b1bb..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { MsgSell, MsgSellResponse, MsgUpdateSellOrders, MsgUpdateSellOrdersResponse, MsgCancelSellOrder, MsgCancelSellOrderResponse, MsgBuyDirect, MsgBuyDirectResponse, MsgAddAllowedDenom, MsgAddAllowedDenomResponse, MsgRemoveAllowedDenom, MsgRemoveAllowedDenomResponse } from "./tx"; -/** Msg is the regen.ecocredit.marketplace.v1 Msg service. */ -export interface Msg { - /** Sell creates new sell orders. */ - sell(request: MsgSell): Promise; - /** UpdateSellOrders updates existing sell orders. */ - updateSellOrders(request: MsgUpdateSellOrders): Promise; - /** CancelSellOrder cancels a sell order and returns the credits from escrow. */ - cancelSellOrder(request: MsgCancelSellOrder): Promise; - /** BuyDirect purchases credits directly from the specified sell order. */ - buyDirect(request: MsgBuyDirect): Promise; - /** - * AddAllowedDenom is a governance method that allows the addition of - * new allowed denom. - * - * Since Revision 1 - */ - addAllowedDenom(request: MsgAddAllowedDenom): Promise; - /** - * RemoveAllowedDenom is a governance method that removes allowed denom. - * - * Since Revision 1 - */ - removeAllowedDenom(request: MsgRemoveAllowedDenom): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - sell(request: MsgSell): Promise; - updateSellOrders(request: MsgUpdateSellOrders): Promise; - cancelSellOrder(request: MsgCancelSellOrder): Promise; - buyDirect(request: MsgBuyDirect): Promise; - addAllowedDenom(request: MsgAddAllowedDenom): Promise; - removeAllowedDenom(request: MsgRemoveAllowedDenom): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/types.d.ts b/packages/api/types/codegen/regen/ecocredit/marketplace/v1/types.d.ts deleted file mode 100644 index 0a93284a..00000000 --- a/packages/api/types/codegen/regen/ecocredit/marketplace/v1/types.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { AllowedDenom, AllowedDenomAmino, AllowedDenomSDKType } from "./state"; -import * as _m0 from "protobufjs/minimal"; -/** - * AllowDenomProposal is a gov Content type for approving a denom for use in the - * marketplace. - * - * Deprecated (Since Revision 1): This message is no longer used and will be - * removed in the next version. See MsgAddAllowedDenom. - */ -export interface AllowDenomProposal { - /** title is the title of the proposal. */ - title: string; - /** description is the description of the proposal. */ - description: string; - /** - * denom contains coin denom information that will be added to the - * list of allowed denoms for use in the marketplace. - */ - denom: AllowedDenom; -} -export interface AllowDenomProposalProtoMsg { - typeUrl: "/regen.ecocredit.marketplace.v1.AllowDenomProposal"; - value: Uint8Array; -} -/** - * AllowDenomProposal is a gov Content type for approving a denom for use in the - * marketplace. - * - * Deprecated (Since Revision 1): This message is no longer used and will be - * removed in the next version. See MsgAddAllowedDenom. - */ -export interface AllowDenomProposalAmino { - /** title is the title of the proposal. */ - title: string; - /** description is the description of the proposal. */ - description: string; - /** - * denom contains coin denom information that will be added to the - * list of allowed denoms for use in the marketplace. - */ - denom?: AllowedDenomAmino; -} -export interface AllowDenomProposalAminoMsg { - type: "/regen.ecocredit.marketplace.v1.AllowDenomProposal"; - value: AllowDenomProposalAmino; -} -/** - * AllowDenomProposal is a gov Content type for approving a denom for use in the - * marketplace. - * - * Deprecated (Since Revision 1): This message is no longer used and will be - * removed in the next version. See MsgAddAllowedDenom. - */ -export interface AllowDenomProposalSDKType { - title: string; - description: string; - denom: AllowedDenomSDKType; -} -export declare const AllowDenomProposal: { - encode(message: AllowDenomProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowDenomProposal; - fromJSON(object: any): AllowDenomProposal; - toJSON(message: AllowDenomProposal): unknown; - fromPartial(object: Partial): AllowDenomProposal; - fromAmino(object: AllowDenomProposalAmino): AllowDenomProposal; - toAmino(message: AllowDenomProposal): AllowDenomProposalAmino; - fromAminoMsg(object: AllowDenomProposalAminoMsg): AllowDenomProposal; - fromProtoMsg(message: AllowDenomProposalProtoMsg): AllowDenomProposal; - toProto(message: AllowDenomProposal): Uint8Array; - toProtoMsg(message: AllowDenomProposal): AllowDenomProposalProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/orderbook/v1alpha1/memory.d.ts b/packages/api/types/codegen/regen/ecocredit/orderbook/v1alpha1/memory.d.ts deleted file mode 100644 index e87e1fbb..00000000 --- a/packages/api/types/codegen/regen/ecocredit/orderbook/v1alpha1/memory.d.ts +++ /dev/null @@ -1,228 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../../google/protobuf/timestamp"; -import { Long } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * BuyOrderSellOrderMatch defines the data the FIFO/price-time-priority matching - * algorithm used to actually match buy and sell orders. - */ -export interface BuyOrderSellOrderMatch { - /** market_id defines the market within which this match exists. */ - marketId: Long; - /** buy_order_id is the buy order ID. */ - buyOrderId: Long; - /** sell_order_id is the sell order ID. */ - sellOrderId: Long; - /** - * bid_price_complement is the the complement (^ operator) of the bid price - * encoded as a uint32 (which should have sufficient precision) - effectively - * ~price * 10^exponent (usually 10^6). The complement is used so that bids - * can be sorted high to low. - */ - bidPriceComplement: number; - /** - * ask_price is the ask price encoded to a uint32. Ask prices are sorted low - * to high. - */ - askPrice: number; -} -export interface BuyOrderSellOrderMatchProtoMsg { - typeUrl: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderSellOrderMatch"; - value: Uint8Array; -} -/** - * BuyOrderSellOrderMatch defines the data the FIFO/price-time-priority matching - * algorithm used to actually match buy and sell orders. - */ -export interface BuyOrderSellOrderMatchAmino { - /** market_id defines the market within which this match exists. */ - market_id: string; - /** buy_order_id is the buy order ID. */ - buy_order_id: string; - /** sell_order_id is the sell order ID. */ - sell_order_id: string; - /** - * bid_price_complement is the the complement (^ operator) of the bid price - * encoded as a uint32 (which should have sufficient precision) - effectively - * ~price * 10^exponent (usually 10^6). The complement is used so that bids - * can be sorted high to low. - */ - bid_price_complement: number; - /** - * ask_price is the ask price encoded to a uint32. Ask prices are sorted low - * to high. - */ - ask_price: number; -} -export interface BuyOrderSellOrderMatchAminoMsg { - type: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderSellOrderMatch"; - value: BuyOrderSellOrderMatchAmino; -} -/** - * BuyOrderSellOrderMatch defines the data the FIFO/price-time-priority matching - * algorithm used to actually match buy and sell orders. - */ -export interface BuyOrderSellOrderMatchSDKType { - market_id: Long; - buy_order_id: Long; - sell_order_id: Long; - bid_price_complement: number; - ask_price: number; -} -/** BuyOrderClassSelector indexes a buy order with class selector. */ -export interface BuyOrderClassSelector { - /** buy_order_id is the buy order ID. */ - buyOrderId: Long; - /** class_id is the class ID. */ - classId: Long; - /** project_location is the project location in the selector's criteria. */ - projectLocation: string; - /** min_start_date is the minimum start date in the selector's criteria. */ - minStartDate: Timestamp; - /** max_end_date is the maximum end date in the selector's criteria. */ - maxEndDate: Timestamp; -} -export interface BuyOrderClassSelectorProtoMsg { - typeUrl: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderClassSelector"; - value: Uint8Array; -} -/** BuyOrderClassSelector indexes a buy order with class selector. */ -export interface BuyOrderClassSelectorAmino { - /** buy_order_id is the buy order ID. */ - buy_order_id: string; - /** class_id is the class ID. */ - class_id: string; - /** project_location is the project location in the selector's criteria. */ - project_location: string; - /** min_start_date is the minimum start date in the selector's criteria. */ - min_start_date?: TimestampAmino; - /** max_end_date is the maximum end date in the selector's criteria. */ - max_end_date?: TimestampAmino; -} -export interface BuyOrderClassSelectorAminoMsg { - type: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderClassSelector"; - value: BuyOrderClassSelectorAmino; -} -/** BuyOrderClassSelector indexes a buy order with class selector. */ -export interface BuyOrderClassSelectorSDKType { - buy_order_id: Long; - class_id: Long; - project_location: string; - min_start_date: TimestampSDKType; - max_end_date: TimestampSDKType; -} -/** BuyOrderProjectSelector indexes a buy order with project selector. */ -export interface BuyOrderProjectSelector { - /** buy_order_id is the buy order ID. */ - buyOrderId: Long; - /** project_id is the project ID. */ - projectId: Long; - /** min_start_date is the minimum start date in the selector's criteria. */ - minStartDate: Timestamp; - /** max_end_date is the maximum end date in the selector's criteria. */ - maxEndDate: Timestamp; -} -export interface BuyOrderProjectSelectorProtoMsg { - typeUrl: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderProjectSelector"; - value: Uint8Array; -} -/** BuyOrderProjectSelector indexes a buy order with project selector. */ -export interface BuyOrderProjectSelectorAmino { - /** buy_order_id is the buy order ID. */ - buy_order_id: string; - /** project_id is the project ID. */ - project_id: string; - /** min_start_date is the minimum start date in the selector's criteria. */ - min_start_date?: TimestampAmino; - /** max_end_date is the maximum end date in the selector's criteria. */ - max_end_date?: TimestampAmino; -} -export interface BuyOrderProjectSelectorAminoMsg { - type: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderProjectSelector"; - value: BuyOrderProjectSelectorAmino; -} -/** BuyOrderProjectSelector indexes a buy order with project selector. */ -export interface BuyOrderProjectSelectorSDKType { - buy_order_id: Long; - project_id: Long; - min_start_date: TimestampSDKType; - max_end_date: TimestampSDKType; -} -/** BuyOrderBatchSelector indexes a buy order with batch selector. */ -export interface BuyOrderBatchSelector { - /** buy_order_id is the buy order ID. */ - buyOrderId: Long; - /** batch_id is the batch ID. */ - batchId: Long; -} -export interface BuyOrderBatchSelectorProtoMsg { - typeUrl: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderBatchSelector"; - value: Uint8Array; -} -/** BuyOrderBatchSelector indexes a buy order with batch selector. */ -export interface BuyOrderBatchSelectorAmino { - /** buy_order_id is the buy order ID. */ - buy_order_id: string; - /** batch_id is the batch ID. */ - batch_id: string; -} -export interface BuyOrderBatchSelectorAminoMsg { - type: "/regen.ecocredit.orderbook.v1alpha1.BuyOrderBatchSelector"; - value: BuyOrderBatchSelectorAmino; -} -/** BuyOrderBatchSelector indexes a buy order with batch selector. */ -export interface BuyOrderBatchSelectorSDKType { - buy_order_id: Long; - batch_id: Long; -} -export declare const BuyOrderSellOrderMatch: { - encode(message: BuyOrderSellOrderMatch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BuyOrderSellOrderMatch; - fromJSON(object: any): BuyOrderSellOrderMatch; - toJSON(message: BuyOrderSellOrderMatch): unknown; - fromPartial(object: Partial): BuyOrderSellOrderMatch; - fromAmino(object: BuyOrderSellOrderMatchAmino): BuyOrderSellOrderMatch; - toAmino(message: BuyOrderSellOrderMatch): BuyOrderSellOrderMatchAmino; - fromAminoMsg(object: BuyOrderSellOrderMatchAminoMsg): BuyOrderSellOrderMatch; - fromProtoMsg(message: BuyOrderSellOrderMatchProtoMsg): BuyOrderSellOrderMatch; - toProto(message: BuyOrderSellOrderMatch): Uint8Array; - toProtoMsg(message: BuyOrderSellOrderMatch): BuyOrderSellOrderMatchProtoMsg; -}; -export declare const BuyOrderClassSelector: { - encode(message: BuyOrderClassSelector, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BuyOrderClassSelector; - fromJSON(object: any): BuyOrderClassSelector; - toJSON(message: BuyOrderClassSelector): unknown; - fromPartial(object: Partial): BuyOrderClassSelector; - fromAmino(object: BuyOrderClassSelectorAmino): BuyOrderClassSelector; - toAmino(message: BuyOrderClassSelector): BuyOrderClassSelectorAmino; - fromAminoMsg(object: BuyOrderClassSelectorAminoMsg): BuyOrderClassSelector; - fromProtoMsg(message: BuyOrderClassSelectorProtoMsg): BuyOrderClassSelector; - toProto(message: BuyOrderClassSelector): Uint8Array; - toProtoMsg(message: BuyOrderClassSelector): BuyOrderClassSelectorProtoMsg; -}; -export declare const BuyOrderProjectSelector: { - encode(message: BuyOrderProjectSelector, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BuyOrderProjectSelector; - fromJSON(object: any): BuyOrderProjectSelector; - toJSON(message: BuyOrderProjectSelector): unknown; - fromPartial(object: Partial): BuyOrderProjectSelector; - fromAmino(object: BuyOrderProjectSelectorAmino): BuyOrderProjectSelector; - toAmino(message: BuyOrderProjectSelector): BuyOrderProjectSelectorAmino; - fromAminoMsg(object: BuyOrderProjectSelectorAminoMsg): BuyOrderProjectSelector; - fromProtoMsg(message: BuyOrderProjectSelectorProtoMsg): BuyOrderProjectSelector; - toProto(message: BuyOrderProjectSelector): Uint8Array; - toProtoMsg(message: BuyOrderProjectSelector): BuyOrderProjectSelectorProtoMsg; -}; -export declare const BuyOrderBatchSelector: { - encode(message: BuyOrderBatchSelector, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BuyOrderBatchSelector; - fromJSON(object: any): BuyOrderBatchSelector; - toJSON(message: BuyOrderBatchSelector): unknown; - fromPartial(object: Partial): BuyOrderBatchSelector; - fromAmino(object: BuyOrderBatchSelectorAmino): BuyOrderBatchSelector; - toAmino(message: BuyOrderBatchSelector): BuyOrderBatchSelectorAmino; - fromAminoMsg(object: BuyOrderBatchSelectorAminoMsg): BuyOrderBatchSelector; - fromProtoMsg(message: BuyOrderBatchSelectorProtoMsg): BuyOrderBatchSelector; - toProto(message: BuyOrderBatchSelector): Uint8Array; - toProtoMsg(message: BuyOrderBatchSelector): BuyOrderBatchSelectorProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/events.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/events.d.ts deleted file mode 100644 index 72a204bc..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/events.d.ts +++ /dev/null @@ -1,976 +0,0 @@ -import { OriginTx, OriginTxAmino, OriginTxSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -/** EventCreateClass is an event emitted when a credit class is created. */ -export interface EventCreateClass { - /** class_id is the unique identifier of the credit class. */ - classId: string; -} -export interface EventCreateClassProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventCreateClass"; - value: Uint8Array; -} -/** EventCreateClass is an event emitted when a credit class is created. */ -export interface EventCreateClassAmino { - /** class_id is the unique identifier of the credit class. */ - class_id: string; -} -export interface EventCreateClassAminoMsg { - type: "/regen.ecocredit.v1.EventCreateClass"; - value: EventCreateClassAmino; -} -/** EventCreateClass is an event emitted when a credit class is created. */ -export interface EventCreateClassSDKType { - class_id: string; -} -/** EventCreateProject is an event emitted when a project is created. */ -export interface EventCreateProject { - /** project_id is the unique identifier of the project. */ - projectId: string; -} -export interface EventCreateProjectProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventCreateProject"; - value: Uint8Array; -} -/** EventCreateProject is an event emitted when a project is created. */ -export interface EventCreateProjectAmino { - /** project_id is the unique identifier of the project. */ - project_id: string; -} -export interface EventCreateProjectAminoMsg { - type: "/regen.ecocredit.v1.EventCreateProject"; - value: EventCreateProjectAmino; -} -/** EventCreateProject is an event emitted when a project is created. */ -export interface EventCreateProjectSDKType { - project_id: string; -} -/** EventCreateBatch is an event emitted when a credit batch is created. */ -export interface EventCreateBatch { - /** batch_denom is the unique identifier of the credit batch. */ - batchDenom: string; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the creation of the credit batch. - */ - originTx: OriginTx; -} -export interface EventCreateBatchProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventCreateBatch"; - value: Uint8Array; -} -/** EventCreateBatch is an event emitted when a credit batch is created. */ -export interface EventCreateBatchAmino { - /** batch_denom is the unique identifier of the credit batch. */ - batch_denom: string; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the creation of the credit batch. - */ - origin_tx?: OriginTxAmino; -} -export interface EventCreateBatchAminoMsg { - type: "/regen.ecocredit.v1.EventCreateBatch"; - value: EventCreateBatchAmino; -} -/** EventCreateBatch is an event emitted when a credit batch is created. */ -export interface EventCreateBatchSDKType { - batch_denom: string; - origin_tx: OriginTxSDKType; -} -/** - * EventMint is an event emitted when credits are minted either when creating a - * credit batch or when bridging assets from another chain or registry. - */ -export interface EventMint { - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were minted. - */ - batchDenom: string; - /** tradable_amount is the amount of tradable credits minted. */ - tradableAmount: string; - /** retired_amount is the amount of retired credits minted. */ - retiredAmount: string; -} -export interface EventMintProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventMint"; - value: Uint8Array; -} -/** - * EventMint is an event emitted when credits are minted either when creating a - * credit batch or when bridging assets from another chain or registry. - */ -export interface EventMintAmino { - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were minted. - */ - batch_denom: string; - /** tradable_amount is the amount of tradable credits minted. */ - tradable_amount: string; - /** retired_amount is the amount of retired credits minted. */ - retired_amount: string; -} -export interface EventMintAminoMsg { - type: "/regen.ecocredit.v1.EventMint"; - value: EventMintAmino; -} -/** - * EventMint is an event emitted when credits are minted either when creating a - * credit batch or when bridging assets from another chain or registry. - */ -export interface EventMintSDKType { - batch_denom: string; - tradable_amount: string; - retired_amount: string; -} -/** - * EventMintBatchCredits is an event emitted when credits are minted to an - * existing open credit batch. - */ -export interface EventMintBatchCredits { - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were minted. - */ - batchDenom: string; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the minting of credits within the credit batch. - */ - originTx: OriginTx; -} -export interface EventMintBatchCreditsProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventMintBatchCredits"; - value: Uint8Array; -} -/** - * EventMintBatchCredits is an event emitted when credits are minted to an - * existing open credit batch. - */ -export interface EventMintBatchCreditsAmino { - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were minted. - */ - batch_denom: string; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the minting of credits within the credit batch. - */ - origin_tx?: OriginTxAmino; -} -export interface EventMintBatchCreditsAminoMsg { - type: "/regen.ecocredit.v1.EventMintBatchCredits"; - value: EventMintBatchCreditsAmino; -} -/** - * EventMintBatchCredits is an event emitted when credits are minted to an - * existing open credit batch. - */ -export interface EventMintBatchCreditsSDKType { - batch_denom: string; - origin_tx: OriginTxSDKType; -} -/** - * EventTransfer is an event emitted when credits are transferred from one - * account to another including transfers to or from a module account. - */ -export interface EventTransfer { - /** - * sender is the sender of the credits. In the case that the credits were - * transferred from a base account, this will be the account address. In the - * case that the credits were transferred from a module, this will be the - * module address (i.e. either the ecocredit module or basket submodule). - */ - sender: string; - /** - * recipient is the recipient of the credits. In the case that the credits - * were transferred to a base account, this will be the account address. In - * the case that the credits were transferred to a module, this will be the - * module address (i.e. either the ecocredit module or basket submodule). - */ - recipient: string; - /** batch_denom is the unique identifier of the credit batch. */ - batchDenom: string; - /** tradable_amount is the decimal number of tradable credits received. */ - tradableAmount: string; - /** retired_amount is the decimal number of retired credits received. */ - retiredAmount: string; -} -export interface EventTransferProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventTransfer"; - value: Uint8Array; -} -/** - * EventTransfer is an event emitted when credits are transferred from one - * account to another including transfers to or from a module account. - */ -export interface EventTransferAmino { - /** - * sender is the sender of the credits. In the case that the credits were - * transferred from a base account, this will be the account address. In the - * case that the credits were transferred from a module, this will be the - * module address (i.e. either the ecocredit module or basket submodule). - */ - sender: string; - /** - * recipient is the recipient of the credits. In the case that the credits - * were transferred to a base account, this will be the account address. In - * the case that the credits were transferred to a module, this will be the - * module address (i.e. either the ecocredit module or basket submodule). - */ - recipient: string; - /** batch_denom is the unique identifier of the credit batch. */ - batch_denom: string; - /** tradable_amount is the decimal number of tradable credits received. */ - tradable_amount: string; - /** retired_amount is the decimal number of retired credits received. */ - retired_amount: string; -} -export interface EventTransferAminoMsg { - type: "/regen.ecocredit.v1.EventTransfer"; - value: EventTransferAmino; -} -/** - * EventTransfer is an event emitted when credits are transferred from one - * account to another including transfers to or from a module account. - */ -export interface EventTransferSDKType { - sender: string; - recipient: string; - batch_denom: string; - tradable_amount: string; - retired_amount: string; -} -/** - * EventRetire is an event emitted when credits are retired. When credits are - * retired from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventRetire { - /** - * owner is the address of the account that owns the retired credits. This - * will be the account receiving credits in the case that credits were retired - * upon issuance using Msg/CreateBatch, retired upon transfer using Msg/Send, - * retired upon taking from a basket using basket.Msg/Take, or retired upon - * purchase using marketplace.Msg/BuyDirect. - */ - owner: string; - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were retired. - */ - batchDenom: string; - /** amount is the decimal number of credits that have been retired. */ - amount: string; - /** - * jurisdiction is the jurisdiction of the beneficiary or buyer of the retired - * credits. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - jurisdiction: string; - /** - * reason is any arbitrary string that specifies the reason for retiring - * credits. - * - * Since Revision 2 - */ - reason: string; -} -export interface EventRetireProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventRetire"; - value: Uint8Array; -} -/** - * EventRetire is an event emitted when credits are retired. When credits are - * retired from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventRetireAmino { - /** - * owner is the address of the account that owns the retired credits. This - * will be the account receiving credits in the case that credits were retired - * upon issuance using Msg/CreateBatch, retired upon transfer using Msg/Send, - * retired upon taking from a basket using basket.Msg/Take, or retired upon - * purchase using marketplace.Msg/BuyDirect. - */ - owner: string; - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were retired. - */ - batch_denom: string; - /** amount is the decimal number of credits that have been retired. */ - amount: string; - /** - * jurisdiction is the jurisdiction of the beneficiary or buyer of the retired - * credits. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - jurisdiction: string; - /** - * reason is any arbitrary string that specifies the reason for retiring - * credits. - * - * Since Revision 2 - */ - reason: string; -} -export interface EventRetireAminoMsg { - type: "/regen.ecocredit.v1.EventRetire"; - value: EventRetireAmino; -} -/** - * EventRetire is an event emitted when credits are retired. When credits are - * retired from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventRetireSDKType { - owner: string; - batch_denom: string; - amount: string; - jurisdiction: string; - reason: string; -} -/** - * EventCancel is an event emitted when credits are cancelled. When credits are - * cancelled from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventCancel { - /** owner is the address of the account that cancelled the credits. */ - owner: string; - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were cancelled. - */ - batchDenom: string; - /** amount is the decimal number of credits that have been cancelled. */ - amount: string; - /** reason is the reason the credits were cancelled. */ - reason: string; -} -export interface EventCancelProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventCancel"; - value: Uint8Array; -} -/** - * EventCancel is an event emitted when credits are cancelled. When credits are - * cancelled from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventCancelAmino { - /** owner is the address of the account that cancelled the credits. */ - owner: string; - /** - * batch_denom is the unique identifier of the credit batch within which the - * credits were cancelled. - */ - batch_denom: string; - /** amount is the decimal number of credits that have been cancelled. */ - amount: string; - /** reason is the reason the credits were cancelled. */ - reason: string; -} -export interface EventCancelAminoMsg { - type: "/regen.ecocredit.v1.EventCancel"; - value: EventCancelAmino; -} -/** - * EventCancel is an event emitted when credits are cancelled. When credits are - * cancelled from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventCancelSDKType { - owner: string; - batch_denom: string; - amount: string; - reason: string; -} -/** - * EventUpdateClassAdmin is emitted when the admin address of a credit class is - * changed. - */ -export interface EventUpdateClassAdmin { - /** class_id is the unique identifier of the class that was updated. */ - classId: string; -} -export interface EventUpdateClassAdminProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventUpdateClassAdmin"; - value: Uint8Array; -} -/** - * EventUpdateClassAdmin is emitted when the admin address of a credit class is - * changed. - */ -export interface EventUpdateClassAdminAmino { - /** class_id is the unique identifier of the class that was updated. */ - class_id: string; -} -export interface EventUpdateClassAdminAminoMsg { - type: "/regen.ecocredit.v1.EventUpdateClassAdmin"; - value: EventUpdateClassAdminAmino; -} -/** - * EventUpdateClassAdmin is emitted when the admin address of a credit class is - * changed. - */ -export interface EventUpdateClassAdminSDKType { - class_id: string; -} -/** - * EventUpdateClassIssuers is emitted when the issuer list for a credit class - * is updated. - */ -export interface EventUpdateClassIssuers { - /** class_id is the unique identifier of the class that was updated. */ - classId: string; -} -export interface EventUpdateClassIssuersProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventUpdateClassIssuers"; - value: Uint8Array; -} -/** - * EventUpdateClassIssuers is emitted when the issuer list for a credit class - * is updated. - */ -export interface EventUpdateClassIssuersAmino { - /** class_id is the unique identifier of the class that was updated. */ - class_id: string; -} -export interface EventUpdateClassIssuersAminoMsg { - type: "/regen.ecocredit.v1.EventUpdateClassIssuers"; - value: EventUpdateClassIssuersAmino; -} -/** - * EventUpdateClassIssuers is emitted when the issuer list for a credit class - * is updated. - */ -export interface EventUpdateClassIssuersSDKType { - class_id: string; -} -/** - * EventUpdateClassMetadata is emitted when the credit class metadata is - * changed. - */ -export interface EventUpdateClassMetadata { - /** class_id is the unique identifier of the class that was updated. */ - classId: string; -} -export interface EventUpdateClassMetadataProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventUpdateClassMetadata"; - value: Uint8Array; -} -/** - * EventUpdateClassMetadata is emitted when the credit class metadata is - * changed. - */ -export interface EventUpdateClassMetadataAmino { - /** class_id is the unique identifier of the class that was updated. */ - class_id: string; -} -export interface EventUpdateClassMetadataAminoMsg { - type: "/regen.ecocredit.v1.EventUpdateClassMetadata"; - value: EventUpdateClassMetadataAmino; -} -/** - * EventUpdateClassMetadata is emitted when the credit class metadata is - * changed. - */ -export interface EventUpdateClassMetadataSDKType { - class_id: string; -} -/** EventUpdateProjectAdmin is emitted when the project admin is changed. */ -export interface EventUpdateProjectAdmin { - /** project_id is the unique identifier of the project that was updated. */ - projectId: string; -} -export interface EventUpdateProjectAdminProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventUpdateProjectAdmin"; - value: Uint8Array; -} -/** EventUpdateProjectAdmin is emitted when the project admin is changed. */ -export interface EventUpdateProjectAdminAmino { - /** project_id is the unique identifier of the project that was updated. */ - project_id: string; -} -export interface EventUpdateProjectAdminAminoMsg { - type: "/regen.ecocredit.v1.EventUpdateProjectAdmin"; - value: EventUpdateProjectAdminAmino; -} -/** EventUpdateProjectAdmin is emitted when the project admin is changed. */ -export interface EventUpdateProjectAdminSDKType { - project_id: string; -} -/** EventUpdateProjectMetadata is emitted when the project metadata is changed. */ -export interface EventUpdateProjectMetadata { - /** project_id is the unique identifier of the project that was updated. */ - projectId: string; -} -export interface EventUpdateProjectMetadataProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventUpdateProjectMetadata"; - value: Uint8Array; -} -/** EventUpdateProjectMetadata is emitted when the project metadata is changed. */ -export interface EventUpdateProjectMetadataAmino { - /** project_id is the unique identifier of the project that was updated. */ - project_id: string; -} -export interface EventUpdateProjectMetadataAminoMsg { - type: "/regen.ecocredit.v1.EventUpdateProjectMetadata"; - value: EventUpdateProjectMetadataAmino; -} -/** EventUpdateProjectMetadata is emitted when the project metadata is changed. */ -export interface EventUpdateProjectMetadataSDKType { - project_id: string; -} -/** - * EventUpdateBatchMetadata is emitted when the credit batch metadata is - * changed. - * - * Since Revision 2 - */ -export interface EventUpdateBatchMetadata { - /** batch_denom is the unique identifier of the batch that was updated. */ - batchDenom: string; -} -export interface EventUpdateBatchMetadataProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventUpdateBatchMetadata"; - value: Uint8Array; -} -/** - * EventUpdateBatchMetadata is emitted when the credit batch metadata is - * changed. - * - * Since Revision 2 - */ -export interface EventUpdateBatchMetadataAmino { - /** batch_denom is the unique identifier of the batch that was updated. */ - batch_denom: string; -} -export interface EventUpdateBatchMetadataAminoMsg { - type: "/regen.ecocredit.v1.EventUpdateBatchMetadata"; - value: EventUpdateBatchMetadataAmino; -} -/** - * EventUpdateBatchMetadata is emitted when the credit batch metadata is - * changed. - * - * Since Revision 2 - */ -export interface EventUpdateBatchMetadataSDKType { - batch_denom: string; -} -/** EventSealBatch is emitted when a batch is sealed. */ -export interface EventSealBatch { - /** batch_denom is the denom of the batch that was sealed. */ - batchDenom: string; -} -export interface EventSealBatchProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventSealBatch"; - value: Uint8Array; -} -/** EventSealBatch is emitted when a batch is sealed. */ -export interface EventSealBatchAmino { - /** batch_denom is the denom of the batch that was sealed. */ - batch_denom: string; -} -export interface EventSealBatchAminoMsg { - type: "/regen.ecocredit.v1.EventSealBatch"; - value: EventSealBatchAmino; -} -/** EventSealBatch is emitted when a batch is sealed. */ -export interface EventSealBatchSDKType { - batch_denom: string; -} -/** EventAddCreditType is emitted when governance approves a new credit type. */ -export interface EventAddCreditType { - /** abbreviation is the abbreviation of the credit type. */ - abbreviation: string; -} -export interface EventAddCreditTypeProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventAddCreditType"; - value: Uint8Array; -} -/** EventAddCreditType is emitted when governance approves a new credit type. */ -export interface EventAddCreditTypeAmino { - /** abbreviation is the abbreviation of the credit type. */ - abbreviation: string; -} -export interface EventAddCreditTypeAminoMsg { - type: "/regen.ecocredit.v1.EventAddCreditType"; - value: EventAddCreditTypeAmino; -} -/** EventAddCreditType is emitted when governance approves a new credit type. */ -export interface EventAddCreditTypeSDKType { - abbreviation: string; -} -/** EventBridge is emitted when credits are bridged to another chain. */ -export interface EventBridge { - /** target is the target chain. */ - target: string; - /** recipient is the recipient address. */ - recipient: string; - /** contract is the contract address. */ - contract: string; - /** amount is the amount of credits. */ - amount: string; - /** - * owner is the owner address. - * - * Since Revision 1 - */ - owner: string; - /** - * batch_denom is the credit batch denom. - * - * Since Revision 3 - */ - batchDenom: string; -} -export interface EventBridgeProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventBridge"; - value: Uint8Array; -} -/** EventBridge is emitted when credits are bridged to another chain. */ -export interface EventBridgeAmino { - /** target is the target chain. */ - target: string; - /** recipient is the recipient address. */ - recipient: string; - /** contract is the contract address. */ - contract: string; - /** amount is the amount of credits. */ - amount: string; - /** - * owner is the owner address. - * - * Since Revision 1 - */ - owner: string; - /** - * batch_denom is the credit batch denom. - * - * Since Revision 3 - */ - batch_denom: string; -} -export interface EventBridgeAminoMsg { - type: "/regen.ecocredit.v1.EventBridge"; - value: EventBridgeAmino; -} -/** EventBridge is emitted when credits are bridged to another chain. */ -export interface EventBridgeSDKType { - target: string; - recipient: string; - contract: string; - amount: string; - owner: string; - batch_denom: string; -} -/** EventBridgeReceive is emitted when credits are bridged from another chain. */ -export interface EventBridgeReceive { - /** - * project_id is the unique identifier of the project that was either created - * or the existing project within which the credit batch exists. - */ - projectId: string; - /** - * batch_denom is the unique identifier of the credit batch either created - * or within which the credits were dynamically minted. - */ - batchDenom: string; - /** - * amount is the amount of credits. - * - * Since Revision 3 - */ - amount: string; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the minting of credits within the credit batch. - * - * Since Revision 3 - */ - originTx: OriginTx; -} -export interface EventBridgeReceiveProtoMsg { - typeUrl: "/regen.ecocredit.v1.EventBridgeReceive"; - value: Uint8Array; -} -/** EventBridgeReceive is emitted when credits are bridged from another chain. */ -export interface EventBridgeReceiveAmino { - /** - * project_id is the unique identifier of the project that was either created - * or the existing project within which the credit batch exists. - */ - project_id: string; - /** - * batch_denom is the unique identifier of the credit batch either created - * or within which the credits were dynamically minted. - */ - batch_denom: string; - /** - * amount is the amount of credits. - * - * Since Revision 3 - */ - amount: string; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the minting of credits within the credit batch. - * - * Since Revision 3 - */ - origin_tx?: OriginTxAmino; -} -export interface EventBridgeReceiveAminoMsg { - type: "/regen.ecocredit.v1.EventBridgeReceive"; - value: EventBridgeReceiveAmino; -} -/** EventBridgeReceive is emitted when credits are bridged from another chain. */ -export interface EventBridgeReceiveSDKType { - project_id: string; - batch_denom: string; - amount: string; - origin_tx: OriginTxSDKType; -} -export declare const EventCreateClass: { - encode(message: EventCreateClass, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateClass; - fromJSON(object: any): EventCreateClass; - toJSON(message: EventCreateClass): unknown; - fromPartial(object: Partial): EventCreateClass; - fromAmino(object: EventCreateClassAmino): EventCreateClass; - toAmino(message: EventCreateClass): EventCreateClassAmino; - fromAminoMsg(object: EventCreateClassAminoMsg): EventCreateClass; - fromProtoMsg(message: EventCreateClassProtoMsg): EventCreateClass; - toProto(message: EventCreateClass): Uint8Array; - toProtoMsg(message: EventCreateClass): EventCreateClassProtoMsg; -}; -export declare const EventCreateProject: { - encode(message: EventCreateProject, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateProject; - fromJSON(object: any): EventCreateProject; - toJSON(message: EventCreateProject): unknown; - fromPartial(object: Partial): EventCreateProject; - fromAmino(object: EventCreateProjectAmino): EventCreateProject; - toAmino(message: EventCreateProject): EventCreateProjectAmino; - fromAminoMsg(object: EventCreateProjectAminoMsg): EventCreateProject; - fromProtoMsg(message: EventCreateProjectProtoMsg): EventCreateProject; - toProto(message: EventCreateProject): Uint8Array; - toProtoMsg(message: EventCreateProject): EventCreateProjectProtoMsg; -}; -export declare const EventCreateBatch: { - encode(message: EventCreateBatch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateBatch; - fromJSON(object: any): EventCreateBatch; - toJSON(message: EventCreateBatch): unknown; - fromPartial(object: Partial): EventCreateBatch; - fromAmino(object: EventCreateBatchAmino): EventCreateBatch; - toAmino(message: EventCreateBatch): EventCreateBatchAmino; - fromAminoMsg(object: EventCreateBatchAminoMsg): EventCreateBatch; - fromProtoMsg(message: EventCreateBatchProtoMsg): EventCreateBatch; - toProto(message: EventCreateBatch): Uint8Array; - toProtoMsg(message: EventCreateBatch): EventCreateBatchProtoMsg; -}; -export declare const EventMint: { - encode(message: EventMint, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventMint; - fromJSON(object: any): EventMint; - toJSON(message: EventMint): unknown; - fromPartial(object: Partial): EventMint; - fromAmino(object: EventMintAmino): EventMint; - toAmino(message: EventMint): EventMintAmino; - fromAminoMsg(object: EventMintAminoMsg): EventMint; - fromProtoMsg(message: EventMintProtoMsg): EventMint; - toProto(message: EventMint): Uint8Array; - toProtoMsg(message: EventMint): EventMintProtoMsg; -}; -export declare const EventMintBatchCredits: { - encode(message: EventMintBatchCredits, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventMintBatchCredits; - fromJSON(object: any): EventMintBatchCredits; - toJSON(message: EventMintBatchCredits): unknown; - fromPartial(object: Partial): EventMintBatchCredits; - fromAmino(object: EventMintBatchCreditsAmino): EventMintBatchCredits; - toAmino(message: EventMintBatchCredits): EventMintBatchCreditsAmino; - fromAminoMsg(object: EventMintBatchCreditsAminoMsg): EventMintBatchCredits; - fromProtoMsg(message: EventMintBatchCreditsProtoMsg): EventMintBatchCredits; - toProto(message: EventMintBatchCredits): Uint8Array; - toProtoMsg(message: EventMintBatchCredits): EventMintBatchCreditsProtoMsg; -}; -export declare const EventTransfer: { - encode(message: EventTransfer, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventTransfer; - fromJSON(object: any): EventTransfer; - toJSON(message: EventTransfer): unknown; - fromPartial(object: Partial): EventTransfer; - fromAmino(object: EventTransferAmino): EventTransfer; - toAmino(message: EventTransfer): EventTransferAmino; - fromAminoMsg(object: EventTransferAminoMsg): EventTransfer; - fromProtoMsg(message: EventTransferProtoMsg): EventTransfer; - toProto(message: EventTransfer): Uint8Array; - toProtoMsg(message: EventTransfer): EventTransferProtoMsg; -}; -export declare const EventRetire: { - encode(message: EventRetire, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventRetire; - fromJSON(object: any): EventRetire; - toJSON(message: EventRetire): unknown; - fromPartial(object: Partial): EventRetire; - fromAmino(object: EventRetireAmino): EventRetire; - toAmino(message: EventRetire): EventRetireAmino; - fromAminoMsg(object: EventRetireAminoMsg): EventRetire; - fromProtoMsg(message: EventRetireProtoMsg): EventRetire; - toProto(message: EventRetire): Uint8Array; - toProtoMsg(message: EventRetire): EventRetireProtoMsg; -}; -export declare const EventCancel: { - encode(message: EventCancel, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCancel; - fromJSON(object: any): EventCancel; - toJSON(message: EventCancel): unknown; - fromPartial(object: Partial): EventCancel; - fromAmino(object: EventCancelAmino): EventCancel; - toAmino(message: EventCancel): EventCancelAmino; - fromAminoMsg(object: EventCancelAminoMsg): EventCancel; - fromProtoMsg(message: EventCancelProtoMsg): EventCancel; - toProto(message: EventCancel): Uint8Array; - toProtoMsg(message: EventCancel): EventCancelProtoMsg; -}; -export declare const EventUpdateClassAdmin: { - encode(message: EventUpdateClassAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateClassAdmin; - fromJSON(object: any): EventUpdateClassAdmin; - toJSON(message: EventUpdateClassAdmin): unknown; - fromPartial(object: Partial): EventUpdateClassAdmin; - fromAmino(object: EventUpdateClassAdminAmino): EventUpdateClassAdmin; - toAmino(message: EventUpdateClassAdmin): EventUpdateClassAdminAmino; - fromAminoMsg(object: EventUpdateClassAdminAminoMsg): EventUpdateClassAdmin; - fromProtoMsg(message: EventUpdateClassAdminProtoMsg): EventUpdateClassAdmin; - toProto(message: EventUpdateClassAdmin): Uint8Array; - toProtoMsg(message: EventUpdateClassAdmin): EventUpdateClassAdminProtoMsg; -}; -export declare const EventUpdateClassIssuers: { - encode(message: EventUpdateClassIssuers, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateClassIssuers; - fromJSON(object: any): EventUpdateClassIssuers; - toJSON(message: EventUpdateClassIssuers): unknown; - fromPartial(object: Partial): EventUpdateClassIssuers; - fromAmino(object: EventUpdateClassIssuersAmino): EventUpdateClassIssuers; - toAmino(message: EventUpdateClassIssuers): EventUpdateClassIssuersAmino; - fromAminoMsg(object: EventUpdateClassIssuersAminoMsg): EventUpdateClassIssuers; - fromProtoMsg(message: EventUpdateClassIssuersProtoMsg): EventUpdateClassIssuers; - toProto(message: EventUpdateClassIssuers): Uint8Array; - toProtoMsg(message: EventUpdateClassIssuers): EventUpdateClassIssuersProtoMsg; -}; -export declare const EventUpdateClassMetadata: { - encode(message: EventUpdateClassMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateClassMetadata; - fromJSON(object: any): EventUpdateClassMetadata; - toJSON(message: EventUpdateClassMetadata): unknown; - fromPartial(object: Partial): EventUpdateClassMetadata; - fromAmino(object: EventUpdateClassMetadataAmino): EventUpdateClassMetadata; - toAmino(message: EventUpdateClassMetadata): EventUpdateClassMetadataAmino; - fromAminoMsg(object: EventUpdateClassMetadataAminoMsg): EventUpdateClassMetadata; - fromProtoMsg(message: EventUpdateClassMetadataProtoMsg): EventUpdateClassMetadata; - toProto(message: EventUpdateClassMetadata): Uint8Array; - toProtoMsg(message: EventUpdateClassMetadata): EventUpdateClassMetadataProtoMsg; -}; -export declare const EventUpdateProjectAdmin: { - encode(message: EventUpdateProjectAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateProjectAdmin; - fromJSON(object: any): EventUpdateProjectAdmin; - toJSON(message: EventUpdateProjectAdmin): unknown; - fromPartial(object: Partial): EventUpdateProjectAdmin; - fromAmino(object: EventUpdateProjectAdminAmino): EventUpdateProjectAdmin; - toAmino(message: EventUpdateProjectAdmin): EventUpdateProjectAdminAmino; - fromAminoMsg(object: EventUpdateProjectAdminAminoMsg): EventUpdateProjectAdmin; - fromProtoMsg(message: EventUpdateProjectAdminProtoMsg): EventUpdateProjectAdmin; - toProto(message: EventUpdateProjectAdmin): Uint8Array; - toProtoMsg(message: EventUpdateProjectAdmin): EventUpdateProjectAdminProtoMsg; -}; -export declare const EventUpdateProjectMetadata: { - encode(message: EventUpdateProjectMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateProjectMetadata; - fromJSON(object: any): EventUpdateProjectMetadata; - toJSON(message: EventUpdateProjectMetadata): unknown; - fromPartial(object: Partial): EventUpdateProjectMetadata; - fromAmino(object: EventUpdateProjectMetadataAmino): EventUpdateProjectMetadata; - toAmino(message: EventUpdateProjectMetadata): EventUpdateProjectMetadataAmino; - fromAminoMsg(object: EventUpdateProjectMetadataAminoMsg): EventUpdateProjectMetadata; - fromProtoMsg(message: EventUpdateProjectMetadataProtoMsg): EventUpdateProjectMetadata; - toProto(message: EventUpdateProjectMetadata): Uint8Array; - toProtoMsg(message: EventUpdateProjectMetadata): EventUpdateProjectMetadataProtoMsg; -}; -export declare const EventUpdateBatchMetadata: { - encode(message: EventUpdateBatchMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateBatchMetadata; - fromJSON(object: any): EventUpdateBatchMetadata; - toJSON(message: EventUpdateBatchMetadata): unknown; - fromPartial(object: Partial): EventUpdateBatchMetadata; - fromAmino(object: EventUpdateBatchMetadataAmino): EventUpdateBatchMetadata; - toAmino(message: EventUpdateBatchMetadata): EventUpdateBatchMetadataAmino; - fromAminoMsg(object: EventUpdateBatchMetadataAminoMsg): EventUpdateBatchMetadata; - fromProtoMsg(message: EventUpdateBatchMetadataProtoMsg): EventUpdateBatchMetadata; - toProto(message: EventUpdateBatchMetadata): Uint8Array; - toProtoMsg(message: EventUpdateBatchMetadata): EventUpdateBatchMetadataProtoMsg; -}; -export declare const EventSealBatch: { - encode(message: EventSealBatch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventSealBatch; - fromJSON(object: any): EventSealBatch; - toJSON(message: EventSealBatch): unknown; - fromPartial(object: Partial): EventSealBatch; - fromAmino(object: EventSealBatchAmino): EventSealBatch; - toAmino(message: EventSealBatch): EventSealBatchAmino; - fromAminoMsg(object: EventSealBatchAminoMsg): EventSealBatch; - fromProtoMsg(message: EventSealBatchProtoMsg): EventSealBatch; - toProto(message: EventSealBatch): Uint8Array; - toProtoMsg(message: EventSealBatch): EventSealBatchProtoMsg; -}; -export declare const EventAddCreditType: { - encode(message: EventAddCreditType, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventAddCreditType; - fromJSON(object: any): EventAddCreditType; - toJSON(message: EventAddCreditType): unknown; - fromPartial(object: Partial): EventAddCreditType; - fromAmino(object: EventAddCreditTypeAmino): EventAddCreditType; - toAmino(message: EventAddCreditType): EventAddCreditTypeAmino; - fromAminoMsg(object: EventAddCreditTypeAminoMsg): EventAddCreditType; - fromProtoMsg(message: EventAddCreditTypeProtoMsg): EventAddCreditType; - toProto(message: EventAddCreditType): Uint8Array; - toProtoMsg(message: EventAddCreditType): EventAddCreditTypeProtoMsg; -}; -export declare const EventBridge: { - encode(message: EventBridge, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventBridge; - fromJSON(object: any): EventBridge; - toJSON(message: EventBridge): unknown; - fromPartial(object: Partial): EventBridge; - fromAmino(object: EventBridgeAmino): EventBridge; - toAmino(message: EventBridge): EventBridgeAmino; - fromAminoMsg(object: EventBridgeAminoMsg): EventBridge; - fromProtoMsg(message: EventBridgeProtoMsg): EventBridge; - toProto(message: EventBridge): Uint8Array; - toProtoMsg(message: EventBridge): EventBridgeProtoMsg; -}; -export declare const EventBridgeReceive: { - encode(message: EventBridgeReceive, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventBridgeReceive; - fromJSON(object: any): EventBridgeReceive; - toJSON(message: EventBridgeReceive): unknown; - fromPartial(object: Partial): EventBridgeReceive; - fromAmino(object: EventBridgeReceiveAmino): EventBridgeReceive; - toAmino(message: EventBridgeReceive): EventBridgeReceiveAmino; - fromAminoMsg(object: EventBridgeReceiveAminoMsg): EventBridgeReceive; - fromProtoMsg(message: EventBridgeReceiveProtoMsg): EventBridgeReceive; - toProto(message: EventBridgeReceive): Uint8Array; - toProtoMsg(message: EventBridgeReceive): EventBridgeReceiveProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/query.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/query.d.ts deleted file mode 100644 index dd425450..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/query.d.ts +++ /dev/null @@ -1,2474 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { CreditType, CreditTypeAmino, CreditTypeSDKType } from "./state"; -import { Params, ParamsAmino, ParamsSDKType } from "./types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -/** QueryClassesRequest is the Query/Classes request type. */ -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryClassesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassesRequest"; - value: Uint8Array; -} -/** QueryClassesRequest is the Query/Classes request type. */ -export interface QueryClassesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryClassesRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryClassesRequest"; - value: QueryClassesRequestAmino; -} -/** QueryClassesRequest is the Query/Classes request type. */ -export interface QueryClassesRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryClassesResponse is the Query/Classes response type. */ -export interface QueryClassesResponse { - /** classes are the fetched credit classes. */ - classes: ClassInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryClassesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassesResponse"; - value: Uint8Array; -} -/** QueryClassesResponse is the Query/Classes response type. */ -export interface QueryClassesResponseAmino { - /** classes are the fetched credit classes. */ - classes: ClassInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryClassesResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryClassesResponse"; - value: QueryClassesResponseAmino; -} -/** QueryClassesResponse is the Query/Classes response type. */ -export interface QueryClassesResponseSDKType { - classes: ClassInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryClassesByAdminRequest is the Query/ClassesByAdmin request type. */ -export interface QueryClassesByAdminRequest { - /** admin is the address of the admin of the class. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryClassesByAdminRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassesByAdminRequest"; - value: Uint8Array; -} -/** QueryClassesByAdminRequest is the Query/ClassesByAdmin request type. */ -export interface QueryClassesByAdminRequestAmino { - /** admin is the address of the admin of the class. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryClassesByAdminRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryClassesByAdminRequest"; - value: QueryClassesByAdminRequestAmino; -} -/** QueryClassesByAdminRequest is the Query/ClassesByAdmin request type. */ -export interface QueryClassesByAdminRequestSDKType { - admin: string; - pagination: PageRequestSDKType; -} -/** QueryClassesByAdminResponse is the Query/ClassesByAdmin response type. */ -export interface QueryClassesByAdminResponse { - /** classes are the fetched credit classes. */ - classes: ClassInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryClassesByAdminResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassesByAdminResponse"; - value: Uint8Array; -} -/** QueryClassesByAdminResponse is the Query/ClassesByAdmin response type. */ -export interface QueryClassesByAdminResponseAmino { - /** classes are the fetched credit classes. */ - classes: ClassInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryClassesByAdminResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryClassesByAdminResponse"; - value: QueryClassesByAdminResponseAmino; -} -/** QueryClassesByAdminResponse is the Query/ClassesByAdmin response type. */ -export interface QueryClassesByAdminResponseSDKType { - classes: ClassInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryClassRequest is the Query/Class request type. */ -export interface QueryClassRequest { - /** class_id is the unique identifier of the credit class to query. */ - classId: string; -} -export interface QueryClassRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassRequest"; - value: Uint8Array; -} -/** QueryClassRequest is the Query/Class request type. */ -export interface QueryClassRequestAmino { - /** class_id is the unique identifier of the credit class to query. */ - class_id: string; -} -export interface QueryClassRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryClassRequest"; - value: QueryClassRequestAmino; -} -/** QueryClassRequest is the Query/Class request type. */ -export interface QueryClassRequestSDKType { - class_id: string; -} -/** QueryClassResponse is the Query/Class request type. */ -export interface QueryClassResponse { - /** class is the fetched credit class. */ - class: ClassInfo; -} -export interface QueryClassResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassResponse"; - value: Uint8Array; -} -/** QueryClassResponse is the Query/Class request type. */ -export interface QueryClassResponseAmino { - /** class is the fetched credit class. */ - class?: ClassInfoAmino; -} -export interface QueryClassResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryClassResponse"; - value: QueryClassResponseAmino; -} -/** QueryClassResponse is the Query/Class request type. */ -export interface QueryClassResponseSDKType { - class: ClassInfoSDKType; -} -/** QueryClassIssuersRequest is the Query/ClassIssuers request type. */ -export interface QueryClassIssuersRequest { - /** class_id is the unique identifier of the credit class to query. */ - classId: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryClassIssuersRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassIssuersRequest"; - value: Uint8Array; -} -/** QueryClassIssuersRequest is the Query/ClassIssuers request type. */ -export interface QueryClassIssuersRequestAmino { - /** class_id is the unique identifier of the credit class to query. */ - class_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryClassIssuersRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryClassIssuersRequest"; - value: QueryClassIssuersRequestAmino; -} -/** QueryClassIssuersRequest is the Query/ClassIssuers request type. */ -export interface QueryClassIssuersRequestSDKType { - class_id: string; - pagination: PageRequestSDKType; -} -/** QueryClassIssuersRequest is the Query/ClassIssuers response type. */ -export interface QueryClassIssuersResponse { - /** issuers is a list of issuers for the credit class */ - issuers: string[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryClassIssuersResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassIssuersResponse"; - value: Uint8Array; -} -/** QueryClassIssuersRequest is the Query/ClassIssuers response type. */ -export interface QueryClassIssuersResponseAmino { - /** issuers is a list of issuers for the credit class */ - issuers: string[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryClassIssuersResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryClassIssuersResponse"; - value: QueryClassIssuersResponseAmino; -} -/** QueryClassIssuersRequest is the Query/ClassIssuers response type. */ -export interface QueryClassIssuersResponseSDKType { - issuers: string[]; - pagination: PageResponseSDKType; -} -/** QueryProjectsRequest is the Query/Projects request type. */ -export interface QueryProjectsRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProjectsRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsRequest"; - value: Uint8Array; -} -/** QueryProjectsRequest is the Query/Projects request type. */ -export interface QueryProjectsRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProjectsRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsRequest"; - value: QueryProjectsRequestAmino; -} -/** QueryProjectsRequest is the Query/Projects request type. */ -export interface QueryProjectsRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryProjectsResponse is the Query/Projects response type. */ -export interface QueryProjectsResponse { - /** projects are the fetched projects. */ - projects: ProjectInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProjectsResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsResponse"; - value: Uint8Array; -} -/** QueryProjectsResponse is the Query/Projects response type. */ -export interface QueryProjectsResponseAmino { - /** projects are the fetched projects. */ - projects: ProjectInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProjectsResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsResponse"; - value: QueryProjectsResponseAmino; -} -/** QueryProjectsResponse is the Query/Projects response type. */ -export interface QueryProjectsResponseSDKType { - projects: ProjectInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryProjectsByClassRequest is the Query/ProjectsByClass request type. */ -export interface QueryProjectsByClassRequest { - /** class_id is the unique identifier of the credit class to query. */ - classId: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProjectsByClassRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsByClassRequest"; - value: Uint8Array; -} -/** QueryProjectsByClassRequest is the Query/ProjectsByClass request type. */ -export interface QueryProjectsByClassRequestAmino { - /** class_id is the unique identifier of the credit class to query. */ - class_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProjectsByClassRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsByClassRequest"; - value: QueryProjectsByClassRequestAmino; -} -/** QueryProjectsByClassRequest is the Query/ProjectsByClass request type. */ -export interface QueryProjectsByClassRequestSDKType { - class_id: string; - pagination: PageRequestSDKType; -} -/** QueryProjectsByClassResponse is the Query/ProjectsByClass response type. */ -export interface QueryProjectsByClassResponse { - /** projects are the fetched projects. */ - projects: ProjectInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProjectsByClassResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsByClassResponse"; - value: Uint8Array; -} -/** QueryProjectsByClassResponse is the Query/ProjectsByClass response type. */ -export interface QueryProjectsByClassResponseAmino { - /** projects are the fetched projects. */ - projects: ProjectInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProjectsByClassResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsByClassResponse"; - value: QueryProjectsByClassResponseAmino; -} -/** QueryProjectsByClassResponse is the Query/ProjectsByClass response type. */ -export interface QueryProjectsByClassResponseSDKType { - projects: ProjectInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryProjectsByReferenceIdRequest is the Query/ProjectsByReferenceId request - * type. - */ -export interface QueryProjectsByReferenceIdRequest { - /** reference_id is the project reference id. */ - referenceId: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProjectsByReferenceIdRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsByReferenceIdRequest"; - value: Uint8Array; -} -/** - * QueryProjectsByReferenceIdRequest is the Query/ProjectsByReferenceId request - * type. - */ -export interface QueryProjectsByReferenceIdRequestAmino { - /** reference_id is the project reference id. */ - reference_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProjectsByReferenceIdRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsByReferenceIdRequest"; - value: QueryProjectsByReferenceIdRequestAmino; -} -/** - * QueryProjectsByReferenceIdRequest is the Query/ProjectsByReferenceId request - * type. - */ -export interface QueryProjectsByReferenceIdRequestSDKType { - reference_id: string; - pagination: PageRequestSDKType; -} -/** - * QueryProjectsByReferenceIdResponse is the Query/ProjectsByReferenceId - * response type. - */ -export interface QueryProjectsByReferenceIdResponse { - /** projects are the fetched projects. */ - projects: ProjectInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProjectsByReferenceIdResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsByReferenceIdResponse"; - value: Uint8Array; -} -/** - * QueryProjectsByReferenceIdResponse is the Query/ProjectsByReferenceId - * response type. - */ -export interface QueryProjectsByReferenceIdResponseAmino { - /** projects are the fetched projects. */ - projects: ProjectInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProjectsByReferenceIdResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsByReferenceIdResponse"; - value: QueryProjectsByReferenceIdResponseAmino; -} -/** - * QueryProjectsByReferenceIdResponse is the Query/ProjectsByReferenceId - * response type. - */ -export interface QueryProjectsByReferenceIdResponseSDKType { - projects: ProjectInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryProjectsByAdminRequest is the Query/ProjectByAdmin request type. */ -export interface QueryProjectsByAdminRequest { - /** admin is the account address of project admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProjectsByAdminRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsByAdminRequest"; - value: Uint8Array; -} -/** QueryProjectsByAdminRequest is the Query/ProjectByAdmin request type. */ -export interface QueryProjectsByAdminRequestAmino { - /** admin is the account address of project admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProjectsByAdminRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsByAdminRequest"; - value: QueryProjectsByAdminRequestAmino; -} -/** QueryProjectsByAdminRequest is the Query/ProjectByAdmin request type. */ -export interface QueryProjectsByAdminRequestSDKType { - admin: string; - pagination: PageRequestSDKType; -} -/** QueryProjectsByAdminResponse is the Query/ProjectByAdmin response type. */ -export interface QueryProjectsByAdminResponse { - /** projects are the fetched projects. */ - projects: ProjectInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProjectsByAdminResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectsByAdminResponse"; - value: Uint8Array; -} -/** QueryProjectsByAdminResponse is the Query/ProjectByAdmin response type. */ -export interface QueryProjectsByAdminResponseAmino { - /** projects are the fetched projects. */ - projects: ProjectInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProjectsByAdminResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectsByAdminResponse"; - value: QueryProjectsByAdminResponseAmino; -} -/** QueryProjectsByAdminResponse is the Query/ProjectByAdmin response type. */ -export interface QueryProjectsByAdminResponseSDKType { - projects: ProjectInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryProjectRequest is the Query/Project request type. */ -export interface QueryProjectRequest { - /** project_id is the unique identifier of the project to query. */ - projectId: string; -} -export interface QueryProjectRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectRequest"; - value: Uint8Array; -} -/** QueryProjectRequest is the Query/Project request type. */ -export interface QueryProjectRequestAmino { - /** project_id is the unique identifier of the project to query. */ - project_id: string; -} -export interface QueryProjectRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectRequest"; - value: QueryProjectRequestAmino; -} -/** QueryProjectRequest is the Query/Project request type. */ -export interface QueryProjectRequestSDKType { - project_id: string; -} -/** QueryProjectResponse is the Query/Project response type. */ -export interface QueryProjectResponse { - /** project is the fetched project. */ - project: ProjectInfo; -} -export interface QueryProjectResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryProjectResponse"; - value: Uint8Array; -} -/** QueryProjectResponse is the Query/Project response type. */ -export interface QueryProjectResponseAmino { - /** project is the fetched project. */ - project?: ProjectInfoAmino; -} -export interface QueryProjectResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryProjectResponse"; - value: QueryProjectResponseAmino; -} -/** QueryProjectResponse is the Query/Project response type. */ -export interface QueryProjectResponseSDKType { - project: ProjectInfoSDKType; -} -/** QueryBatchesRequest is the Query/Batches request type. */ -export interface QueryBatchesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBatchesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesRequest"; - value: Uint8Array; -} -/** QueryBatchesRequest is the Query/Batches request type. */ -export interface QueryBatchesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBatchesRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesRequest"; - value: QueryBatchesRequestAmino; -} -/** QueryBatchesRequest is the Query/Batches request type. */ -export interface QueryBatchesRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryBatchesResponse is the Query/Batches response type. */ -export interface QueryBatchesResponse { - /** batches are the fetched credit batches. */ - batches: BatchInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryBatchesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesResponse"; - value: Uint8Array; -} -/** QueryBatchesResponse is the Query/Batches response type. */ -export interface QueryBatchesResponseAmino { - /** batches are the fetched credit batches. */ - batches: BatchInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryBatchesResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesResponse"; - value: QueryBatchesResponseAmino; -} -/** QueryBatchesResponse is the Query/Batches response type. */ -export interface QueryBatchesResponseSDKType { - batches: BatchInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryBatchesByIssuerRequest is the Query/BatchesByIssuer request type. */ -export interface QueryBatchesByIssuerRequest { - /** issuer is the address that issued the batch */ - issuer: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBatchesByIssuerRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesByIssuerRequest"; - value: Uint8Array; -} -/** QueryBatchesByIssuerRequest is the Query/BatchesByIssuer request type. */ -export interface QueryBatchesByIssuerRequestAmino { - /** issuer is the address that issued the batch */ - issuer: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBatchesByIssuerRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesByIssuerRequest"; - value: QueryBatchesByIssuerRequestAmino; -} -/** QueryBatchesByIssuerRequest is the Query/BatchesByIssuer request type. */ -export interface QueryBatchesByIssuerRequestSDKType { - issuer: string; - pagination: PageRequestSDKType; -} -/** QueryBatchesByIssuerResponse is the Query/BatchesByIssuer response type. */ -export interface QueryBatchesByIssuerResponse { - /** batches are the fetched credit batches. */ - batches: BatchInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryBatchesByIssuerResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesByIssuerResponse"; - value: Uint8Array; -} -/** QueryBatchesByIssuerResponse is the Query/BatchesByIssuer response type. */ -export interface QueryBatchesByIssuerResponseAmino { - /** batches are the fetched credit batches. */ - batches: BatchInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryBatchesByIssuerResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesByIssuerResponse"; - value: QueryBatchesByIssuerResponseAmino; -} -/** QueryBatchesByIssuerResponse is the Query/BatchesByIssuer response type. */ -export interface QueryBatchesByIssuerResponseSDKType { - batches: BatchInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryBatchesByClassRequest is the Query/BatchesByClass request type. */ -export interface QueryBatchesByClassRequest { - /** class_id is the unique identifier of the credit class to query. */ - classId: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBatchesByClassRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesByClassRequest"; - value: Uint8Array; -} -/** QueryBatchesByClassRequest is the Query/BatchesByClass request type. */ -export interface QueryBatchesByClassRequestAmino { - /** class_id is the unique identifier of the credit class to query. */ - class_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBatchesByClassRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesByClassRequest"; - value: QueryBatchesByClassRequestAmino; -} -/** QueryBatchesByClassRequest is the Query/BatchesByClass request type. */ -export interface QueryBatchesByClassRequestSDKType { - class_id: string; - pagination: PageRequestSDKType; -} -/** QueryBatchesByProjectRequest is the Query/BatchesByProject request type. */ -export interface QueryBatchesByProjectRequest { - /** project_id is the unique identifier of the project to query. */ - projectId: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBatchesByProjectRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesByProjectRequest"; - value: Uint8Array; -} -/** QueryBatchesByProjectRequest is the Query/BatchesByProject request type. */ -export interface QueryBatchesByProjectRequestAmino { - /** project_id is the unique identifier of the project to query. */ - project_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBatchesByProjectRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesByProjectRequest"; - value: QueryBatchesByProjectRequestAmino; -} -/** QueryBatchesByProjectRequest is the Query/BatchesByProject request type. */ -export interface QueryBatchesByProjectRequestSDKType { - project_id: string; - pagination: PageRequestSDKType; -} -/** QueryBatchesByProjectResponse is the Query/BatchesByProject response type. */ -export interface QueryBatchesByProjectResponse { - /** batches are the fetched credit batches. */ - batches: BatchInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryBatchesByProjectResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesByProjectResponse"; - value: Uint8Array; -} -/** QueryBatchesByProjectResponse is the Query/BatchesByProject response type. */ -export interface QueryBatchesByProjectResponseAmino { - /** batches are the fetched credit batches. */ - batches: BatchInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryBatchesByProjectResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesByProjectResponse"; - value: QueryBatchesByProjectResponseAmino; -} -/** QueryBatchesByProjectResponse is the Query/BatchesByProject response type. */ -export interface QueryBatchesByProjectResponseSDKType { - batches: BatchInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryBatchesByClassResponse is the Query/BatchesByClass response type. */ -export interface QueryBatchesByClassResponse { - /** batches are the fetched credit batches. */ - batches: BatchInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryBatchesByClassResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchesByClassResponse"; - value: Uint8Array; -} -/** QueryBatchesByClassResponse is the Query/BatchesByClass response type. */ -export interface QueryBatchesByClassResponseAmino { - /** batches are the fetched credit batches. */ - batches: BatchInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryBatchesByClassResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchesByClassResponse"; - value: QueryBatchesByClassResponseAmino; -} -/** QueryBatchesByClassResponse is the Query/BatchesByClass response type. */ -export interface QueryBatchesByClassResponseSDKType { - batches: BatchInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryBatchRequest is the Query/Batch request type. */ -export interface QueryBatchRequest { - /** batch_denom is the unique identifier of the credit batch to query. */ - batchDenom: string; -} -export interface QueryBatchRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchRequest"; - value: Uint8Array; -} -/** QueryBatchRequest is the Query/Batch request type. */ -export interface QueryBatchRequestAmino { - /** batch_denom is the unique identifier of the credit batch to query. */ - batch_denom: string; -} -export interface QueryBatchRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchRequest"; - value: QueryBatchRequestAmino; -} -/** QueryBatchRequest is the Query/Batch request type. */ -export interface QueryBatchRequestSDKType { - batch_denom: string; -} -/** QueryBatchResponse is the Query/Batch response type. */ -export interface QueryBatchResponse { - /** batch is the fetched credit batch. */ - batch: BatchInfo; -} -export interface QueryBatchResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBatchResponse"; - value: Uint8Array; -} -/** QueryBatchResponse is the Query/Batch response type. */ -export interface QueryBatchResponseAmino { - /** batch is the fetched credit batch. */ - batch?: BatchInfoAmino; -} -export interface QueryBatchResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBatchResponse"; - value: QueryBatchResponseAmino; -} -/** QueryBatchResponse is the Query/Batch response type. */ -export interface QueryBatchResponseSDKType { - batch: BatchInfoSDKType; -} -/** QueryBalanceRequest is the Query/Balance request type. */ -export interface QueryBalanceRequest { - /** address is the address of the account whose balance is being queried. */ - address: string; - /** batch_denom is the unique identifier of the credit batch to query. */ - batchDenom: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the Query/Balance request type. */ -export interface QueryBalanceRequestAmino { - /** address is the address of the account whose balance is being queried. */ - address: string; - /** batch_denom is the unique identifier of the credit batch to query. */ - batch_denom: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the Query/Balance request type. */ -export interface QueryBalanceRequestSDKType { - address: string; - batch_denom: string; -} -/** QueryBalanceResponse is the Query/Balance response type. */ -export interface QueryBalanceResponse { - /** balance is the balance of the given account. */ - balance: BatchBalanceInfo; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the Query/Balance response type. */ -export interface QueryBalanceResponseAmino { - /** balance is the balance of the given account. */ - balance?: BatchBalanceInfoAmino; -} -export interface QueryBalanceResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the Query/Balance response type. */ -export interface QueryBalanceResponseSDKType { - balance: BatchBalanceInfoSDKType; -} -/** QueryBalancesRequest is the Query/Balances request type. */ -export interface QueryBalancesRequest { - /** address is the address of the account whose balance is being queried. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBalancesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBalancesRequest"; - value: Uint8Array; -} -/** QueryBalancesRequest is the Query/Balances request type. */ -export interface QueryBalancesRequestAmino { - /** address is the address of the account whose balance is being queried. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBalancesRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBalancesRequest"; - value: QueryBalancesRequestAmino; -} -/** QueryBalancesRequest is the Query/Balances request type. */ -export interface QueryBalancesRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** QueryBalancesResponse is the Query/Balances response type. */ -export interface QueryBalancesResponse { - /** - * balances are a list of balances from different credit batches that the - * account holds. - */ - balances: BatchBalanceInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryBalancesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBalancesResponse"; - value: Uint8Array; -} -/** QueryBalancesResponse is the Query/Balances response type. */ -export interface QueryBalancesResponseAmino { - /** - * balances are a list of balances from different credit batches that the - * account holds. - */ - balances: BatchBalanceInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryBalancesResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBalancesResponse"; - value: QueryBalancesResponseAmino; -} -/** QueryBalancesResponse is the Query/Balances response type. */ -export interface QueryBalancesResponseSDKType { - balances: BatchBalanceInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryBalancesByBatchRequest is the Query/BalancesByBatch request type. - * - * Since Revision 2 - */ -export interface QueryBalancesByBatchRequest { - /** batch_denom is the denom of the batch to query by. */ - batchDenom: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBalancesByBatchRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBalancesByBatchRequest"; - value: Uint8Array; -} -/** - * QueryBalancesByBatchRequest is the Query/BalancesByBatch request type. - * - * Since Revision 2 - */ -export interface QueryBalancesByBatchRequestAmino { - /** batch_denom is the denom of the batch to query by. */ - batch_denom: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBalancesByBatchRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryBalancesByBatchRequest"; - value: QueryBalancesByBatchRequestAmino; -} -/** - * QueryBalancesByBatchRequest is the Query/BalancesByBatch request type. - * - * Since Revision 2 - */ -export interface QueryBalancesByBatchRequestSDKType { - batch_denom: string; - pagination: PageRequestSDKType; -} -/** - * QueryBalancesByBatchResponse is the Query/BalancesByBatch response type. - * - * Since Revision 2 - */ -export interface QueryBalancesByBatchResponse { - /** - * balances are a list of balances from different credit batches that the - * account holds. - */ - balances: BatchBalanceInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryBalancesByBatchResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryBalancesByBatchResponse"; - value: Uint8Array; -} -/** - * QueryBalancesByBatchResponse is the Query/BalancesByBatch response type. - * - * Since Revision 2 - */ -export interface QueryBalancesByBatchResponseAmino { - /** - * balances are a list of balances from different credit batches that the - * account holds. - */ - balances: BatchBalanceInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryBalancesByBatchResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryBalancesByBatchResponse"; - value: QueryBalancesByBatchResponseAmino; -} -/** - * QueryBalancesByBatchResponse is the Query/BalancesByBatch response type. - * - * Since Revision 2 - */ -export interface QueryBalancesByBatchResponseSDKType { - balances: BatchBalanceInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryAllBalancesRequest is the Query/AllBalances request type. - * - * Since Revision 2 - */ -export interface QueryAllBalancesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllBalancesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryAllBalancesRequest"; - value: Uint8Array; -} -/** - * QueryAllBalancesRequest is the Query/AllBalances request type. - * - * Since Revision 2 - */ -export interface QueryAllBalancesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllBalancesRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryAllBalancesRequest"; - value: QueryAllBalancesRequestAmino; -} -/** - * QueryAllBalancesRequest is the Query/AllBalances request type. - * - * Since Revision 2 - */ -export interface QueryAllBalancesRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryAllBalancesResponse is the Query/AllBalances response type. - * - * Since Revision 2 - */ -export interface QueryAllBalancesResponse { - /** - * balances are a list of balances from different credit batches that the - * account holds. - */ - balances: BatchBalanceInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAllBalancesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryAllBalancesResponse"; - value: Uint8Array; -} -/** - * QueryAllBalancesResponse is the Query/AllBalances response type. - * - * Since Revision 2 - */ -export interface QueryAllBalancesResponseAmino { - /** - * balances are a list of balances from different credit batches that the - * account holds. - */ - balances: BatchBalanceInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllBalancesResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryAllBalancesResponse"; - value: QueryAllBalancesResponseAmino; -} -/** - * QueryAllBalancesResponse is the Query/AllBalances response type. - * - * Since Revision 2 - */ -export interface QueryAllBalancesResponseSDKType { - balances: BatchBalanceInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QuerySupplyRequest is the Query/Supply request type. */ -export interface QuerySupplyRequest { - /** batch_denom is the unique identifier of the credit batch to query. */ - batchDenom: string; -} -export interface QuerySupplyRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QuerySupplyRequest"; - value: Uint8Array; -} -/** QuerySupplyRequest is the Query/Supply request type. */ -export interface QuerySupplyRequestAmino { - /** batch_denom is the unique identifier of the credit batch to query. */ - batch_denom: string; -} -export interface QuerySupplyRequestAminoMsg { - type: "/regen.ecocredit.v1.QuerySupplyRequest"; - value: QuerySupplyRequestAmino; -} -/** QuerySupplyRequest is the Query/Supply request type. */ -export interface QuerySupplyRequestSDKType { - batch_denom: string; -} -/** QuerySupplyResponse is the Query/Supply response type. */ -export interface QuerySupplyResponse { - /** - * tradable_amount is the decimal number of tradable credits in the batch - * supply. - */ - tradableAmount: string; - /** - * retired_amount is the decimal number of retired credits in the batch - * supply. - */ - retiredAmount: string; - /** - * cancelled_amount is the decimal number of cancelled credits in the batch - * supply. - */ - cancelledAmount: string; -} -export interface QuerySupplyResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QuerySupplyResponse"; - value: Uint8Array; -} -/** QuerySupplyResponse is the Query/Supply response type. */ -export interface QuerySupplyResponseAmino { - /** - * tradable_amount is the decimal number of tradable credits in the batch - * supply. - */ - tradable_amount: string; - /** - * retired_amount is the decimal number of retired credits in the batch - * supply. - */ - retired_amount: string; - /** - * cancelled_amount is the decimal number of cancelled credits in the batch - * supply. - */ - cancelled_amount: string; -} -export interface QuerySupplyResponseAminoMsg { - type: "/regen.ecocredit.v1.QuerySupplyResponse"; - value: QuerySupplyResponseAmino; -} -/** QuerySupplyResponse is the Query/Supply response type. */ -export interface QuerySupplyResponseSDKType { - tradable_amount: string; - retired_amount: string; - cancelled_amount: string; -} -/** QueryCreditTypesRequest is the Query/Credit_Types request type */ -export interface QueryCreditTypesRequest { -} -export interface QueryCreditTypesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryCreditTypesRequest"; - value: Uint8Array; -} -/** QueryCreditTypesRequest is the Query/Credit_Types request type */ -export interface QueryCreditTypesRequestAmino { -} -export interface QueryCreditTypesRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryCreditTypesRequest"; - value: QueryCreditTypesRequestAmino; -} -/** QueryCreditTypesRequest is the Query/Credit_Types request type */ -export interface QueryCreditTypesRequestSDKType { -} -/** QueryCreditTypesRequest is the Query/Credit_Types response type */ -export interface QueryCreditTypesResponse { - /** credit_types are the fetched credit types. */ - creditTypes: CreditType[]; -} -export interface QueryCreditTypesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryCreditTypesResponse"; - value: Uint8Array; -} -/** QueryCreditTypesRequest is the Query/Credit_Types response type */ -export interface QueryCreditTypesResponseAmino { - /** credit_types are the fetched credit types. */ - credit_types: CreditTypeAmino[]; -} -export interface QueryCreditTypesResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryCreditTypesResponse"; - value: QueryCreditTypesResponseAmino; -} -/** QueryCreditTypesRequest is the Query/Credit_Types response type */ -export interface QueryCreditTypesResponseSDKType { - credit_types: CreditTypeSDKType[]; -} -/** QueryParamsRequest is the Query/Params request type. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the Query/Params request type. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the Query/Params request type. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the Query/Params response type. */ -export interface QueryParamsResponse { - /** params defines the parameters of the ecocredit module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the Query/Params response type. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the ecocredit module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the Query/Params response type. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** QueryCreditTypeRequest is the Query/CreditType request type */ -export interface QueryCreditTypeRequest { - /** abbreviation is the abbreviation of the credit type. */ - abbreviation: string; -} -export interface QueryCreditTypeRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryCreditTypeRequest"; - value: Uint8Array; -} -/** QueryCreditTypeRequest is the Query/CreditType request type */ -export interface QueryCreditTypeRequestAmino { - /** abbreviation is the abbreviation of the credit type. */ - abbreviation: string; -} -export interface QueryCreditTypeRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryCreditTypeRequest"; - value: QueryCreditTypeRequestAmino; -} -/** QueryCreditTypeRequest is the Query/CreditType request type */ -export interface QueryCreditTypeRequestSDKType { - abbreviation: string; -} -/** QueryCreditTypeResponse is the Query/CreditType response type */ -export interface QueryCreditTypeResponse { - /** credit_type is the fetched credit type. */ - creditType: CreditType; -} -export interface QueryCreditTypeResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryCreditTypeResponse"; - value: Uint8Array; -} -/** QueryCreditTypeResponse is the Query/CreditType response type */ -export interface QueryCreditTypeResponseAmino { - /** credit_type is the fetched credit type. */ - credit_type?: CreditTypeAmino; -} -export interface QueryCreditTypeResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryCreditTypeResponse"; - value: QueryCreditTypeResponseAmino; -} -/** QueryCreditTypeResponse is the Query/CreditType response type */ -export interface QueryCreditTypeResponseSDKType { - credit_type: CreditTypeSDKType; -} -/** ClassInfo is the human-readable credit class information. */ -export interface ClassInfo { - /** id is the unique identifier of the credit class. */ - id: string; - /** admin is the admin of the credit class. */ - admin: string; - /** metadata is the arbitrary metadata attached to the credit class. */ - metadata: string; - /** - * credit_type_abbrev is the abbreviation of the credit type within which this - * credit class was created. - */ - creditTypeAbbrev: string; -} -export interface ClassInfoProtoMsg { - typeUrl: "/regen.ecocredit.v1.ClassInfo"; - value: Uint8Array; -} -/** ClassInfo is the human-readable credit class information. */ -export interface ClassInfoAmino { - /** id is the unique identifier of the credit class. */ - id: string; - /** admin is the admin of the credit class. */ - admin: string; - /** metadata is the arbitrary metadata attached to the credit class. */ - metadata: string; - /** - * credit_type_abbrev is the abbreviation of the credit type within which this - * credit class was created. - */ - credit_type_abbrev: string; -} -export interface ClassInfoAminoMsg { - type: "/regen.ecocredit.v1.ClassInfo"; - value: ClassInfoAmino; -} -/** ClassInfo is the human-readable credit class information. */ -export interface ClassInfoSDKType { - id: string; - admin: string; - metadata: string; - credit_type_abbrev: string; -} -/** ProjectInfo is the human-readable project information. */ -export interface ProjectInfo { - /** id is the unique identifier of the project. */ - id: string; - /** admin is the admin of the project. */ - admin: string; - /** - * class_id is the unique identifier of the credit class within which the - * project was created. - */ - classId: string; - /** - * jurisdiction is the jurisdiction of the project. Full documentation can be - * found in MsgCreateProject.jurisdiction. - */ - jurisdiction: string; - /** metadata is the arbitrary metadata attached to the project. */ - metadata: string; - /** reference_id is any arbitrary string that can be use to reference project. */ - referenceId: string; -} -export interface ProjectInfoProtoMsg { - typeUrl: "/regen.ecocredit.v1.ProjectInfo"; - value: Uint8Array; -} -/** ProjectInfo is the human-readable project information. */ -export interface ProjectInfoAmino { - /** id is the unique identifier of the project. */ - id: string; - /** admin is the admin of the project. */ - admin: string; - /** - * class_id is the unique identifier of the credit class within which the - * project was created. - */ - class_id: string; - /** - * jurisdiction is the jurisdiction of the project. Full documentation can be - * found in MsgCreateProject.jurisdiction. - */ - jurisdiction: string; - /** metadata is the arbitrary metadata attached to the project. */ - metadata: string; - /** reference_id is any arbitrary string that can be use to reference project. */ - reference_id: string; -} -export interface ProjectInfoAminoMsg { - type: "/regen.ecocredit.v1.ProjectInfo"; - value: ProjectInfoAmino; -} -/** ProjectInfo is the human-readable project information. */ -export interface ProjectInfoSDKType { - id: string; - admin: string; - class_id: string; - jurisdiction: string; - metadata: string; - reference_id: string; -} -/** BatchInfo is the human-readable credit batch information. */ -export interface BatchInfo { - /** - * issuer is the address that created the batch and the address authorized to - * mint new credits to the credit batch if the credit batch is open. - */ - issuer: string; - /** - * project_id is the unique identifier of the project within which this credit - * batch was created. - */ - projectId: string; - /** - * denom is the unique identifier of the credit batch formed from the project - * name, batch sequence number and dates. - */ - denom: string; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - startDate: Timestamp; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - endDate: Timestamp; - /** issuance_date is the timestamp when the credit batch was issued. */ - issuanceDate: Timestamp; - /** - * open determines whether or not the credit batch is open, i.e. whether or - * not new credits can be minted to the credit batch. - */ - open: boolean; -} -export interface BatchInfoProtoMsg { - typeUrl: "/regen.ecocredit.v1.BatchInfo"; - value: Uint8Array; -} -/** BatchInfo is the human-readable credit batch information. */ -export interface BatchInfoAmino { - /** - * issuer is the address that created the batch and the address authorized to - * mint new credits to the credit batch if the credit batch is open. - */ - issuer: string; - /** - * project_id is the unique identifier of the project within which this credit - * batch was created. - */ - project_id: string; - /** - * denom is the unique identifier of the credit batch formed from the project - * name, batch sequence number and dates. - */ - denom: string; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - start_date?: TimestampAmino; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - end_date?: TimestampAmino; - /** issuance_date is the timestamp when the credit batch was issued. */ - issuance_date?: TimestampAmino; - /** - * open determines whether or not the credit batch is open, i.e. whether or - * not new credits can be minted to the credit batch. - */ - open: boolean; -} -export interface BatchInfoAminoMsg { - type: "/regen.ecocredit.v1.BatchInfo"; - value: BatchInfoAmino; -} -/** BatchInfo is the human-readable credit batch information. */ -export interface BatchInfoSDKType { - issuer: string; - project_id: string; - denom: string; - metadata: string; - start_date: TimestampSDKType; - end_date: TimestampSDKType; - issuance_date: TimestampSDKType; - open: boolean; -} -/** BatchBalanceInfo is the human-readable batch balance information. */ -export interface BatchBalanceInfo { - /** address is the address of the account that owns the credits. */ - address: string; - /** batch_denom is the unique identifier of the credit batch. */ - batchDenom: string; - /** tradable_amount is the total number of tradable credits owned by address. */ - tradableAmount: string; - /** retired_amount is the total number of retired credits owned by address. */ - retiredAmount: string; - /** - * escrowed_amount is the total number of escrowed credits owned by address - * and held in escrow by the marketplace. Credits are held in escrow when a - * sell order is created and taken out of escrow when the sell order is either - * cancelled, updated with a reduced quantity, or processed. - */ - escrowedAmount: string; -} -export interface BatchBalanceInfoProtoMsg { - typeUrl: "/regen.ecocredit.v1.BatchBalanceInfo"; - value: Uint8Array; -} -/** BatchBalanceInfo is the human-readable batch balance information. */ -export interface BatchBalanceInfoAmino { - /** address is the address of the account that owns the credits. */ - address: string; - /** batch_denom is the unique identifier of the credit batch. */ - batch_denom: string; - /** tradable_amount is the total number of tradable credits owned by address. */ - tradable_amount: string; - /** retired_amount is the total number of retired credits owned by address. */ - retired_amount: string; - /** - * escrowed_amount is the total number of escrowed credits owned by address - * and held in escrow by the marketplace. Credits are held in escrow when a - * sell order is created and taken out of escrow when the sell order is either - * cancelled, updated with a reduced quantity, or processed. - */ - escrowed_amount: string; -} -export interface BatchBalanceInfoAminoMsg { - type: "/regen.ecocredit.v1.BatchBalanceInfo"; - value: BatchBalanceInfoAmino; -} -/** BatchBalanceInfo is the human-readable batch balance information. */ -export interface BatchBalanceInfoSDKType { - address: string; - batch_denom: string; - tradable_amount: string; - retired_amount: string; - escrowed_amount: string; -} -/** - * QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request - * type. - * - * Since Revision 2 - */ -export interface QueryClassCreatorAllowlistRequest { -} -export interface QueryClassCreatorAllowlistRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassCreatorAllowlistRequest"; - value: Uint8Array; -} -/** - * QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request - * type. - * - * Since Revision 2 - */ -export interface QueryClassCreatorAllowlistRequestAmino { -} -export interface QueryClassCreatorAllowlistRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryClassCreatorAllowlistRequest"; - value: QueryClassCreatorAllowlistRequestAmino; -} -/** - * QueryClassCreatorAllowlistRequest is the Query/ClassCreatorAllowlist request - * type. - * - * Since Revision 2 - */ -export interface QueryClassCreatorAllowlistRequestSDKType { -} -/** - * QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist - * response type. - * - * Since Revision 2 - */ -export interface QueryClassCreatorAllowlistResponse { - /** - * enabled determines whether or not the allowlist for creating credit classes - * is enabled. - */ - enabled: boolean; -} -export interface QueryClassCreatorAllowlistResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassCreatorAllowlistResponse"; - value: Uint8Array; -} -/** - * QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist - * response type. - * - * Since Revision 2 - */ -export interface QueryClassCreatorAllowlistResponseAmino { - /** - * enabled determines whether or not the allowlist for creating credit classes - * is enabled. - */ - enabled: boolean; -} -export interface QueryClassCreatorAllowlistResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryClassCreatorAllowlistResponse"; - value: QueryClassCreatorAllowlistResponseAmino; -} -/** - * QueryClassCreatorAllowlistResponse is the Query/ClassCreatorAllowlist - * response type. - * - * Since Revision 2 - */ -export interface QueryClassCreatorAllowlistResponseSDKType { - enabled: boolean; -} -/** - * QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedClassCreatorsRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllowedClassCreatorsRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryAllowedClassCreatorsRequest"; - value: Uint8Array; -} -/** - * QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedClassCreatorsRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllowedClassCreatorsRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryAllowedClassCreatorsRequest"; - value: QueryAllowedClassCreatorsRequestAmino; -} -/** - * QueryAllowedClassCreatorsRequest is the Query/AllowedClassCreators request - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedClassCreatorsRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryAllowedClassCreatorsResponse is the Query/AllowedClassCreators response - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedClassCreatorsResponse { - /** class_creators is the list of allowed credit class creators. */ - classCreators: string[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAllowedClassCreatorsResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryAllowedClassCreatorsResponse"; - value: Uint8Array; -} -/** - * QueryAllowedClassCreatorsResponse is the Query/AllowedClassCreators response - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedClassCreatorsResponseAmino { - /** class_creators is the list of allowed credit class creators. */ - class_creators: string[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllowedClassCreatorsResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryAllowedClassCreatorsResponse"; - value: QueryAllowedClassCreatorsResponseAmino; -} -/** - * QueryAllowedClassCreatorsResponse is the Query/AllowedClassCreators response - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedClassCreatorsResponseSDKType { - class_creators: string[]; - pagination: PageResponseSDKType; -} -/** - * QueryClassFeeRequest is the Query/ClassFee request type. - * - * Since Revision 2 - */ -export interface QueryClassFeeRequest { -} -export interface QueryClassFeeRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassFeeRequest"; - value: Uint8Array; -} -/** - * QueryClassFeeRequest is the Query/ClassFee request type. - * - * Since Revision 2 - */ -export interface QueryClassFeeRequestAmino { -} -export interface QueryClassFeeRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryClassFeeRequest"; - value: QueryClassFeeRequestAmino; -} -/** - * QueryClassFeeRequest is the Query/ClassFee request type. - * - * Since Revision 2 - */ -export interface QueryClassFeeRequestSDKType { -} -/** - * QueryClassFeeResponse is the Query/ClassFee response type. - * - * Since Revision 2 - */ -export interface QueryClassFeeResponse { - /** - * fee is the credit class creation fee. If not set, a credit class creation - * fee is not required. - */ - fee: Coin; -} -export interface QueryClassFeeResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryClassFeeResponse"; - value: Uint8Array; -} -/** - * QueryClassFeeResponse is the Query/ClassFee response type. - * - * Since Revision 2 - */ -export interface QueryClassFeeResponseAmino { - /** - * fee is the credit class creation fee. If not set, a credit class creation - * fee is not required. - */ - fee?: CoinAmino; -} -export interface QueryClassFeeResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryClassFeeResponse"; - value: QueryClassFeeResponseAmino; -} -/** - * QueryClassFeeResponse is the Query/ClassFee response type. - * - * Since Revision 2 - */ -export interface QueryClassFeeResponseSDKType { - fee: CoinSDKType; -} -/** - * QueryAllowedBridgeChainsRequest is the Query/AllowedBridgeChains request - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedBridgeChainsRequest { -} -export interface QueryAllowedBridgeChainsRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryAllowedBridgeChainsRequest"; - value: Uint8Array; -} -/** - * QueryAllowedBridgeChainsRequest is the Query/AllowedBridgeChains request - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedBridgeChainsRequestAmino { -} -export interface QueryAllowedBridgeChainsRequestAminoMsg { - type: "/regen.ecocredit.v1.QueryAllowedBridgeChainsRequest"; - value: QueryAllowedBridgeChainsRequestAmino; -} -/** - * QueryAllowedBridgeChainsRequest is the Query/AllowedBridgeChains request - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedBridgeChainsRequestSDKType { -} -/** - * QueryAllowedBridgeChainsResponse is the Query/AllowedBridgeChains response - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedBridgeChainsResponse { - /** - * allowed_bridge_chains is a list of chains that are allowed to be used in - * bridge operations. - */ - allowedBridgeChains: string[]; -} -export interface QueryAllowedBridgeChainsResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.QueryAllowedBridgeChainsResponse"; - value: Uint8Array; -} -/** - * QueryAllowedBridgeChainsResponse is the Query/AllowedBridgeChains response - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedBridgeChainsResponseAmino { - /** - * allowed_bridge_chains is a list of chains that are allowed to be used in - * bridge operations. - */ - allowed_bridge_chains: string[]; -} -export interface QueryAllowedBridgeChainsResponseAminoMsg { - type: "/regen.ecocredit.v1.QueryAllowedBridgeChainsResponse"; - value: QueryAllowedBridgeChainsResponseAmino; -} -/** - * QueryAllowedBridgeChainsResponse is the Query/AllowedBridgeChains response - * type. - * - * Since Revision 2 - */ -export interface QueryAllowedBridgeChainsResponseSDKType { - allowed_bridge_chains: string[]; -} -export declare const QueryClassesRequest: { - encode(message: QueryClassesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest; - fromJSON(object: any): QueryClassesRequest; - toJSON(message: QueryClassesRequest): unknown; - fromPartial(object: Partial): QueryClassesRequest; - fromAmino(object: QueryClassesRequestAmino): QueryClassesRequest; - toAmino(message: QueryClassesRequest): QueryClassesRequestAmino; - fromAminoMsg(object: QueryClassesRequestAminoMsg): QueryClassesRequest; - fromProtoMsg(message: QueryClassesRequestProtoMsg): QueryClassesRequest; - toProto(message: QueryClassesRequest): Uint8Array; - toProtoMsg(message: QueryClassesRequest): QueryClassesRequestProtoMsg; -}; -export declare const QueryClassesResponse: { - encode(message: QueryClassesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse; - fromJSON(object: any): QueryClassesResponse; - toJSON(message: QueryClassesResponse): unknown; - fromPartial(object: Partial): QueryClassesResponse; - fromAmino(object: QueryClassesResponseAmino): QueryClassesResponse; - toAmino(message: QueryClassesResponse): QueryClassesResponseAmino; - fromAminoMsg(object: QueryClassesResponseAminoMsg): QueryClassesResponse; - fromProtoMsg(message: QueryClassesResponseProtoMsg): QueryClassesResponse; - toProto(message: QueryClassesResponse): Uint8Array; - toProtoMsg(message: QueryClassesResponse): QueryClassesResponseProtoMsg; -}; -export declare const QueryClassesByAdminRequest: { - encode(message: QueryClassesByAdminRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesByAdminRequest; - fromJSON(object: any): QueryClassesByAdminRequest; - toJSON(message: QueryClassesByAdminRequest): unknown; - fromPartial(object: Partial): QueryClassesByAdminRequest; - fromAmino(object: QueryClassesByAdminRequestAmino): QueryClassesByAdminRequest; - toAmino(message: QueryClassesByAdminRequest): QueryClassesByAdminRequestAmino; - fromAminoMsg(object: QueryClassesByAdminRequestAminoMsg): QueryClassesByAdminRequest; - fromProtoMsg(message: QueryClassesByAdminRequestProtoMsg): QueryClassesByAdminRequest; - toProto(message: QueryClassesByAdminRequest): Uint8Array; - toProtoMsg(message: QueryClassesByAdminRequest): QueryClassesByAdminRequestProtoMsg; -}; -export declare const QueryClassesByAdminResponse: { - encode(message: QueryClassesByAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesByAdminResponse; - fromJSON(object: any): QueryClassesByAdminResponse; - toJSON(message: QueryClassesByAdminResponse): unknown; - fromPartial(object: Partial): QueryClassesByAdminResponse; - fromAmino(object: QueryClassesByAdminResponseAmino): QueryClassesByAdminResponse; - toAmino(message: QueryClassesByAdminResponse): QueryClassesByAdminResponseAmino; - fromAminoMsg(object: QueryClassesByAdminResponseAminoMsg): QueryClassesByAdminResponse; - fromProtoMsg(message: QueryClassesByAdminResponseProtoMsg): QueryClassesByAdminResponse; - toProto(message: QueryClassesByAdminResponse): Uint8Array; - toProtoMsg(message: QueryClassesByAdminResponse): QueryClassesByAdminResponseProtoMsg; -}; -export declare const QueryClassRequest: { - encode(message: QueryClassRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest; - fromJSON(object: any): QueryClassRequest; - toJSON(message: QueryClassRequest): unknown; - fromPartial(object: Partial): QueryClassRequest; - fromAmino(object: QueryClassRequestAmino): QueryClassRequest; - toAmino(message: QueryClassRequest): QueryClassRequestAmino; - fromAminoMsg(object: QueryClassRequestAminoMsg): QueryClassRequest; - fromProtoMsg(message: QueryClassRequestProtoMsg): QueryClassRequest; - toProto(message: QueryClassRequest): Uint8Array; - toProtoMsg(message: QueryClassRequest): QueryClassRequestProtoMsg; -}; -export declare const QueryClassResponse: { - encode(message: QueryClassResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse; - fromJSON(object: any): QueryClassResponse; - toJSON(message: QueryClassResponse): unknown; - fromPartial(object: Partial): QueryClassResponse; - fromAmino(object: QueryClassResponseAmino): QueryClassResponse; - toAmino(message: QueryClassResponse): QueryClassResponseAmino; - fromAminoMsg(object: QueryClassResponseAminoMsg): QueryClassResponse; - fromProtoMsg(message: QueryClassResponseProtoMsg): QueryClassResponse; - toProto(message: QueryClassResponse): Uint8Array; - toProtoMsg(message: QueryClassResponse): QueryClassResponseProtoMsg; -}; -export declare const QueryClassIssuersRequest: { - encode(message: QueryClassIssuersRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassIssuersRequest; - fromJSON(object: any): QueryClassIssuersRequest; - toJSON(message: QueryClassIssuersRequest): unknown; - fromPartial(object: Partial): QueryClassIssuersRequest; - fromAmino(object: QueryClassIssuersRequestAmino): QueryClassIssuersRequest; - toAmino(message: QueryClassIssuersRequest): QueryClassIssuersRequestAmino; - fromAminoMsg(object: QueryClassIssuersRequestAminoMsg): QueryClassIssuersRequest; - fromProtoMsg(message: QueryClassIssuersRequestProtoMsg): QueryClassIssuersRequest; - toProto(message: QueryClassIssuersRequest): Uint8Array; - toProtoMsg(message: QueryClassIssuersRequest): QueryClassIssuersRequestProtoMsg; -}; -export declare const QueryClassIssuersResponse: { - encode(message: QueryClassIssuersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassIssuersResponse; - fromJSON(object: any): QueryClassIssuersResponse; - toJSON(message: QueryClassIssuersResponse): unknown; - fromPartial(object: Partial): QueryClassIssuersResponse; - fromAmino(object: QueryClassIssuersResponseAmino): QueryClassIssuersResponse; - toAmino(message: QueryClassIssuersResponse): QueryClassIssuersResponseAmino; - fromAminoMsg(object: QueryClassIssuersResponseAminoMsg): QueryClassIssuersResponse; - fromProtoMsg(message: QueryClassIssuersResponseProtoMsg): QueryClassIssuersResponse; - toProto(message: QueryClassIssuersResponse): Uint8Array; - toProtoMsg(message: QueryClassIssuersResponse): QueryClassIssuersResponseProtoMsg; -}; -export declare const QueryProjectsRequest: { - encode(message: QueryProjectsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsRequest; - fromJSON(object: any): QueryProjectsRequest; - toJSON(message: QueryProjectsRequest): unknown; - fromPartial(object: Partial): QueryProjectsRequest; - fromAmino(object: QueryProjectsRequestAmino): QueryProjectsRequest; - toAmino(message: QueryProjectsRequest): QueryProjectsRequestAmino; - fromAminoMsg(object: QueryProjectsRequestAminoMsg): QueryProjectsRequest; - fromProtoMsg(message: QueryProjectsRequestProtoMsg): QueryProjectsRequest; - toProto(message: QueryProjectsRequest): Uint8Array; - toProtoMsg(message: QueryProjectsRequest): QueryProjectsRequestProtoMsg; -}; -export declare const QueryProjectsResponse: { - encode(message: QueryProjectsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsResponse; - fromJSON(object: any): QueryProjectsResponse; - toJSON(message: QueryProjectsResponse): unknown; - fromPartial(object: Partial): QueryProjectsResponse; - fromAmino(object: QueryProjectsResponseAmino): QueryProjectsResponse; - toAmino(message: QueryProjectsResponse): QueryProjectsResponseAmino; - fromAminoMsg(object: QueryProjectsResponseAminoMsg): QueryProjectsResponse; - fromProtoMsg(message: QueryProjectsResponseProtoMsg): QueryProjectsResponse; - toProto(message: QueryProjectsResponse): Uint8Array; - toProtoMsg(message: QueryProjectsResponse): QueryProjectsResponseProtoMsg; -}; -export declare const QueryProjectsByClassRequest: { - encode(message: QueryProjectsByClassRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsByClassRequest; - fromJSON(object: any): QueryProjectsByClassRequest; - toJSON(message: QueryProjectsByClassRequest): unknown; - fromPartial(object: Partial): QueryProjectsByClassRequest; - fromAmino(object: QueryProjectsByClassRequestAmino): QueryProjectsByClassRequest; - toAmino(message: QueryProjectsByClassRequest): QueryProjectsByClassRequestAmino; - fromAminoMsg(object: QueryProjectsByClassRequestAminoMsg): QueryProjectsByClassRequest; - fromProtoMsg(message: QueryProjectsByClassRequestProtoMsg): QueryProjectsByClassRequest; - toProto(message: QueryProjectsByClassRequest): Uint8Array; - toProtoMsg(message: QueryProjectsByClassRequest): QueryProjectsByClassRequestProtoMsg; -}; -export declare const QueryProjectsByClassResponse: { - encode(message: QueryProjectsByClassResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsByClassResponse; - fromJSON(object: any): QueryProjectsByClassResponse; - toJSON(message: QueryProjectsByClassResponse): unknown; - fromPartial(object: Partial): QueryProjectsByClassResponse; - fromAmino(object: QueryProjectsByClassResponseAmino): QueryProjectsByClassResponse; - toAmino(message: QueryProjectsByClassResponse): QueryProjectsByClassResponseAmino; - fromAminoMsg(object: QueryProjectsByClassResponseAminoMsg): QueryProjectsByClassResponse; - fromProtoMsg(message: QueryProjectsByClassResponseProtoMsg): QueryProjectsByClassResponse; - toProto(message: QueryProjectsByClassResponse): Uint8Array; - toProtoMsg(message: QueryProjectsByClassResponse): QueryProjectsByClassResponseProtoMsg; -}; -export declare const QueryProjectsByReferenceIdRequest: { - encode(message: QueryProjectsByReferenceIdRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsByReferenceIdRequest; - fromJSON(object: any): QueryProjectsByReferenceIdRequest; - toJSON(message: QueryProjectsByReferenceIdRequest): unknown; - fromPartial(object: Partial): QueryProjectsByReferenceIdRequest; - fromAmino(object: QueryProjectsByReferenceIdRequestAmino): QueryProjectsByReferenceIdRequest; - toAmino(message: QueryProjectsByReferenceIdRequest): QueryProjectsByReferenceIdRequestAmino; - fromAminoMsg(object: QueryProjectsByReferenceIdRequestAminoMsg): QueryProjectsByReferenceIdRequest; - fromProtoMsg(message: QueryProjectsByReferenceIdRequestProtoMsg): QueryProjectsByReferenceIdRequest; - toProto(message: QueryProjectsByReferenceIdRequest): Uint8Array; - toProtoMsg(message: QueryProjectsByReferenceIdRequest): QueryProjectsByReferenceIdRequestProtoMsg; -}; -export declare const QueryProjectsByReferenceIdResponse: { - encode(message: QueryProjectsByReferenceIdResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsByReferenceIdResponse; - fromJSON(object: any): QueryProjectsByReferenceIdResponse; - toJSON(message: QueryProjectsByReferenceIdResponse): unknown; - fromPartial(object: Partial): QueryProjectsByReferenceIdResponse; - fromAmino(object: QueryProjectsByReferenceIdResponseAmino): QueryProjectsByReferenceIdResponse; - toAmino(message: QueryProjectsByReferenceIdResponse): QueryProjectsByReferenceIdResponseAmino; - fromAminoMsg(object: QueryProjectsByReferenceIdResponseAminoMsg): QueryProjectsByReferenceIdResponse; - fromProtoMsg(message: QueryProjectsByReferenceIdResponseProtoMsg): QueryProjectsByReferenceIdResponse; - toProto(message: QueryProjectsByReferenceIdResponse): Uint8Array; - toProtoMsg(message: QueryProjectsByReferenceIdResponse): QueryProjectsByReferenceIdResponseProtoMsg; -}; -export declare const QueryProjectsByAdminRequest: { - encode(message: QueryProjectsByAdminRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsByAdminRequest; - fromJSON(object: any): QueryProjectsByAdminRequest; - toJSON(message: QueryProjectsByAdminRequest): unknown; - fromPartial(object: Partial): QueryProjectsByAdminRequest; - fromAmino(object: QueryProjectsByAdminRequestAmino): QueryProjectsByAdminRequest; - toAmino(message: QueryProjectsByAdminRequest): QueryProjectsByAdminRequestAmino; - fromAminoMsg(object: QueryProjectsByAdminRequestAminoMsg): QueryProjectsByAdminRequest; - fromProtoMsg(message: QueryProjectsByAdminRequestProtoMsg): QueryProjectsByAdminRequest; - toProto(message: QueryProjectsByAdminRequest): Uint8Array; - toProtoMsg(message: QueryProjectsByAdminRequest): QueryProjectsByAdminRequestProtoMsg; -}; -export declare const QueryProjectsByAdminResponse: { - encode(message: QueryProjectsByAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectsByAdminResponse; - fromJSON(object: any): QueryProjectsByAdminResponse; - toJSON(message: QueryProjectsByAdminResponse): unknown; - fromPartial(object: Partial): QueryProjectsByAdminResponse; - fromAmino(object: QueryProjectsByAdminResponseAmino): QueryProjectsByAdminResponse; - toAmino(message: QueryProjectsByAdminResponse): QueryProjectsByAdminResponseAmino; - fromAminoMsg(object: QueryProjectsByAdminResponseAminoMsg): QueryProjectsByAdminResponse; - fromProtoMsg(message: QueryProjectsByAdminResponseProtoMsg): QueryProjectsByAdminResponse; - toProto(message: QueryProjectsByAdminResponse): Uint8Array; - toProtoMsg(message: QueryProjectsByAdminResponse): QueryProjectsByAdminResponseProtoMsg; -}; -export declare const QueryProjectRequest: { - encode(message: QueryProjectRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectRequest; - fromJSON(object: any): QueryProjectRequest; - toJSON(message: QueryProjectRequest): unknown; - fromPartial(object: Partial): QueryProjectRequest; - fromAmino(object: QueryProjectRequestAmino): QueryProjectRequest; - toAmino(message: QueryProjectRequest): QueryProjectRequestAmino; - fromAminoMsg(object: QueryProjectRequestAminoMsg): QueryProjectRequest; - fromProtoMsg(message: QueryProjectRequestProtoMsg): QueryProjectRequest; - toProto(message: QueryProjectRequest): Uint8Array; - toProtoMsg(message: QueryProjectRequest): QueryProjectRequestProtoMsg; -}; -export declare const QueryProjectResponse: { - encode(message: QueryProjectResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProjectResponse; - fromJSON(object: any): QueryProjectResponse; - toJSON(message: QueryProjectResponse): unknown; - fromPartial(object: Partial): QueryProjectResponse; - fromAmino(object: QueryProjectResponseAmino): QueryProjectResponse; - toAmino(message: QueryProjectResponse): QueryProjectResponseAmino; - fromAminoMsg(object: QueryProjectResponseAminoMsg): QueryProjectResponse; - fromProtoMsg(message: QueryProjectResponseProtoMsg): QueryProjectResponse; - toProto(message: QueryProjectResponse): Uint8Array; - toProtoMsg(message: QueryProjectResponse): QueryProjectResponseProtoMsg; -}; -export declare const QueryBatchesRequest: { - encode(message: QueryBatchesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesRequest; - fromJSON(object: any): QueryBatchesRequest; - toJSON(message: QueryBatchesRequest): unknown; - fromPartial(object: Partial): QueryBatchesRequest; - fromAmino(object: QueryBatchesRequestAmino): QueryBatchesRequest; - toAmino(message: QueryBatchesRequest): QueryBatchesRequestAmino; - fromAminoMsg(object: QueryBatchesRequestAminoMsg): QueryBatchesRequest; - fromProtoMsg(message: QueryBatchesRequestProtoMsg): QueryBatchesRequest; - toProto(message: QueryBatchesRequest): Uint8Array; - toProtoMsg(message: QueryBatchesRequest): QueryBatchesRequestProtoMsg; -}; -export declare const QueryBatchesResponse: { - encode(message: QueryBatchesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesResponse; - fromJSON(object: any): QueryBatchesResponse; - toJSON(message: QueryBatchesResponse): unknown; - fromPartial(object: Partial): QueryBatchesResponse; - fromAmino(object: QueryBatchesResponseAmino): QueryBatchesResponse; - toAmino(message: QueryBatchesResponse): QueryBatchesResponseAmino; - fromAminoMsg(object: QueryBatchesResponseAminoMsg): QueryBatchesResponse; - fromProtoMsg(message: QueryBatchesResponseProtoMsg): QueryBatchesResponse; - toProto(message: QueryBatchesResponse): Uint8Array; - toProtoMsg(message: QueryBatchesResponse): QueryBatchesResponseProtoMsg; -}; -export declare const QueryBatchesByIssuerRequest: { - encode(message: QueryBatchesByIssuerRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesByIssuerRequest; - fromJSON(object: any): QueryBatchesByIssuerRequest; - toJSON(message: QueryBatchesByIssuerRequest): unknown; - fromPartial(object: Partial): QueryBatchesByIssuerRequest; - fromAmino(object: QueryBatchesByIssuerRequestAmino): QueryBatchesByIssuerRequest; - toAmino(message: QueryBatchesByIssuerRequest): QueryBatchesByIssuerRequestAmino; - fromAminoMsg(object: QueryBatchesByIssuerRequestAminoMsg): QueryBatchesByIssuerRequest; - fromProtoMsg(message: QueryBatchesByIssuerRequestProtoMsg): QueryBatchesByIssuerRequest; - toProto(message: QueryBatchesByIssuerRequest): Uint8Array; - toProtoMsg(message: QueryBatchesByIssuerRequest): QueryBatchesByIssuerRequestProtoMsg; -}; -export declare const QueryBatchesByIssuerResponse: { - encode(message: QueryBatchesByIssuerResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesByIssuerResponse; - fromJSON(object: any): QueryBatchesByIssuerResponse; - toJSON(message: QueryBatchesByIssuerResponse): unknown; - fromPartial(object: Partial): QueryBatchesByIssuerResponse; - fromAmino(object: QueryBatchesByIssuerResponseAmino): QueryBatchesByIssuerResponse; - toAmino(message: QueryBatchesByIssuerResponse): QueryBatchesByIssuerResponseAmino; - fromAminoMsg(object: QueryBatchesByIssuerResponseAminoMsg): QueryBatchesByIssuerResponse; - fromProtoMsg(message: QueryBatchesByIssuerResponseProtoMsg): QueryBatchesByIssuerResponse; - toProto(message: QueryBatchesByIssuerResponse): Uint8Array; - toProtoMsg(message: QueryBatchesByIssuerResponse): QueryBatchesByIssuerResponseProtoMsg; -}; -export declare const QueryBatchesByClassRequest: { - encode(message: QueryBatchesByClassRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesByClassRequest; - fromJSON(object: any): QueryBatchesByClassRequest; - toJSON(message: QueryBatchesByClassRequest): unknown; - fromPartial(object: Partial): QueryBatchesByClassRequest; - fromAmino(object: QueryBatchesByClassRequestAmino): QueryBatchesByClassRequest; - toAmino(message: QueryBatchesByClassRequest): QueryBatchesByClassRequestAmino; - fromAminoMsg(object: QueryBatchesByClassRequestAminoMsg): QueryBatchesByClassRequest; - fromProtoMsg(message: QueryBatchesByClassRequestProtoMsg): QueryBatchesByClassRequest; - toProto(message: QueryBatchesByClassRequest): Uint8Array; - toProtoMsg(message: QueryBatchesByClassRequest): QueryBatchesByClassRequestProtoMsg; -}; -export declare const QueryBatchesByProjectRequest: { - encode(message: QueryBatchesByProjectRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesByProjectRequest; - fromJSON(object: any): QueryBatchesByProjectRequest; - toJSON(message: QueryBatchesByProjectRequest): unknown; - fromPartial(object: Partial): QueryBatchesByProjectRequest; - fromAmino(object: QueryBatchesByProjectRequestAmino): QueryBatchesByProjectRequest; - toAmino(message: QueryBatchesByProjectRequest): QueryBatchesByProjectRequestAmino; - fromAminoMsg(object: QueryBatchesByProjectRequestAminoMsg): QueryBatchesByProjectRequest; - fromProtoMsg(message: QueryBatchesByProjectRequestProtoMsg): QueryBatchesByProjectRequest; - toProto(message: QueryBatchesByProjectRequest): Uint8Array; - toProtoMsg(message: QueryBatchesByProjectRequest): QueryBatchesByProjectRequestProtoMsg; -}; -export declare const QueryBatchesByProjectResponse: { - encode(message: QueryBatchesByProjectResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesByProjectResponse; - fromJSON(object: any): QueryBatchesByProjectResponse; - toJSON(message: QueryBatchesByProjectResponse): unknown; - fromPartial(object: Partial): QueryBatchesByProjectResponse; - fromAmino(object: QueryBatchesByProjectResponseAmino): QueryBatchesByProjectResponse; - toAmino(message: QueryBatchesByProjectResponse): QueryBatchesByProjectResponseAmino; - fromAminoMsg(object: QueryBatchesByProjectResponseAminoMsg): QueryBatchesByProjectResponse; - fromProtoMsg(message: QueryBatchesByProjectResponseProtoMsg): QueryBatchesByProjectResponse; - toProto(message: QueryBatchesByProjectResponse): Uint8Array; - toProtoMsg(message: QueryBatchesByProjectResponse): QueryBatchesByProjectResponseProtoMsg; -}; -export declare const QueryBatchesByClassResponse: { - encode(message: QueryBatchesByClassResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesByClassResponse; - fromJSON(object: any): QueryBatchesByClassResponse; - toJSON(message: QueryBatchesByClassResponse): unknown; - fromPartial(object: Partial): QueryBatchesByClassResponse; - fromAmino(object: QueryBatchesByClassResponseAmino): QueryBatchesByClassResponse; - toAmino(message: QueryBatchesByClassResponse): QueryBatchesByClassResponseAmino; - fromAminoMsg(object: QueryBatchesByClassResponseAminoMsg): QueryBatchesByClassResponse; - fromProtoMsg(message: QueryBatchesByClassResponseProtoMsg): QueryBatchesByClassResponse; - toProto(message: QueryBatchesByClassResponse): Uint8Array; - toProtoMsg(message: QueryBatchesByClassResponse): QueryBatchesByClassResponseProtoMsg; -}; -export declare const QueryBatchRequest: { - encode(message: QueryBatchRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchRequest; - fromJSON(object: any): QueryBatchRequest; - toJSON(message: QueryBatchRequest): unknown; - fromPartial(object: Partial): QueryBatchRequest; - fromAmino(object: QueryBatchRequestAmino): QueryBatchRequest; - toAmino(message: QueryBatchRequest): QueryBatchRequestAmino; - fromAminoMsg(object: QueryBatchRequestAminoMsg): QueryBatchRequest; - fromProtoMsg(message: QueryBatchRequestProtoMsg): QueryBatchRequest; - toProto(message: QueryBatchRequest): Uint8Array; - toProtoMsg(message: QueryBatchRequest): QueryBatchRequestProtoMsg; -}; -export declare const QueryBatchResponse: { - encode(message: QueryBatchResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchResponse; - fromJSON(object: any): QueryBatchResponse; - toJSON(message: QueryBatchResponse): unknown; - fromPartial(object: Partial): QueryBatchResponse; - fromAmino(object: QueryBatchResponseAmino): QueryBatchResponse; - toAmino(message: QueryBatchResponse): QueryBatchResponseAmino; - fromAminoMsg(object: QueryBatchResponseAminoMsg): QueryBatchResponse; - fromProtoMsg(message: QueryBatchResponseProtoMsg): QueryBatchResponse; - toProto(message: QueryBatchResponse): Uint8Array; - toProtoMsg(message: QueryBatchResponse): QueryBatchResponseProtoMsg; -}; -export declare const QueryBalanceRequest: { - encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest; - fromJSON(object: any): QueryBalanceRequest; - toJSON(message: QueryBalanceRequest): unknown; - fromPartial(object: Partial): QueryBalanceRequest; - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest; - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino; - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest; - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest; - toProto(message: QueryBalanceRequest): Uint8Array; - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg; -}; -export declare const QueryBalanceResponse: { - encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse; - fromJSON(object: any): QueryBalanceResponse; - toJSON(message: QueryBalanceResponse): unknown; - fromPartial(object: Partial): QueryBalanceResponse; - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse; - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino; - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse; - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse; - toProto(message: QueryBalanceResponse): Uint8Array; - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg; -}; -export declare const QueryBalancesRequest: { - encode(message: QueryBalancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalancesRequest; - fromJSON(object: any): QueryBalancesRequest; - toJSON(message: QueryBalancesRequest): unknown; - fromPartial(object: Partial): QueryBalancesRequest; - fromAmino(object: QueryBalancesRequestAmino): QueryBalancesRequest; - toAmino(message: QueryBalancesRequest): QueryBalancesRequestAmino; - fromAminoMsg(object: QueryBalancesRequestAminoMsg): QueryBalancesRequest; - fromProtoMsg(message: QueryBalancesRequestProtoMsg): QueryBalancesRequest; - toProto(message: QueryBalancesRequest): Uint8Array; - toProtoMsg(message: QueryBalancesRequest): QueryBalancesRequestProtoMsg; -}; -export declare const QueryBalancesResponse: { - encode(message: QueryBalancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalancesResponse; - fromJSON(object: any): QueryBalancesResponse; - toJSON(message: QueryBalancesResponse): unknown; - fromPartial(object: Partial): QueryBalancesResponse; - fromAmino(object: QueryBalancesResponseAmino): QueryBalancesResponse; - toAmino(message: QueryBalancesResponse): QueryBalancesResponseAmino; - fromAminoMsg(object: QueryBalancesResponseAminoMsg): QueryBalancesResponse; - fromProtoMsg(message: QueryBalancesResponseProtoMsg): QueryBalancesResponse; - toProto(message: QueryBalancesResponse): Uint8Array; - toProtoMsg(message: QueryBalancesResponse): QueryBalancesResponseProtoMsg; -}; -export declare const QueryBalancesByBatchRequest: { - encode(message: QueryBalancesByBatchRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalancesByBatchRequest; - fromJSON(object: any): QueryBalancesByBatchRequest; - toJSON(message: QueryBalancesByBatchRequest): unknown; - fromPartial(object: Partial): QueryBalancesByBatchRequest; - fromAmino(object: QueryBalancesByBatchRequestAmino): QueryBalancesByBatchRequest; - toAmino(message: QueryBalancesByBatchRequest): QueryBalancesByBatchRequestAmino; - fromAminoMsg(object: QueryBalancesByBatchRequestAminoMsg): QueryBalancesByBatchRequest; - fromProtoMsg(message: QueryBalancesByBatchRequestProtoMsg): QueryBalancesByBatchRequest; - toProto(message: QueryBalancesByBatchRequest): Uint8Array; - toProtoMsg(message: QueryBalancesByBatchRequest): QueryBalancesByBatchRequestProtoMsg; -}; -export declare const QueryBalancesByBatchResponse: { - encode(message: QueryBalancesByBatchResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalancesByBatchResponse; - fromJSON(object: any): QueryBalancesByBatchResponse; - toJSON(message: QueryBalancesByBatchResponse): unknown; - fromPartial(object: Partial): QueryBalancesByBatchResponse; - fromAmino(object: QueryBalancesByBatchResponseAmino): QueryBalancesByBatchResponse; - toAmino(message: QueryBalancesByBatchResponse): QueryBalancesByBatchResponseAmino; - fromAminoMsg(object: QueryBalancesByBatchResponseAminoMsg): QueryBalancesByBatchResponse; - fromProtoMsg(message: QueryBalancesByBatchResponseProtoMsg): QueryBalancesByBatchResponse; - toProto(message: QueryBalancesByBatchResponse): Uint8Array; - toProtoMsg(message: QueryBalancesByBatchResponse): QueryBalancesByBatchResponseProtoMsg; -}; -export declare const QueryAllBalancesRequest: { - encode(message: QueryAllBalancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest; - fromJSON(object: any): QueryAllBalancesRequest; - toJSON(message: QueryAllBalancesRequest): unknown; - fromPartial(object: Partial): QueryAllBalancesRequest; - fromAmino(object: QueryAllBalancesRequestAmino): QueryAllBalancesRequest; - toAmino(message: QueryAllBalancesRequest): QueryAllBalancesRequestAmino; - fromAminoMsg(object: QueryAllBalancesRequestAminoMsg): QueryAllBalancesRequest; - fromProtoMsg(message: QueryAllBalancesRequestProtoMsg): QueryAllBalancesRequest; - toProto(message: QueryAllBalancesRequest): Uint8Array; - toProtoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestProtoMsg; -}; -export declare const QueryAllBalancesResponse: { - encode(message: QueryAllBalancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse; - fromJSON(object: any): QueryAllBalancesResponse; - toJSON(message: QueryAllBalancesResponse): unknown; - fromPartial(object: Partial): QueryAllBalancesResponse; - fromAmino(object: QueryAllBalancesResponseAmino): QueryAllBalancesResponse; - toAmino(message: QueryAllBalancesResponse): QueryAllBalancesResponseAmino; - fromAminoMsg(object: QueryAllBalancesResponseAminoMsg): QueryAllBalancesResponse; - fromProtoMsg(message: QueryAllBalancesResponseProtoMsg): QueryAllBalancesResponse; - toProto(message: QueryAllBalancesResponse): Uint8Array; - toProtoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseProtoMsg; -}; -export declare const QuerySupplyRequest: { - encode(message: QuerySupplyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest; - fromJSON(object: any): QuerySupplyRequest; - toJSON(message: QuerySupplyRequest): unknown; - fromPartial(object: Partial): QuerySupplyRequest; - fromAmino(object: QuerySupplyRequestAmino): QuerySupplyRequest; - toAmino(message: QuerySupplyRequest): QuerySupplyRequestAmino; - fromAminoMsg(object: QuerySupplyRequestAminoMsg): QuerySupplyRequest; - fromProtoMsg(message: QuerySupplyRequestProtoMsg): QuerySupplyRequest; - toProto(message: QuerySupplyRequest): Uint8Array; - toProtoMsg(message: QuerySupplyRequest): QuerySupplyRequestProtoMsg; -}; -export declare const QuerySupplyResponse: { - encode(message: QuerySupplyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse; - fromJSON(object: any): QuerySupplyResponse; - toJSON(message: QuerySupplyResponse): unknown; - fromPartial(object: Partial): QuerySupplyResponse; - fromAmino(object: QuerySupplyResponseAmino): QuerySupplyResponse; - toAmino(message: QuerySupplyResponse): QuerySupplyResponseAmino; - fromAminoMsg(object: QuerySupplyResponseAminoMsg): QuerySupplyResponse; - fromProtoMsg(message: QuerySupplyResponseProtoMsg): QuerySupplyResponse; - toProto(message: QuerySupplyResponse): Uint8Array; - toProtoMsg(message: QuerySupplyResponse): QuerySupplyResponseProtoMsg; -}; -export declare const QueryCreditTypesRequest: { - encode(_: QueryCreditTypesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCreditTypesRequest; - fromJSON(_: any): QueryCreditTypesRequest; - toJSON(_: QueryCreditTypesRequest): unknown; - fromPartial(_: Partial): QueryCreditTypesRequest; - fromAmino(_: QueryCreditTypesRequestAmino): QueryCreditTypesRequest; - toAmino(_: QueryCreditTypesRequest): QueryCreditTypesRequestAmino; - fromAminoMsg(object: QueryCreditTypesRequestAminoMsg): QueryCreditTypesRequest; - fromProtoMsg(message: QueryCreditTypesRequestProtoMsg): QueryCreditTypesRequest; - toProto(message: QueryCreditTypesRequest): Uint8Array; - toProtoMsg(message: QueryCreditTypesRequest): QueryCreditTypesRequestProtoMsg; -}; -export declare const QueryCreditTypesResponse: { - encode(message: QueryCreditTypesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCreditTypesResponse; - fromJSON(object: any): QueryCreditTypesResponse; - toJSON(message: QueryCreditTypesResponse): unknown; - fromPartial(object: Partial): QueryCreditTypesResponse; - fromAmino(object: QueryCreditTypesResponseAmino): QueryCreditTypesResponse; - toAmino(message: QueryCreditTypesResponse): QueryCreditTypesResponseAmino; - fromAminoMsg(object: QueryCreditTypesResponseAminoMsg): QueryCreditTypesResponse; - fromProtoMsg(message: QueryCreditTypesResponseProtoMsg): QueryCreditTypesResponse; - toProto(message: QueryCreditTypesResponse): Uint8Array; - toProtoMsg(message: QueryCreditTypesResponse): QueryCreditTypesResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryCreditTypeRequest: { - encode(message: QueryCreditTypeRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCreditTypeRequest; - fromJSON(object: any): QueryCreditTypeRequest; - toJSON(message: QueryCreditTypeRequest): unknown; - fromPartial(object: Partial): QueryCreditTypeRequest; - fromAmino(object: QueryCreditTypeRequestAmino): QueryCreditTypeRequest; - toAmino(message: QueryCreditTypeRequest): QueryCreditTypeRequestAmino; - fromAminoMsg(object: QueryCreditTypeRequestAminoMsg): QueryCreditTypeRequest; - fromProtoMsg(message: QueryCreditTypeRequestProtoMsg): QueryCreditTypeRequest; - toProto(message: QueryCreditTypeRequest): Uint8Array; - toProtoMsg(message: QueryCreditTypeRequest): QueryCreditTypeRequestProtoMsg; -}; -export declare const QueryCreditTypeResponse: { - encode(message: QueryCreditTypeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCreditTypeResponse; - fromJSON(object: any): QueryCreditTypeResponse; - toJSON(message: QueryCreditTypeResponse): unknown; - fromPartial(object: Partial): QueryCreditTypeResponse; - fromAmino(object: QueryCreditTypeResponseAmino): QueryCreditTypeResponse; - toAmino(message: QueryCreditTypeResponse): QueryCreditTypeResponseAmino; - fromAminoMsg(object: QueryCreditTypeResponseAminoMsg): QueryCreditTypeResponse; - fromProtoMsg(message: QueryCreditTypeResponseProtoMsg): QueryCreditTypeResponse; - toProto(message: QueryCreditTypeResponse): Uint8Array; - toProtoMsg(message: QueryCreditTypeResponse): QueryCreditTypeResponseProtoMsg; -}; -export declare const ClassInfo: { - encode(message: ClassInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClassInfo; - fromJSON(object: any): ClassInfo; - toJSON(message: ClassInfo): unknown; - fromPartial(object: Partial): ClassInfo; - fromAmino(object: ClassInfoAmino): ClassInfo; - toAmino(message: ClassInfo): ClassInfoAmino; - fromAminoMsg(object: ClassInfoAminoMsg): ClassInfo; - fromProtoMsg(message: ClassInfoProtoMsg): ClassInfo; - toProto(message: ClassInfo): Uint8Array; - toProtoMsg(message: ClassInfo): ClassInfoProtoMsg; -}; -export declare const ProjectInfo: { - encode(message: ProjectInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProjectInfo; - fromJSON(object: any): ProjectInfo; - toJSON(message: ProjectInfo): unknown; - fromPartial(object: Partial): ProjectInfo; - fromAmino(object: ProjectInfoAmino): ProjectInfo; - toAmino(message: ProjectInfo): ProjectInfoAmino; - fromAminoMsg(object: ProjectInfoAminoMsg): ProjectInfo; - fromProtoMsg(message: ProjectInfoProtoMsg): ProjectInfo; - toProto(message: ProjectInfo): Uint8Array; - toProtoMsg(message: ProjectInfo): ProjectInfoProtoMsg; -}; -export declare const BatchInfo: { - encode(message: BatchInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchInfo; - fromJSON(object: any): BatchInfo; - toJSON(message: BatchInfo): unknown; - fromPartial(object: Partial): BatchInfo; - fromAmino(object: BatchInfoAmino): BatchInfo; - toAmino(message: BatchInfo): BatchInfoAmino; - fromAminoMsg(object: BatchInfoAminoMsg): BatchInfo; - fromProtoMsg(message: BatchInfoProtoMsg): BatchInfo; - toProto(message: BatchInfo): Uint8Array; - toProtoMsg(message: BatchInfo): BatchInfoProtoMsg; -}; -export declare const BatchBalanceInfo: { - encode(message: BatchBalanceInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchBalanceInfo; - fromJSON(object: any): BatchBalanceInfo; - toJSON(message: BatchBalanceInfo): unknown; - fromPartial(object: Partial): BatchBalanceInfo; - fromAmino(object: BatchBalanceInfoAmino): BatchBalanceInfo; - toAmino(message: BatchBalanceInfo): BatchBalanceInfoAmino; - fromAminoMsg(object: BatchBalanceInfoAminoMsg): BatchBalanceInfo; - fromProtoMsg(message: BatchBalanceInfoProtoMsg): BatchBalanceInfo; - toProto(message: BatchBalanceInfo): Uint8Array; - toProtoMsg(message: BatchBalanceInfo): BatchBalanceInfoProtoMsg; -}; -export declare const QueryClassCreatorAllowlistRequest: { - encode(_: QueryClassCreatorAllowlistRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassCreatorAllowlistRequest; - fromJSON(_: any): QueryClassCreatorAllowlistRequest; - toJSON(_: QueryClassCreatorAllowlistRequest): unknown; - fromPartial(_: Partial): QueryClassCreatorAllowlistRequest; - fromAmino(_: QueryClassCreatorAllowlistRequestAmino): QueryClassCreatorAllowlistRequest; - toAmino(_: QueryClassCreatorAllowlistRequest): QueryClassCreatorAllowlistRequestAmino; - fromAminoMsg(object: QueryClassCreatorAllowlistRequestAminoMsg): QueryClassCreatorAllowlistRequest; - fromProtoMsg(message: QueryClassCreatorAllowlistRequestProtoMsg): QueryClassCreatorAllowlistRequest; - toProto(message: QueryClassCreatorAllowlistRequest): Uint8Array; - toProtoMsg(message: QueryClassCreatorAllowlistRequest): QueryClassCreatorAllowlistRequestProtoMsg; -}; -export declare const QueryClassCreatorAllowlistResponse: { - encode(message: QueryClassCreatorAllowlistResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassCreatorAllowlistResponse; - fromJSON(object: any): QueryClassCreatorAllowlistResponse; - toJSON(message: QueryClassCreatorAllowlistResponse): unknown; - fromPartial(object: Partial): QueryClassCreatorAllowlistResponse; - fromAmino(object: QueryClassCreatorAllowlistResponseAmino): QueryClassCreatorAllowlistResponse; - toAmino(message: QueryClassCreatorAllowlistResponse): QueryClassCreatorAllowlistResponseAmino; - fromAminoMsg(object: QueryClassCreatorAllowlistResponseAminoMsg): QueryClassCreatorAllowlistResponse; - fromProtoMsg(message: QueryClassCreatorAllowlistResponseProtoMsg): QueryClassCreatorAllowlistResponse; - toProto(message: QueryClassCreatorAllowlistResponse): Uint8Array; - toProtoMsg(message: QueryClassCreatorAllowlistResponse): QueryClassCreatorAllowlistResponseProtoMsg; -}; -export declare const QueryAllowedClassCreatorsRequest: { - encode(message: QueryAllowedClassCreatorsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowedClassCreatorsRequest; - fromJSON(object: any): QueryAllowedClassCreatorsRequest; - toJSON(message: QueryAllowedClassCreatorsRequest): unknown; - fromPartial(object: Partial): QueryAllowedClassCreatorsRequest; - fromAmino(object: QueryAllowedClassCreatorsRequestAmino): QueryAllowedClassCreatorsRequest; - toAmino(message: QueryAllowedClassCreatorsRequest): QueryAllowedClassCreatorsRequestAmino; - fromAminoMsg(object: QueryAllowedClassCreatorsRequestAminoMsg): QueryAllowedClassCreatorsRequest; - fromProtoMsg(message: QueryAllowedClassCreatorsRequestProtoMsg): QueryAllowedClassCreatorsRequest; - toProto(message: QueryAllowedClassCreatorsRequest): Uint8Array; - toProtoMsg(message: QueryAllowedClassCreatorsRequest): QueryAllowedClassCreatorsRequestProtoMsg; -}; -export declare const QueryAllowedClassCreatorsResponse: { - encode(message: QueryAllowedClassCreatorsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowedClassCreatorsResponse; - fromJSON(object: any): QueryAllowedClassCreatorsResponse; - toJSON(message: QueryAllowedClassCreatorsResponse): unknown; - fromPartial(object: Partial): QueryAllowedClassCreatorsResponse; - fromAmino(object: QueryAllowedClassCreatorsResponseAmino): QueryAllowedClassCreatorsResponse; - toAmino(message: QueryAllowedClassCreatorsResponse): QueryAllowedClassCreatorsResponseAmino; - fromAminoMsg(object: QueryAllowedClassCreatorsResponseAminoMsg): QueryAllowedClassCreatorsResponse; - fromProtoMsg(message: QueryAllowedClassCreatorsResponseProtoMsg): QueryAllowedClassCreatorsResponse; - toProto(message: QueryAllowedClassCreatorsResponse): Uint8Array; - toProtoMsg(message: QueryAllowedClassCreatorsResponse): QueryAllowedClassCreatorsResponseProtoMsg; -}; -export declare const QueryClassFeeRequest: { - encode(_: QueryClassFeeRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassFeeRequest; - fromJSON(_: any): QueryClassFeeRequest; - toJSON(_: QueryClassFeeRequest): unknown; - fromPartial(_: Partial): QueryClassFeeRequest; - fromAmino(_: QueryClassFeeRequestAmino): QueryClassFeeRequest; - toAmino(_: QueryClassFeeRequest): QueryClassFeeRequestAmino; - fromAminoMsg(object: QueryClassFeeRequestAminoMsg): QueryClassFeeRequest; - fromProtoMsg(message: QueryClassFeeRequestProtoMsg): QueryClassFeeRequest; - toProto(message: QueryClassFeeRequest): Uint8Array; - toProtoMsg(message: QueryClassFeeRequest): QueryClassFeeRequestProtoMsg; -}; -export declare const QueryClassFeeResponse: { - encode(message: QueryClassFeeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassFeeResponse; - fromJSON(object: any): QueryClassFeeResponse; - toJSON(message: QueryClassFeeResponse): unknown; - fromPartial(object: Partial): QueryClassFeeResponse; - fromAmino(object: QueryClassFeeResponseAmino): QueryClassFeeResponse; - toAmino(message: QueryClassFeeResponse): QueryClassFeeResponseAmino; - fromAminoMsg(object: QueryClassFeeResponseAminoMsg): QueryClassFeeResponse; - fromProtoMsg(message: QueryClassFeeResponseProtoMsg): QueryClassFeeResponse; - toProto(message: QueryClassFeeResponse): Uint8Array; - toProtoMsg(message: QueryClassFeeResponse): QueryClassFeeResponseProtoMsg; -}; -export declare const QueryAllowedBridgeChainsRequest: { - encode(_: QueryAllowedBridgeChainsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowedBridgeChainsRequest; - fromJSON(_: any): QueryAllowedBridgeChainsRequest; - toJSON(_: QueryAllowedBridgeChainsRequest): unknown; - fromPartial(_: Partial): QueryAllowedBridgeChainsRequest; - fromAmino(_: QueryAllowedBridgeChainsRequestAmino): QueryAllowedBridgeChainsRequest; - toAmino(_: QueryAllowedBridgeChainsRequest): QueryAllowedBridgeChainsRequestAmino; - fromAminoMsg(object: QueryAllowedBridgeChainsRequestAminoMsg): QueryAllowedBridgeChainsRequest; - fromProtoMsg(message: QueryAllowedBridgeChainsRequestProtoMsg): QueryAllowedBridgeChainsRequest; - toProto(message: QueryAllowedBridgeChainsRequest): Uint8Array; - toProtoMsg(message: QueryAllowedBridgeChainsRequest): QueryAllowedBridgeChainsRequestProtoMsg; -}; -export declare const QueryAllowedBridgeChainsResponse: { - encode(message: QueryAllowedBridgeChainsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowedBridgeChainsResponse; - fromJSON(object: any): QueryAllowedBridgeChainsResponse; - toJSON(message: QueryAllowedBridgeChainsResponse): unknown; - fromPartial(object: Partial): QueryAllowedBridgeChainsResponse; - fromAmino(object: QueryAllowedBridgeChainsResponseAmino): QueryAllowedBridgeChainsResponse; - toAmino(message: QueryAllowedBridgeChainsResponse): QueryAllowedBridgeChainsResponseAmino; - fromAminoMsg(object: QueryAllowedBridgeChainsResponseAminoMsg): QueryAllowedBridgeChainsResponse; - fromProtoMsg(message: QueryAllowedBridgeChainsResponseProtoMsg): QueryAllowedBridgeChainsResponse; - toProto(message: QueryAllowedBridgeChainsResponse): Uint8Array; - toProtoMsg(message: QueryAllowedBridgeChainsResponse): QueryAllowedBridgeChainsResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/query.lcd.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/query.lcd.d.ts deleted file mode 100644 index 0be78b42..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/query.lcd.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryClassesRequest, QueryClassesResponseSDKType, QueryClassesByAdminRequest, QueryClassesByAdminResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassIssuersRequest, QueryClassIssuersResponseSDKType, QueryProjectsRequest, QueryProjectsResponseSDKType, QueryProjectsByClassRequest, QueryProjectsByClassResponseSDKType, QueryProjectsByReferenceIdRequest, QueryProjectsByReferenceIdResponseSDKType, QueryProjectsByAdminRequest, QueryProjectsByAdminResponseSDKType, QueryProjectRequest, QueryProjectResponseSDKType, QueryBatchesRequest, QueryBatchesResponseSDKType, QueryBatchesByIssuerRequest, QueryBatchesByIssuerResponseSDKType, QueryBatchesByClassRequest, QueryBatchesByClassResponseSDKType, QueryBatchesByProjectRequest, QueryBatchesByProjectResponseSDKType, QueryBatchRequest, QueryBatchResponseSDKType, QueryBalanceRequest, QueryBalanceResponseSDKType, QueryBalancesRequest, QueryBalancesResponseSDKType, QueryBalancesByBatchRequest, QueryBalancesByBatchResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryCreditTypesRequest, QueryCreditTypesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryCreditTypeRequest, QueryCreditTypeResponseSDKType, QueryClassCreatorAllowlistRequest, QueryClassCreatorAllowlistResponseSDKType, QueryAllowedClassCreatorsRequest, QueryAllowedClassCreatorsResponseSDKType, QueryClassFeeRequest, QueryClassFeeResponseSDKType, QueryAllowedBridgeChainsRequest, QueryAllowedBridgeChainsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - classes(params?: QueryClassesRequest): Promise; - classesByAdmin(params: QueryClassesByAdminRequest): Promise; - class(params: QueryClassRequest): Promise; - classIssuers(params: QueryClassIssuersRequest): Promise; - projects(params?: QueryProjectsRequest): Promise; - projectsByClass(params: QueryProjectsByClassRequest): Promise; - projectsByReferenceId(params: QueryProjectsByReferenceIdRequest): Promise; - projectsByAdmin(params: QueryProjectsByAdminRequest): Promise; - project(params: QueryProjectRequest): Promise; - batches(params?: QueryBatchesRequest): Promise; - batchesByIssuer(params: QueryBatchesByIssuerRequest): Promise; - batchesByClass(params: QueryBatchesByClassRequest): Promise; - batchesByProject(params: QueryBatchesByProjectRequest): Promise; - batch(params: QueryBatchRequest): Promise; - balance(params: QueryBalanceRequest): Promise; - balances(params: QueryBalancesRequest): Promise; - balancesByBatch(params: QueryBalancesByBatchRequest): Promise; - allBalances(params?: QueryAllBalancesRequest): Promise; - supply(params: QuerySupplyRequest): Promise; - creditTypes(_params?: QueryCreditTypesRequest): Promise; - params(_params?: QueryParamsRequest): Promise; - creditType(params: QueryCreditTypeRequest): Promise; - classCreatorAllowlist(_params?: QueryClassCreatorAllowlistRequest): Promise; - allowedClassCreators(params?: QueryAllowedClassCreatorsRequest): Promise; - classFee(_params?: QueryClassFeeRequest): Promise; - allowedBridgeChains(_params?: QueryAllowedBridgeChainsRequest): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/query.rpc.Query.d.ts deleted file mode 100644 index de47b8aa..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryClassesRequest, QueryClassesResponse, QueryClassesByAdminRequest, QueryClassesByAdminResponse, QueryClassRequest, QueryClassResponse, QueryClassIssuersRequest, QueryClassIssuersResponse, QueryProjectsRequest, QueryProjectsResponse, QueryProjectsByClassRequest, QueryProjectsByClassResponse, QueryProjectsByReferenceIdRequest, QueryProjectsByReferenceIdResponse, QueryProjectsByAdminRequest, QueryProjectsByAdminResponse, QueryProjectRequest, QueryProjectResponse, QueryBatchesRequest, QueryBatchesResponse, QueryBatchesByIssuerRequest, QueryBatchesByIssuerResponse, QueryBatchesByClassRequest, QueryBatchesByClassResponse, QueryBatchesByProjectRequest, QueryBatchesByProjectResponse, QueryBatchRequest, QueryBatchResponse, QueryBalanceRequest, QueryBalanceResponse, QueryBalancesRequest, QueryBalancesResponse, QueryBalancesByBatchRequest, QueryBalancesByBatchResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySupplyRequest, QuerySupplyResponse, QueryCreditTypesRequest, QueryCreditTypesResponse, QueryParamsRequest, QueryParamsResponse, QueryCreditTypeRequest, QueryCreditTypeResponse, QueryClassCreatorAllowlistRequest, QueryClassCreatorAllowlistResponse, QueryAllowedClassCreatorsRequest, QueryAllowedClassCreatorsResponse, QueryClassFeeRequest, QueryClassFeeResponse, QueryAllowedBridgeChainsRequest, QueryAllowedBridgeChainsResponse } from "./query"; -/** Msg is the regen.ecocredit.v1 Query service. */ -export interface Query { - /** Classes queries for all credit classes with pagination. */ - classes(request?: QueryClassesRequest): Promise; - /** - * ClassesByAdmin queries for all credit classes with a specific admin - * address. - */ - classesByAdmin(request: QueryClassesByAdminRequest): Promise; - /** Class queries for information on a credit class. */ - class(request: QueryClassRequest): Promise; - /** ClassIssuers queries for the addresses of the issuers for a credit class. */ - classIssuers(request: QueryClassIssuersRequest): Promise; - /** Projects queries for all projects with pagination. */ - projects(request?: QueryProjectsRequest): Promise; - /** ProjectsByClass queries for all projects within a class with pagination. */ - projectsByClass(request: QueryProjectsByClassRequest): Promise; - /** - * ProjectsByReferenceId queries for all projects by reference-id with - * pagination. - */ - projectsByReferenceId(request: QueryProjectsByReferenceIdRequest): Promise; - /** - * ProjectsByAdmin queries for all projects by admin with - * pagination. - */ - projectsByAdmin(request: QueryProjectsByAdminRequest): Promise; - /** Project queries for information on a project. */ - project(request: QueryProjectRequest): Promise; - /** Batches queries for all batches with pagination. */ - batches(request?: QueryBatchesRequest): Promise; - /** BatchesByIssuer queries all batches issued from a given issuer address. */ - batchesByIssuer(request: QueryBatchesByIssuerRequest): Promise; - /** BatchesByClass queries all batches issued from a given class. */ - batchesByClass(request: QueryBatchesByClassRequest): Promise; - /** - * BatchesByProject queries for all batches from a given project with - * pagination. - */ - batchesByProject(request: QueryBatchesByProjectRequest): Promise; - /** Batch queries for information on a credit batch. */ - batch(request: QueryBatchRequest): Promise; - /** - * Balance queries the balance (both tradable and retired) of a given credit - * batch for a given account address. - */ - balance(request: QueryBalanceRequest): Promise; - /** Balances queries all credit balances the given account holds. */ - balances(request: QueryBalancesRequest): Promise; - /** - * BalancesByBatch queries all credit balances from a given batch. - * - * Since Revision 2 - */ - balancesByBatch(request: QueryBalancesByBatchRequest): Promise; - /** - * AllBalances queries all credit balances. - * - * Since Revision 2 - */ - allBalances(request?: QueryAllBalancesRequest): Promise; - /** Supply queries the tradable and retired supply of a credit batch. */ - supply(request: QuerySupplyRequest): Promise; - /** - * CreditTypes returns the list of allowed types that credit classes can have. - * See Types/CreditType for more details. - */ - creditTypes(request?: QueryCreditTypesRequest): Promise; - /** - * Params queries the ecocredit module parameters. - * - * Deprecated (Since Revision 2): This rpc will be removed in the next - * version. - */ - params(request?: QueryParamsRequest): Promise; - /** CreditType queries credit type information by abbreviation. */ - creditType(request: QueryCreditTypeRequest): Promise; - /** - * ClassCreatorAllowlist queries the credit class creator allowlist - * enabled setting. - * - * Since Revision 2 - */ - classCreatorAllowlist(request?: QueryClassCreatorAllowlistRequest): Promise; - /** - * AllowedClassCreators queries allowed credit class creators list. - * - * Since Revision 2 - */ - allowedClassCreators(request?: QueryAllowedClassCreatorsRequest): Promise; - /** - * ClassFee returns the credit class creation fee. If not set, a credit class - * creation fee is not required. - * - * Since Revision 2 - */ - classFee(request?: QueryClassFeeRequest): Promise; - /** - * AllowedBridgeChains queries the list of chains allowed to be used in bridge - * operations. - * - * Since Revision 2 - */ - allowedBridgeChains(request?: QueryAllowedBridgeChainsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - classes(request?: QueryClassesRequest): Promise; - classesByAdmin(request: QueryClassesByAdminRequest): Promise; - class(request: QueryClassRequest): Promise; - classIssuers(request: QueryClassIssuersRequest): Promise; - projects(request?: QueryProjectsRequest): Promise; - projectsByClass(request: QueryProjectsByClassRequest): Promise; - projectsByReferenceId(request: QueryProjectsByReferenceIdRequest): Promise; - projectsByAdmin(request: QueryProjectsByAdminRequest): Promise; - project(request: QueryProjectRequest): Promise; - batches(request?: QueryBatchesRequest): Promise; - batchesByIssuer(request: QueryBatchesByIssuerRequest): Promise; - batchesByClass(request: QueryBatchesByClassRequest): Promise; - batchesByProject(request: QueryBatchesByProjectRequest): Promise; - batch(request: QueryBatchRequest): Promise; - balance(request: QueryBalanceRequest): Promise; - balances(request: QueryBalancesRequest): Promise; - balancesByBatch(request: QueryBalancesByBatchRequest): Promise; - allBalances(request?: QueryAllBalancesRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - creditTypes(request?: QueryCreditTypesRequest): Promise; - params(request?: QueryParamsRequest): Promise; - creditType(request: QueryCreditTypeRequest): Promise; - classCreatorAllowlist(request?: QueryClassCreatorAllowlistRequest): Promise; - allowedClassCreators(request?: QueryAllowedClassCreatorsRequest): Promise; - classFee(request?: QueryClassFeeRequest): Promise; - allowedBridgeChains(request?: QueryAllowedBridgeChainsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - classes(request?: QueryClassesRequest): Promise; - classesByAdmin(request: QueryClassesByAdminRequest): Promise; - class(request: QueryClassRequest): Promise; - classIssuers(request: QueryClassIssuersRequest): Promise; - projects(request?: QueryProjectsRequest): Promise; - projectsByClass(request: QueryProjectsByClassRequest): Promise; - projectsByReferenceId(request: QueryProjectsByReferenceIdRequest): Promise; - projectsByAdmin(request: QueryProjectsByAdminRequest): Promise; - project(request: QueryProjectRequest): Promise; - batches(request?: QueryBatchesRequest): Promise; - batchesByIssuer(request: QueryBatchesByIssuerRequest): Promise; - batchesByClass(request: QueryBatchesByClassRequest): Promise; - batchesByProject(request: QueryBatchesByProjectRequest): Promise; - batch(request: QueryBatchRequest): Promise; - balance(request: QueryBalanceRequest): Promise; - balances(request: QueryBalancesRequest): Promise; - balancesByBatch(request: QueryBalancesByBatchRequest): Promise; - allBalances(request?: QueryAllBalancesRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - creditTypes(request?: QueryCreditTypesRequest): Promise; - params(request?: QueryParamsRequest): Promise; - creditType(request: QueryCreditTypeRequest): Promise; - classCreatorAllowlist(request?: QueryClassCreatorAllowlistRequest): Promise; - allowedClassCreators(request?: QueryAllowedClassCreatorsRequest): Promise; - classFee(request?: QueryClassFeeRequest): Promise; - allowedBridgeChains(request?: QueryAllowedBridgeChainsRequest): Promise; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/state.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/state.d.ts deleted file mode 100644 index 35928d79..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/state.d.ts +++ /dev/null @@ -1,1128 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * CreditType defines the measurement unit/precision of a certain credit type - * (e.g. carbon, biodiversity...) - */ -export interface CreditType { - /** - * abbreviation is a 1-3 character uppercase abbreviation of the CreditType - * name, used in batch denominations within the CreditType. It must be unique. - */ - abbreviation: string; - /** name is the name of the credit type (e.g. carbon, biodiversity). */ - name: string; - /** unit is the measurement unit of the credit type (e.g. kg, ton). */ - unit: string; - /** precision is the decimal precision of the credit type. */ - precision: number; -} -export interface CreditTypeProtoMsg { - typeUrl: "/regen.ecocredit.v1.CreditType"; - value: Uint8Array; -} -/** - * CreditType defines the measurement unit/precision of a certain credit type - * (e.g. carbon, biodiversity...) - */ -export interface CreditTypeAmino { - /** - * abbreviation is a 1-3 character uppercase abbreviation of the CreditType - * name, used in batch denominations within the CreditType. It must be unique. - */ - abbreviation: string; - /** name is the name of the credit type (e.g. carbon, biodiversity). */ - name: string; - /** unit is the measurement unit of the credit type (e.g. kg, ton). */ - unit: string; - /** precision is the decimal precision of the credit type. */ - precision: number; -} -export interface CreditTypeAminoMsg { - type: "/regen.ecocredit.v1.CreditType"; - value: CreditTypeAmino; -} -/** - * CreditType defines the measurement unit/precision of a certain credit type - * (e.g. carbon, biodiversity...) - */ -export interface CreditTypeSDKType { - abbreviation: string; - name: string; - unit: string; - precision: number; -} -/** Class represents the high-level on-chain information for a credit class. */ -export interface Class { - /** - * key is the table row identifier of the credit class used internally for - * efficient lookups. This identifier is auto-incrementing. - */ - key: Long; - /** - * id is the unique identifier of the credit class auto-generated from the - * credit type abbreviation and the credit class sequence number. - */ - id: string; - /** admin is the admin of the credit class. */ - admin: Uint8Array; - /** metadata is any arbitrary metadata to attached to the credit class. */ - metadata: string; - /** credit_type_abbrev is the abbreviation of the credit type. */ - creditTypeAbbrev: string; -} -export interface ClassProtoMsg { - typeUrl: "/regen.ecocredit.v1.Class"; - value: Uint8Array; -} -/** Class represents the high-level on-chain information for a credit class. */ -export interface ClassAmino { - /** - * key is the table row identifier of the credit class used internally for - * efficient lookups. This identifier is auto-incrementing. - */ - key: string; - /** - * id is the unique identifier of the credit class auto-generated from the - * credit type abbreviation and the credit class sequence number. - */ - id: string; - /** admin is the admin of the credit class. */ - admin: Uint8Array; - /** metadata is any arbitrary metadata to attached to the credit class. */ - metadata: string; - /** credit_type_abbrev is the abbreviation of the credit type. */ - credit_type_abbrev: string; -} -export interface ClassAminoMsg { - type: "/regen.ecocredit.v1.Class"; - value: ClassAmino; -} -/** Class represents the high-level on-chain information for a credit class. */ -export interface ClassSDKType { - key: Long; - id: string; - admin: Uint8Array; - metadata: string; - credit_type_abbrev: string; -} -/** - * ClassIssuers is a JOIN table for Class Info that stores the credit class - * issuers - */ -export interface ClassIssuer { - /** - * class_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a class issuer to a credit class. - */ - classKey: Long; - /** issuer is the approved issuer of the credit class. */ - issuer: Uint8Array; -} -export interface ClassIssuerProtoMsg { - typeUrl: "/regen.ecocredit.v1.ClassIssuer"; - value: Uint8Array; -} -/** - * ClassIssuers is a JOIN table for Class Info that stores the credit class - * issuers - */ -export interface ClassIssuerAmino { - /** - * class_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a class issuer to a credit class. - */ - class_key: string; - /** issuer is the approved issuer of the credit class. */ - issuer: Uint8Array; -} -export interface ClassIssuerAminoMsg { - type: "/regen.ecocredit.v1.ClassIssuer"; - value: ClassIssuerAmino; -} -/** - * ClassIssuers is a JOIN table for Class Info that stores the credit class - * issuers - */ -export interface ClassIssuerSDKType { - class_key: Long; - issuer: Uint8Array; -} -/** Project represents the high-level on-chain information for a project. */ -export interface Project { - /** - * key is the table row identifier of the project used internally for - * efficient lookups. This identifier is auto-incrementing. - */ - key: Long; - /** - * id is the unique identifier of the project either auto-generated from the - * credit class id and project sequence number or provided upon creation. - */ - id: string; - /** admin is the admin of the project. */ - admin: Uint8Array; - /** - * class_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a project to a credit class. - */ - classKey: Long; - /** - * jurisdiction is the jurisdiction of the project. - * Full documentation can be found in MsgCreateProject.jurisdiction. - */ - jurisdiction: string; - /** metadata is any arbitrary metadata attached to the project. */ - metadata: string; - /** reference_id is any arbitrary string used to reference the project. */ - referenceId: string; -} -export interface ProjectProtoMsg { - typeUrl: "/regen.ecocredit.v1.Project"; - value: Uint8Array; -} -/** Project represents the high-level on-chain information for a project. */ -export interface ProjectAmino { - /** - * key is the table row identifier of the project used internally for - * efficient lookups. This identifier is auto-incrementing. - */ - key: string; - /** - * id is the unique identifier of the project either auto-generated from the - * credit class id and project sequence number or provided upon creation. - */ - id: string; - /** admin is the admin of the project. */ - admin: Uint8Array; - /** - * class_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a project to a credit class. - */ - class_key: string; - /** - * jurisdiction is the jurisdiction of the project. - * Full documentation can be found in MsgCreateProject.jurisdiction. - */ - jurisdiction: string; - /** metadata is any arbitrary metadata attached to the project. */ - metadata: string; - /** reference_id is any arbitrary string used to reference the project. */ - reference_id: string; -} -export interface ProjectAminoMsg { - type: "/regen.ecocredit.v1.Project"; - value: ProjectAmino; -} -/** Project represents the high-level on-chain information for a project. */ -export interface ProjectSDKType { - key: Long; - id: string; - admin: Uint8Array; - class_key: Long; - jurisdiction: string; - metadata: string; - reference_id: string; -} -/** Batch represents the high-level on-chain information for a credit batch. */ -export interface Batch { - /** - * key is the table row identifier of the credit batch used internally for - * efficient lookups. This identifier is auto-incrementing. - */ - key: Long; - /** - * issuer is the address that created the batch and which is - * authorized to mint more credits if open=true. - */ - issuer: Uint8Array; - /** - * project_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a credit batch to a project. - */ - projectKey: Long; - /** - * denom is the unique identifier of the credit batch formed from the - * project id, the batch sequence number, and the start and end date of the - * credit batch. - */ - denom: string; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - startDate: Timestamp; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - endDate: Timestamp; - /** issuance_date is the timestamp when the credit batch was issued. */ - issuanceDate: Timestamp; - /** - * open tells if it's possible to mint new credits in the future. - * Once `open` is set to false, it can't be toggled any more. - */ - open: boolean; -} -export interface BatchProtoMsg { - typeUrl: "/regen.ecocredit.v1.Batch"; - value: Uint8Array; -} -/** Batch represents the high-level on-chain information for a credit batch. */ -export interface BatchAmino { - /** - * key is the table row identifier of the credit batch used internally for - * efficient lookups. This identifier is auto-incrementing. - */ - key: string; - /** - * issuer is the address that created the batch and which is - * authorized to mint more credits if open=true. - */ - issuer: Uint8Array; - /** - * project_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a credit batch to a project. - */ - project_key: string; - /** - * denom is the unique identifier of the credit batch formed from the - * project id, the batch sequence number, and the start and end date of the - * credit batch. - */ - denom: string; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - start_date?: TimestampAmino; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - end_date?: TimestampAmino; - /** issuance_date is the timestamp when the credit batch was issued. */ - issuance_date?: TimestampAmino; - /** - * open tells if it's possible to mint new credits in the future. - * Once `open` is set to false, it can't be toggled any more. - */ - open: boolean; -} -export interface BatchAminoMsg { - type: "/regen.ecocredit.v1.Batch"; - value: BatchAmino; -} -/** Batch represents the high-level on-chain information for a credit batch. */ -export interface BatchSDKType { - key: Long; - issuer: Uint8Array; - project_key: Long; - denom: string; - metadata: string; - start_date: TimestampSDKType; - end_date: TimestampSDKType; - issuance_date: TimestampSDKType; - open: boolean; -} -/** - * ClassSequence stores and increments the sequence number for credit classes - * within a credit type. - */ -export interface ClassSequence { - /** - * credit_type_abbrev is the credit type abbreviation. This links a class - * sequence to a credit type. - */ - creditTypeAbbrev: string; - /** - * next_sequence is the next sequence number for a credit class within the - * credit type. The sequence number is used to generate a class id. - */ - nextSequence: Long; -} -export interface ClassSequenceProtoMsg { - typeUrl: "/regen.ecocredit.v1.ClassSequence"; - value: Uint8Array; -} -/** - * ClassSequence stores and increments the sequence number for credit classes - * within a credit type. - */ -export interface ClassSequenceAmino { - /** - * credit_type_abbrev is the credit type abbreviation. This links a class - * sequence to a credit type. - */ - credit_type_abbrev: string; - /** - * next_sequence is the next sequence number for a credit class within the - * credit type. The sequence number is used to generate a class id. - */ - next_sequence: string; -} -export interface ClassSequenceAminoMsg { - type: "/regen.ecocredit.v1.ClassSequence"; - value: ClassSequenceAmino; -} -/** - * ClassSequence stores and increments the sequence number for credit classes - * within a credit type. - */ -export interface ClassSequenceSDKType { - credit_type_abbrev: string; - next_sequence: Long; -} -/** - * ProjectSequence stores and increments the sequence number for projects within - * a credit class. - */ -export interface ProjectSequence { - /** - * class_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a project sequence to a credit class. - */ - classKey: Long; - /** - * next_sequence is the next sequence number for a project within the credit - * class. The sequence number is used to generate a project id. - */ - nextSequence: Long; -} -export interface ProjectSequenceProtoMsg { - typeUrl: "/regen.ecocredit.v1.ProjectSequence"; - value: Uint8Array; -} -/** - * ProjectSequence stores and increments the sequence number for projects within - * a credit class. - */ -export interface ProjectSequenceAmino { - /** - * class_key is the table row identifier of the credit class used internally - * for efficient lookups. This links a project sequence to a credit class. - */ - class_key: string; - /** - * next_sequence is the next sequence number for a project within the credit - * class. The sequence number is used to generate a project id. - */ - next_sequence: string; -} -export interface ProjectSequenceAminoMsg { - type: "/regen.ecocredit.v1.ProjectSequence"; - value: ProjectSequenceAmino; -} -/** - * ProjectSequence stores and increments the sequence number for projects within - * a credit class. - */ -export interface ProjectSequenceSDKType { - class_key: Long; - next_sequence: Long; -} -/** - * BatchSequence stores and increments the sequence number for credit batches - * within a project. - */ -export interface BatchSequence { - /** - * project_key is the table row identifier of the project used internally for - * efficient lookups. This links a batch sequence to a project. - */ - projectKey: Long; - /** - * next_sequence is the next sequence number for a credit batch within the - * project. The sequence number is used to generate a batch denom. - */ - nextSequence: Long; -} -export interface BatchSequenceProtoMsg { - typeUrl: "/regen.ecocredit.v1.BatchSequence"; - value: Uint8Array; -} -/** - * BatchSequence stores and increments the sequence number for credit batches - * within a project. - */ -export interface BatchSequenceAmino { - /** - * project_key is the table row identifier of the project used internally for - * efficient lookups. This links a batch sequence to a project. - */ - project_key: string; - /** - * next_sequence is the next sequence number for a credit batch within the - * project. The sequence number is used to generate a batch denom. - */ - next_sequence: string; -} -export interface BatchSequenceAminoMsg { - type: "/regen.ecocredit.v1.BatchSequence"; - value: BatchSequenceAmino; -} -/** - * BatchSequence stores and increments the sequence number for credit batches - * within a project. - */ -export interface BatchSequenceSDKType { - project_key: Long; - next_sequence: Long; -} -/** BatchBalance stores each accounts credit balance. */ -export interface BatchBalance { - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links a batch balance to a credit batch. - */ - batchKey: Long; - /** address is the address of the account that owns the credits. */ - address: Uint8Array; - /** tradable_amount is the total number of tradable credits owned by address. */ - tradableAmount: string; - /** retired_amount is the total number of retired credits owned by address. */ - retiredAmount: string; - /** - * escrowed_amount is the total number of escrowed credits owned by address - * and held in escrow by the marketplace. Credits are held in escrow when a - * sell order is created and taken out of escrow when the sell order is either - * cancelled, updated with a reduced quantity, or processed. - */ - escrowedAmount: string; -} -export interface BatchBalanceProtoMsg { - typeUrl: "/regen.ecocredit.v1.BatchBalance"; - value: Uint8Array; -} -/** BatchBalance stores each accounts credit balance. */ -export interface BatchBalanceAmino { - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links a batch balance to a credit batch. - */ - batch_key: string; - /** address is the address of the account that owns the credits. */ - address: Uint8Array; - /** tradable_amount is the total number of tradable credits owned by address. */ - tradable_amount: string; - /** retired_amount is the total number of retired credits owned by address. */ - retired_amount: string; - /** - * escrowed_amount is the total number of escrowed credits owned by address - * and held in escrow by the marketplace. Credits are held in escrow when a - * sell order is created and taken out of escrow when the sell order is either - * cancelled, updated with a reduced quantity, or processed. - */ - escrowed_amount: string; -} -export interface BatchBalanceAminoMsg { - type: "/regen.ecocredit.v1.BatchBalance"; - value: BatchBalanceAmino; -} -/** BatchBalance stores each accounts credit balance. */ -export interface BatchBalanceSDKType { - batch_key: Long; - address: Uint8Array; - tradable_amount: string; - retired_amount: string; - escrowed_amount: string; -} -/** BatchSupply stores the supply of credits for a credit batch. */ -export interface BatchSupply { - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links a batch supply to a credit batch. - */ - batchKey: Long; - /** - * tradable_amount is the total number of tradable credits in the credit - * batch. Tradable credits may be retired in which case they will be removed - * from tradable_amount and tracked in retired_amount. Tradable credits may - * also be cancelled in which case they will be removed from tradable_amount - * and tracked in cancelled_amount. The sum of the tradable, retired, and - * cancelled amounts will always equal the original credit issuance amount. - */ - tradableAmount: string; - /** - * retired_amount is the total amount of credits that have been retired in the - * credit batch. The sum of the tradable, retired, and cancelled amounts will - * always equal the original credit issuance amount. - */ - retiredAmount: string; - /** - * cancelled_amount is the number of credits in the batch that have been - * cancelled, effectively undoing the issuance. The sum of the tradable, - * retired, and cancelled amounts will always equal the original credit - * issuance amount. - */ - cancelledAmount: string; -} -export interface BatchSupplyProtoMsg { - typeUrl: "/regen.ecocredit.v1.BatchSupply"; - value: Uint8Array; -} -/** BatchSupply stores the supply of credits for a credit batch. */ -export interface BatchSupplyAmino { - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links a batch supply to a credit batch. - */ - batch_key: string; - /** - * tradable_amount is the total number of tradable credits in the credit - * batch. Tradable credits may be retired in which case they will be removed - * from tradable_amount and tracked in retired_amount. Tradable credits may - * also be cancelled in which case they will be removed from tradable_amount - * and tracked in cancelled_amount. The sum of the tradable, retired, and - * cancelled amounts will always equal the original credit issuance amount. - */ - tradable_amount: string; - /** - * retired_amount is the total amount of credits that have been retired in the - * credit batch. The sum of the tradable, retired, and cancelled amounts will - * always equal the original credit issuance amount. - */ - retired_amount: string; - /** - * cancelled_amount is the number of credits in the batch that have been - * cancelled, effectively undoing the issuance. The sum of the tradable, - * retired, and cancelled amounts will always equal the original credit - * issuance amount. - */ - cancelled_amount: string; -} -export interface BatchSupplyAminoMsg { - type: "/regen.ecocredit.v1.BatchSupply"; - value: BatchSupplyAmino; -} -/** BatchSupply stores the supply of credits for a credit batch. */ -export interface BatchSupplySDKType { - batch_key: Long; - tradable_amount: string; - retired_amount: string; - cancelled_amount: string; -} -/** - * OriginTxIndex indexes the transaction ID and source from the OriginTx - * included in Msg/CreateBatch and Msg/MintBatchCredits to prevent double - * minting errors. The index is scoped to a credit class (it includes the - * class_key) to prevent malicious credit class issuers from blocking any - * bridge operations taking place within another credit class. - */ -export interface OriginTxIndex { - /** - * class_key is the table row identifier of the credit class within which the - * credits were issued or minted. The class_key is included within the index - * to prevent malicious credit class issuers from blocking bridge operations - * taking place within another credit class. - */ - classKey: Long; - /** - * id is the transaction ID of an originating transaction or operation - * based on a type (i.e. transaction ID, serial number). - */ - id: string; - /** - * source is the source chain or registry of the transaction originating - * the mint process (e.g. polygon, ethereum, verra). - */ - source: string; -} -export interface OriginTxIndexProtoMsg { - typeUrl: "/regen.ecocredit.v1.OriginTxIndex"; - value: Uint8Array; -} -/** - * OriginTxIndex indexes the transaction ID and source from the OriginTx - * included in Msg/CreateBatch and Msg/MintBatchCredits to prevent double - * minting errors. The index is scoped to a credit class (it includes the - * class_key) to prevent malicious credit class issuers from blocking any - * bridge operations taking place within another credit class. - */ -export interface OriginTxIndexAmino { - /** - * class_key is the table row identifier of the credit class within which the - * credits were issued or minted. The class_key is included within the index - * to prevent malicious credit class issuers from blocking bridge operations - * taking place within another credit class. - */ - class_key: string; - /** - * id is the transaction ID of an originating transaction or operation - * based on a type (i.e. transaction ID, serial number). - */ - id: string; - /** - * source is the source chain or registry of the transaction originating - * the mint process (e.g. polygon, ethereum, verra). - */ - source: string; -} -export interface OriginTxIndexAminoMsg { - type: "/regen.ecocredit.v1.OriginTxIndex"; - value: OriginTxIndexAmino; -} -/** - * OriginTxIndex indexes the transaction ID and source from the OriginTx - * included in Msg/CreateBatch and Msg/MintBatchCredits to prevent double - * minting errors. The index is scoped to a credit class (it includes the - * class_key) to prevent malicious credit class issuers from blocking any - * bridge operations taking place within another credit class. - */ -export interface OriginTxIndexSDKType { - class_key: Long; - id: string; - source: string; -} -/** - * BatchContract stores the contract address from which credits were bridged - * when credits are bridged from a contract-based chain, therefore ensuring - * that each credit batch corresponds to a single contract and credits that - * have been bridged will always be bridged back to the original contract. - */ -export interface BatchContract { - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links an external contract to a credit batch. - */ - batchKey: Long; - /** - * class_key is the table row identifier of the credit class within which the - * credit batch exists. A contract is unique within the scope of a credit - * class to prevent malicious credit class issuers from blocking bridge - * operations taking place within another credit class. - */ - classKey: Long; - /** - * contract is the address of the contract on the source chain that was - * executed when creating the transaction. This address will be used when - * sending credits back to the source chain. - */ - contract: string; -} -export interface BatchContractProtoMsg { - typeUrl: "/regen.ecocredit.v1.BatchContract"; - value: Uint8Array; -} -/** - * BatchContract stores the contract address from which credits were bridged - * when credits are bridged from a contract-based chain, therefore ensuring - * that each credit batch corresponds to a single contract and credits that - * have been bridged will always be bridged back to the original contract. - */ -export interface BatchContractAmino { - /** - * batch_key is the table row identifier of the credit batch used internally - * for efficient lookups. This links an external contract to a credit batch. - */ - batch_key: string; - /** - * class_key is the table row identifier of the credit class within which the - * credit batch exists. A contract is unique within the scope of a credit - * class to prevent malicious credit class issuers from blocking bridge - * operations taking place within another credit class. - */ - class_key: string; - /** - * contract is the address of the contract on the source chain that was - * executed when creating the transaction. This address will be used when - * sending credits back to the source chain. - */ - contract: string; -} -export interface BatchContractAminoMsg { - type: "/regen.ecocredit.v1.BatchContract"; - value: BatchContractAmino; -} -/** - * BatchContract stores the contract address from which credits were bridged - * when credits are bridged from a contract-based chain, therefore ensuring - * that each credit batch corresponds to a single contract and credits that - * have been bridged will always be bridged back to the original contract. - */ -export interface BatchContractSDKType { - batch_key: Long; - class_key: Long; - contract: string; -} -/** - * ClassCreatorAllowlist determines if the credit class creator allowlist is - * enabled. When set to true, only the addresses in the AllowedClassCreator - * table may create credit classes. When set to false, any address may create - * credit classes. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface ClassCreatorAllowlist { - /** enabled is whether or not the allow list is enabled. */ - enabled: boolean; -} -export interface ClassCreatorAllowlistProtoMsg { - typeUrl: "/regen.ecocredit.v1.ClassCreatorAllowlist"; - value: Uint8Array; -} -/** - * ClassCreatorAllowlist determines if the credit class creator allowlist is - * enabled. When set to true, only the addresses in the AllowedClassCreator - * table may create credit classes. When set to false, any address may create - * credit classes. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface ClassCreatorAllowlistAmino { - /** enabled is whether or not the allow list is enabled. */ - enabled: boolean; -} -export interface ClassCreatorAllowlistAminoMsg { - type: "/regen.ecocredit.v1.ClassCreatorAllowlist"; - value: ClassCreatorAllowlistAmino; -} -/** - * ClassCreatorAllowlist determines if the credit class creator allowlist is - * enabled. When set to true, only the addresses in the AllowedClassCreator - * table may create credit classes. When set to false, any address may create - * credit classes. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface ClassCreatorAllowlistSDKType { - enabled: boolean; -} -/** - * AllowedClassCreator is an allowed credit class creator. This table is - * controlled via governance. - * - * Since Revision 2 - */ -export interface AllowedClassCreator { - /** address is the address that is allowed to create credit classes */ - address: Uint8Array; -} -export interface AllowedClassCreatorProtoMsg { - typeUrl: "/regen.ecocredit.v1.AllowedClassCreator"; - value: Uint8Array; -} -/** - * AllowedClassCreator is an allowed credit class creator. This table is - * controlled via governance. - * - * Since Revision 2 - */ -export interface AllowedClassCreatorAmino { - /** address is the address that is allowed to create credit classes */ - address: Uint8Array; -} -export interface AllowedClassCreatorAminoMsg { - type: "/regen.ecocredit.v1.AllowedClassCreator"; - value: AllowedClassCreatorAmino; -} -/** - * AllowedClassCreator is an allowed credit class creator. This table is - * controlled via governance. - * - * Since Revision 2 - */ -export interface AllowedClassCreatorSDKType { - address: Uint8Array; -} -/** - * ClassFee is the credit class creation fee. If not set, a credit class - * creation fee is not required. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface ClassFee { - /** - * fee is the credit class creation fee. If not set, a credit class creation - * fee is not required. - */ - fee: Coin; -} -export interface ClassFeeProtoMsg { - typeUrl: "/regen.ecocredit.v1.ClassFee"; - value: Uint8Array; -} -/** - * ClassFee is the credit class creation fee. If not set, a credit class - * creation fee is not required. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface ClassFeeAmino { - /** - * fee is the credit class creation fee. If not set, a credit class creation - * fee is not required. - */ - fee?: CoinAmino; -} -export interface ClassFeeAminoMsg { - type: "/regen.ecocredit.v1.ClassFee"; - value: ClassFeeAmino; -} -/** - * ClassFee is the credit class creation fee. If not set, a credit class - * creation fee is not required. This table is controlled via governance. - * - * Since Revision 2 - */ -export interface ClassFeeSDKType { - fee: CoinSDKType; -} -/** - * AllowedBridgeChain is a list of chains that are allowed to be used in - * bridging operations. NOTE: chain_names MUST be converted to lowercase before - * writing to and reading from this table in order to keep entries consistent. - * This table is controlled via governance. - * - * Since Revision 2 - */ -export interface AllowedBridgeChain { - /** chain_name is the name of the chain allowed to bridge ecocredits to. */ - chainName: string; -} -export interface AllowedBridgeChainProtoMsg { - typeUrl: "/regen.ecocredit.v1.AllowedBridgeChain"; - value: Uint8Array; -} -/** - * AllowedBridgeChain is a list of chains that are allowed to be used in - * bridging operations. NOTE: chain_names MUST be converted to lowercase before - * writing to and reading from this table in order to keep entries consistent. - * This table is controlled via governance. - * - * Since Revision 2 - */ -export interface AllowedBridgeChainAmino { - /** chain_name is the name of the chain allowed to bridge ecocredits to. */ - chain_name: string; -} -export interface AllowedBridgeChainAminoMsg { - type: "/regen.ecocredit.v1.AllowedBridgeChain"; - value: AllowedBridgeChainAmino; -} -/** - * AllowedBridgeChain is a list of chains that are allowed to be used in - * bridging operations. NOTE: chain_names MUST be converted to lowercase before - * writing to and reading from this table in order to keep entries consistent. - * This table is controlled via governance. - * - * Since Revision 2 - */ -export interface AllowedBridgeChainSDKType { - chain_name: string; -} -export declare const CreditType: { - encode(message: CreditType, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CreditType; - fromJSON(object: any): CreditType; - toJSON(message: CreditType): unknown; - fromPartial(object: Partial): CreditType; - fromAmino(object: CreditTypeAmino): CreditType; - toAmino(message: CreditType): CreditTypeAmino; - fromAminoMsg(object: CreditTypeAminoMsg): CreditType; - fromProtoMsg(message: CreditTypeProtoMsg): CreditType; - toProto(message: CreditType): Uint8Array; - toProtoMsg(message: CreditType): CreditTypeProtoMsg; -}; -export declare const Class: { - encode(message: Class, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Class; - fromJSON(object: any): Class; - toJSON(message: Class): unknown; - fromPartial(object: Partial): Class; - fromAmino(object: ClassAmino): Class; - toAmino(message: Class): ClassAmino; - fromAminoMsg(object: ClassAminoMsg): Class; - fromProtoMsg(message: ClassProtoMsg): Class; - toProto(message: Class): Uint8Array; - toProtoMsg(message: Class): ClassProtoMsg; -}; -export declare const ClassIssuer: { - encode(message: ClassIssuer, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClassIssuer; - fromJSON(object: any): ClassIssuer; - toJSON(message: ClassIssuer): unknown; - fromPartial(object: Partial): ClassIssuer; - fromAmino(object: ClassIssuerAmino): ClassIssuer; - toAmino(message: ClassIssuer): ClassIssuerAmino; - fromAminoMsg(object: ClassIssuerAminoMsg): ClassIssuer; - fromProtoMsg(message: ClassIssuerProtoMsg): ClassIssuer; - toProto(message: ClassIssuer): Uint8Array; - toProtoMsg(message: ClassIssuer): ClassIssuerProtoMsg; -}; -export declare const Project: { - encode(message: Project, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Project; - fromJSON(object: any): Project; - toJSON(message: Project): unknown; - fromPartial(object: Partial): Project; - fromAmino(object: ProjectAmino): Project; - toAmino(message: Project): ProjectAmino; - fromAminoMsg(object: ProjectAminoMsg): Project; - fromProtoMsg(message: ProjectProtoMsg): Project; - toProto(message: Project): Uint8Array; - toProtoMsg(message: Project): ProjectProtoMsg; -}; -export declare const Batch: { - encode(message: Batch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Batch; - fromJSON(object: any): Batch; - toJSON(message: Batch): unknown; - fromPartial(object: Partial): Batch; - fromAmino(object: BatchAmino): Batch; - toAmino(message: Batch): BatchAmino; - fromAminoMsg(object: BatchAminoMsg): Batch; - fromProtoMsg(message: BatchProtoMsg): Batch; - toProto(message: Batch): Uint8Array; - toProtoMsg(message: Batch): BatchProtoMsg; -}; -export declare const ClassSequence: { - encode(message: ClassSequence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClassSequence; - fromJSON(object: any): ClassSequence; - toJSON(message: ClassSequence): unknown; - fromPartial(object: Partial): ClassSequence; - fromAmino(object: ClassSequenceAmino): ClassSequence; - toAmino(message: ClassSequence): ClassSequenceAmino; - fromAminoMsg(object: ClassSequenceAminoMsg): ClassSequence; - fromProtoMsg(message: ClassSequenceProtoMsg): ClassSequence; - toProto(message: ClassSequence): Uint8Array; - toProtoMsg(message: ClassSequence): ClassSequenceProtoMsg; -}; -export declare const ProjectSequence: { - encode(message: ProjectSequence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProjectSequence; - fromJSON(object: any): ProjectSequence; - toJSON(message: ProjectSequence): unknown; - fromPartial(object: Partial): ProjectSequence; - fromAmino(object: ProjectSequenceAmino): ProjectSequence; - toAmino(message: ProjectSequence): ProjectSequenceAmino; - fromAminoMsg(object: ProjectSequenceAminoMsg): ProjectSequence; - fromProtoMsg(message: ProjectSequenceProtoMsg): ProjectSequence; - toProto(message: ProjectSequence): Uint8Array; - toProtoMsg(message: ProjectSequence): ProjectSequenceProtoMsg; -}; -export declare const BatchSequence: { - encode(message: BatchSequence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchSequence; - fromJSON(object: any): BatchSequence; - toJSON(message: BatchSequence): unknown; - fromPartial(object: Partial): BatchSequence; - fromAmino(object: BatchSequenceAmino): BatchSequence; - toAmino(message: BatchSequence): BatchSequenceAmino; - fromAminoMsg(object: BatchSequenceAminoMsg): BatchSequence; - fromProtoMsg(message: BatchSequenceProtoMsg): BatchSequence; - toProto(message: BatchSequence): Uint8Array; - toProtoMsg(message: BatchSequence): BatchSequenceProtoMsg; -}; -export declare const BatchBalance: { - encode(message: BatchBalance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchBalance; - fromJSON(object: any): BatchBalance; - toJSON(message: BatchBalance): unknown; - fromPartial(object: Partial): BatchBalance; - fromAmino(object: BatchBalanceAmino): BatchBalance; - toAmino(message: BatchBalance): BatchBalanceAmino; - fromAminoMsg(object: BatchBalanceAminoMsg): BatchBalance; - fromProtoMsg(message: BatchBalanceProtoMsg): BatchBalance; - toProto(message: BatchBalance): Uint8Array; - toProtoMsg(message: BatchBalance): BatchBalanceProtoMsg; -}; -export declare const BatchSupply: { - encode(message: BatchSupply, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchSupply; - fromJSON(object: any): BatchSupply; - toJSON(message: BatchSupply): unknown; - fromPartial(object: Partial): BatchSupply; - fromAmino(object: BatchSupplyAmino): BatchSupply; - toAmino(message: BatchSupply): BatchSupplyAmino; - fromAminoMsg(object: BatchSupplyAminoMsg): BatchSupply; - fromProtoMsg(message: BatchSupplyProtoMsg): BatchSupply; - toProto(message: BatchSupply): Uint8Array; - toProtoMsg(message: BatchSupply): BatchSupplyProtoMsg; -}; -export declare const OriginTxIndex: { - encode(message: OriginTxIndex, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): OriginTxIndex; - fromJSON(object: any): OriginTxIndex; - toJSON(message: OriginTxIndex): unknown; - fromPartial(object: Partial): OriginTxIndex; - fromAmino(object: OriginTxIndexAmino): OriginTxIndex; - toAmino(message: OriginTxIndex): OriginTxIndexAmino; - fromAminoMsg(object: OriginTxIndexAminoMsg): OriginTxIndex; - fromProtoMsg(message: OriginTxIndexProtoMsg): OriginTxIndex; - toProto(message: OriginTxIndex): Uint8Array; - toProtoMsg(message: OriginTxIndex): OriginTxIndexProtoMsg; -}; -export declare const BatchContract: { - encode(message: BatchContract, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchContract; - fromJSON(object: any): BatchContract; - toJSON(message: BatchContract): unknown; - fromPartial(object: Partial): BatchContract; - fromAmino(object: BatchContractAmino): BatchContract; - toAmino(message: BatchContract): BatchContractAmino; - fromAminoMsg(object: BatchContractAminoMsg): BatchContract; - fromProtoMsg(message: BatchContractProtoMsg): BatchContract; - toProto(message: BatchContract): Uint8Array; - toProtoMsg(message: BatchContract): BatchContractProtoMsg; -}; -export declare const ClassCreatorAllowlist: { - encode(message: ClassCreatorAllowlist, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClassCreatorAllowlist; - fromJSON(object: any): ClassCreatorAllowlist; - toJSON(message: ClassCreatorAllowlist): unknown; - fromPartial(object: Partial): ClassCreatorAllowlist; - fromAmino(object: ClassCreatorAllowlistAmino): ClassCreatorAllowlist; - toAmino(message: ClassCreatorAllowlist): ClassCreatorAllowlistAmino; - fromAminoMsg(object: ClassCreatorAllowlistAminoMsg): ClassCreatorAllowlist; - fromProtoMsg(message: ClassCreatorAllowlistProtoMsg): ClassCreatorAllowlist; - toProto(message: ClassCreatorAllowlist): Uint8Array; - toProtoMsg(message: ClassCreatorAllowlist): ClassCreatorAllowlistProtoMsg; -}; -export declare const AllowedClassCreator: { - encode(message: AllowedClassCreator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedClassCreator; - fromJSON(object: any): AllowedClassCreator; - toJSON(message: AllowedClassCreator): unknown; - fromPartial(object: Partial): AllowedClassCreator; - fromAmino(object: AllowedClassCreatorAmino): AllowedClassCreator; - toAmino(message: AllowedClassCreator): AllowedClassCreatorAmino; - fromAminoMsg(object: AllowedClassCreatorAminoMsg): AllowedClassCreator; - fromProtoMsg(message: AllowedClassCreatorProtoMsg): AllowedClassCreator; - toProto(message: AllowedClassCreator): Uint8Array; - toProtoMsg(message: AllowedClassCreator): AllowedClassCreatorProtoMsg; -}; -export declare const ClassFee: { - encode(message: ClassFee, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClassFee; - fromJSON(object: any): ClassFee; - toJSON(message: ClassFee): unknown; - fromPartial(object: Partial): ClassFee; - fromAmino(object: ClassFeeAmino): ClassFee; - toAmino(message: ClassFee): ClassFeeAmino; - fromAminoMsg(object: ClassFeeAminoMsg): ClassFee; - fromProtoMsg(message: ClassFeeProtoMsg): ClassFee; - toProto(message: ClassFee): Uint8Array; - toProtoMsg(message: ClassFee): ClassFeeProtoMsg; -}; -export declare const AllowedBridgeChain: { - encode(message: AllowedBridgeChain, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedBridgeChain; - fromJSON(object: any): AllowedBridgeChain; - toJSON(message: AllowedBridgeChain): unknown; - fromPartial(object: Partial): AllowedBridgeChain; - fromAmino(object: AllowedBridgeChainAmino): AllowedBridgeChain; - toAmino(message: AllowedBridgeChain): AllowedBridgeChainAmino; - fromAminoMsg(object: AllowedBridgeChainAminoMsg): AllowedBridgeChain; - fromProtoMsg(message: AllowedBridgeChainProtoMsg): AllowedBridgeChain; - toProto(message: AllowedBridgeChain): Uint8Array; - toProtoMsg(message: AllowedBridgeChain): AllowedBridgeChainProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/tx.amino.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/tx.amino.d.ts deleted file mode 100644 index 392f9256..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/tx.amino.d.ts +++ /dev/null @@ -1,118 +0,0 @@ -import { MsgCreateClass, MsgCreateProject, MsgCreateBatch, MsgMintBatchCredits, MsgSealBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata, MsgUpdateProjectAdmin, MsgUpdateProjectMetadata, MsgUpdateBatchMetadata, MsgBridge, MsgBridgeReceive, MsgAddCreditType, MsgSetClassCreatorAllowlist, MsgAddClassCreator, MsgRemoveClassCreator, MsgUpdateClassFee, MsgAddAllowedBridgeChain, MsgRemoveAllowedBridgeChain } from "./tx"; -export declare const AminoConverter: { - "/regen.ecocredit.v1.MsgCreateClass": { - aminoType: string; - toAmino: (message: MsgCreateClass) => import("./tx").MsgCreateClassAmino; - fromAmino: (object: import("./tx").MsgCreateClassAmino) => MsgCreateClass; - }; - "/regen.ecocredit.v1.MsgCreateProject": { - aminoType: string; - toAmino: (message: MsgCreateProject) => import("./tx").MsgCreateProjectAmino; - fromAmino: (object: import("./tx").MsgCreateProjectAmino) => MsgCreateProject; - }; - "/regen.ecocredit.v1.MsgCreateBatch": { - aminoType: string; - toAmino: (message: MsgCreateBatch) => import("./tx").MsgCreateBatchAmino; - fromAmino: (object: import("./tx").MsgCreateBatchAmino) => MsgCreateBatch; - }; - "/regen.ecocredit.v1.MsgMintBatchCredits": { - aminoType: string; - toAmino: (message: MsgMintBatchCredits) => import("./tx").MsgMintBatchCreditsAmino; - fromAmino: (object: import("./tx").MsgMintBatchCreditsAmino) => MsgMintBatchCredits; - }; - "/regen.ecocredit.v1.MsgSealBatch": { - aminoType: string; - toAmino: (message: MsgSealBatch) => import("./tx").MsgSealBatchAmino; - fromAmino: (object: import("./tx").MsgSealBatchAmino) => MsgSealBatch; - }; - "/regen.ecocredit.v1.MsgSend": { - aminoType: string; - toAmino: (message: MsgSend) => import("./tx").MsgSendAmino; - fromAmino: (object: import("./tx").MsgSendAmino) => MsgSend; - }; - "/regen.ecocredit.v1.MsgRetire": { - aminoType: string; - toAmino: (message: MsgRetire) => import("./tx").MsgRetireAmino; - fromAmino: (object: import("./tx").MsgRetireAmino) => MsgRetire; - }; - "/regen.ecocredit.v1.MsgCancel": { - aminoType: string; - toAmino: (message: MsgCancel) => import("./tx").MsgCancelAmino; - fromAmino: (object: import("./tx").MsgCancelAmino) => MsgCancel; - }; - "/regen.ecocredit.v1.MsgUpdateClassAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateClassAdmin) => import("./tx").MsgUpdateClassAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateClassAdminAmino) => MsgUpdateClassAdmin; - }; - "/regen.ecocredit.v1.MsgUpdateClassIssuers": { - aminoType: string; - toAmino: (message: MsgUpdateClassIssuers) => import("./tx").MsgUpdateClassIssuersAmino; - fromAmino: (object: import("./tx").MsgUpdateClassIssuersAmino) => MsgUpdateClassIssuers; - }; - "/regen.ecocredit.v1.MsgUpdateClassMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateClassMetadata) => import("./tx").MsgUpdateClassMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateClassMetadataAmino) => MsgUpdateClassMetadata; - }; - "/regen.ecocredit.v1.MsgUpdateProjectAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateProjectAdmin) => import("./tx").MsgUpdateProjectAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateProjectAdminAmino) => MsgUpdateProjectAdmin; - }; - "/regen.ecocredit.v1.MsgUpdateProjectMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateProjectMetadata) => import("./tx").MsgUpdateProjectMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateProjectMetadataAmino) => MsgUpdateProjectMetadata; - }; - "/regen.ecocredit.v1.MsgUpdateBatchMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateBatchMetadata) => import("./tx").MsgUpdateBatchMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateBatchMetadataAmino) => MsgUpdateBatchMetadata; - }; - "/regen.ecocredit.v1.MsgBridge": { - aminoType: string; - toAmino: (message: MsgBridge) => import("./tx").MsgBridgeAmino; - fromAmino: (object: import("./tx").MsgBridgeAmino) => MsgBridge; - }; - "/regen.ecocredit.v1.MsgBridgeReceive": { - aminoType: string; - toAmino: (message: MsgBridgeReceive) => import("./tx").MsgBridgeReceiveAmino; - fromAmino: (object: import("./tx").MsgBridgeReceiveAmino) => MsgBridgeReceive; - }; - "/regen.ecocredit.v1.MsgAddCreditType": { - aminoType: string; - toAmino: (message: MsgAddCreditType) => import("./tx").MsgAddCreditTypeAmino; - fromAmino: (object: import("./tx").MsgAddCreditTypeAmino) => MsgAddCreditType; - }; - "/regen.ecocredit.v1.MsgSetClassCreatorAllowlist": { - aminoType: string; - toAmino: (message: MsgSetClassCreatorAllowlist) => import("./tx").MsgSetClassCreatorAllowlistAmino; - fromAmino: (object: import("./tx").MsgSetClassCreatorAllowlistAmino) => MsgSetClassCreatorAllowlist; - }; - "/regen.ecocredit.v1.MsgAddClassCreator": { - aminoType: string; - toAmino: (message: MsgAddClassCreator) => import("./tx").MsgAddClassCreatorAmino; - fromAmino: (object: import("./tx").MsgAddClassCreatorAmino) => MsgAddClassCreator; - }; - "/regen.ecocredit.v1.MsgRemoveClassCreator": { - aminoType: string; - toAmino: (message: MsgRemoveClassCreator) => import("./tx").MsgRemoveClassCreatorAmino; - fromAmino: (object: import("./tx").MsgRemoveClassCreatorAmino) => MsgRemoveClassCreator; - }; - "/regen.ecocredit.v1.MsgUpdateClassFee": { - aminoType: string; - toAmino: (message: MsgUpdateClassFee) => import("./tx").MsgUpdateClassFeeAmino; - fromAmino: (object: import("./tx").MsgUpdateClassFeeAmino) => MsgUpdateClassFee; - }; - "/regen.ecocredit.v1.MsgAddAllowedBridgeChain": { - aminoType: string; - toAmino: (message: MsgAddAllowedBridgeChain) => import("./tx").MsgAddAllowedBridgeChainAmino; - fromAmino: (object: import("./tx").MsgAddAllowedBridgeChainAmino) => MsgAddAllowedBridgeChain; - }; - "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChain": { - aminoType: string; - toAmino: (message: MsgRemoveAllowedBridgeChain) => import("./tx").MsgRemoveAllowedBridgeChainAmino; - fromAmino: (object: import("./tx").MsgRemoveAllowedBridgeChainAmino) => MsgRemoveAllowedBridgeChain; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/tx.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/tx.d.ts deleted file mode 100644 index eaf84eba..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/tx.d.ts +++ /dev/null @@ -1,2578 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { BatchIssuance, BatchIssuanceAmino, BatchIssuanceSDKType, OriginTx, OriginTxAmino, OriginTxSDKType, Credits, CreditsAmino, CreditsSDKType } from "./types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { CreditType, CreditTypeAmino, CreditTypeSDKType } from "./state"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgAddCreditType is the Msg/AddCreditType request type. - * - * Since Revision 2 - */ -export interface MsgAddCreditType { - /** authority is the address of the governance account. */ - authority: string; - /** credit_type defines a credit type to add to the credit types parameter. */ - creditType: CreditType; -} -export interface MsgAddCreditTypeProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgAddCreditType"; - value: Uint8Array; -} -/** - * MsgAddCreditType is the Msg/AddCreditType request type. - * - * Since Revision 2 - */ -export interface MsgAddCreditTypeAmino { - /** authority is the address of the governance account. */ - authority: string; - /** credit_type defines a credit type to add to the credit types parameter. */ - credit_type?: CreditTypeAmino; -} -export interface MsgAddCreditTypeAminoMsg { - type: "regen/MsgAddCreditType"; - value: MsgAddCreditTypeAmino; -} -/** - * MsgAddCreditType is the Msg/AddCreditType request type. - * - * Since Revision 2 - */ -export interface MsgAddCreditTypeSDKType { - authority: string; - credit_type: CreditTypeSDKType; -} -/** - * MsgAddCreditTypeResponse is the Msg/AddCreditType response type. - * - * Since Revision 2 - */ -export interface MsgAddCreditTypeResponse { -} -export interface MsgAddCreditTypeResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgAddCreditTypeResponse"; - value: Uint8Array; -} -/** - * MsgAddCreditTypeResponse is the Msg/AddCreditType response type. - * - * Since Revision 2 - */ -export interface MsgAddCreditTypeResponseAmino { -} -export interface MsgAddCreditTypeResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgAddCreditTypeResponse"; - value: MsgAddCreditTypeResponseAmino; -} -/** - * MsgAddCreditTypeResponse is the Msg/AddCreditType response type. - * - * Since Revision 2 - */ -export interface MsgAddCreditTypeResponseSDKType { -} -/** MsgCreateClass is the Msg/CreateClass request type. */ -export interface MsgCreateClass { - /** - * admin is the address of the account creating the credit class that will - * become the admin of the credit class upon creation. The admin will have - * permissions within the credit class to update the credit class including - * the list of approved issuers. If Params.allowlist_enabled is set to true, - * this address must be included in Params.allowed_class_creators. - */ - admin: string; - /** - * issuers are the addresses of the accounts that will have permissions within - * the credit class to create projects and issue credits. - */ - issuers: string[]; - /** - * metadata is any arbitrary string with a maximum length of 256 characters - * that includes or references metadata to attach to the credit class. - */ - metadata: string; - /** - * credit_type_abbrev is the abbreviation of the credit type under which the - * credit class will be created (e.g. "C", "BIO"). - */ - creditTypeAbbrev: string; - /** - * fee is the credit class creation fee. An equal fee is required if the class - * creation fee parameter is set. The provided fee can be greater than the - * parameter, but only the amount in the parameter will be charged. - */ - fee: Coin; -} -export interface MsgCreateClassProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCreateClass"; - value: Uint8Array; -} -/** MsgCreateClass is the Msg/CreateClass request type. */ -export interface MsgCreateClassAmino { - /** - * admin is the address of the account creating the credit class that will - * become the admin of the credit class upon creation. The admin will have - * permissions within the credit class to update the credit class including - * the list of approved issuers. If Params.allowlist_enabled is set to true, - * this address must be included in Params.allowed_class_creators. - */ - admin: string; - /** - * issuers are the addresses of the accounts that will have permissions within - * the credit class to create projects and issue credits. - */ - issuers: string[]; - /** - * metadata is any arbitrary string with a maximum length of 256 characters - * that includes or references metadata to attach to the credit class. - */ - metadata: string; - /** - * credit_type_abbrev is the abbreviation of the credit type under which the - * credit class will be created (e.g. "C", "BIO"). - */ - credit_type_abbrev: string; - /** - * fee is the credit class creation fee. An equal fee is required if the class - * creation fee parameter is set. The provided fee can be greater than the - * parameter, but only the amount in the parameter will be charged. - */ - fee?: CoinAmino; -} -export interface MsgCreateClassAminoMsg { - type: "regen/MsgCreateClass"; - value: MsgCreateClassAmino; -} -/** MsgCreateClass is the Msg/CreateClass request type. */ -export interface MsgCreateClassSDKType { - admin: string; - issuers: string[]; - metadata: string; - credit_type_abbrev: string; - fee: CoinSDKType; -} -/** MsgCreateClassResponse is the Msg/CreateClass response type. */ -export interface MsgCreateClassResponse { - /** class_id is the unique identifier of the credit class. */ - classId: string; -} -export interface MsgCreateClassResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCreateClassResponse"; - value: Uint8Array; -} -/** MsgCreateClassResponse is the Msg/CreateClass response type. */ -export interface MsgCreateClassResponseAmino { - /** class_id is the unique identifier of the credit class. */ - class_id: string; -} -export interface MsgCreateClassResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgCreateClassResponse"; - value: MsgCreateClassResponseAmino; -} -/** MsgCreateClassResponse is the Msg/CreateClass response type. */ -export interface MsgCreateClassResponseSDKType { - class_id: string; -} -/** MsgCreateProjectResponse is the Msg/CreateProject request type. */ -export interface MsgCreateProject { - /** - * admin is the address of the account creating the project that will become - * the admin of the project upon creation. The creator of the project must be - * an approved issuer within the credit class under which the project is being - * created. The admin will have permissions to update the project including - * the ability to reassign the admin role to another account. - */ - admin: string; - /** - * class_id is the unique identifier of the credit class under which the - * project will be created. - */ - classId: string; - /** - * metadata is any arbitrary string with a maximum length of 256 characters - * that includes or references metadata to attach to the project. - */ - metadata: string; - /** - * jurisdiction is the jurisdiction of the project. A jurisdiction has with - * the format: [-[ ]] - * The country-code must be 2 alphabetic characters, the sub-national-code - * can be 1-3 alphanumeric characters, and the postal-code can be up to 64 - * alphanumeric characters. Only the country-code is required, while the - * sub-national-code and postal-code are optional and can be added for - * increased precision. - */ - jurisdiction: string; - /** - * reference_id is any arbitrary string used to reference the project with a - * maximum length of 32 characters. - */ - referenceId: string; -} -export interface MsgCreateProjectProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCreateProject"; - value: Uint8Array; -} -/** MsgCreateProjectResponse is the Msg/CreateProject request type. */ -export interface MsgCreateProjectAmino { - /** - * admin is the address of the account creating the project that will become - * the admin of the project upon creation. The creator of the project must be - * an approved issuer within the credit class under which the project is being - * created. The admin will have permissions to update the project including - * the ability to reassign the admin role to another account. - */ - admin: string; - /** - * class_id is the unique identifier of the credit class under which the - * project will be created. - */ - class_id: string; - /** - * metadata is any arbitrary string with a maximum length of 256 characters - * that includes or references metadata to attach to the project. - */ - metadata: string; - /** - * jurisdiction is the jurisdiction of the project. A jurisdiction has with - * the format: [-[ ]] - * The country-code must be 2 alphabetic characters, the sub-national-code - * can be 1-3 alphanumeric characters, and the postal-code can be up to 64 - * alphanumeric characters. Only the country-code is required, while the - * sub-national-code and postal-code are optional and can be added for - * increased precision. - */ - jurisdiction: string; - /** - * reference_id is any arbitrary string used to reference the project with a - * maximum length of 32 characters. - */ - reference_id: string; -} -export interface MsgCreateProjectAminoMsg { - type: "regen/MsgCreateProject"; - value: MsgCreateProjectAmino; -} -/** MsgCreateProjectResponse is the Msg/CreateProject request type. */ -export interface MsgCreateProjectSDKType { - admin: string; - class_id: string; - metadata: string; - jurisdiction: string; - reference_id: string; -} -/** MsgCreateProjectResponse is the Msg/CreateProject response type. */ -export interface MsgCreateProjectResponse { - /** project_id is the unique identifier of the project. */ - projectId: string; -} -export interface MsgCreateProjectResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCreateProjectResponse"; - value: Uint8Array; -} -/** MsgCreateProjectResponse is the Msg/CreateProject response type. */ -export interface MsgCreateProjectResponseAmino { - /** project_id is the unique identifier of the project. */ - project_id: string; -} -export interface MsgCreateProjectResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgCreateProjectResponse"; - value: MsgCreateProjectResponseAmino; -} -/** MsgCreateProjectResponse is the Msg/CreateProject response type. */ -export interface MsgCreateProjectResponseSDKType { - project_id: string; -} -/** MsgCreateBatch is the Msg/CreateBatch request type. */ -export interface MsgCreateBatch { - /** - * issuer is the address of the account issuing the credits and must be an - * approved issuer within the credit class of the project. - */ - issuer: string; - /** - * project_id is the unique identifier of the project under which the credit - * batch will be created. - */ - projectId: string; - /** - * issuance specifies the amount of tradable and retired credits that will be - * issued to each recipient and the jurisdiction in which the credits will be - * retired if credits are to be retired upon receipt. - */ - issuance: BatchIssuance[]; - /** - * metadata is any arbitrary string with a maximum length of 256 characters - * that includes or references metadata to attach to the credit batch. - */ - metadata: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - startDate: Timestamp; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - endDate: Timestamp; - /** - * open determines whether or not the credits can be dynamically minted to the - * credit batch following the creation of the credit batch. This field should - * only be set to true when bridging credits from another chain or registry as - * a result of a bridge operation and is not intended for native issuance. - */ - open: boolean; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the creation of the credit batch. This field can be ignored when natively - * issuing credits and should only be set when bridging assets from another - * chain or registry as a result of a bridge operation. - */ - originTx: OriginTx; -} -export interface MsgCreateBatchProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCreateBatch"; - value: Uint8Array; -} -/** MsgCreateBatch is the Msg/CreateBatch request type. */ -export interface MsgCreateBatchAmino { - /** - * issuer is the address of the account issuing the credits and must be an - * approved issuer within the credit class of the project. - */ - issuer: string; - /** - * project_id is the unique identifier of the project under which the credit - * batch will be created. - */ - project_id: string; - /** - * issuance specifies the amount of tradable and retired credits that will be - * issued to each recipient and the jurisdiction in which the credits will be - * retired if credits are to be retired upon receipt. - */ - issuance: BatchIssuanceAmino[]; - /** - * metadata is any arbitrary string with a maximum length of 256 characters - * that includes or references metadata to attach to the credit batch. - */ - metadata: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - start_date?: TimestampAmino; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - end_date?: TimestampAmino; - /** - * open determines whether or not the credits can be dynamically minted to the - * credit batch following the creation of the credit batch. This field should - * only be set to true when bridging credits from another chain or registry as - * a result of a bridge operation and is not intended for native issuance. - */ - open: boolean; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the creation of the credit batch. This field can be ignored when natively - * issuing credits and should only be set when bridging assets from another - * chain or registry as a result of a bridge operation. - */ - origin_tx?: OriginTxAmino; -} -export interface MsgCreateBatchAminoMsg { - type: "regen/MsgCreateBatch"; - value: MsgCreateBatchAmino; -} -/** MsgCreateBatch is the Msg/CreateBatch request type. */ -export interface MsgCreateBatchSDKType { - issuer: string; - project_id: string; - issuance: BatchIssuanceSDKType[]; - metadata: string; - start_date: TimestampSDKType; - end_date: TimestampSDKType; - open: boolean; - origin_tx: OriginTxSDKType; -} -/** MsgCreateBatchResponse is the Msg/CreateBatch response type. */ -export interface MsgCreateBatchResponse { - /** batch_denom is the unique identifier of the credit batch. */ - batchDenom: string; -} -export interface MsgCreateBatchResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCreateBatchResponse"; - value: Uint8Array; -} -/** MsgCreateBatchResponse is the Msg/CreateBatch response type. */ -export interface MsgCreateBatchResponseAmino { - /** batch_denom is the unique identifier of the credit batch. */ - batch_denom: string; -} -export interface MsgCreateBatchResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgCreateBatchResponse"; - value: MsgCreateBatchResponseAmino; -} -/** MsgCreateBatchResponse is the Msg/CreateBatch response type. */ -export interface MsgCreateBatchResponseSDKType { - batch_denom: string; -} -/** MsgMintBatchCredits is the Msg/MintBatchCredits request type. */ -export interface MsgMintBatchCredits { - /** - * issuer is the address of the account minting the credits and must be the - * same issuer who created the credit batch. - */ - issuer: string; - /** batch_denom is the unique identifier of the credit batch. */ - batchDenom: string; - /** - * issuance specifies the amount of tradable and retired credits that will be - * issued to each recipient and the jurisdiction in which the credits will be - * retired if credits are to be retired upon receipt. - */ - issuance: BatchIssuance[]; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the minting of credits. - */ - originTx: OriginTx; -} -export interface MsgMintBatchCreditsProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgMintBatchCredits"; - value: Uint8Array; -} -/** MsgMintBatchCredits is the Msg/MintBatchCredits request type. */ -export interface MsgMintBatchCreditsAmino { - /** - * issuer is the address of the account minting the credits and must be the - * same issuer who created the credit batch. - */ - issuer: string; - /** batch_denom is the unique identifier of the credit batch. */ - batch_denom: string; - /** - * issuance specifies the amount of tradable and retired credits that will be - * issued to each recipient and the jurisdiction in which the credits will be - * retired if credits are to be retired upon receipt. - */ - issuance: BatchIssuanceAmino[]; - /** - * origin_tx is the transaction from another chain or registry that triggered - * the minting of credits. - */ - origin_tx?: OriginTxAmino; -} -export interface MsgMintBatchCreditsAminoMsg { - type: "regen/MsgMintBatchCredits"; - value: MsgMintBatchCreditsAmino; -} -/** MsgMintBatchCredits is the Msg/MintBatchCredits request type. */ -export interface MsgMintBatchCreditsSDKType { - issuer: string; - batch_denom: string; - issuance: BatchIssuanceSDKType[]; - origin_tx: OriginTxSDKType; -} -/** MsgMintBatchCreditsResponse is the Msg/MintBatchCredits response type. */ -export interface MsgMintBatchCreditsResponse { -} -export interface MsgMintBatchCreditsResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgMintBatchCreditsResponse"; - value: Uint8Array; -} -/** MsgMintBatchCreditsResponse is the Msg/MintBatchCredits response type. */ -export interface MsgMintBatchCreditsResponseAmino { -} -export interface MsgMintBatchCreditsResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgMintBatchCreditsResponse"; - value: MsgMintBatchCreditsResponseAmino; -} -/** MsgMintBatchCreditsResponse is the Msg/MintBatchCredits response type. */ -export interface MsgMintBatchCreditsResponseSDKType { -} -/** MsgSealBatch is the Msg/MintBatchCredits request type. */ -export interface MsgSealBatch { - /** - * issuer is the address of the account that created the credit batch and the - * only account with permissions to seal the credit batch. - */ - issuer: string; - /** batch_denom is the unique identifier of the credit batch. */ - batchDenom: string; -} -export interface MsgSealBatchProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgSealBatch"; - value: Uint8Array; -} -/** MsgSealBatch is the Msg/MintBatchCredits request type. */ -export interface MsgSealBatchAmino { - /** - * issuer is the address of the account that created the credit batch and the - * only account with permissions to seal the credit batch. - */ - issuer: string; - /** batch_denom is the unique identifier of the credit batch. */ - batch_denom: string; -} -export interface MsgSealBatchAminoMsg { - type: "regen/MsgSealBatch"; - value: MsgSealBatchAmino; -} -/** MsgSealBatch is the Msg/MintBatchCredits request type. */ -export interface MsgSealBatchSDKType { - issuer: string; - batch_denom: string; -} -/** MsgSealBatchResponse is the Msg/SealBatch response type. */ -export interface MsgSealBatchResponse { -} -export interface MsgSealBatchResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgSealBatchResponse"; - value: Uint8Array; -} -/** MsgSealBatchResponse is the Msg/SealBatch response type. */ -export interface MsgSealBatchResponseAmino { -} -export interface MsgSealBatchResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgSealBatchResponse"; - value: MsgSealBatchResponseAmino; -} -/** MsgSealBatchResponse is the Msg/SealBatch response type. */ -export interface MsgSealBatchResponseSDKType { -} -/** MsgSend is the Msg/Send request type. */ -export interface MsgSend { - /** sender is the address of the account sending credits. */ - sender: string; - /** recipient is the address of the account receiving credits. */ - recipient: string; - /** credits are the credits being sent to the recipient. */ - credits: MsgSend_SendCredits[]; -} -export interface MsgSendProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgSend"; - value: Uint8Array; -} -/** MsgSend is the Msg/Send request type. */ -export interface MsgSendAmino { - /** sender is the address of the account sending credits. */ - sender: string; - /** recipient is the address of the account receiving credits. */ - recipient: string; - /** credits are the credits being sent to the recipient. */ - credits: MsgSend_SendCreditsAmino[]; -} -export interface MsgSendAminoMsg { - type: "regen/MsgSend"; - value: MsgSendAmino; -} -/** MsgSend is the Msg/Send request type. */ -export interface MsgSendSDKType { - sender: string; - recipient: string; - credits: MsgSend_SendCreditsSDKType[]; -} -/** - * SendCredits specifies the amount of tradable and retired credits of a - * credit batch that will be sent to the recipient and the jurisdiction in - * which the credits will be retired upon receipt. - */ -export interface MsgSend_SendCredits { - /** batch_denom is the unique identifier of the credit batch. */ - batchDenom: string; - /** - * tradable_amount is the amount of credits in this transfer that can be - * traded by the recipient. The number of decimal places must be less than - * or equal to the credit type precision. - */ - tradableAmount: string; - /** - * retired_amount is the amount of credits in this transfer that are retired - * upon receipt. The number of decimal places must be less than or equal to - * the credit type precision. - */ - retiredAmount: string; - /** - * retirement_jurisdiction is the jurisdiction of the recipient and is only - * required if retired_amount is positive. A jurisdiction has the format: - * [-[ ]] - * The country-code and sub-national-code must conform to ISO 3166-2 and the - * postal-code can be up to 64 alphanumeric characters. Only the - * country-code is required, while the sub-national-code and postal-code are - * optional and can be added for increased precision. - */ - retirementJurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. This field is only required if retired_amount is - * positive. - * - * Since Revision 2 - */ - retirementReason: string; -} -export interface MsgSend_SendCreditsProtoMsg { - typeUrl: "/regen.ecocredit.v1.SendCredits"; - value: Uint8Array; -} -/** - * SendCredits specifies the amount of tradable and retired credits of a - * credit batch that will be sent to the recipient and the jurisdiction in - * which the credits will be retired upon receipt. - */ -export interface MsgSend_SendCreditsAmino { - /** batch_denom is the unique identifier of the credit batch. */ - batch_denom: string; - /** - * tradable_amount is the amount of credits in this transfer that can be - * traded by the recipient. The number of decimal places must be less than - * or equal to the credit type precision. - */ - tradable_amount: string; - /** - * retired_amount is the amount of credits in this transfer that are retired - * upon receipt. The number of decimal places must be less than or equal to - * the credit type precision. - */ - retired_amount: string; - /** - * retirement_jurisdiction is the jurisdiction of the recipient and is only - * required if retired_amount is positive. A jurisdiction has the format: - * [-[ ]] - * The country-code and sub-national-code must conform to ISO 3166-2 and the - * postal-code can be up to 64 alphanumeric characters. Only the - * country-code is required, while the sub-national-code and postal-code are - * optional and can be added for increased precision. - */ - retirement_jurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. This field is only required if retired_amount is - * positive. - * - * Since Revision 2 - */ - retirement_reason: string; -} -export interface MsgSend_SendCreditsAminoMsg { - type: "/regen.ecocredit.v1.SendCredits"; - value: MsgSend_SendCreditsAmino; -} -/** - * SendCredits specifies the amount of tradable and retired credits of a - * credit batch that will be sent to the recipient and the jurisdiction in - * which the credits will be retired upon receipt. - */ -export interface MsgSend_SendCreditsSDKType { - batch_denom: string; - tradable_amount: string; - retired_amount: string; - retirement_jurisdiction: string; - retirement_reason: string; -} -/** MsgSendResponse is the Msg/Send response type. */ -export interface MsgSendResponse { -} -export interface MsgSendResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse is the Msg/Send response type. */ -export interface MsgSendResponseAmino { -} -export interface MsgSendResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse is the Msg/Send response type. */ -export interface MsgSendResponseSDKType { -} -/** MsgRetire is the Msg/Retire request type. */ -export interface MsgRetire { - /** owner is the address of the account that owns the credits being retired. */ - owner: string; - /** credits specifies a credit batch and the number of credits being retired. */ - credits: Credits[]; - /** - * jurisdiction is the jurisdiction of the credit owner. A jurisdiction has - * the format: [-[ ]] - * The country-code must be 2 alphabetic characters, the sub-national-code - * can be 1-3 alphanumeric characters, and the postal-code can be up to 64 - * alphanumeric characters. Only the country-code is required, while the - * sub-national-code and postal-code are optional and can be added for - * increased precision. - */ - jurisdiction: string; - /** - * reason is any arbitrary string that specifies the reason for retiring - * credits. - * - * Since Revision 2 - */ - reason: string; -} -export interface MsgRetireProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgRetire"; - value: Uint8Array; -} -/** MsgRetire is the Msg/Retire request type. */ -export interface MsgRetireAmino { - /** owner is the address of the account that owns the credits being retired. */ - owner: string; - /** credits specifies a credit batch and the number of credits being retired. */ - credits: CreditsAmino[]; - /** - * jurisdiction is the jurisdiction of the credit owner. A jurisdiction has - * the format: [-[ ]] - * The country-code must be 2 alphabetic characters, the sub-national-code - * can be 1-3 alphanumeric characters, and the postal-code can be up to 64 - * alphanumeric characters. Only the country-code is required, while the - * sub-national-code and postal-code are optional and can be added for - * increased precision. - */ - jurisdiction: string; - /** - * reason is any arbitrary string that specifies the reason for retiring - * credits. - * - * Since Revision 2 - */ - reason: string; -} -export interface MsgRetireAminoMsg { - type: "regen/MsgRetire"; - value: MsgRetireAmino; -} -/** MsgRetire is the Msg/Retire request type. */ -export interface MsgRetireSDKType { - owner: string; - credits: CreditsSDKType[]; - jurisdiction: string; - reason: string; -} -/** MsgRetire is the Msg/Retire response type. */ -export interface MsgRetireResponse { -} -export interface MsgRetireResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgRetireResponse"; - value: Uint8Array; -} -/** MsgRetire is the Msg/Retire response type. */ -export interface MsgRetireResponseAmino { -} -export interface MsgRetireResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgRetireResponse"; - value: MsgRetireResponseAmino; -} -/** MsgRetire is the Msg/Retire response type. */ -export interface MsgRetireResponseSDKType { -} -/** MsgCancel is the Msg/Cancel request type. */ -export interface MsgCancel { - /** owner is the address of the account that owns the credits being cancelled. */ - owner: string; - /** credits specifies a credit batch and the number of credits being cancelled. */ - credits: Credits[]; - /** - * reason is any arbitrary string that specifies the reason for cancelling - * credits. - */ - reason: string; -} -export interface MsgCancelProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCancel"; - value: Uint8Array; -} -/** MsgCancel is the Msg/Cancel request type. */ -export interface MsgCancelAmino { - /** owner is the address of the account that owns the credits being cancelled. */ - owner: string; - /** credits specifies a credit batch and the number of credits being cancelled. */ - credits: CreditsAmino[]; - /** - * reason is any arbitrary string that specifies the reason for cancelling - * credits. - */ - reason: string; -} -export interface MsgCancelAminoMsg { - type: "regen/MsgCancel"; - value: MsgCancelAmino; -} -/** MsgCancel is the Msg/Cancel request type. */ -export interface MsgCancelSDKType { - owner: string; - credits: CreditsSDKType[]; - reason: string; -} -/** MsgCancelResponse is the Msg/Cancel response type. */ -export interface MsgCancelResponse { -} -export interface MsgCancelResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgCancelResponse"; - value: Uint8Array; -} -/** MsgCancelResponse is the Msg/Cancel response type. */ -export interface MsgCancelResponseAmino { -} -export interface MsgCancelResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgCancelResponse"; - value: MsgCancelResponseAmino; -} -/** MsgCancelResponse is the Msg/Cancel response type. */ -export interface MsgCancelResponseSDKType { -} -/** MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type. */ -export interface MsgUpdateClassAdmin { - /** - * admin is the address of the account that is currently the admin of the - * credit class. - */ - admin: string; - /** class_id is the unique identifier of the credit class. */ - classId: string; - /** - * new_admin is the address of the account that will become the new admin of - * the credit class. - */ - newAdmin: string; -} -export interface MsgUpdateClassAdminProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassAdmin"; - value: Uint8Array; -} -/** MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type. */ -export interface MsgUpdateClassAdminAmino { - /** - * admin is the address of the account that is currently the admin of the - * credit class. - */ - admin: string; - /** class_id is the unique identifier of the credit class. */ - class_id: string; - /** - * new_admin is the address of the account that will become the new admin of - * the credit class. - */ - new_admin: string; -} -export interface MsgUpdateClassAdminAminoMsg { - type: "regen/MsgUpdateClassAdmin"; - value: MsgUpdateClassAdminAmino; -} -/** MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type. */ -export interface MsgUpdateClassAdminSDKType { - admin: string; - class_id: string; - new_admin: string; -} -/** MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type. */ -export interface MsgUpdateClassAdminResponse { -} -export interface MsgUpdateClassAdminResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type. */ -export interface MsgUpdateClassAdminResponseAmino { -} -export interface MsgUpdateClassAdminResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgUpdateClassAdminResponse"; - value: MsgUpdateClassAdminResponseAmino; -} -/** MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type. */ -export interface MsgUpdateClassAdminResponseSDKType { -} -/** MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type. */ -export interface MsgUpdateClassIssuers { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique identifier of the credit class. */ - classId: string; - /** - * add_issuers are the addresses of the accounts that will be added to the - * list of approved credit class issuers. - */ - addIssuers: string[]; - /** - * remove_issuers are the addresses of the accounts that will be removed from - * the list of approved credit class issuers. - */ - removeIssuers: string[]; -} -export interface MsgUpdateClassIssuersProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassIssuers"; - value: Uint8Array; -} -/** MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type. */ -export interface MsgUpdateClassIssuersAmino { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique identifier of the credit class. */ - class_id: string; - /** - * add_issuers are the addresses of the accounts that will be added to the - * list of approved credit class issuers. - */ - add_issuers: string[]; - /** - * remove_issuers are the addresses of the accounts that will be removed from - * the list of approved credit class issuers. - */ - remove_issuers: string[]; -} -export interface MsgUpdateClassIssuersAminoMsg { - type: "regen/MsgUpdateClassIssuers"; - value: MsgUpdateClassIssuersAmino; -} -/** MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type. */ -export interface MsgUpdateClassIssuersSDKType { - admin: string; - class_id: string; - add_issuers: string[]; - remove_issuers: string[]; -} -/** MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type. */ -export interface MsgUpdateClassIssuersResponse { -} -export interface MsgUpdateClassIssuersResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassIssuersResponse"; - value: Uint8Array; -} -/** MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type. */ -export interface MsgUpdateClassIssuersResponseAmino { -} -export interface MsgUpdateClassIssuersResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgUpdateClassIssuersResponse"; - value: MsgUpdateClassIssuersResponseAmino; -} -/** MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type. */ -export interface MsgUpdateClassIssuersResponseSDKType { -} -/** MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type. */ -export interface MsgUpdateClassMetadata { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique identifier of the credit class. */ - classId: string; - /** - * new_metadata is new metadata that will replace the existing metadata. It - * can be any arbitrary string with a maximum length of 256 characters that - * includes or references the metadata to attach to the credit class. - */ - newMetadata: string; -} -export interface MsgUpdateClassMetadataProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassMetadata"; - value: Uint8Array; -} -/** MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type. */ -export interface MsgUpdateClassMetadataAmino { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique identifier of the credit class. */ - class_id: string; - /** - * new_metadata is new metadata that will replace the existing metadata. It - * can be any arbitrary string with a maximum length of 256 characters that - * includes or references the metadata to attach to the credit class. - */ - new_metadata: string; -} -export interface MsgUpdateClassMetadataAminoMsg { - type: "regen/MsgUpdateClassMetadata"; - value: MsgUpdateClassMetadataAmino; -} -/** MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type. */ -export interface MsgUpdateClassMetadataSDKType { - admin: string; - class_id: string; - new_metadata: string; -} -/** MsgUpdateClassMetadataResponse is the Msg/UpdateClassMetadata response type. */ -export interface MsgUpdateClassMetadataResponse { -} -export interface MsgUpdateClassMetadataResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateClassMetadataResponse is the Msg/UpdateClassMetadata response type. */ -export interface MsgUpdateClassMetadataResponseAmino { -} -export interface MsgUpdateClassMetadataResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgUpdateClassMetadataResponse"; - value: MsgUpdateClassMetadataResponseAmino; -} -/** MsgUpdateClassMetadataResponse is the Msg/UpdateClassMetadata response type. */ -export interface MsgUpdateClassMetadataResponseSDKType { -} -/** MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin request type. */ -export interface MsgUpdateProjectAdmin { - /** - * admin is the address of the account that is the currently the admin of the - * project. - */ - admin: string; - /** project_id is the unique identifier of the project. */ - projectId: string; - /** - * new_admin is the address of the account that will become the new admin of - * the project. - */ - newAdmin: string; -} -export interface MsgUpdateProjectAdminProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectAdmin"; - value: Uint8Array; -} -/** MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin request type. */ -export interface MsgUpdateProjectAdminAmino { - /** - * admin is the address of the account that is the currently the admin of the - * project. - */ - admin: string; - /** project_id is the unique identifier of the project. */ - project_id: string; - /** - * new_admin is the address of the account that will become the new admin of - * the project. - */ - new_admin: string; -} -export interface MsgUpdateProjectAdminAminoMsg { - type: "regen/MsgUpdateProjectAdmin"; - value: MsgUpdateProjectAdminAmino; -} -/** MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin request type. */ -export interface MsgUpdateProjectAdminSDKType { - admin: string; - project_id: string; - new_admin: string; -} -/** MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin response type. */ -export interface MsgUpdateProjectAdminResponse { -} -export interface MsgUpdateProjectAdminResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin response type. */ -export interface MsgUpdateProjectAdminResponseAmino { -} -export interface MsgUpdateProjectAdminResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgUpdateProjectAdminResponse"; - value: MsgUpdateProjectAdminResponseAmino; -} -/** MsgUpdateProjectAdmin is the Msg/UpdateProjectAdmin response type. */ -export interface MsgUpdateProjectAdminResponseSDKType { -} -/** MsgUpdateProjectMetadata is the Msg/UpdateProjectMetadata request type. */ -export interface MsgUpdateProjectMetadata { - /** admin is the address of the account that is the admin of the project. */ - admin: string; - /** project_id is the unique identifier of the project. */ - projectId: string; - /** - * new_metadata is new metadata that will replace the existing metadata. It - * can be any arbitrary string with a maximum length of 256 characters that - * includes or references the metadata to attach to the project. - */ - newMetadata: string; -} -export interface MsgUpdateProjectMetadataProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectMetadata"; - value: Uint8Array; -} -/** MsgUpdateProjectMetadata is the Msg/UpdateProjectMetadata request type. */ -export interface MsgUpdateProjectMetadataAmino { - /** admin is the address of the account that is the admin of the project. */ - admin: string; - /** project_id is the unique identifier of the project. */ - project_id: string; - /** - * new_metadata is new metadata that will replace the existing metadata. It - * can be any arbitrary string with a maximum length of 256 characters that - * includes or references the metadata to attach to the project. - */ - new_metadata: string; -} -export interface MsgUpdateProjectMetadataAminoMsg { - type: "regen/MsgUpdateProjectMetadata"; - value: MsgUpdateProjectMetadataAmino; -} -/** MsgUpdateProjectMetadata is the Msg/UpdateProjectMetadata request type. */ -export interface MsgUpdateProjectMetadataSDKType { - admin: string; - project_id: string; - new_metadata: string; -} -/** - * MsgUpdateProjectMetadataResponse is the Msg/UpdateProjectMetadataResponse - * response type. - */ -export interface MsgUpdateProjectMetadataResponse { -} -export interface MsgUpdateProjectMetadataResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateProjectMetadataResponse"; - value: Uint8Array; -} -/** - * MsgUpdateProjectMetadataResponse is the Msg/UpdateProjectMetadataResponse - * response type. - */ -export interface MsgUpdateProjectMetadataResponseAmino { -} -export interface MsgUpdateProjectMetadataResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgUpdateProjectMetadataResponse"; - value: MsgUpdateProjectMetadataResponseAmino; -} -/** - * MsgUpdateProjectMetadataResponse is the Msg/UpdateProjectMetadataResponse - * response type. - */ -export interface MsgUpdateProjectMetadataResponseSDKType { -} -/** MsgBridge is the Msg/Bridge request type. */ -export interface MsgBridge { - /** owner is the address of the account that owns the credits being bridged. */ - owner: string; - /** target is the name of the target chain or registry. */ - target: string; - /** recipient is the address of the account receiving the bridged credits. */ - recipient: string; - /** credits specifies a credit batch and the number of credits being bridged. */ - credits: Credits[]; -} -export interface MsgBridgeProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgBridge"; - value: Uint8Array; -} -/** MsgBridge is the Msg/Bridge request type. */ -export interface MsgBridgeAmino { - /** owner is the address of the account that owns the credits being bridged. */ - owner: string; - /** target is the name of the target chain or registry. */ - target: string; - /** recipient is the address of the account receiving the bridged credits. */ - recipient: string; - /** credits specifies a credit batch and the number of credits being bridged. */ - credits: CreditsAmino[]; -} -export interface MsgBridgeAminoMsg { - type: "regen/MsgBridge"; - value: MsgBridgeAmino; -} -/** MsgBridge is the Msg/Bridge request type. */ -export interface MsgBridgeSDKType { - owner: string; - target: string; - recipient: string; - credits: CreditsSDKType[]; -} -/** - * MsgUpdateBatchMetadata is the Msg/UpdateBatchMetadata request type. - * - * Since Revision 2 - */ -export interface MsgUpdateBatchMetadata { - /** issuer is the address of the account that is the issuer of the batch. */ - issuer: string; - /** batch_denom is the unique identifier of the batch. */ - batchDenom: string; - /** - * new_metadata is new metadata that will replace the existing metadata. It - * can be any arbitrary string with a maximum length of 256 characters that - * includes or references the metadata to attach to the batch. - */ - newMetadata: string; -} -export interface MsgUpdateBatchMetadataProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateBatchMetadata"; - value: Uint8Array; -} -/** - * MsgUpdateBatchMetadata is the Msg/UpdateBatchMetadata request type. - * - * Since Revision 2 - */ -export interface MsgUpdateBatchMetadataAmino { - /** issuer is the address of the account that is the issuer of the batch. */ - issuer: string; - /** batch_denom is the unique identifier of the batch. */ - batch_denom: string; - /** - * new_metadata is new metadata that will replace the existing metadata. It - * can be any arbitrary string with a maximum length of 256 characters that - * includes or references the metadata to attach to the batch. - */ - new_metadata: string; -} -export interface MsgUpdateBatchMetadataAminoMsg { - type: "regen/MsgUpdateBatchMetadata"; - value: MsgUpdateBatchMetadataAmino; -} -/** - * MsgUpdateBatchMetadata is the Msg/UpdateBatchMetadata request type. - * - * Since Revision 2 - */ -export interface MsgUpdateBatchMetadataSDKType { - issuer: string; - batch_denom: string; - new_metadata: string; -} -/** - * MsgUpdateBatchMetadataResponse is the Msg/UpdateBatchMetadataResponse - * response type. - * - * Since Revision 2 - */ -export interface MsgUpdateBatchMetadataResponse { -} -export interface MsgUpdateBatchMetadataResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateBatchMetadataResponse"; - value: Uint8Array; -} -/** - * MsgUpdateBatchMetadataResponse is the Msg/UpdateBatchMetadataResponse - * response type. - * - * Since Revision 2 - */ -export interface MsgUpdateBatchMetadataResponseAmino { -} -export interface MsgUpdateBatchMetadataResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgUpdateBatchMetadataResponse"; - value: MsgUpdateBatchMetadataResponseAmino; -} -/** - * MsgUpdateBatchMetadataResponse is the Msg/UpdateBatchMetadataResponse - * response type. - * - * Since Revision 2 - */ -export interface MsgUpdateBatchMetadataResponseSDKType { -} -/** MsgBridgeResponse is the Msg/Bridge response type. */ -export interface MsgBridgeResponse { -} -export interface MsgBridgeResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgBridgeResponse"; - value: Uint8Array; -} -/** MsgBridgeResponse is the Msg/Bridge response type. */ -export interface MsgBridgeResponseAmino { -} -export interface MsgBridgeResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgBridgeResponse"; - value: MsgBridgeResponseAmino; -} -/** MsgBridgeResponse is the Msg/Bridge response type. */ -export interface MsgBridgeResponseSDKType { -} -/** MsgBridgeReceive is the Msg/BridgeReceive request type. */ -export interface MsgBridgeReceive { - /** issuer is the account address of the service bridging the credits. */ - issuer: string; - /** - * class_id is the unique identifier of the credit class within which the - * project and credit batch already exist or will be created. - */ - classId: string; - /** project defines the project information for the bridged credits. */ - project: MsgBridgeReceive_Project; - /** batch defines the credit batch information for the bridged credits. */ - batch: MsgBridgeReceive_Batch; - /** - * origin_tx is a reference to a transaction which caused the transfer from - * another chain or registry. - */ - originTx: OriginTx; -} -export interface MsgBridgeReceiveProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgBridgeReceive"; - value: Uint8Array; -} -/** MsgBridgeReceive is the Msg/BridgeReceive request type. */ -export interface MsgBridgeReceiveAmino { - /** issuer is the account address of the service bridging the credits. */ - issuer: string; - /** - * class_id is the unique identifier of the credit class within which the - * project and credit batch already exist or will be created. - */ - class_id: string; - /** project defines the project information for the bridged credits. */ - project?: MsgBridgeReceive_ProjectAmino; - /** batch defines the credit batch information for the bridged credits. */ - batch?: MsgBridgeReceive_BatchAmino; - /** - * origin_tx is a reference to a transaction which caused the transfer from - * another chain or registry. - */ - origin_tx?: OriginTxAmino; -} -export interface MsgBridgeReceiveAminoMsg { - type: "regen/MsgBridgeReceive"; - value: MsgBridgeReceiveAmino; -} -/** MsgBridgeReceive is the Msg/BridgeReceive request type. */ -export interface MsgBridgeReceiveSDKType { - issuer: string; - class_id: string; - project: MsgBridgeReceive_ProjectSDKType; - batch: MsgBridgeReceive_BatchSDKType; - origin_tx: OriginTxSDKType; -} -/** - * Batch defines the credit batch information for the bridged credits. This - * information will be used to create a credit batch or to dynamically mint - * credits to an existing credit batch. - */ -export interface MsgBridgeReceive_Batch { - /** recipient is the recipient of the bridged credits. */ - recipient: string; - /** amount is the amount of credits being bridged. */ - amount: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - startDate: Timestamp; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - endDate: Timestamp; - /** metadata is the metadata for the credit batch. */ - metadata: string; -} -export interface MsgBridgeReceive_BatchProtoMsg { - typeUrl: "/regen.ecocredit.v1.Batch"; - value: Uint8Array; -} -/** - * Batch defines the credit batch information for the bridged credits. This - * information will be used to create a credit batch or to dynamically mint - * credits to an existing credit batch. - */ -export interface MsgBridgeReceive_BatchAmino { - /** recipient is the recipient of the bridged credits. */ - recipient: string; - /** amount is the amount of credits being bridged. */ - amount: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - start_date?: TimestampAmino; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - end_date?: TimestampAmino; - /** metadata is the metadata for the credit batch. */ - metadata: string; -} -export interface MsgBridgeReceive_BatchAminoMsg { - type: "/regen.ecocredit.v1.Batch"; - value: MsgBridgeReceive_BatchAmino; -} -/** - * Batch defines the credit batch information for the bridged credits. This - * information will be used to create a credit batch or to dynamically mint - * credits to an existing credit batch. - */ -export interface MsgBridgeReceive_BatchSDKType { - recipient: string; - amount: string; - start_date: TimestampSDKType; - end_date: TimestampSDKType; - metadata: string; -} -/** - * Project defines the project information for the bridged credits. This - * information will be used to find an existing project or to create a new - * project if a project with the same reference id does not already exist. - */ -export interface MsgBridgeReceive_Project { - /** reference_id is the reference id of the project. */ - referenceId: string; - /** jurisdiction is the project jurisdiction. */ - jurisdiction: string; - /** metadata is the metadata for the project. */ - metadata: string; -} -export interface MsgBridgeReceive_ProjectProtoMsg { - typeUrl: "/regen.ecocredit.v1.Project"; - value: Uint8Array; -} -/** - * Project defines the project information for the bridged credits. This - * information will be used to find an existing project or to create a new - * project if a project with the same reference id does not already exist. - */ -export interface MsgBridgeReceive_ProjectAmino { - /** reference_id is the reference id of the project. */ - reference_id: string; - /** jurisdiction is the project jurisdiction. */ - jurisdiction: string; - /** metadata is the metadata for the project. */ - metadata: string; -} -export interface MsgBridgeReceive_ProjectAminoMsg { - type: "/regen.ecocredit.v1.Project"; - value: MsgBridgeReceive_ProjectAmino; -} -/** - * Project defines the project information for the bridged credits. This - * information will be used to find an existing project or to create a new - * project if a project with the same reference id does not already exist. - */ -export interface MsgBridgeReceive_ProjectSDKType { - reference_id: string; - jurisdiction: string; - metadata: string; -} -/** MsgBridgeReceiveResponse is the Msg/BridgeReceive response type. */ -export interface MsgBridgeReceiveResponse { - /** - * batch_denom is the unique identifier of the credit batch either created - * or within which the credits were dynamically minted. - */ - batchDenom: string; - /** - * project_id is the unique identifier of the project that was either created - * or the existing project within which the credit batch exists. - */ - projectId: string; -} -export interface MsgBridgeReceiveResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgBridgeReceiveResponse"; - value: Uint8Array; -} -/** MsgBridgeReceiveResponse is the Msg/BridgeReceive response type. */ -export interface MsgBridgeReceiveResponseAmino { - /** - * batch_denom is the unique identifier of the credit batch either created - * or within which the credits were dynamically minted. - */ - batch_denom: string; - /** - * project_id is the unique identifier of the project that was either created - * or the existing project within which the credit batch exists. - */ - project_id: string; -} -export interface MsgBridgeReceiveResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgBridgeReceiveResponse"; - value: MsgBridgeReceiveResponseAmino; -} -/** MsgBridgeReceiveResponse is the Msg/BridgeReceive response type. */ -export interface MsgBridgeReceiveResponseSDKType { - batch_denom: string; - project_id: string; -} -/** - * MsgAddClassCreator is the Msg/AddClassCreator request type. - * - * Since Revision 2 - */ -export interface MsgAddClassCreator { - /** authority is the address of the governance account. */ - authority: string; - /** creator is the address to add to the class creator list. */ - creator: string; -} -export interface MsgAddClassCreatorProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgAddClassCreator"; - value: Uint8Array; -} -/** - * MsgAddClassCreator is the Msg/AddClassCreator request type. - * - * Since Revision 2 - */ -export interface MsgAddClassCreatorAmino { - /** authority is the address of the governance account. */ - authority: string; - /** creator is the address to add to the class creator list. */ - creator: string; -} -export interface MsgAddClassCreatorAminoMsg { - type: "regen/MsgAddClassCreator"; - value: MsgAddClassCreatorAmino; -} -/** - * MsgAddClassCreator is the Msg/AddClassCreator request type. - * - * Since Revision 2 - */ -export interface MsgAddClassCreatorSDKType { - authority: string; - creator: string; -} -/** - * MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. - * - * Since Revision 2 - */ -export interface MsgAddClassCreatorResponse { -} -export interface MsgAddClassCreatorResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgAddClassCreatorResponse"; - value: Uint8Array; -} -/** - * MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. - * - * Since Revision 2 - */ -export interface MsgAddClassCreatorResponseAmino { -} -export interface MsgAddClassCreatorResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgAddClassCreatorResponse"; - value: MsgAddClassCreatorResponseAmino; -} -/** - * MsgAddClassCreatorResponse is the Msg/AddClassCreator response type. - * - * Since Revision 2 - */ -export interface MsgAddClassCreatorResponseSDKType { -} -/** - * MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request - * type. - * - * Since Revision 2 - */ -export interface MsgSetClassCreatorAllowlist { - /** authority is the address of the governance account. */ - authority: string; - /** enabled defines the boolean value to set the allowlist on or off. */ - enabled: boolean; -} -export interface MsgSetClassCreatorAllowlistProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgSetClassCreatorAllowlist"; - value: Uint8Array; -} -/** - * MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request - * type. - * - * Since Revision 2 - */ -export interface MsgSetClassCreatorAllowlistAmino { - /** authority is the address of the governance account. */ - authority: string; - /** enabled defines the boolean value to set the allowlist on or off. */ - enabled: boolean; -} -export interface MsgSetClassCreatorAllowlistAminoMsg { - type: "regen/MsgSetClassCreatorAllowlist"; - value: MsgSetClassCreatorAllowlistAmino; -} -/** - * MsgSetClassCreatorAllowlist is the Msg/SetClassCreatorAllowlist request - * type. - * - * Since Revision 2 - */ -export interface MsgSetClassCreatorAllowlistSDKType { - authority: string; - enabled: boolean; -} -/** - * MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist - * response type. - * - * Since Revision 2 - */ -export interface MsgSetClassCreatorAllowlistResponse { -} -export interface MsgSetClassCreatorAllowlistResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse"; - value: Uint8Array; -} -/** - * MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist - * response type. - * - * Since Revision 2 - */ -export interface MsgSetClassCreatorAllowlistResponseAmino { -} -export interface MsgSetClassCreatorAllowlistResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgSetClassCreatorAllowlistResponse"; - value: MsgSetClassCreatorAllowlistResponseAmino; -} -/** - * MsgSetClassCreatorAllowlistResponse is the Msg/SetClassCreatorAllowlist - * response type. - * - * Since Revision 2 - */ -export interface MsgSetClassCreatorAllowlistResponseSDKType { -} -/** - * MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. - * - * Since Revision 2 - */ -export interface MsgRemoveClassCreator { - /** authority is the address of the governance account. */ - authority: string; - /** creator is the address to remove from the class creator list. */ - creator: string; -} -export interface MsgRemoveClassCreatorProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgRemoveClassCreator"; - value: Uint8Array; -} -/** - * MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. - * - * Since Revision 2 - */ -export interface MsgRemoveClassCreatorAmino { - /** authority is the address of the governance account. */ - authority: string; - /** creator is the address to remove from the class creator list. */ - creator: string; -} -export interface MsgRemoveClassCreatorAminoMsg { - type: "regen/MsgRemoveClassCreator"; - value: MsgRemoveClassCreatorAmino; -} -/** - * MsgRemoveClassCreator is the Msg/RemoveClassCreator request type. - * - * Since Revision 2 - */ -export interface MsgRemoveClassCreatorSDKType { - authority: string; - creator: string; -} -/** - * MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. - * - * Since Revision 2 - */ -export interface MsgRemoveClassCreatorResponse { -} -export interface MsgRemoveClassCreatorResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgRemoveClassCreatorResponse"; - value: Uint8Array; -} -/** - * MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. - * - * Since Revision 2 - */ -export interface MsgRemoveClassCreatorResponseAmino { -} -export interface MsgRemoveClassCreatorResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgRemoveClassCreatorResponse"; - value: MsgRemoveClassCreatorResponseAmino; -} -/** - * MsgRemoveClassCreatorResponse is the Msg/RemoveClasssCreator response type. - * - * Since Revision 2 - */ -export interface MsgRemoveClassCreatorResponseSDKType { -} -/** - * MsgUpdateClassFee is the Msg/UpdateClassFee request type. - * - * Since Revision 2 - */ -export interface MsgUpdateClassFee { - /** authority is the address of the governance account. */ - authority: string; - /** - * fee is the credit class creation fee. If not set, the credit class creation - * fee will be removed and no fee will be required to create a credit class. - */ - fee: Coin; -} -export interface MsgUpdateClassFeeProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassFee"; - value: Uint8Array; -} -/** - * MsgUpdateClassFee is the Msg/UpdateClassFee request type. - * - * Since Revision 2 - */ -export interface MsgUpdateClassFeeAmino { - /** authority is the address of the governance account. */ - authority: string; - /** - * fee is the credit class creation fee. If not set, the credit class creation - * fee will be removed and no fee will be required to create a credit class. - */ - fee?: CoinAmino; -} -export interface MsgUpdateClassFeeAminoMsg { - type: "regen/MsgUpdateClassFee"; - value: MsgUpdateClassFeeAmino; -} -/** - * MsgUpdateClassFee is the Msg/UpdateClassFee request type. - * - * Since Revision 2 - */ -export interface MsgUpdateClassFeeSDKType { - authority: string; - fee: CoinSDKType; -} -/** - * MsgUpdateClassFeeResponse is the Msg/UpdateClassFee response type. - * - * Since Revision 2 - */ -export interface MsgUpdateClassFeeResponse { -} -export interface MsgUpdateClassFeeResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgUpdateClassFeeResponse"; - value: Uint8Array; -} -/** - * MsgUpdateClassFeeResponse is the Msg/UpdateClassFee response type. - * - * Since Revision 2 - */ -export interface MsgUpdateClassFeeResponseAmino { -} -export interface MsgUpdateClassFeeResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgUpdateClassFeeResponse"; - value: MsgUpdateClassFeeResponseAmino; -} -/** - * MsgUpdateClassFeeResponse is the Msg/UpdateClassFee response type. - * - * Since Revision 2 - */ -export interface MsgUpdateClassFeeResponseSDKType { -} -/** - * MsgAddAllowedBridgeChain is the Msg/AddAllowedBridgeChain request type. - * - * Since Revision 2 - */ -export interface MsgAddAllowedBridgeChain { - /** authority is the address of the governance account. */ - authority: string; - /** - * chain_name is the name of the chain to allow bridging of ecocredits to - * (i.e. polygon, ethereum, celo). - */ - chainName: string; -} -export interface MsgAddAllowedBridgeChainProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgAddAllowedBridgeChain"; - value: Uint8Array; -} -/** - * MsgAddAllowedBridgeChain is the Msg/AddAllowedBridgeChain request type. - * - * Since Revision 2 - */ -export interface MsgAddAllowedBridgeChainAmino { - /** authority is the address of the governance account. */ - authority: string; - /** - * chain_name is the name of the chain to allow bridging of ecocredits to - * (i.e. polygon, ethereum, celo). - */ - chain_name: string; -} -export interface MsgAddAllowedBridgeChainAminoMsg { - type: "regen/MsgAddAllowedBridgeChain"; - value: MsgAddAllowedBridgeChainAmino; -} -/** - * MsgAddAllowedBridgeChain is the Msg/AddAllowedBridgeChain request type. - * - * Since Revision 2 - */ -export interface MsgAddAllowedBridgeChainSDKType { - authority: string; - chain_name: string; -} -/** - * MsgAddAllowedBridgeChainResponse is the Msg/AddAllowedBridgeChain response - * type. - * - * Since Revision 2 - */ -export interface MsgAddAllowedBridgeChainResponse { -} -export interface MsgAddAllowedBridgeChainResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgAddAllowedBridgeChainResponse"; - value: Uint8Array; -} -/** - * MsgAddAllowedBridgeChainResponse is the Msg/AddAllowedBridgeChain response - * type. - * - * Since Revision 2 - */ -export interface MsgAddAllowedBridgeChainResponseAmino { -} -export interface MsgAddAllowedBridgeChainResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgAddAllowedBridgeChainResponse"; - value: MsgAddAllowedBridgeChainResponseAmino; -} -/** - * MsgAddAllowedBridgeChainResponse is the Msg/AddAllowedBridgeChain response - * type. - * - * Since Revision 2 - */ -export interface MsgAddAllowedBridgeChainResponseSDKType { -} -/** - * MsgRemoveAllowedBridgeChain is the Msg/RemoveAllowedBridgeChain request type. - * - * Since Revision 2 - */ -export interface MsgRemoveAllowedBridgeChain { - /** authority is the address of the governance account. */ - authority: string; - /** - * chain_name is the name of the chain to remove from the list of allowed - * chains to bridge ecocredits to (i.e. polygon, ethereum, celo). - */ - chainName: string; -} -export interface MsgRemoveAllowedBridgeChainProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChain"; - value: Uint8Array; -} -/** - * MsgRemoveAllowedBridgeChain is the Msg/RemoveAllowedBridgeChain request type. - * - * Since Revision 2 - */ -export interface MsgRemoveAllowedBridgeChainAmino { - /** authority is the address of the governance account. */ - authority: string; - /** - * chain_name is the name of the chain to remove from the list of allowed - * chains to bridge ecocredits to (i.e. polygon, ethereum, celo). - */ - chain_name: string; -} -export interface MsgRemoveAllowedBridgeChainAminoMsg { - type: "regen/MsgRemoveAllowedBridgeChain"; - value: MsgRemoveAllowedBridgeChainAmino; -} -/** - * MsgRemoveAllowedBridgeChain is the Msg/RemoveAllowedBridgeChain request type. - * - * Since Revision 2 - */ -export interface MsgRemoveAllowedBridgeChainSDKType { - authority: string; - chain_name: string; -} -/** - * MsgRemoveAllowedBridgeChainResponse is the Msg/RemoveAllowedBridgeChain - * response type. - * - * Since Revision 2 - */ -export interface MsgRemoveAllowedBridgeChainResponse { -} -export interface MsgRemoveAllowedBridgeChainResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChainResponse"; - value: Uint8Array; -} -/** - * MsgRemoveAllowedBridgeChainResponse is the Msg/RemoveAllowedBridgeChain - * response type. - * - * Since Revision 2 - */ -export interface MsgRemoveAllowedBridgeChainResponseAmino { -} -export interface MsgRemoveAllowedBridgeChainResponseAminoMsg { - type: "/regen.ecocredit.v1.MsgRemoveAllowedBridgeChainResponse"; - value: MsgRemoveAllowedBridgeChainResponseAmino; -} -/** - * MsgRemoveAllowedBridgeChainResponse is the Msg/RemoveAllowedBridgeChain - * response type. - * - * Since Revision 2 - */ -export interface MsgRemoveAllowedBridgeChainResponseSDKType { -} -export declare const MsgAddCreditType: { - encode(message: MsgAddCreditType, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddCreditType; - fromJSON(object: any): MsgAddCreditType; - toJSON(message: MsgAddCreditType): unknown; - fromPartial(object: Partial): MsgAddCreditType; - fromAmino(object: MsgAddCreditTypeAmino): MsgAddCreditType; - toAmino(message: MsgAddCreditType): MsgAddCreditTypeAmino; - fromAminoMsg(object: MsgAddCreditTypeAminoMsg): MsgAddCreditType; - toAminoMsg(message: MsgAddCreditType): MsgAddCreditTypeAminoMsg; - fromProtoMsg(message: MsgAddCreditTypeProtoMsg): MsgAddCreditType; - toProto(message: MsgAddCreditType): Uint8Array; - toProtoMsg(message: MsgAddCreditType): MsgAddCreditTypeProtoMsg; -}; -export declare const MsgAddCreditTypeResponse: { - encode(_: MsgAddCreditTypeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddCreditTypeResponse; - fromJSON(_: any): MsgAddCreditTypeResponse; - toJSON(_: MsgAddCreditTypeResponse): unknown; - fromPartial(_: Partial): MsgAddCreditTypeResponse; - fromAmino(_: MsgAddCreditTypeResponseAmino): MsgAddCreditTypeResponse; - toAmino(_: MsgAddCreditTypeResponse): MsgAddCreditTypeResponseAmino; - fromAminoMsg(object: MsgAddCreditTypeResponseAminoMsg): MsgAddCreditTypeResponse; - fromProtoMsg(message: MsgAddCreditTypeResponseProtoMsg): MsgAddCreditTypeResponse; - toProto(message: MsgAddCreditTypeResponse): Uint8Array; - toProtoMsg(message: MsgAddCreditTypeResponse): MsgAddCreditTypeResponseProtoMsg; -}; -export declare const MsgCreateClass: { - encode(message: MsgCreateClass, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClass; - fromJSON(object: any): MsgCreateClass; - toJSON(message: MsgCreateClass): unknown; - fromPartial(object: Partial): MsgCreateClass; - fromAmino(object: MsgCreateClassAmino): MsgCreateClass; - toAmino(message: MsgCreateClass): MsgCreateClassAmino; - fromAminoMsg(object: MsgCreateClassAminoMsg): MsgCreateClass; - toAminoMsg(message: MsgCreateClass): MsgCreateClassAminoMsg; - fromProtoMsg(message: MsgCreateClassProtoMsg): MsgCreateClass; - toProto(message: MsgCreateClass): Uint8Array; - toProtoMsg(message: MsgCreateClass): MsgCreateClassProtoMsg; -}; -export declare const MsgCreateClassResponse: { - encode(message: MsgCreateClassResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClassResponse; - fromJSON(object: any): MsgCreateClassResponse; - toJSON(message: MsgCreateClassResponse): unknown; - fromPartial(object: Partial): MsgCreateClassResponse; - fromAmino(object: MsgCreateClassResponseAmino): MsgCreateClassResponse; - toAmino(message: MsgCreateClassResponse): MsgCreateClassResponseAmino; - fromAminoMsg(object: MsgCreateClassResponseAminoMsg): MsgCreateClassResponse; - fromProtoMsg(message: MsgCreateClassResponseProtoMsg): MsgCreateClassResponse; - toProto(message: MsgCreateClassResponse): Uint8Array; - toProtoMsg(message: MsgCreateClassResponse): MsgCreateClassResponseProtoMsg; -}; -export declare const MsgCreateProject: { - encode(message: MsgCreateProject, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateProject; - fromJSON(object: any): MsgCreateProject; - toJSON(message: MsgCreateProject): unknown; - fromPartial(object: Partial): MsgCreateProject; - fromAmino(object: MsgCreateProjectAmino): MsgCreateProject; - toAmino(message: MsgCreateProject): MsgCreateProjectAmino; - fromAminoMsg(object: MsgCreateProjectAminoMsg): MsgCreateProject; - toAminoMsg(message: MsgCreateProject): MsgCreateProjectAminoMsg; - fromProtoMsg(message: MsgCreateProjectProtoMsg): MsgCreateProject; - toProto(message: MsgCreateProject): Uint8Array; - toProtoMsg(message: MsgCreateProject): MsgCreateProjectProtoMsg; -}; -export declare const MsgCreateProjectResponse: { - encode(message: MsgCreateProjectResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateProjectResponse; - fromJSON(object: any): MsgCreateProjectResponse; - toJSON(message: MsgCreateProjectResponse): unknown; - fromPartial(object: Partial): MsgCreateProjectResponse; - fromAmino(object: MsgCreateProjectResponseAmino): MsgCreateProjectResponse; - toAmino(message: MsgCreateProjectResponse): MsgCreateProjectResponseAmino; - fromAminoMsg(object: MsgCreateProjectResponseAminoMsg): MsgCreateProjectResponse; - fromProtoMsg(message: MsgCreateProjectResponseProtoMsg): MsgCreateProjectResponse; - toProto(message: MsgCreateProjectResponse): Uint8Array; - toProtoMsg(message: MsgCreateProjectResponse): MsgCreateProjectResponseProtoMsg; -}; -export declare const MsgCreateBatch: { - encode(message: MsgCreateBatch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateBatch; - fromJSON(object: any): MsgCreateBatch; - toJSON(message: MsgCreateBatch): unknown; - fromPartial(object: Partial): MsgCreateBatch; - fromAmino(object: MsgCreateBatchAmino): MsgCreateBatch; - toAmino(message: MsgCreateBatch): MsgCreateBatchAmino; - fromAminoMsg(object: MsgCreateBatchAminoMsg): MsgCreateBatch; - toAminoMsg(message: MsgCreateBatch): MsgCreateBatchAminoMsg; - fromProtoMsg(message: MsgCreateBatchProtoMsg): MsgCreateBatch; - toProto(message: MsgCreateBatch): Uint8Array; - toProtoMsg(message: MsgCreateBatch): MsgCreateBatchProtoMsg; -}; -export declare const MsgCreateBatchResponse: { - encode(message: MsgCreateBatchResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateBatchResponse; - fromJSON(object: any): MsgCreateBatchResponse; - toJSON(message: MsgCreateBatchResponse): unknown; - fromPartial(object: Partial): MsgCreateBatchResponse; - fromAmino(object: MsgCreateBatchResponseAmino): MsgCreateBatchResponse; - toAmino(message: MsgCreateBatchResponse): MsgCreateBatchResponseAmino; - fromAminoMsg(object: MsgCreateBatchResponseAminoMsg): MsgCreateBatchResponse; - fromProtoMsg(message: MsgCreateBatchResponseProtoMsg): MsgCreateBatchResponse; - toProto(message: MsgCreateBatchResponse): Uint8Array; - toProtoMsg(message: MsgCreateBatchResponse): MsgCreateBatchResponseProtoMsg; -}; -export declare const MsgMintBatchCredits: { - encode(message: MsgMintBatchCredits, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMintBatchCredits; - fromJSON(object: any): MsgMintBatchCredits; - toJSON(message: MsgMintBatchCredits): unknown; - fromPartial(object: Partial): MsgMintBatchCredits; - fromAmino(object: MsgMintBatchCreditsAmino): MsgMintBatchCredits; - toAmino(message: MsgMintBatchCredits): MsgMintBatchCreditsAmino; - fromAminoMsg(object: MsgMintBatchCreditsAminoMsg): MsgMintBatchCredits; - toAminoMsg(message: MsgMintBatchCredits): MsgMintBatchCreditsAminoMsg; - fromProtoMsg(message: MsgMintBatchCreditsProtoMsg): MsgMintBatchCredits; - toProto(message: MsgMintBatchCredits): Uint8Array; - toProtoMsg(message: MsgMintBatchCredits): MsgMintBatchCreditsProtoMsg; -}; -export declare const MsgMintBatchCreditsResponse: { - encode(_: MsgMintBatchCreditsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMintBatchCreditsResponse; - fromJSON(_: any): MsgMintBatchCreditsResponse; - toJSON(_: MsgMintBatchCreditsResponse): unknown; - fromPartial(_: Partial): MsgMintBatchCreditsResponse; - fromAmino(_: MsgMintBatchCreditsResponseAmino): MsgMintBatchCreditsResponse; - toAmino(_: MsgMintBatchCreditsResponse): MsgMintBatchCreditsResponseAmino; - fromAminoMsg(object: MsgMintBatchCreditsResponseAminoMsg): MsgMintBatchCreditsResponse; - fromProtoMsg(message: MsgMintBatchCreditsResponseProtoMsg): MsgMintBatchCreditsResponse; - toProto(message: MsgMintBatchCreditsResponse): Uint8Array; - toProtoMsg(message: MsgMintBatchCreditsResponse): MsgMintBatchCreditsResponseProtoMsg; -}; -export declare const MsgSealBatch: { - encode(message: MsgSealBatch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSealBatch; - fromJSON(object: any): MsgSealBatch; - toJSON(message: MsgSealBatch): unknown; - fromPartial(object: Partial): MsgSealBatch; - fromAmino(object: MsgSealBatchAmino): MsgSealBatch; - toAmino(message: MsgSealBatch): MsgSealBatchAmino; - fromAminoMsg(object: MsgSealBatchAminoMsg): MsgSealBatch; - toAminoMsg(message: MsgSealBatch): MsgSealBatchAminoMsg; - fromProtoMsg(message: MsgSealBatchProtoMsg): MsgSealBatch; - toProto(message: MsgSealBatch): Uint8Array; - toProtoMsg(message: MsgSealBatch): MsgSealBatchProtoMsg; -}; -export declare const MsgSealBatchResponse: { - encode(_: MsgSealBatchResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSealBatchResponse; - fromJSON(_: any): MsgSealBatchResponse; - toJSON(_: MsgSealBatchResponse): unknown; - fromPartial(_: Partial): MsgSealBatchResponse; - fromAmino(_: MsgSealBatchResponseAmino): MsgSealBatchResponse; - toAmino(_: MsgSealBatchResponse): MsgSealBatchResponseAmino; - fromAminoMsg(object: MsgSealBatchResponseAminoMsg): MsgSealBatchResponse; - fromProtoMsg(message: MsgSealBatchResponseProtoMsg): MsgSealBatchResponse; - toProto(message: MsgSealBatchResponse): Uint8Array; - toProtoMsg(message: MsgSealBatchResponse): MsgSealBatchResponseProtoMsg; -}; -export declare const MsgSend: { - encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend; - fromJSON(object: any): MsgSend; - toJSON(message: MsgSend): unknown; - fromPartial(object: Partial): MsgSend; - fromAmino(object: MsgSendAmino): MsgSend; - toAmino(message: MsgSend): MsgSendAmino; - fromAminoMsg(object: MsgSendAminoMsg): MsgSend; - toAminoMsg(message: MsgSend): MsgSendAminoMsg; - fromProtoMsg(message: MsgSendProtoMsg): MsgSend; - toProto(message: MsgSend): Uint8Array; - toProtoMsg(message: MsgSend): MsgSendProtoMsg; -}; -export declare const MsgSend_SendCredits: { - encode(message: MsgSend_SendCredits, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend_SendCredits; - fromJSON(object: any): MsgSend_SendCredits; - toJSON(message: MsgSend_SendCredits): unknown; - fromPartial(object: Partial): MsgSend_SendCredits; - fromAmino(object: MsgSend_SendCreditsAmino): MsgSend_SendCredits; - toAmino(message: MsgSend_SendCredits): MsgSend_SendCreditsAmino; - fromAminoMsg(object: MsgSend_SendCreditsAminoMsg): MsgSend_SendCredits; - fromProtoMsg(message: MsgSend_SendCreditsProtoMsg): MsgSend_SendCredits; - toProto(message: MsgSend_SendCredits): Uint8Array; - toProtoMsg(message: MsgSend_SendCredits): MsgSend_SendCreditsProtoMsg; -}; -export declare const MsgSendResponse: { - encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse; - fromJSON(_: any): MsgSendResponse; - toJSON(_: MsgSendResponse): unknown; - fromPartial(_: Partial): MsgSendResponse; - fromAmino(_: MsgSendResponseAmino): MsgSendResponse; - toAmino(_: MsgSendResponse): MsgSendResponseAmino; - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse; - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse; - toProto(message: MsgSendResponse): Uint8Array; - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg; -}; -export declare const MsgRetire: { - encode(message: MsgRetire, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRetire; - fromJSON(object: any): MsgRetire; - toJSON(message: MsgRetire): unknown; - fromPartial(object: Partial): MsgRetire; - fromAmino(object: MsgRetireAmino): MsgRetire; - toAmino(message: MsgRetire): MsgRetireAmino; - fromAminoMsg(object: MsgRetireAminoMsg): MsgRetire; - toAminoMsg(message: MsgRetire): MsgRetireAminoMsg; - fromProtoMsg(message: MsgRetireProtoMsg): MsgRetire; - toProto(message: MsgRetire): Uint8Array; - toProtoMsg(message: MsgRetire): MsgRetireProtoMsg; -}; -export declare const MsgRetireResponse: { - encode(_: MsgRetireResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRetireResponse; - fromJSON(_: any): MsgRetireResponse; - toJSON(_: MsgRetireResponse): unknown; - fromPartial(_: Partial): MsgRetireResponse; - fromAmino(_: MsgRetireResponseAmino): MsgRetireResponse; - toAmino(_: MsgRetireResponse): MsgRetireResponseAmino; - fromAminoMsg(object: MsgRetireResponseAminoMsg): MsgRetireResponse; - fromProtoMsg(message: MsgRetireResponseProtoMsg): MsgRetireResponse; - toProto(message: MsgRetireResponse): Uint8Array; - toProtoMsg(message: MsgRetireResponse): MsgRetireResponseProtoMsg; -}; -export declare const MsgCancel: { - encode(message: MsgCancel, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancel; - fromJSON(object: any): MsgCancel; - toJSON(message: MsgCancel): unknown; - fromPartial(object: Partial): MsgCancel; - fromAmino(object: MsgCancelAmino): MsgCancel; - toAmino(message: MsgCancel): MsgCancelAmino; - fromAminoMsg(object: MsgCancelAminoMsg): MsgCancel; - toAminoMsg(message: MsgCancel): MsgCancelAminoMsg; - fromProtoMsg(message: MsgCancelProtoMsg): MsgCancel; - toProto(message: MsgCancel): Uint8Array; - toProtoMsg(message: MsgCancel): MsgCancelProtoMsg; -}; -export declare const MsgCancelResponse: { - encode(_: MsgCancelResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelResponse; - fromJSON(_: any): MsgCancelResponse; - toJSON(_: MsgCancelResponse): unknown; - fromPartial(_: Partial): MsgCancelResponse; - fromAmino(_: MsgCancelResponseAmino): MsgCancelResponse; - toAmino(_: MsgCancelResponse): MsgCancelResponseAmino; - fromAminoMsg(object: MsgCancelResponseAminoMsg): MsgCancelResponse; - fromProtoMsg(message: MsgCancelResponseProtoMsg): MsgCancelResponse; - toProto(message: MsgCancelResponse): Uint8Array; - toProtoMsg(message: MsgCancelResponse): MsgCancelResponseProtoMsg; -}; -export declare const MsgUpdateClassAdmin: { - encode(message: MsgUpdateClassAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassAdmin; - fromJSON(object: any): MsgUpdateClassAdmin; - toJSON(message: MsgUpdateClassAdmin): unknown; - fromPartial(object: Partial): MsgUpdateClassAdmin; - fromAmino(object: MsgUpdateClassAdminAmino): MsgUpdateClassAdmin; - toAmino(message: MsgUpdateClassAdmin): MsgUpdateClassAdminAmino; - fromAminoMsg(object: MsgUpdateClassAdminAminoMsg): MsgUpdateClassAdmin; - toAminoMsg(message: MsgUpdateClassAdmin): MsgUpdateClassAdminAminoMsg; - fromProtoMsg(message: MsgUpdateClassAdminProtoMsg): MsgUpdateClassAdmin; - toProto(message: MsgUpdateClassAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateClassAdmin): MsgUpdateClassAdminProtoMsg; -}; -export declare const MsgUpdateClassAdminResponse: { - encode(_: MsgUpdateClassAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassAdminResponse; - fromJSON(_: any): MsgUpdateClassAdminResponse; - toJSON(_: MsgUpdateClassAdminResponse): unknown; - fromPartial(_: Partial): MsgUpdateClassAdminResponse; - fromAmino(_: MsgUpdateClassAdminResponseAmino): MsgUpdateClassAdminResponse; - toAmino(_: MsgUpdateClassAdminResponse): MsgUpdateClassAdminResponseAmino; - fromAminoMsg(object: MsgUpdateClassAdminResponseAminoMsg): MsgUpdateClassAdminResponse; - fromProtoMsg(message: MsgUpdateClassAdminResponseProtoMsg): MsgUpdateClassAdminResponse; - toProto(message: MsgUpdateClassAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClassAdminResponse): MsgUpdateClassAdminResponseProtoMsg; -}; -export declare const MsgUpdateClassIssuers: { - encode(message: MsgUpdateClassIssuers, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassIssuers; - fromJSON(object: any): MsgUpdateClassIssuers; - toJSON(message: MsgUpdateClassIssuers): unknown; - fromPartial(object: Partial): MsgUpdateClassIssuers; - fromAmino(object: MsgUpdateClassIssuersAmino): MsgUpdateClassIssuers; - toAmino(message: MsgUpdateClassIssuers): MsgUpdateClassIssuersAmino; - fromAminoMsg(object: MsgUpdateClassIssuersAminoMsg): MsgUpdateClassIssuers; - toAminoMsg(message: MsgUpdateClassIssuers): MsgUpdateClassIssuersAminoMsg; - fromProtoMsg(message: MsgUpdateClassIssuersProtoMsg): MsgUpdateClassIssuers; - toProto(message: MsgUpdateClassIssuers): Uint8Array; - toProtoMsg(message: MsgUpdateClassIssuers): MsgUpdateClassIssuersProtoMsg; -}; -export declare const MsgUpdateClassIssuersResponse: { - encode(_: MsgUpdateClassIssuersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassIssuersResponse; - fromJSON(_: any): MsgUpdateClassIssuersResponse; - toJSON(_: MsgUpdateClassIssuersResponse): unknown; - fromPartial(_: Partial): MsgUpdateClassIssuersResponse; - fromAmino(_: MsgUpdateClassIssuersResponseAmino): MsgUpdateClassIssuersResponse; - toAmino(_: MsgUpdateClassIssuersResponse): MsgUpdateClassIssuersResponseAmino; - fromAminoMsg(object: MsgUpdateClassIssuersResponseAminoMsg): MsgUpdateClassIssuersResponse; - fromProtoMsg(message: MsgUpdateClassIssuersResponseProtoMsg): MsgUpdateClassIssuersResponse; - toProto(message: MsgUpdateClassIssuersResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClassIssuersResponse): MsgUpdateClassIssuersResponseProtoMsg; -}; -export declare const MsgUpdateClassMetadata: { - encode(message: MsgUpdateClassMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassMetadata; - fromJSON(object: any): MsgUpdateClassMetadata; - toJSON(message: MsgUpdateClassMetadata): unknown; - fromPartial(object: Partial): MsgUpdateClassMetadata; - fromAmino(object: MsgUpdateClassMetadataAmino): MsgUpdateClassMetadata; - toAmino(message: MsgUpdateClassMetadata): MsgUpdateClassMetadataAmino; - fromAminoMsg(object: MsgUpdateClassMetadataAminoMsg): MsgUpdateClassMetadata; - toAminoMsg(message: MsgUpdateClassMetadata): MsgUpdateClassMetadataAminoMsg; - fromProtoMsg(message: MsgUpdateClassMetadataProtoMsg): MsgUpdateClassMetadata; - toProto(message: MsgUpdateClassMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateClassMetadata): MsgUpdateClassMetadataProtoMsg; -}; -export declare const MsgUpdateClassMetadataResponse: { - encode(_: MsgUpdateClassMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassMetadataResponse; - fromJSON(_: any): MsgUpdateClassMetadataResponse; - toJSON(_: MsgUpdateClassMetadataResponse): unknown; - fromPartial(_: Partial): MsgUpdateClassMetadataResponse; - fromAmino(_: MsgUpdateClassMetadataResponseAmino): MsgUpdateClassMetadataResponse; - toAmino(_: MsgUpdateClassMetadataResponse): MsgUpdateClassMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateClassMetadataResponseAminoMsg): MsgUpdateClassMetadataResponse; - fromProtoMsg(message: MsgUpdateClassMetadataResponseProtoMsg): MsgUpdateClassMetadataResponse; - toProto(message: MsgUpdateClassMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClassMetadataResponse): MsgUpdateClassMetadataResponseProtoMsg; -}; -export declare const MsgUpdateProjectAdmin: { - encode(message: MsgUpdateProjectAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateProjectAdmin; - fromJSON(object: any): MsgUpdateProjectAdmin; - toJSON(message: MsgUpdateProjectAdmin): unknown; - fromPartial(object: Partial): MsgUpdateProjectAdmin; - fromAmino(object: MsgUpdateProjectAdminAmino): MsgUpdateProjectAdmin; - toAmino(message: MsgUpdateProjectAdmin): MsgUpdateProjectAdminAmino; - fromAminoMsg(object: MsgUpdateProjectAdminAminoMsg): MsgUpdateProjectAdmin; - toAminoMsg(message: MsgUpdateProjectAdmin): MsgUpdateProjectAdminAminoMsg; - fromProtoMsg(message: MsgUpdateProjectAdminProtoMsg): MsgUpdateProjectAdmin; - toProto(message: MsgUpdateProjectAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateProjectAdmin): MsgUpdateProjectAdminProtoMsg; -}; -export declare const MsgUpdateProjectAdminResponse: { - encode(_: MsgUpdateProjectAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateProjectAdminResponse; - fromJSON(_: any): MsgUpdateProjectAdminResponse; - toJSON(_: MsgUpdateProjectAdminResponse): unknown; - fromPartial(_: Partial): MsgUpdateProjectAdminResponse; - fromAmino(_: MsgUpdateProjectAdminResponseAmino): MsgUpdateProjectAdminResponse; - toAmino(_: MsgUpdateProjectAdminResponse): MsgUpdateProjectAdminResponseAmino; - fromAminoMsg(object: MsgUpdateProjectAdminResponseAminoMsg): MsgUpdateProjectAdminResponse; - fromProtoMsg(message: MsgUpdateProjectAdminResponseProtoMsg): MsgUpdateProjectAdminResponse; - toProto(message: MsgUpdateProjectAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateProjectAdminResponse): MsgUpdateProjectAdminResponseProtoMsg; -}; -export declare const MsgUpdateProjectMetadata: { - encode(message: MsgUpdateProjectMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateProjectMetadata; - fromJSON(object: any): MsgUpdateProjectMetadata; - toJSON(message: MsgUpdateProjectMetadata): unknown; - fromPartial(object: Partial): MsgUpdateProjectMetadata; - fromAmino(object: MsgUpdateProjectMetadataAmino): MsgUpdateProjectMetadata; - toAmino(message: MsgUpdateProjectMetadata): MsgUpdateProjectMetadataAmino; - fromAminoMsg(object: MsgUpdateProjectMetadataAminoMsg): MsgUpdateProjectMetadata; - toAminoMsg(message: MsgUpdateProjectMetadata): MsgUpdateProjectMetadataAminoMsg; - fromProtoMsg(message: MsgUpdateProjectMetadataProtoMsg): MsgUpdateProjectMetadata; - toProto(message: MsgUpdateProjectMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateProjectMetadata): MsgUpdateProjectMetadataProtoMsg; -}; -export declare const MsgUpdateProjectMetadataResponse: { - encode(_: MsgUpdateProjectMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateProjectMetadataResponse; - fromJSON(_: any): MsgUpdateProjectMetadataResponse; - toJSON(_: MsgUpdateProjectMetadataResponse): unknown; - fromPartial(_: Partial): MsgUpdateProjectMetadataResponse; - fromAmino(_: MsgUpdateProjectMetadataResponseAmino): MsgUpdateProjectMetadataResponse; - toAmino(_: MsgUpdateProjectMetadataResponse): MsgUpdateProjectMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateProjectMetadataResponseAminoMsg): MsgUpdateProjectMetadataResponse; - fromProtoMsg(message: MsgUpdateProjectMetadataResponseProtoMsg): MsgUpdateProjectMetadataResponse; - toProto(message: MsgUpdateProjectMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateProjectMetadataResponse): MsgUpdateProjectMetadataResponseProtoMsg; -}; -export declare const MsgBridge: { - encode(message: MsgBridge, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBridge; - fromJSON(object: any): MsgBridge; - toJSON(message: MsgBridge): unknown; - fromPartial(object: Partial): MsgBridge; - fromAmino(object: MsgBridgeAmino): MsgBridge; - toAmino(message: MsgBridge): MsgBridgeAmino; - fromAminoMsg(object: MsgBridgeAminoMsg): MsgBridge; - toAminoMsg(message: MsgBridge): MsgBridgeAminoMsg; - fromProtoMsg(message: MsgBridgeProtoMsg): MsgBridge; - toProto(message: MsgBridge): Uint8Array; - toProtoMsg(message: MsgBridge): MsgBridgeProtoMsg; -}; -export declare const MsgUpdateBatchMetadata: { - encode(message: MsgUpdateBatchMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateBatchMetadata; - fromJSON(object: any): MsgUpdateBatchMetadata; - toJSON(message: MsgUpdateBatchMetadata): unknown; - fromPartial(object: Partial): MsgUpdateBatchMetadata; - fromAmino(object: MsgUpdateBatchMetadataAmino): MsgUpdateBatchMetadata; - toAmino(message: MsgUpdateBatchMetadata): MsgUpdateBatchMetadataAmino; - fromAminoMsg(object: MsgUpdateBatchMetadataAminoMsg): MsgUpdateBatchMetadata; - toAminoMsg(message: MsgUpdateBatchMetadata): MsgUpdateBatchMetadataAminoMsg; - fromProtoMsg(message: MsgUpdateBatchMetadataProtoMsg): MsgUpdateBatchMetadata; - toProto(message: MsgUpdateBatchMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateBatchMetadata): MsgUpdateBatchMetadataProtoMsg; -}; -export declare const MsgUpdateBatchMetadataResponse: { - encode(_: MsgUpdateBatchMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateBatchMetadataResponse; - fromJSON(_: any): MsgUpdateBatchMetadataResponse; - toJSON(_: MsgUpdateBatchMetadataResponse): unknown; - fromPartial(_: Partial): MsgUpdateBatchMetadataResponse; - fromAmino(_: MsgUpdateBatchMetadataResponseAmino): MsgUpdateBatchMetadataResponse; - toAmino(_: MsgUpdateBatchMetadataResponse): MsgUpdateBatchMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateBatchMetadataResponseAminoMsg): MsgUpdateBatchMetadataResponse; - fromProtoMsg(message: MsgUpdateBatchMetadataResponseProtoMsg): MsgUpdateBatchMetadataResponse; - toProto(message: MsgUpdateBatchMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateBatchMetadataResponse): MsgUpdateBatchMetadataResponseProtoMsg; -}; -export declare const MsgBridgeResponse: { - encode(_: MsgBridgeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBridgeResponse; - fromJSON(_: any): MsgBridgeResponse; - toJSON(_: MsgBridgeResponse): unknown; - fromPartial(_: Partial): MsgBridgeResponse; - fromAmino(_: MsgBridgeResponseAmino): MsgBridgeResponse; - toAmino(_: MsgBridgeResponse): MsgBridgeResponseAmino; - fromAminoMsg(object: MsgBridgeResponseAminoMsg): MsgBridgeResponse; - fromProtoMsg(message: MsgBridgeResponseProtoMsg): MsgBridgeResponse; - toProto(message: MsgBridgeResponse): Uint8Array; - toProtoMsg(message: MsgBridgeResponse): MsgBridgeResponseProtoMsg; -}; -export declare const MsgBridgeReceive: { - encode(message: MsgBridgeReceive, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBridgeReceive; - fromJSON(object: any): MsgBridgeReceive; - toJSON(message: MsgBridgeReceive): unknown; - fromPartial(object: Partial): MsgBridgeReceive; - fromAmino(object: MsgBridgeReceiveAmino): MsgBridgeReceive; - toAmino(message: MsgBridgeReceive): MsgBridgeReceiveAmino; - fromAminoMsg(object: MsgBridgeReceiveAminoMsg): MsgBridgeReceive; - toAminoMsg(message: MsgBridgeReceive): MsgBridgeReceiveAminoMsg; - fromProtoMsg(message: MsgBridgeReceiveProtoMsg): MsgBridgeReceive; - toProto(message: MsgBridgeReceive): Uint8Array; - toProtoMsg(message: MsgBridgeReceive): MsgBridgeReceiveProtoMsg; -}; -export declare const MsgBridgeReceive_Batch: { - encode(message: MsgBridgeReceive_Batch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBridgeReceive_Batch; - fromJSON(object: any): MsgBridgeReceive_Batch; - toJSON(message: MsgBridgeReceive_Batch): unknown; - fromPartial(object: Partial): MsgBridgeReceive_Batch; - fromAmino(object: MsgBridgeReceive_BatchAmino): MsgBridgeReceive_Batch; - toAmino(message: MsgBridgeReceive_Batch): MsgBridgeReceive_BatchAmino; - fromAminoMsg(object: MsgBridgeReceive_BatchAminoMsg): MsgBridgeReceive_Batch; - fromProtoMsg(message: MsgBridgeReceive_BatchProtoMsg): MsgBridgeReceive_Batch; - toProto(message: MsgBridgeReceive_Batch): Uint8Array; - toProtoMsg(message: MsgBridgeReceive_Batch): MsgBridgeReceive_BatchProtoMsg; -}; -export declare const MsgBridgeReceive_Project: { - encode(message: MsgBridgeReceive_Project, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBridgeReceive_Project; - fromJSON(object: any): MsgBridgeReceive_Project; - toJSON(message: MsgBridgeReceive_Project): unknown; - fromPartial(object: Partial): MsgBridgeReceive_Project; - fromAmino(object: MsgBridgeReceive_ProjectAmino): MsgBridgeReceive_Project; - toAmino(message: MsgBridgeReceive_Project): MsgBridgeReceive_ProjectAmino; - fromAminoMsg(object: MsgBridgeReceive_ProjectAminoMsg): MsgBridgeReceive_Project; - fromProtoMsg(message: MsgBridgeReceive_ProjectProtoMsg): MsgBridgeReceive_Project; - toProto(message: MsgBridgeReceive_Project): Uint8Array; - toProtoMsg(message: MsgBridgeReceive_Project): MsgBridgeReceive_ProjectProtoMsg; -}; -export declare const MsgBridgeReceiveResponse: { - encode(message: MsgBridgeReceiveResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBridgeReceiveResponse; - fromJSON(object: any): MsgBridgeReceiveResponse; - toJSON(message: MsgBridgeReceiveResponse): unknown; - fromPartial(object: Partial): MsgBridgeReceiveResponse; - fromAmino(object: MsgBridgeReceiveResponseAmino): MsgBridgeReceiveResponse; - toAmino(message: MsgBridgeReceiveResponse): MsgBridgeReceiveResponseAmino; - fromAminoMsg(object: MsgBridgeReceiveResponseAminoMsg): MsgBridgeReceiveResponse; - fromProtoMsg(message: MsgBridgeReceiveResponseProtoMsg): MsgBridgeReceiveResponse; - toProto(message: MsgBridgeReceiveResponse): Uint8Array; - toProtoMsg(message: MsgBridgeReceiveResponse): MsgBridgeReceiveResponseProtoMsg; -}; -export declare const MsgAddClassCreator: { - encode(message: MsgAddClassCreator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddClassCreator; - fromJSON(object: any): MsgAddClassCreator; - toJSON(message: MsgAddClassCreator): unknown; - fromPartial(object: Partial): MsgAddClassCreator; - fromAmino(object: MsgAddClassCreatorAmino): MsgAddClassCreator; - toAmino(message: MsgAddClassCreator): MsgAddClassCreatorAmino; - fromAminoMsg(object: MsgAddClassCreatorAminoMsg): MsgAddClassCreator; - toAminoMsg(message: MsgAddClassCreator): MsgAddClassCreatorAminoMsg; - fromProtoMsg(message: MsgAddClassCreatorProtoMsg): MsgAddClassCreator; - toProto(message: MsgAddClassCreator): Uint8Array; - toProtoMsg(message: MsgAddClassCreator): MsgAddClassCreatorProtoMsg; -}; -export declare const MsgAddClassCreatorResponse: { - encode(_: MsgAddClassCreatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddClassCreatorResponse; - fromJSON(_: any): MsgAddClassCreatorResponse; - toJSON(_: MsgAddClassCreatorResponse): unknown; - fromPartial(_: Partial): MsgAddClassCreatorResponse; - fromAmino(_: MsgAddClassCreatorResponseAmino): MsgAddClassCreatorResponse; - toAmino(_: MsgAddClassCreatorResponse): MsgAddClassCreatorResponseAmino; - fromAminoMsg(object: MsgAddClassCreatorResponseAminoMsg): MsgAddClassCreatorResponse; - fromProtoMsg(message: MsgAddClassCreatorResponseProtoMsg): MsgAddClassCreatorResponse; - toProto(message: MsgAddClassCreatorResponse): Uint8Array; - toProtoMsg(message: MsgAddClassCreatorResponse): MsgAddClassCreatorResponseProtoMsg; -}; -export declare const MsgSetClassCreatorAllowlist: { - encode(message: MsgSetClassCreatorAllowlist, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetClassCreatorAllowlist; - fromJSON(object: any): MsgSetClassCreatorAllowlist; - toJSON(message: MsgSetClassCreatorAllowlist): unknown; - fromPartial(object: Partial): MsgSetClassCreatorAllowlist; - fromAmino(object: MsgSetClassCreatorAllowlistAmino): MsgSetClassCreatorAllowlist; - toAmino(message: MsgSetClassCreatorAllowlist): MsgSetClassCreatorAllowlistAmino; - fromAminoMsg(object: MsgSetClassCreatorAllowlistAminoMsg): MsgSetClassCreatorAllowlist; - toAminoMsg(message: MsgSetClassCreatorAllowlist): MsgSetClassCreatorAllowlistAminoMsg; - fromProtoMsg(message: MsgSetClassCreatorAllowlistProtoMsg): MsgSetClassCreatorAllowlist; - toProto(message: MsgSetClassCreatorAllowlist): Uint8Array; - toProtoMsg(message: MsgSetClassCreatorAllowlist): MsgSetClassCreatorAllowlistProtoMsg; -}; -export declare const MsgSetClassCreatorAllowlistResponse: { - encode(_: MsgSetClassCreatorAllowlistResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetClassCreatorAllowlistResponse; - fromJSON(_: any): MsgSetClassCreatorAllowlistResponse; - toJSON(_: MsgSetClassCreatorAllowlistResponse): unknown; - fromPartial(_: Partial): MsgSetClassCreatorAllowlistResponse; - fromAmino(_: MsgSetClassCreatorAllowlistResponseAmino): MsgSetClassCreatorAllowlistResponse; - toAmino(_: MsgSetClassCreatorAllowlistResponse): MsgSetClassCreatorAllowlistResponseAmino; - fromAminoMsg(object: MsgSetClassCreatorAllowlistResponseAminoMsg): MsgSetClassCreatorAllowlistResponse; - fromProtoMsg(message: MsgSetClassCreatorAllowlistResponseProtoMsg): MsgSetClassCreatorAllowlistResponse; - toProto(message: MsgSetClassCreatorAllowlistResponse): Uint8Array; - toProtoMsg(message: MsgSetClassCreatorAllowlistResponse): MsgSetClassCreatorAllowlistResponseProtoMsg; -}; -export declare const MsgRemoveClassCreator: { - encode(message: MsgRemoveClassCreator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveClassCreator; - fromJSON(object: any): MsgRemoveClassCreator; - toJSON(message: MsgRemoveClassCreator): unknown; - fromPartial(object: Partial): MsgRemoveClassCreator; - fromAmino(object: MsgRemoveClassCreatorAmino): MsgRemoveClassCreator; - toAmino(message: MsgRemoveClassCreator): MsgRemoveClassCreatorAmino; - fromAminoMsg(object: MsgRemoveClassCreatorAminoMsg): MsgRemoveClassCreator; - toAminoMsg(message: MsgRemoveClassCreator): MsgRemoveClassCreatorAminoMsg; - fromProtoMsg(message: MsgRemoveClassCreatorProtoMsg): MsgRemoveClassCreator; - toProto(message: MsgRemoveClassCreator): Uint8Array; - toProtoMsg(message: MsgRemoveClassCreator): MsgRemoveClassCreatorProtoMsg; -}; -export declare const MsgRemoveClassCreatorResponse: { - encode(_: MsgRemoveClassCreatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveClassCreatorResponse; - fromJSON(_: any): MsgRemoveClassCreatorResponse; - toJSON(_: MsgRemoveClassCreatorResponse): unknown; - fromPartial(_: Partial): MsgRemoveClassCreatorResponse; - fromAmino(_: MsgRemoveClassCreatorResponseAmino): MsgRemoveClassCreatorResponse; - toAmino(_: MsgRemoveClassCreatorResponse): MsgRemoveClassCreatorResponseAmino; - fromAminoMsg(object: MsgRemoveClassCreatorResponseAminoMsg): MsgRemoveClassCreatorResponse; - fromProtoMsg(message: MsgRemoveClassCreatorResponseProtoMsg): MsgRemoveClassCreatorResponse; - toProto(message: MsgRemoveClassCreatorResponse): Uint8Array; - toProtoMsg(message: MsgRemoveClassCreatorResponse): MsgRemoveClassCreatorResponseProtoMsg; -}; -export declare const MsgUpdateClassFee: { - encode(message: MsgUpdateClassFee, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassFee; - fromJSON(object: any): MsgUpdateClassFee; - toJSON(message: MsgUpdateClassFee): unknown; - fromPartial(object: Partial): MsgUpdateClassFee; - fromAmino(object: MsgUpdateClassFeeAmino): MsgUpdateClassFee; - toAmino(message: MsgUpdateClassFee): MsgUpdateClassFeeAmino; - fromAminoMsg(object: MsgUpdateClassFeeAminoMsg): MsgUpdateClassFee; - toAminoMsg(message: MsgUpdateClassFee): MsgUpdateClassFeeAminoMsg; - fromProtoMsg(message: MsgUpdateClassFeeProtoMsg): MsgUpdateClassFee; - toProto(message: MsgUpdateClassFee): Uint8Array; - toProtoMsg(message: MsgUpdateClassFee): MsgUpdateClassFeeProtoMsg; -}; -export declare const MsgUpdateClassFeeResponse: { - encode(_: MsgUpdateClassFeeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassFeeResponse; - fromJSON(_: any): MsgUpdateClassFeeResponse; - toJSON(_: MsgUpdateClassFeeResponse): unknown; - fromPartial(_: Partial): MsgUpdateClassFeeResponse; - fromAmino(_: MsgUpdateClassFeeResponseAmino): MsgUpdateClassFeeResponse; - toAmino(_: MsgUpdateClassFeeResponse): MsgUpdateClassFeeResponseAmino; - fromAminoMsg(object: MsgUpdateClassFeeResponseAminoMsg): MsgUpdateClassFeeResponse; - fromProtoMsg(message: MsgUpdateClassFeeResponseProtoMsg): MsgUpdateClassFeeResponse; - toProto(message: MsgUpdateClassFeeResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClassFeeResponse): MsgUpdateClassFeeResponseProtoMsg; -}; -export declare const MsgAddAllowedBridgeChain: { - encode(message: MsgAddAllowedBridgeChain, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddAllowedBridgeChain; - fromJSON(object: any): MsgAddAllowedBridgeChain; - toJSON(message: MsgAddAllowedBridgeChain): unknown; - fromPartial(object: Partial): MsgAddAllowedBridgeChain; - fromAmino(object: MsgAddAllowedBridgeChainAmino): MsgAddAllowedBridgeChain; - toAmino(message: MsgAddAllowedBridgeChain): MsgAddAllowedBridgeChainAmino; - fromAminoMsg(object: MsgAddAllowedBridgeChainAminoMsg): MsgAddAllowedBridgeChain; - toAminoMsg(message: MsgAddAllowedBridgeChain): MsgAddAllowedBridgeChainAminoMsg; - fromProtoMsg(message: MsgAddAllowedBridgeChainProtoMsg): MsgAddAllowedBridgeChain; - toProto(message: MsgAddAllowedBridgeChain): Uint8Array; - toProtoMsg(message: MsgAddAllowedBridgeChain): MsgAddAllowedBridgeChainProtoMsg; -}; -export declare const MsgAddAllowedBridgeChainResponse: { - encode(_: MsgAddAllowedBridgeChainResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddAllowedBridgeChainResponse; - fromJSON(_: any): MsgAddAllowedBridgeChainResponse; - toJSON(_: MsgAddAllowedBridgeChainResponse): unknown; - fromPartial(_: Partial): MsgAddAllowedBridgeChainResponse; - fromAmino(_: MsgAddAllowedBridgeChainResponseAmino): MsgAddAllowedBridgeChainResponse; - toAmino(_: MsgAddAllowedBridgeChainResponse): MsgAddAllowedBridgeChainResponseAmino; - fromAminoMsg(object: MsgAddAllowedBridgeChainResponseAminoMsg): MsgAddAllowedBridgeChainResponse; - fromProtoMsg(message: MsgAddAllowedBridgeChainResponseProtoMsg): MsgAddAllowedBridgeChainResponse; - toProto(message: MsgAddAllowedBridgeChainResponse): Uint8Array; - toProtoMsg(message: MsgAddAllowedBridgeChainResponse): MsgAddAllowedBridgeChainResponseProtoMsg; -}; -export declare const MsgRemoveAllowedBridgeChain: { - encode(message: MsgRemoveAllowedBridgeChain, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveAllowedBridgeChain; - fromJSON(object: any): MsgRemoveAllowedBridgeChain; - toJSON(message: MsgRemoveAllowedBridgeChain): unknown; - fromPartial(object: Partial): MsgRemoveAllowedBridgeChain; - fromAmino(object: MsgRemoveAllowedBridgeChainAmino): MsgRemoveAllowedBridgeChain; - toAmino(message: MsgRemoveAllowedBridgeChain): MsgRemoveAllowedBridgeChainAmino; - fromAminoMsg(object: MsgRemoveAllowedBridgeChainAminoMsg): MsgRemoveAllowedBridgeChain; - toAminoMsg(message: MsgRemoveAllowedBridgeChain): MsgRemoveAllowedBridgeChainAminoMsg; - fromProtoMsg(message: MsgRemoveAllowedBridgeChainProtoMsg): MsgRemoveAllowedBridgeChain; - toProto(message: MsgRemoveAllowedBridgeChain): Uint8Array; - toProtoMsg(message: MsgRemoveAllowedBridgeChain): MsgRemoveAllowedBridgeChainProtoMsg; -}; -export declare const MsgRemoveAllowedBridgeChainResponse: { - encode(_: MsgRemoveAllowedBridgeChainResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveAllowedBridgeChainResponse; - fromJSON(_: any): MsgRemoveAllowedBridgeChainResponse; - toJSON(_: MsgRemoveAllowedBridgeChainResponse): unknown; - fromPartial(_: Partial): MsgRemoveAllowedBridgeChainResponse; - fromAmino(_: MsgRemoveAllowedBridgeChainResponseAmino): MsgRemoveAllowedBridgeChainResponse; - toAmino(_: MsgRemoveAllowedBridgeChainResponse): MsgRemoveAllowedBridgeChainResponseAmino; - fromAminoMsg(object: MsgRemoveAllowedBridgeChainResponseAminoMsg): MsgRemoveAllowedBridgeChainResponse; - fromProtoMsg(message: MsgRemoveAllowedBridgeChainResponseProtoMsg): MsgRemoveAllowedBridgeChainResponse; - toProto(message: MsgRemoveAllowedBridgeChainResponse): Uint8Array; - toProtoMsg(message: MsgRemoveAllowedBridgeChainResponse): MsgRemoveAllowedBridgeChainResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/tx.registry.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/tx.registry.d.ts deleted file mode 100644 index 1d6c74f9..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/tx.registry.d.ts +++ /dev/null @@ -1,476 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateClass, MsgCreateProject, MsgCreateBatch, MsgMintBatchCredits, MsgSealBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata, MsgUpdateProjectAdmin, MsgUpdateProjectMetadata, MsgUpdateBatchMetadata, MsgBridge, MsgBridgeReceive, MsgAddCreditType, MsgSetClassCreatorAllowlist, MsgAddClassCreator, MsgRemoveClassCreator, MsgUpdateClassFee, MsgAddAllowedBridgeChain, MsgRemoveAllowedBridgeChain } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: Uint8Array; - }; - createProject(value: MsgCreateProject): { - typeUrl: string; - value: Uint8Array; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: Uint8Array; - }; - mintBatchCredits(value: MsgMintBatchCredits): { - typeUrl: string; - value: Uint8Array; - }; - sealBatch(value: MsgSealBatch): { - typeUrl: string; - value: Uint8Array; - }; - send(value: MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: Uint8Array; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: Uint8Array; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: Uint8Array; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: Uint8Array; - }; - updateProjectAdmin(value: MsgUpdateProjectAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateProjectMetadata(value: MsgUpdateProjectMetadata): { - typeUrl: string; - value: Uint8Array; - }; - updateBatchMetadata(value: MsgUpdateBatchMetadata): { - typeUrl: string; - value: Uint8Array; - }; - bridge(value: MsgBridge): { - typeUrl: string; - value: Uint8Array; - }; - bridgeReceive(value: MsgBridgeReceive): { - typeUrl: string; - value: Uint8Array; - }; - addCreditType(value: MsgAddCreditType): { - typeUrl: string; - value: Uint8Array; - }; - setClassCreatorAllowlist(value: MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: Uint8Array; - }; - addClassCreator(value: MsgAddClassCreator): { - typeUrl: string; - value: Uint8Array; - }; - removeClassCreator(value: MsgRemoveClassCreator): { - typeUrl: string; - value: Uint8Array; - }; - updateClassFee(value: MsgUpdateClassFee): { - typeUrl: string; - value: Uint8Array; - }; - addAllowedBridgeChain(value: MsgAddAllowedBridgeChain): { - typeUrl: string; - value: Uint8Array; - }; - removeAllowedBridgeChain(value: MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: MsgCreateClass; - }; - createProject(value: MsgCreateProject): { - typeUrl: string; - value: MsgCreateProject; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: MsgCreateBatch; - }; - mintBatchCredits(value: MsgMintBatchCredits): { - typeUrl: string; - value: MsgMintBatchCredits; - }; - sealBatch(value: MsgSealBatch): { - typeUrl: string; - value: MsgSealBatch; - }; - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: MsgRetire; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: MsgCancel; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: MsgUpdateClassAdmin; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: MsgUpdateClassIssuers; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: MsgUpdateClassMetadata; - }; - updateProjectAdmin(value: MsgUpdateProjectAdmin): { - typeUrl: string; - value: MsgUpdateProjectAdmin; - }; - updateProjectMetadata(value: MsgUpdateProjectMetadata): { - typeUrl: string; - value: MsgUpdateProjectMetadata; - }; - updateBatchMetadata(value: MsgUpdateBatchMetadata): { - typeUrl: string; - value: MsgUpdateBatchMetadata; - }; - bridge(value: MsgBridge): { - typeUrl: string; - value: MsgBridge; - }; - bridgeReceive(value: MsgBridgeReceive): { - typeUrl: string; - value: MsgBridgeReceive; - }; - addCreditType(value: MsgAddCreditType): { - typeUrl: string; - value: MsgAddCreditType; - }; - setClassCreatorAllowlist(value: MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: MsgSetClassCreatorAllowlist; - }; - addClassCreator(value: MsgAddClassCreator): { - typeUrl: string; - value: MsgAddClassCreator; - }; - removeClassCreator(value: MsgRemoveClassCreator): { - typeUrl: string; - value: MsgRemoveClassCreator; - }; - updateClassFee(value: MsgUpdateClassFee): { - typeUrl: string; - value: MsgUpdateClassFee; - }; - addAllowedBridgeChain(value: MsgAddAllowedBridgeChain): { - typeUrl: string; - value: MsgAddAllowedBridgeChain; - }; - removeAllowedBridgeChain(value: MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: MsgRemoveAllowedBridgeChain; - }; - }; - toJSON: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: unknown; - }; - createProject(value: MsgCreateProject): { - typeUrl: string; - value: unknown; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: unknown; - }; - mintBatchCredits(value: MsgMintBatchCredits): { - typeUrl: string; - value: unknown; - }; - sealBatch(value: MsgSealBatch): { - typeUrl: string; - value: unknown; - }; - send(value: MsgSend): { - typeUrl: string; - value: unknown; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: unknown; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: unknown; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: unknown; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: unknown; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: unknown; - }; - updateProjectAdmin(value: MsgUpdateProjectAdmin): { - typeUrl: string; - value: unknown; - }; - updateProjectMetadata(value: MsgUpdateProjectMetadata): { - typeUrl: string; - value: unknown; - }; - updateBatchMetadata(value: MsgUpdateBatchMetadata): { - typeUrl: string; - value: unknown; - }; - bridge(value: MsgBridge): { - typeUrl: string; - value: unknown; - }; - bridgeReceive(value: MsgBridgeReceive): { - typeUrl: string; - value: unknown; - }; - addCreditType(value: MsgAddCreditType): { - typeUrl: string; - value: unknown; - }; - setClassCreatorAllowlist(value: MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: unknown; - }; - addClassCreator(value: MsgAddClassCreator): { - typeUrl: string; - value: unknown; - }; - removeClassCreator(value: MsgRemoveClassCreator): { - typeUrl: string; - value: unknown; - }; - updateClassFee(value: MsgUpdateClassFee): { - typeUrl: string; - value: unknown; - }; - addAllowedBridgeChain(value: MsgAddAllowedBridgeChain): { - typeUrl: string; - value: unknown; - }; - removeAllowedBridgeChain(value: MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClass(value: any): { - typeUrl: string; - value: MsgCreateClass; - }; - createProject(value: any): { - typeUrl: string; - value: MsgCreateProject; - }; - createBatch(value: any): { - typeUrl: string; - value: MsgCreateBatch; - }; - mintBatchCredits(value: any): { - typeUrl: string; - value: MsgMintBatchCredits; - }; - sealBatch(value: any): { - typeUrl: string; - value: MsgSealBatch; - }; - send(value: any): { - typeUrl: string; - value: MsgSend; - }; - retire(value: any): { - typeUrl: string; - value: MsgRetire; - }; - cancel(value: any): { - typeUrl: string; - value: MsgCancel; - }; - updateClassAdmin(value: any): { - typeUrl: string; - value: MsgUpdateClassAdmin; - }; - updateClassIssuers(value: any): { - typeUrl: string; - value: MsgUpdateClassIssuers; - }; - updateClassMetadata(value: any): { - typeUrl: string; - value: MsgUpdateClassMetadata; - }; - updateProjectAdmin(value: any): { - typeUrl: string; - value: MsgUpdateProjectAdmin; - }; - updateProjectMetadata(value: any): { - typeUrl: string; - value: MsgUpdateProjectMetadata; - }; - updateBatchMetadata(value: any): { - typeUrl: string; - value: MsgUpdateBatchMetadata; - }; - bridge(value: any): { - typeUrl: string; - value: MsgBridge; - }; - bridgeReceive(value: any): { - typeUrl: string; - value: MsgBridgeReceive; - }; - addCreditType(value: any): { - typeUrl: string; - value: MsgAddCreditType; - }; - setClassCreatorAllowlist(value: any): { - typeUrl: string; - value: MsgSetClassCreatorAllowlist; - }; - addClassCreator(value: any): { - typeUrl: string; - value: MsgAddClassCreator; - }; - removeClassCreator(value: any): { - typeUrl: string; - value: MsgRemoveClassCreator; - }; - updateClassFee(value: any): { - typeUrl: string; - value: MsgUpdateClassFee; - }; - addAllowedBridgeChain(value: any): { - typeUrl: string; - value: MsgAddAllowedBridgeChain; - }; - removeAllowedBridgeChain(value: any): { - typeUrl: string; - value: MsgRemoveAllowedBridgeChain; - }; - }; - fromPartial: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: MsgCreateClass; - }; - createProject(value: MsgCreateProject): { - typeUrl: string; - value: MsgCreateProject; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: MsgCreateBatch; - }; - mintBatchCredits(value: MsgMintBatchCredits): { - typeUrl: string; - value: MsgMintBatchCredits; - }; - sealBatch(value: MsgSealBatch): { - typeUrl: string; - value: MsgSealBatch; - }; - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: MsgRetire; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: MsgCancel; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: MsgUpdateClassAdmin; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: MsgUpdateClassIssuers; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: MsgUpdateClassMetadata; - }; - updateProjectAdmin(value: MsgUpdateProjectAdmin): { - typeUrl: string; - value: MsgUpdateProjectAdmin; - }; - updateProjectMetadata(value: MsgUpdateProjectMetadata): { - typeUrl: string; - value: MsgUpdateProjectMetadata; - }; - updateBatchMetadata(value: MsgUpdateBatchMetadata): { - typeUrl: string; - value: MsgUpdateBatchMetadata; - }; - bridge(value: MsgBridge): { - typeUrl: string; - value: MsgBridge; - }; - bridgeReceive(value: MsgBridgeReceive): { - typeUrl: string; - value: MsgBridgeReceive; - }; - addCreditType(value: MsgAddCreditType): { - typeUrl: string; - value: MsgAddCreditType; - }; - setClassCreatorAllowlist(value: MsgSetClassCreatorAllowlist): { - typeUrl: string; - value: MsgSetClassCreatorAllowlist; - }; - addClassCreator(value: MsgAddClassCreator): { - typeUrl: string; - value: MsgAddClassCreator; - }; - removeClassCreator(value: MsgRemoveClassCreator): { - typeUrl: string; - value: MsgRemoveClassCreator; - }; - updateClassFee(value: MsgUpdateClassFee): { - typeUrl: string; - value: MsgUpdateClassFee; - }; - addAllowedBridgeChain(value: MsgAddAllowedBridgeChain): { - typeUrl: string; - value: MsgAddAllowedBridgeChain; - }; - removeAllowedBridgeChain(value: MsgRemoveAllowedBridgeChain): { - typeUrl: string; - value: MsgRemoveAllowedBridgeChain; - }; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/tx.rpc.msg.d.ts deleted file mode 100644 index cddea8c1..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgCreateClass, MsgCreateClassResponse, MsgCreateProject, MsgCreateProjectResponse, MsgCreateBatch, MsgCreateBatchResponse, MsgMintBatchCredits, MsgMintBatchCreditsResponse, MsgSealBatch, MsgSealBatchResponse, MsgSend, MsgSendResponse, MsgRetire, MsgRetireResponse, MsgCancel, MsgCancelResponse, MsgUpdateClassAdmin, MsgUpdateClassAdminResponse, MsgUpdateClassIssuers, MsgUpdateClassIssuersResponse, MsgUpdateClassMetadata, MsgUpdateClassMetadataResponse, MsgUpdateProjectAdmin, MsgUpdateProjectAdminResponse, MsgUpdateProjectMetadata, MsgUpdateProjectMetadataResponse, MsgUpdateBatchMetadata, MsgUpdateBatchMetadataResponse, MsgBridge, MsgBridgeResponse, MsgBridgeReceive, MsgBridgeReceiveResponse, MsgAddCreditType, MsgAddCreditTypeResponse, MsgSetClassCreatorAllowlist, MsgSetClassCreatorAllowlistResponse, MsgAddClassCreator, MsgAddClassCreatorResponse, MsgRemoveClassCreator, MsgRemoveClassCreatorResponse, MsgUpdateClassFee, MsgUpdateClassFeeResponse, MsgAddAllowedBridgeChain, MsgAddAllowedBridgeChainResponse, MsgRemoveAllowedBridgeChain, MsgRemoveAllowedBridgeChainResponse } from "./tx"; -/** Msg is the regen.ecocredit.v1 Msg service. */ -export interface Msg { - /** - * CreateClass creates a new credit class under the given credit type with an - * approved list of issuers and optional metadata. If the class fee parameter - * is set, the fee field must be populated with equal value. A greater fee can - * be provided, however, the creator will only be charged the amount specified - * in the fee parameter. The creator of the credit class becomes the admin of - * the credit class upon creation. - */ - createClass(request: MsgCreateClass): Promise; - /** - * CreateProject creates a new project under the given credit class with a - * jurisdiction, optional metadata, and an optional reference ID. The creator - * of the project must be an approved credit class issuer for the given credit - * class. The creator becomes the admin of the project upon creation. - */ - createProject(request: MsgCreateProject): Promise; - /** - * CreateBatch creates a new batch of credits under the given project with a - * start and end date representing the monitoring period, a list of credits to - * be issued with each issuance specifying a recipient, the amount of tradable - * and retired credits, and the retirement jurisdiction (if credits are to be - * retired upon receipt), and optional metadata. The credit batch creator must - * be listed as an approved issuer within the credit class of the project that - * the credits are being issued under. - * - * The default behavior is for a new credit batch to be "sealed" as opposed to - * being "open". When a credit batch is "open", new credits can be dynamically - * minted to the credit batch following the creation of the credit batch. This - * "open" option should only be set to true when bridging credits from another - * chain or registry as a result of a bridge operation and is not intended for - * native credit issuance. - */ - createBatch(request: MsgCreateBatch): Promise; - /** - * MintBatchCredits dynamically mints credits to an "open" credit batch. This - * feature is only meant to be used when bridging credits from another chain - * or registry and is not intended for native credit issuance. When bridging - * credits from the same vintage (or monitoring period) as an existing credit - * batch, the credits can be dynamically minted to the existing credit batch - * if the credit batch is "open". - */ - mintBatchCredits(request: MsgMintBatchCredits): Promise; - /** - * MsgSealBatch seals an "open" credit batch. Once a credit batch is sealed - * (i.e. once "open" is set to false), credits can no longer be dynamically - * minted to the credit batch. A sealed credit batch cannot be unsealed and - * only the credit batch issuer can seal a credit batch. - */ - sealBatch(request: MsgSealBatch): Promise; - /** - * Send sends a specified amount of tradable credits from the credit owner's - * account to another account. Sent credits can either remain tradable or be - * retired upon receipt. - */ - send(request: MsgSend): Promise; - /** - * Retire retires a specified amount of tradable credits, removing the amount - * from the credit owner's tradable balance and adding it to their retired - * balance. Retiring credits is permanent and implies the credits are being - * consumed as a offset. - */ - retire(request: MsgRetire): Promise; - /** - * Cancel cancels a specified amount of tradable credits, removing the amount - * from the credit owner's tradable balance and removing the amount from the - * credit batch's tradable supply. Cancelling credits is permanent and implies - * the credits have been moved to another chain or registry. - */ - cancel(request: MsgCancel): Promise; - /** - * UpdateClassAdmin updates the credit class admin. Only the admin of the - * credit class can update the credit class. - */ - updateClassAdmin(request: MsgUpdateClassAdmin): Promise; - /** - * UpdateClassIssuers updates the credit class issuer list. Only the admin of - * the credit class can update the credit class. - */ - updateClassIssuers(request: MsgUpdateClassIssuers): Promise; - /** - * UpdateClassMetadata updates the credit class metadata. Only the admin of - * the credit class can update the credit class. - */ - updateClassMetadata(request: MsgUpdateClassMetadata): Promise; - /** - * UpdateProjectAdmin updates the project admin address. Only the admin of the - * project can update the project. - */ - updateProjectAdmin(request: MsgUpdateProjectAdmin): Promise; - /** - * UpdateProjectMetadata updates the project metadata. Only the admin of the - * project can update the project. - */ - updateProjectMetadata(request: MsgUpdateProjectMetadata): Promise; - /** - * UpdateBatchMetadata updates the batch metadata. Only an "open" batch can be - * updated and only the issuer of the batch can update the batch. - * - * Since Revision 2 - */ - updateBatchMetadata(request: MsgUpdateBatchMetadata): Promise; - /** - * Bridge processes credits being sent back to the source chain. When credits - * are sent back to the source chain, the credits are cancelled and an event - * is emitted to be handled by an external bridge service. - */ - bridge(request: MsgBridge): Promise; - /** - * BridgeReceive processes credits being sent from another chain. When the - * credits are sent from the same vintage as an existing credit batch within - * the scope of the provided credit class, the credits will be minted to the - * existing credit batch, otherwise the credits will be issued in a new credit - * batch. The new credit batch will be created under an existing project if a - * project with a matching reference id already exists within the scope of the - * credit class, otherwise a new project will be created. - */ - bridgeReceive(request: MsgBridgeReceive): Promise; - /** - * AddCreditType is a governance method that allows the addition of new - * credit types to the network. - * - * Since Revision 2 - */ - addCreditType(request: MsgAddCreditType): Promise; - /** - * SetClassCreatorAllowlist is a governance method that updates the class - * creator allowlist enabled setting. When enabled, only addresses listed in - * the allowlist can create credit classes. When disabled, any address can - * create credit classes. - * - * Since Revision 2 - */ - setClassCreatorAllowlist(request: MsgSetClassCreatorAllowlist): Promise; - /** - * AddClassCreator is a governance method that allows the addition of a new - * address to the class creation allowlist. - * - * Since Revision 2 - */ - addClassCreator(request: MsgAddClassCreator): Promise; - /** - * RemoveClassCreator is a governance method that removes an - * address from the class creation allowlist. - * - * Since Revision 2 - */ - removeClassCreator(request: MsgRemoveClassCreator): Promise; - /** - * UpdateClassFee is a governance method that allows for updating the credit - * class creation fee. If no fee is specified in the request, the credit - * class creation fee will be removed and no fee will be required to create - * a credit class. - * - * Since Revision 2 - */ - updateClassFee(request: MsgUpdateClassFee): Promise; - /** - * AddAllowedBridgeChain is a governance method that allows for the - * addition of a chain to bridge ecocredits to. - * - * Since Revision 2 - */ - addAllowedBridgeChain(request: MsgAddAllowedBridgeChain): Promise; - /** - * RemoveAllowedBridgeChain is a governance method that allows for the - * removal of a chain to bridge ecocredits to. - * - * Since Revision 2 - */ - removeAllowedBridgeChain(request: MsgRemoveAllowedBridgeChain): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createClass(request: MsgCreateClass): Promise; - createProject(request: MsgCreateProject): Promise; - createBatch(request: MsgCreateBatch): Promise; - mintBatchCredits(request: MsgMintBatchCredits): Promise; - sealBatch(request: MsgSealBatch): Promise; - send(request: MsgSend): Promise; - retire(request: MsgRetire): Promise; - cancel(request: MsgCancel): Promise; - updateClassAdmin(request: MsgUpdateClassAdmin): Promise; - updateClassIssuers(request: MsgUpdateClassIssuers): Promise; - updateClassMetadata(request: MsgUpdateClassMetadata): Promise; - updateProjectAdmin(request: MsgUpdateProjectAdmin): Promise; - updateProjectMetadata(request: MsgUpdateProjectMetadata): Promise; - updateBatchMetadata(request: MsgUpdateBatchMetadata): Promise; - bridge(request: MsgBridge): Promise; - bridgeReceive(request: MsgBridgeReceive): Promise; - addCreditType(request: MsgAddCreditType): Promise; - setClassCreatorAllowlist(request: MsgSetClassCreatorAllowlist): Promise; - addClassCreator(request: MsgAddClassCreator): Promise; - removeClassCreator(request: MsgRemoveClassCreator): Promise; - updateClassFee(request: MsgUpdateClassFee): Promise; - addAllowedBridgeChain(request: MsgAddAllowedBridgeChain): Promise; - removeAllowedBridgeChain(request: MsgRemoveAllowedBridgeChain): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/v1/types.d.ts b/packages/api/types/codegen/regen/ecocredit/v1/types.d.ts deleted file mode 100644 index 2ec137d9..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1/types.d.ts +++ /dev/null @@ -1,499 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { CreditType, CreditTypeAmino, CreditTypeSDKType } from "./state"; -import * as _m0 from "protobufjs/minimal"; -/** - * Params defines the updatable global parameters of the ecocredit module for - * use with the x/params module. - */ -export interface Params { - /** - * credit_class_fee is a list of credit class creation fees accepted when - * creating a credit class. Any fee listed is accepted and charged to the - * credit class creator when creating a credit class. - */ - creditClassFee: Coin[]; - /** - * basket_fee is a list of basket creation fees accepted when creating a - * basket. Any fee listed is accepted and charged to the basket creator when - * creating a basket. - */ - basketFee: Coin[]; - /** - * allowed_class_creators is an allowlist defining the addresses with the - * required permissions to create credit classes when allowlist_enabled is set - * to true. If allowlist_enabled is set to false, this list has no effect. - */ - allowedClassCreators: string[]; - /** - * allowlist_enabled determines whether or not the allowlist for creating - * credit classes is enabled. When set to true, only the addresses listed in - * allowed_class_creators can create credit classes. When set to false, any - * address can create credit classes. - */ - allowlistEnabled: boolean; - /** - * allowed_denoms is a list of bank denoms allowed to be used in the ask price - * of sell orders. - * - * Since Revision 2 - */ - allowedDenoms: AllowedDenom[]; - /** - * AllowedBridgeChains is a list of chain names that are allowed to be used in - * bridge operations. - * - * Since Revision 2 - */ - allowedBridgeChains: string[]; -} -export interface ParamsProtoMsg { - typeUrl: "/regen.ecocredit.v1.Params"; - value: Uint8Array; -} -/** - * Params defines the updatable global parameters of the ecocredit module for - * use with the x/params module. - */ -export interface ParamsAmino { - /** - * credit_class_fee is a list of credit class creation fees accepted when - * creating a credit class. Any fee listed is accepted and charged to the - * credit class creator when creating a credit class. - */ - credit_class_fee: CoinAmino[]; - /** - * basket_fee is a list of basket creation fees accepted when creating a - * basket. Any fee listed is accepted and charged to the basket creator when - * creating a basket. - */ - basket_fee: CoinAmino[]; - /** - * allowed_class_creators is an allowlist defining the addresses with the - * required permissions to create credit classes when allowlist_enabled is set - * to true. If allowlist_enabled is set to false, this list has no effect. - */ - allowed_class_creators: string[]; - /** - * allowlist_enabled determines whether or not the allowlist for creating - * credit classes is enabled. When set to true, only the addresses listed in - * allowed_class_creators can create credit classes. When set to false, any - * address can create credit classes. - */ - allowlist_enabled: boolean; - /** - * allowed_denoms is a list of bank denoms allowed to be used in the ask price - * of sell orders. - * - * Since Revision 2 - */ - allowed_denoms: AllowedDenomAmino[]; - /** - * AllowedBridgeChains is a list of chain names that are allowed to be used in - * bridge operations. - * - * Since Revision 2 - */ - allowed_bridge_chains: string[]; -} -export interface ParamsAminoMsg { - type: "/regen.ecocredit.v1.Params"; - value: ParamsAmino; -} -/** - * Params defines the updatable global parameters of the ecocredit module for - * use with the x/params module. - */ -export interface ParamsSDKType { - credit_class_fee: CoinSDKType[]; - basket_fee: CoinSDKType[]; - allowed_class_creators: string[]; - allowlist_enabled: boolean; - allowed_denoms: AllowedDenomSDKType[]; - allowed_bridge_chains: string[]; -} -/** Credits represents a simple structure for credits. */ -export interface Credits { - /** batch_denom is the denom of the credit batch. */ - batchDenom: string; - /** amount is the amount of credits. */ - amount: string; -} -export interface CreditsProtoMsg { - typeUrl: "/regen.ecocredit.v1.Credits"; - value: Uint8Array; -} -/** Credits represents a simple structure for credits. */ -export interface CreditsAmino { - /** batch_denom is the denom of the credit batch. */ - batch_denom: string; - /** amount is the amount of credits. */ - amount: string; -} -export interface CreditsAminoMsg { - type: "/regen.ecocredit.v1.Credits"; - value: CreditsAmino; -} -/** Credits represents a simple structure for credits. */ -export interface CreditsSDKType { - batch_denom: string; - amount: string; -} -/** BatchIssuance represents a simple structure for a credit batch issuance. */ -export interface BatchIssuance { - /** recipient is the address of the account receiving the issued credits. */ - recipient: string; - /** - * tradable_amount is the amount of credits that the recipient will receive in - * a tradable state. The number of decimal places must be less than or equal - * to the credit type precision. - */ - tradableAmount: string; - /** - * retired_amount is the amount of credits that the recipient will receive in - * a retired state. The number of decimal places must be less than or equal to - * the credit type precision. - */ - retiredAmount: string; - /** - * retirement_jurisdiction is the jurisdiction of the recipient and is only - * required if retired_amount is positive. A jurisdiction has the following - * format: [-[ ]] - * The country-code must be 2 alphabetic characters, the sub-national-code - * can be 1-3 alphanumeric characters, and the postal-code can be up to 64 - * alphanumeric characters. Only the country-code is required, while the - * sub-national-code and postal-code are optional and can be added for - * increased precision. - */ - retirementJurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. The reason will be included in EventRetire and is not - * stored in state. - * - * Since Revision 2 - */ - retirementReason: string; -} -export interface BatchIssuanceProtoMsg { - typeUrl: "/regen.ecocredit.v1.BatchIssuance"; - value: Uint8Array; -} -/** BatchIssuance represents a simple structure for a credit batch issuance. */ -export interface BatchIssuanceAmino { - /** recipient is the address of the account receiving the issued credits. */ - recipient: string; - /** - * tradable_amount is the amount of credits that the recipient will receive in - * a tradable state. The number of decimal places must be less than or equal - * to the credit type precision. - */ - tradable_amount: string; - /** - * retired_amount is the amount of credits that the recipient will receive in - * a retired state. The number of decimal places must be less than or equal to - * the credit type precision. - */ - retired_amount: string; - /** - * retirement_jurisdiction is the jurisdiction of the recipient and is only - * required if retired_amount is positive. A jurisdiction has the following - * format: [-[ ]] - * The country-code must be 2 alphabetic characters, the sub-national-code - * can be 1-3 alphanumeric characters, and the postal-code can be up to 64 - * alphanumeric characters. Only the country-code is required, while the - * sub-national-code and postal-code are optional and can be added for - * increased precision. - */ - retirement_jurisdiction: string; - /** - * retirement_reason is any arbitrary string that specifies the reason for - * retiring credits. The reason will be included in EventRetire and is not - * stored in state. - * - * Since Revision 2 - */ - retirement_reason: string; -} -export interface BatchIssuanceAminoMsg { - type: "/regen.ecocredit.v1.BatchIssuance"; - value: BatchIssuanceAmino; -} -/** BatchIssuance represents a simple structure for a credit batch issuance. */ -export interface BatchIssuanceSDKType { - recipient: string; - tradable_amount: string; - retired_amount: string; - retirement_jurisdiction: string; - retirement_reason: string; -} -/** - * OriginTx is the transaction from another chain or registry that triggered - * the minting of credits. - */ -export interface OriginTx { - /** - * id is the transaction ID of an originating transaction or operation based - * on a type (i.e. transaction ID, serial number). - */ - id: string; - /** - * source is the source chain or registry of the transaction originating the - * mint process (e.g. polygon, ethereum, verra). - */ - source: string; - /** - * contract is the address of the contract on the source chain that was - * executed when creating the transaction. This address will be stored in - * state separately from the origin tx and on a per credit batch basis to be - * used when sending credits back to the source chain. This field can be left - * blank if credits are bridged from a non-contract-based source. - */ - contract: string; - /** - * note is a reference note for accounting that will be included in an event - * emitted from either Msg/CreateBatch or Msg/MintBatchCredits. - */ - note: string; -} -export interface OriginTxProtoMsg { - typeUrl: "/regen.ecocredit.v1.OriginTx"; - value: Uint8Array; -} -/** - * OriginTx is the transaction from another chain or registry that triggered - * the minting of credits. - */ -export interface OriginTxAmino { - /** - * id is the transaction ID of an originating transaction or operation based - * on a type (i.e. transaction ID, serial number). - */ - id: string; - /** - * source is the source chain or registry of the transaction originating the - * mint process (e.g. polygon, ethereum, verra). - */ - source: string; - /** - * contract is the address of the contract on the source chain that was - * executed when creating the transaction. This address will be stored in - * state separately from the origin tx and on a per credit batch basis to be - * used when sending credits back to the source chain. This field can be left - * blank if credits are bridged from a non-contract-based source. - */ - contract: string; - /** - * note is a reference note for accounting that will be included in an event - * emitted from either Msg/CreateBatch or Msg/MintBatchCredits. - */ - note: string; -} -export interface OriginTxAminoMsg { - type: "/regen.ecocredit.v1.OriginTx"; - value: OriginTxAmino; -} -/** - * OriginTx is the transaction from another chain or registry that triggered - * the minting of credits. - */ -export interface OriginTxSDKType { - id: string; - source: string; - contract: string; - note: string; -} -/** - * CreditTypeProposal is a gov Content type for adding a credit type. - * Deprecated (Since Revision 2): This message is no longer used and will be - * removed in the next version. See MsgAddCreditType. - */ -export interface CreditTypeProposal { - /** title is the title of the proposal. */ - title: string; - /** description is the description of the proposal. */ - description: string; - /** - * credit_type is the credit type to be added to the network if the proposal - * passes. - */ - creditType: CreditType; -} -export interface CreditTypeProposalProtoMsg { - typeUrl: "/regen.ecocredit.v1.CreditTypeProposal"; - value: Uint8Array; -} -/** - * CreditTypeProposal is a gov Content type for adding a credit type. - * Deprecated (Since Revision 2): This message is no longer used and will be - * removed in the next version. See MsgAddCreditType. - */ -export interface CreditTypeProposalAmino { - /** title is the title of the proposal. */ - title: string; - /** description is the description of the proposal. */ - description: string; - /** - * credit_type is the credit type to be added to the network if the proposal - * passes. - */ - credit_type?: CreditTypeAmino; -} -export interface CreditTypeProposalAminoMsg { - type: "/regen.ecocredit.v1.CreditTypeProposal"; - value: CreditTypeProposalAmino; -} -/** - * CreditTypeProposal is a gov Content type for adding a credit type. - * Deprecated (Since Revision 2): This message is no longer used and will be - * removed in the next version. See MsgAddCreditType. - */ -export interface CreditTypeProposalSDKType { - title: string; - description: string; - credit_type: CreditTypeSDKType; -} -/** - * AllowedDenom represents the information for an allowed ask denom. - * - * Since Revision 2 - * - * Deprecated(Since Revision 2): This type was added to support historical - * queries for params but will also be removed in the next version. - */ -export interface AllowedDenom { - /** denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS) */ - bankDenom: string; - /** - * display_denom is the denom to display to the user and is informational. - * Because the denom is likely an IBC denom, this should be chosen by - * governance to represent the consensus trusted name of the denom. - */ - displayDenom: string; - /** - * exponent is the exponent that relates the denom to the display_denom and is - * informational - */ - exponent: number; -} -export interface AllowedDenomProtoMsg { - typeUrl: "/regen.ecocredit.v1.AllowedDenom"; - value: Uint8Array; -} -/** - * AllowedDenom represents the information for an allowed ask denom. - * - * Since Revision 2 - * - * Deprecated(Since Revision 2): This type was added to support historical - * queries for params but will also be removed in the next version. - */ -export interface AllowedDenomAmino { - /** denom is the bank denom to allow (ex. ibc/GLKHDSG423SGS) */ - bank_denom: string; - /** - * display_denom is the denom to display to the user and is informational. - * Because the denom is likely an IBC denom, this should be chosen by - * governance to represent the consensus trusted name of the denom. - */ - display_denom: string; - /** - * exponent is the exponent that relates the denom to the display_denom and is - * informational - */ - exponent: number; -} -export interface AllowedDenomAminoMsg { - type: "/regen.ecocredit.v1.AllowedDenom"; - value: AllowedDenomAmino; -} -/** - * AllowedDenom represents the information for an allowed ask denom. - * - * Since Revision 2 - * - * Deprecated(Since Revision 2): This type was added to support historical - * queries for params but will also be removed in the next version. - */ -export interface AllowedDenomSDKType { - bank_denom: string; - display_denom: string; - exponent: number; -} -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const Credits: { - encode(message: Credits, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Credits; - fromJSON(object: any): Credits; - toJSON(message: Credits): unknown; - fromPartial(object: Partial): Credits; - fromAmino(object: CreditsAmino): Credits; - toAmino(message: Credits): CreditsAmino; - fromAminoMsg(object: CreditsAminoMsg): Credits; - fromProtoMsg(message: CreditsProtoMsg): Credits; - toProto(message: Credits): Uint8Array; - toProtoMsg(message: Credits): CreditsProtoMsg; -}; -export declare const BatchIssuance: { - encode(message: BatchIssuance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchIssuance; - fromJSON(object: any): BatchIssuance; - toJSON(message: BatchIssuance): unknown; - fromPartial(object: Partial): BatchIssuance; - fromAmino(object: BatchIssuanceAmino): BatchIssuance; - toAmino(message: BatchIssuance): BatchIssuanceAmino; - fromAminoMsg(object: BatchIssuanceAminoMsg): BatchIssuance; - fromProtoMsg(message: BatchIssuanceProtoMsg): BatchIssuance; - toProto(message: BatchIssuance): Uint8Array; - toProtoMsg(message: BatchIssuance): BatchIssuanceProtoMsg; -}; -export declare const OriginTx: { - encode(message: OriginTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): OriginTx; - fromJSON(object: any): OriginTx; - toJSON(message: OriginTx): unknown; - fromPartial(object: Partial): OriginTx; - fromAmino(object: OriginTxAmino): OriginTx; - toAmino(message: OriginTx): OriginTxAmino; - fromAminoMsg(object: OriginTxAminoMsg): OriginTx; - fromProtoMsg(message: OriginTxProtoMsg): OriginTx; - toProto(message: OriginTx): Uint8Array; - toProtoMsg(message: OriginTx): OriginTxProtoMsg; -}; -export declare const CreditTypeProposal: { - encode(message: CreditTypeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CreditTypeProposal; - fromJSON(object: any): CreditTypeProposal; - toJSON(message: CreditTypeProposal): unknown; - fromPartial(object: Partial): CreditTypeProposal; - fromAmino(object: CreditTypeProposalAmino): CreditTypeProposal; - toAmino(message: CreditTypeProposal): CreditTypeProposalAmino; - fromAminoMsg(object: CreditTypeProposalAminoMsg): CreditTypeProposal; - fromProtoMsg(message: CreditTypeProposalProtoMsg): CreditTypeProposal; - toProto(message: CreditTypeProposal): Uint8Array; - toProtoMsg(message: CreditTypeProposal): CreditTypeProposalProtoMsg; -}; -export declare const AllowedDenom: { - encode(message: AllowedDenom, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedDenom; - fromJSON(object: any): AllowedDenom; - toJSON(message: AllowedDenom): unknown; - fromPartial(object: Partial): AllowedDenom; - fromAmino(object: AllowedDenomAmino): AllowedDenom; - toAmino(message: AllowedDenom): AllowedDenomAmino; - fromAminoMsg(object: AllowedDenomAminoMsg): AllowedDenom; - fromProtoMsg(message: AllowedDenomProtoMsg): AllowedDenom; - toProto(message: AllowedDenom): Uint8Array; - toProtoMsg(message: AllowedDenom): AllowedDenomProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/events.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/events.d.ts deleted file mode 100644 index 1c4af783..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/events.d.ts +++ /dev/null @@ -1,362 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** EventCreateClass is an event emitted when a credit class is created. */ -export interface EventCreateClass { - /** class_id is the unique ID of credit class. */ - classId: string; - /** admin is the admin of the credit class. */ - admin: string; -} -export interface EventCreateClassProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.EventCreateClass"; - value: Uint8Array; -} -/** EventCreateClass is an event emitted when a credit class is created. */ -export interface EventCreateClassAmino { - /** class_id is the unique ID of credit class. */ - class_id: string; - /** admin is the admin of the credit class. */ - admin: string; -} -export interface EventCreateClassAminoMsg { - type: "/regen.ecocredit.v1alpha1.EventCreateClass"; - value: EventCreateClassAmino; -} -/** EventCreateClass is an event emitted when a credit class is created. */ -export interface EventCreateClassSDKType { - class_id: string; - admin: string; -} -/** EventCreateBatch is an event emitted when a credit batch is created. */ -export interface EventCreateBatch { - /** class_id is the unique ID of credit class. */ - classId: string; - /** batch_denom is the unique ID of credit batch. */ - batchDenom: string; - /** issuer is the account address of the issuer of the credit batch. */ - issuer: string; - /** total_amount is the total number of credits in the credit batch. */ - totalAmount: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - startDate: string; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - endDate: string; - /** - * project_location is the location of the project backing the credits in this - * batch. Full documentation can be found in MsgCreateBatch.project_location. - */ - projectLocation: string; -} -export interface EventCreateBatchProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.EventCreateBatch"; - value: Uint8Array; -} -/** EventCreateBatch is an event emitted when a credit batch is created. */ -export interface EventCreateBatchAmino { - /** class_id is the unique ID of credit class. */ - class_id: string; - /** batch_denom is the unique ID of credit batch. */ - batch_denom: string; - /** issuer is the account address of the issuer of the credit batch. */ - issuer: string; - /** total_amount is the total number of credits in the credit batch. */ - total_amount: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - start_date: string; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - end_date: string; - /** - * project_location is the location of the project backing the credits in this - * batch. Full documentation can be found in MsgCreateBatch.project_location. - */ - project_location: string; -} -export interface EventCreateBatchAminoMsg { - type: "/regen.ecocredit.v1alpha1.EventCreateBatch"; - value: EventCreateBatchAmino; -} -/** EventCreateBatch is an event emitted when a credit batch is created. */ -export interface EventCreateBatchSDKType { - class_id: string; - batch_denom: string; - issuer: string; - total_amount: string; - start_date: string; - end_date: string; - project_location: string; -} -/** - * EventReceive is an event emitted when credits are received either via - * creation of a new batch, transfer of credits, or taking credits from a - * basket. Each batch_denom created, transferred or taken from a baset will - * result in a separate EventReceive for easy indexing. - */ -export interface EventReceive { - /** - * sender is the sender of the credits in the case that this event is the - * result of a transfer. It will not be set when credits are received at - * initial issuance or taken from a basket. - */ - sender: string; - /** recipient is the recipient of the credits. */ - recipient: string; - /** batch_denom is the unique ID of credit batch. */ - batchDenom: string; - /** tradable_amount is the decimal number of tradable credits received. */ - tradableAmount: string; - /** retired_amount is the decimal number of retired credits received. */ - retiredAmount: string; - /** - * basket_denom is the denom of the basket. when the basket_denom field is - * set, it indicates that this event was triggered by the transfer of credits - * from a basket. It will not be set if the credits were sent by a user, or by - * initial issuance. - */ - basketDenom: string; -} -export interface EventReceiveProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.EventReceive"; - value: Uint8Array; -} -/** - * EventReceive is an event emitted when credits are received either via - * creation of a new batch, transfer of credits, or taking credits from a - * basket. Each batch_denom created, transferred or taken from a baset will - * result in a separate EventReceive for easy indexing. - */ -export interface EventReceiveAmino { - /** - * sender is the sender of the credits in the case that this event is the - * result of a transfer. It will not be set when credits are received at - * initial issuance or taken from a basket. - */ - sender: string; - /** recipient is the recipient of the credits. */ - recipient: string; - /** batch_denom is the unique ID of credit batch. */ - batch_denom: string; - /** tradable_amount is the decimal number of tradable credits received. */ - tradable_amount: string; - /** retired_amount is the decimal number of retired credits received. */ - retired_amount: string; - /** - * basket_denom is the denom of the basket. when the basket_denom field is - * set, it indicates that this event was triggered by the transfer of credits - * from a basket. It will not be set if the credits were sent by a user, or by - * initial issuance. - */ - basket_denom: string; -} -export interface EventReceiveAminoMsg { - type: "/regen.ecocredit.v1alpha1.EventReceive"; - value: EventReceiveAmino; -} -/** - * EventReceive is an event emitted when credits are received either via - * creation of a new batch, transfer of credits, or taking credits from a - * basket. Each batch_denom created, transferred or taken from a baset will - * result in a separate EventReceive for easy indexing. - */ -export interface EventReceiveSDKType { - sender: string; - recipient: string; - batch_denom: string; - tradable_amount: string; - retired_amount: string; - basket_denom: string; -} -/** - * EventRetire is an event emitted when credits are retired. When credits are - * retired from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventRetire { - /** - * retirer is the account which has done the "retiring". This will be the - * account receiving credits in the case that credits were retired upon - * issuance using Msg/CreateBatch or retired upon transfer using Msg/Send. - */ - retirer: string; - /** batch_denom is the unique ID of credit batch. */ - batchDenom: string; - /** amount is the decimal number of credits that have been retired. */ - amount: string; - /** - * location is the location of the beneficiary or buyer of the retired - * credits. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - location: string; -} -export interface EventRetireProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.EventRetire"; - value: Uint8Array; -} -/** - * EventRetire is an event emitted when credits are retired. When credits are - * retired from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventRetireAmino { - /** - * retirer is the account which has done the "retiring". This will be the - * account receiving credits in the case that credits were retired upon - * issuance using Msg/CreateBatch or retired upon transfer using Msg/Send. - */ - retirer: string; - /** batch_denom is the unique ID of credit batch. */ - batch_denom: string; - /** amount is the decimal number of credits that have been retired. */ - amount: string; - /** - * location is the location of the beneficiary or buyer of the retired - * credits. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - location: string; -} -export interface EventRetireAminoMsg { - type: "/regen.ecocredit.v1alpha1.EventRetire"; - value: EventRetireAmino; -} -/** - * EventRetire is an event emitted when credits are retired. When credits are - * retired from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventRetireSDKType { - retirer: string; - batch_denom: string; - amount: string; - location: string; -} -/** - * EventCancel is an event emitted when credits are cancelled. When credits are - * cancelled from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventCancel { - /** - * canceller is the account which has cancelled the credits, which should be - * the holder of the credits. - */ - canceller: string; - /** batch_denom is the unique ID of credit batch. */ - batchDenom: string; - /** amount is the decimal number of credits that have been cancelled. */ - amount: string; -} -export interface EventCancelProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.EventCancel"; - value: Uint8Array; -} -/** - * EventCancel is an event emitted when credits are cancelled. When credits are - * cancelled from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventCancelAmino { - /** - * canceller is the account which has cancelled the credits, which should be - * the holder of the credits. - */ - canceller: string; - /** batch_denom is the unique ID of credit batch. */ - batch_denom: string; - /** amount is the decimal number of credits that have been cancelled. */ - amount: string; -} -export interface EventCancelAminoMsg { - type: "/regen.ecocredit.v1alpha1.EventCancel"; - value: EventCancelAmino; -} -/** - * EventCancel is an event emitted when credits are cancelled. When credits are - * cancelled from multiple batches in the same transaction, a separate event is - * emitted for each batch_denom. This allows for easier indexing. - */ -export interface EventCancelSDKType { - canceller: string; - batch_denom: string; - amount: string; -} -export declare const EventCreateClass: { - encode(message: EventCreateClass, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateClass; - fromJSON(object: any): EventCreateClass; - toJSON(message: EventCreateClass): unknown; - fromPartial(object: Partial): EventCreateClass; - fromAmino(object: EventCreateClassAmino): EventCreateClass; - toAmino(message: EventCreateClass): EventCreateClassAmino; - fromAminoMsg(object: EventCreateClassAminoMsg): EventCreateClass; - fromProtoMsg(message: EventCreateClassProtoMsg): EventCreateClass; - toProto(message: EventCreateClass): Uint8Array; - toProtoMsg(message: EventCreateClass): EventCreateClassProtoMsg; -}; -export declare const EventCreateBatch: { - encode(message: EventCreateBatch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateBatch; - fromJSON(object: any): EventCreateBatch; - toJSON(message: EventCreateBatch): unknown; - fromPartial(object: Partial): EventCreateBatch; - fromAmino(object: EventCreateBatchAmino): EventCreateBatch; - toAmino(message: EventCreateBatch): EventCreateBatchAmino; - fromAminoMsg(object: EventCreateBatchAminoMsg): EventCreateBatch; - fromProtoMsg(message: EventCreateBatchProtoMsg): EventCreateBatch; - toProto(message: EventCreateBatch): Uint8Array; - toProtoMsg(message: EventCreateBatch): EventCreateBatchProtoMsg; -}; -export declare const EventReceive: { - encode(message: EventReceive, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventReceive; - fromJSON(object: any): EventReceive; - toJSON(message: EventReceive): unknown; - fromPartial(object: Partial): EventReceive; - fromAmino(object: EventReceiveAmino): EventReceive; - toAmino(message: EventReceive): EventReceiveAmino; - fromAminoMsg(object: EventReceiveAminoMsg): EventReceive; - fromProtoMsg(message: EventReceiveProtoMsg): EventReceive; - toProto(message: EventReceive): Uint8Array; - toProtoMsg(message: EventReceive): EventReceiveProtoMsg; -}; -export declare const EventRetire: { - encode(message: EventRetire, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventRetire; - fromJSON(object: any): EventRetire; - toJSON(message: EventRetire): unknown; - fromPartial(object: Partial): EventRetire; - fromAmino(object: EventRetireAmino): EventRetire; - toAmino(message: EventRetire): EventRetireAmino; - fromAminoMsg(object: EventRetireAminoMsg): EventRetire; - fromProtoMsg(message: EventRetireProtoMsg): EventRetire; - toProto(message: EventRetire): Uint8Array; - toProtoMsg(message: EventRetire): EventRetireProtoMsg; -}; -export declare const EventCancel: { - encode(message: EventCancel, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCancel; - fromJSON(object: any): EventCancel; - toJSON(message: EventCancel): unknown; - fromPartial(object: Partial): EventCancel; - fromAmino(object: EventCancelAmino): EventCancel; - toAmino(message: EventCancel): EventCancelAmino; - fromAminoMsg(object: EventCancelAminoMsg): EventCancel; - fromProtoMsg(message: EventCancelProtoMsg): EventCancel; - toProto(message: EventCancel): Uint8Array; - toProtoMsg(message: EventCancel): EventCancelProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/genesis.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/genesis.d.ts deleted file mode 100644 index 3662da69..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/genesis.d.ts +++ /dev/null @@ -1,172 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, ClassInfo, ClassInfoAmino, ClassInfoSDKType, BatchInfo, BatchInfoAmino, BatchInfoSDKType, CreditTypeSeq, CreditTypeSeqAmino, CreditTypeSeqSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines ecocredit module's genesis state. */ -export interface GenesisState { - /** - * Params contains the updateable global parameters for use with the x/params - * module - */ - params: Params; - /** class_info is the list of credit class info. */ - classInfo: ClassInfo[]; - /** batch_info is the list of credit batch info. */ - batchInfo: BatchInfo[]; - /** sequences is the list of credit type sequence. */ - sequences: CreditTypeSeq[]; - /** balances is the list of credit batch tradable/retired units. */ - balances: Balance[]; - /** supplies is the list of credit batch tradable/retired supply. */ - supplies: Supply[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines ecocredit module's genesis state. */ -export interface GenesisStateAmino { - /** - * Params contains the updateable global parameters for use with the x/params - * module - */ - params?: ParamsAmino; - /** class_info is the list of credit class info. */ - class_info: ClassInfoAmino[]; - /** batch_info is the list of credit batch info. */ - batch_info: BatchInfoAmino[]; - /** sequences is the list of credit type sequence. */ - sequences: CreditTypeSeqAmino[]; - /** balances is the list of credit batch tradable/retired units. */ - balances: BalanceAmino[]; - /** supplies is the list of credit batch tradable/retired supply. */ - supplies: SupplyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "/regen.ecocredit.v1alpha1.GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines ecocredit module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - class_info: ClassInfoSDKType[]; - batch_info: BatchInfoSDKType[]; - sequences: CreditTypeSeqSDKType[]; - balances: BalanceSDKType[]; - supplies: SupplySDKType[]; -} -/** - * Balance represents tradable or retired units of a credit batch with an - * account address, batch_denom, and balance. - */ -export interface Balance { - /** address is the account address of the account holding credits. */ - address: string; - /** batch_denom is the unique ID of the credit batch. */ - batchDenom: string; - /** tradable_balance is the tradable balance of the credit batch. */ - tradableBalance: string; - /** retired_balance is the retired balance of the credit batch. */ - retiredBalance: string; -} -export interface BalanceProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.Balance"; - value: Uint8Array; -} -/** - * Balance represents tradable or retired units of a credit batch with an - * account address, batch_denom, and balance. - */ -export interface BalanceAmino { - /** address is the account address of the account holding credits. */ - address: string; - /** batch_denom is the unique ID of the credit batch. */ - batch_denom: string; - /** tradable_balance is the tradable balance of the credit batch. */ - tradable_balance: string; - /** retired_balance is the retired balance of the credit batch. */ - retired_balance: string; -} -export interface BalanceAminoMsg { - type: "/regen.ecocredit.v1alpha1.Balance"; - value: BalanceAmino; -} -/** - * Balance represents tradable or retired units of a credit batch with an - * account address, batch_denom, and balance. - */ -export interface BalanceSDKType { - address: string; - batch_denom: string; - tradable_balance: string; - retired_balance: string; -} -/** Supply represents a tradable or retired supply of a credit batch. */ -export interface Supply { - /** batch_denom is the unique ID of the credit batch. */ - batchDenom: string; - /** tradable_supply is the tradable supply of the credit batch. */ - tradableSupply: string; - /** retired_supply is the retired supply of the credit batch. */ - retiredSupply: string; -} -export interface SupplyProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.Supply"; - value: Uint8Array; -} -/** Supply represents a tradable or retired supply of a credit batch. */ -export interface SupplyAmino { - /** batch_denom is the unique ID of the credit batch. */ - batch_denom: string; - /** tradable_supply is the tradable supply of the credit batch. */ - tradable_supply: string; - /** retired_supply is the retired supply of the credit batch. */ - retired_supply: string; -} -export interface SupplyAminoMsg { - type: "/regen.ecocredit.v1alpha1.Supply"; - value: SupplyAmino; -} -/** Supply represents a tradable or retired supply of a credit batch. */ -export interface SupplySDKType { - batch_denom: string; - tradable_supply: string; - retired_supply: string; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: Partial): GenesisState; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const Balance: { - encode(message: Balance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Balance; - fromJSON(object: any): Balance; - toJSON(message: Balance): unknown; - fromPartial(object: Partial): Balance; - fromAmino(object: BalanceAmino): Balance; - toAmino(message: Balance): BalanceAmino; - fromAminoMsg(object: BalanceAminoMsg): Balance; - fromProtoMsg(message: BalanceProtoMsg): Balance; - toProto(message: Balance): Uint8Array; - toProtoMsg(message: Balance): BalanceProtoMsg; -}; -export declare const Supply: { - encode(message: Supply, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Supply; - fromJSON(object: any): Supply; - toJSON(message: Supply): unknown; - fromPartial(object: Partial): Supply; - fromAmino(object: SupplyAmino): Supply; - toAmino(message: Supply): SupplyAmino; - fromAminoMsg(object: SupplyAminoMsg): Supply; - fromProtoMsg(message: SupplyProtoMsg): Supply; - toProto(message: Supply): Uint8Array; - toProtoMsg(message: Supply): SupplyProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.d.ts deleted file mode 100644 index ff1fa12e..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.d.ts +++ /dev/null @@ -1,595 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ClassInfo, ClassInfoAmino, ClassInfoSDKType, BatchInfo, BatchInfoAmino, BatchInfoSDKType, CreditType, CreditTypeAmino, CreditTypeSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -/** QueryParamsRequest is the Query/Params request type. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the Query/Params request type. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the Query/Params request type. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the Query/Params response type. */ -export interface QueryParamsResponse { - /** params defines the parameters of the ecocredit module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the Query/Params response type. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the ecocredit module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the Query/Params response type. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** QueryClassesRequest is the Query/Classes request type. */ -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryClassesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryClassesRequest"; - value: Uint8Array; -} -/** QueryClassesRequest is the Query/Classes request type. */ -export interface QueryClassesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryClassesRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryClassesRequest"; - value: QueryClassesRequestAmino; -} -/** QueryClassesRequest is the Query/Classes request type. */ -export interface QueryClassesRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryClassesResponse is the Query/Classes response type. */ -export interface QueryClassesResponse { - /** classes are the fetched credit classes. */ - classes: ClassInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryClassesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryClassesResponse"; - value: Uint8Array; -} -/** QueryClassesResponse is the Query/Classes response type. */ -export interface QueryClassesResponseAmino { - /** classes are the fetched credit classes. */ - classes: ClassInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryClassesResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryClassesResponse"; - value: QueryClassesResponseAmino; -} -/** QueryClassesResponse is the Query/Classes response type. */ -export interface QueryClassesResponseSDKType { - classes: ClassInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryClassInfoRequest is the Query/ClassInfo request type. */ -export interface QueryClassInfoRequest { - /** class_id is the unique ID of credit class to query. */ - classId: string; -} -export interface QueryClassInfoRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryClassInfoRequest"; - value: Uint8Array; -} -/** QueryClassInfoRequest is the Query/ClassInfo request type. */ -export interface QueryClassInfoRequestAmino { - /** class_id is the unique ID of credit class to query. */ - class_id: string; -} -export interface QueryClassInfoRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryClassInfoRequest"; - value: QueryClassInfoRequestAmino; -} -/** QueryClassInfoRequest is the Query/ClassInfo request type. */ -export interface QueryClassInfoRequestSDKType { - class_id: string; -} -/** QueryClassInfoResponse is the Query/ClassInfo request type. */ -export interface QueryClassInfoResponse { - /** info is the ClassInfo for the credit class. */ - info: ClassInfo; -} -export interface QueryClassInfoResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryClassInfoResponse"; - value: Uint8Array; -} -/** QueryClassInfoResponse is the Query/ClassInfo request type. */ -export interface QueryClassInfoResponseAmino { - /** info is the ClassInfo for the credit class. */ - info?: ClassInfoAmino; -} -export interface QueryClassInfoResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryClassInfoResponse"; - value: QueryClassInfoResponseAmino; -} -/** QueryClassInfoResponse is the Query/ClassInfo request type. */ -export interface QueryClassInfoResponseSDKType { - info: ClassInfoSDKType; -} -/** QueryBatchesRequest is the Query/Batches request type. */ -export interface QueryBatchesRequest { - /** class_id is the unique ID of the credit class to query. */ - classId: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryBatchesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryBatchesRequest"; - value: Uint8Array; -} -/** QueryBatchesRequest is the Query/Batches request type. */ -export interface QueryBatchesRequestAmino { - /** class_id is the unique ID of the credit class to query. */ - class_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryBatchesRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryBatchesRequest"; - value: QueryBatchesRequestAmino; -} -/** QueryBatchesRequest is the Query/Batches request type. */ -export interface QueryBatchesRequestSDKType { - class_id: string; - pagination: PageRequestSDKType; -} -/** QueryBatchesResponse is the Query/Batches response type. */ -export interface QueryBatchesResponse { - /** batches are the fetched credit batches within the class. */ - batches: BatchInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryBatchesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryBatchesResponse"; - value: Uint8Array; -} -/** QueryBatchesResponse is the Query/Batches response type. */ -export interface QueryBatchesResponseAmino { - /** batches are the fetched credit batches within the class. */ - batches: BatchInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryBatchesResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryBatchesResponse"; - value: QueryBatchesResponseAmino; -} -/** QueryBatchesResponse is the Query/Batches response type. */ -export interface QueryBatchesResponseSDKType { - batches: BatchInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryBatchInfoRequest is the Query/BatchInfo request type. */ -export interface QueryBatchInfoRequest { - /** batch_denom is the unique ID of credit batch to query. */ - batchDenom: string; -} -export interface QueryBatchInfoRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryBatchInfoRequest"; - value: Uint8Array; -} -/** QueryBatchInfoRequest is the Query/BatchInfo request type. */ -export interface QueryBatchInfoRequestAmino { - /** batch_denom is the unique ID of credit batch to query. */ - batch_denom: string; -} -export interface QueryBatchInfoRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryBatchInfoRequest"; - value: QueryBatchInfoRequestAmino; -} -/** QueryBatchInfoRequest is the Query/BatchInfo request type. */ -export interface QueryBatchInfoRequestSDKType { - batch_denom: string; -} -/** QueryBatchInfoResponse is the Query/BatchInfo response type. */ -export interface QueryBatchInfoResponse { - /** info is the BatchInfo for the credit batch. */ - info: BatchInfo; -} -export interface QueryBatchInfoResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryBatchInfoResponse"; - value: Uint8Array; -} -/** QueryBatchInfoResponse is the Query/BatchInfo response type. */ -export interface QueryBatchInfoResponseAmino { - /** info is the BatchInfo for the credit batch. */ - info?: BatchInfoAmino; -} -export interface QueryBatchInfoResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryBatchInfoResponse"; - value: QueryBatchInfoResponseAmino; -} -/** QueryBatchInfoResponse is the Query/BatchInfo response type. */ -export interface QueryBatchInfoResponseSDKType { - info: BatchInfoSDKType; -} -/** QueryBalanceRequest is the Query/Balance request type. */ -export interface QueryBalanceRequest { - /** account is the address of the account whose balance is being queried. */ - account: string; - /** batch_denom is the unique ID of credit batch balance to query. */ - batchDenom: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the Query/Balance request type. */ -export interface QueryBalanceRequestAmino { - /** account is the address of the account whose balance is being queried. */ - account: string; - /** batch_denom is the unique ID of credit batch balance to query. */ - batch_denom: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the Query/Balance request type. */ -export interface QueryBalanceRequestSDKType { - account: string; - batch_denom: string; -} -/** QueryBalanceResponse is the Query/Balance response type. */ -export interface QueryBalanceResponse { - /** tradable_amount is the decimal number of tradable credits. */ - tradableAmount: string; - /** retired_amount is the decimal number of retired credits. */ - retiredAmount: string; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the Query/Balance response type. */ -export interface QueryBalanceResponseAmino { - /** tradable_amount is the decimal number of tradable credits. */ - tradable_amount: string; - /** retired_amount is the decimal number of retired credits. */ - retired_amount: string; -} -export interface QueryBalanceResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the Query/Balance response type. */ -export interface QueryBalanceResponseSDKType { - tradable_amount: string; - retired_amount: string; -} -/** QuerySupplyRequest is the Query/Supply request type. */ -export interface QuerySupplyRequest { - /** batch_denom is the unique ID of credit batch to query. */ - batchDenom: string; -} -export interface QuerySupplyRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QuerySupplyRequest"; - value: Uint8Array; -} -/** QuerySupplyRequest is the Query/Supply request type. */ -export interface QuerySupplyRequestAmino { - /** batch_denom is the unique ID of credit batch to query. */ - batch_denom: string; -} -export interface QuerySupplyRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QuerySupplyRequest"; - value: QuerySupplyRequestAmino; -} -/** QuerySupplyRequest is the Query/Supply request type. */ -export interface QuerySupplyRequestSDKType { - batch_denom: string; -} -/** QuerySupplyResponse is the Query/Supply response type. */ -export interface QuerySupplyResponse { - /** - * tradable_supply is the decimal number of tradable credits in the batch - * supply. - */ - tradableSupply: string; - /** - * retired_supply is the decimal number of retired credits in the batch - * supply. - */ - retiredSupply: string; -} -export interface QuerySupplyResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QuerySupplyResponse"; - value: Uint8Array; -} -/** QuerySupplyResponse is the Query/Supply response type. */ -export interface QuerySupplyResponseAmino { - /** - * tradable_supply is the decimal number of tradable credits in the batch - * supply. - */ - tradable_supply: string; - /** - * retired_supply is the decimal number of retired credits in the batch - * supply. - */ - retired_supply: string; -} -export interface QuerySupplyResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QuerySupplyResponse"; - value: QuerySupplyResponseAmino; -} -/** QuerySupplyResponse is the Query/Supply response type. */ -export interface QuerySupplyResponseSDKType { - tradable_supply: string; - retired_supply: string; -} -/** QueryCreditTypesRequest is the Query/Credit_Types request type */ -export interface QueryCreditTypesRequest { -} -export interface QueryCreditTypesRequestProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryCreditTypesRequest"; - value: Uint8Array; -} -/** QueryCreditTypesRequest is the Query/Credit_Types request type */ -export interface QueryCreditTypesRequestAmino { -} -export interface QueryCreditTypesRequestAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryCreditTypesRequest"; - value: QueryCreditTypesRequestAmino; -} -/** QueryCreditTypesRequest is the Query/Credit_Types request type */ -export interface QueryCreditTypesRequestSDKType { -} -/** QueryCreditTypesRequest is the Query/Credit_Types response type */ -export interface QueryCreditTypesResponse { - /** list of credit types */ - creditTypes: CreditType[]; -} -export interface QueryCreditTypesResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.QueryCreditTypesResponse"; - value: Uint8Array; -} -/** QueryCreditTypesRequest is the Query/Credit_Types response type */ -export interface QueryCreditTypesResponseAmino { - /** list of credit types */ - credit_types: CreditTypeAmino[]; -} -export interface QueryCreditTypesResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.QueryCreditTypesResponse"; - value: QueryCreditTypesResponseAmino; -} -/** QueryCreditTypesRequest is the Query/Credit_Types response type */ -export interface QueryCreditTypesResponseSDKType { - credit_types: CreditTypeSDKType[]; -} -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: Partial): QueryParamsRequest; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: Partial): QueryParamsResponse; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryClassesRequest: { - encode(message: QueryClassesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest; - fromJSON(object: any): QueryClassesRequest; - toJSON(message: QueryClassesRequest): unknown; - fromPartial(object: Partial): QueryClassesRequest; - fromAmino(object: QueryClassesRequestAmino): QueryClassesRequest; - toAmino(message: QueryClassesRequest): QueryClassesRequestAmino; - fromAminoMsg(object: QueryClassesRequestAminoMsg): QueryClassesRequest; - fromProtoMsg(message: QueryClassesRequestProtoMsg): QueryClassesRequest; - toProto(message: QueryClassesRequest): Uint8Array; - toProtoMsg(message: QueryClassesRequest): QueryClassesRequestProtoMsg; -}; -export declare const QueryClassesResponse: { - encode(message: QueryClassesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse; - fromJSON(object: any): QueryClassesResponse; - toJSON(message: QueryClassesResponse): unknown; - fromPartial(object: Partial): QueryClassesResponse; - fromAmino(object: QueryClassesResponseAmino): QueryClassesResponse; - toAmino(message: QueryClassesResponse): QueryClassesResponseAmino; - fromAminoMsg(object: QueryClassesResponseAminoMsg): QueryClassesResponse; - fromProtoMsg(message: QueryClassesResponseProtoMsg): QueryClassesResponse; - toProto(message: QueryClassesResponse): Uint8Array; - toProtoMsg(message: QueryClassesResponse): QueryClassesResponseProtoMsg; -}; -export declare const QueryClassInfoRequest: { - encode(message: QueryClassInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassInfoRequest; - fromJSON(object: any): QueryClassInfoRequest; - toJSON(message: QueryClassInfoRequest): unknown; - fromPartial(object: Partial): QueryClassInfoRequest; - fromAmino(object: QueryClassInfoRequestAmino): QueryClassInfoRequest; - toAmino(message: QueryClassInfoRequest): QueryClassInfoRequestAmino; - fromAminoMsg(object: QueryClassInfoRequestAminoMsg): QueryClassInfoRequest; - fromProtoMsg(message: QueryClassInfoRequestProtoMsg): QueryClassInfoRequest; - toProto(message: QueryClassInfoRequest): Uint8Array; - toProtoMsg(message: QueryClassInfoRequest): QueryClassInfoRequestProtoMsg; -}; -export declare const QueryClassInfoResponse: { - encode(message: QueryClassInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassInfoResponse; - fromJSON(object: any): QueryClassInfoResponse; - toJSON(message: QueryClassInfoResponse): unknown; - fromPartial(object: Partial): QueryClassInfoResponse; - fromAmino(object: QueryClassInfoResponseAmino): QueryClassInfoResponse; - toAmino(message: QueryClassInfoResponse): QueryClassInfoResponseAmino; - fromAminoMsg(object: QueryClassInfoResponseAminoMsg): QueryClassInfoResponse; - fromProtoMsg(message: QueryClassInfoResponseProtoMsg): QueryClassInfoResponse; - toProto(message: QueryClassInfoResponse): Uint8Array; - toProtoMsg(message: QueryClassInfoResponse): QueryClassInfoResponseProtoMsg; -}; -export declare const QueryBatchesRequest: { - encode(message: QueryBatchesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesRequest; - fromJSON(object: any): QueryBatchesRequest; - toJSON(message: QueryBatchesRequest): unknown; - fromPartial(object: Partial): QueryBatchesRequest; - fromAmino(object: QueryBatchesRequestAmino): QueryBatchesRequest; - toAmino(message: QueryBatchesRequest): QueryBatchesRequestAmino; - fromAminoMsg(object: QueryBatchesRequestAminoMsg): QueryBatchesRequest; - fromProtoMsg(message: QueryBatchesRequestProtoMsg): QueryBatchesRequest; - toProto(message: QueryBatchesRequest): Uint8Array; - toProtoMsg(message: QueryBatchesRequest): QueryBatchesRequestProtoMsg; -}; -export declare const QueryBatchesResponse: { - encode(message: QueryBatchesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchesResponse; - fromJSON(object: any): QueryBatchesResponse; - toJSON(message: QueryBatchesResponse): unknown; - fromPartial(object: Partial): QueryBatchesResponse; - fromAmino(object: QueryBatchesResponseAmino): QueryBatchesResponse; - toAmino(message: QueryBatchesResponse): QueryBatchesResponseAmino; - fromAminoMsg(object: QueryBatchesResponseAminoMsg): QueryBatchesResponse; - fromProtoMsg(message: QueryBatchesResponseProtoMsg): QueryBatchesResponse; - toProto(message: QueryBatchesResponse): Uint8Array; - toProtoMsg(message: QueryBatchesResponse): QueryBatchesResponseProtoMsg; -}; -export declare const QueryBatchInfoRequest: { - encode(message: QueryBatchInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchInfoRequest; - fromJSON(object: any): QueryBatchInfoRequest; - toJSON(message: QueryBatchInfoRequest): unknown; - fromPartial(object: Partial): QueryBatchInfoRequest; - fromAmino(object: QueryBatchInfoRequestAmino): QueryBatchInfoRequest; - toAmino(message: QueryBatchInfoRequest): QueryBatchInfoRequestAmino; - fromAminoMsg(object: QueryBatchInfoRequestAminoMsg): QueryBatchInfoRequest; - fromProtoMsg(message: QueryBatchInfoRequestProtoMsg): QueryBatchInfoRequest; - toProto(message: QueryBatchInfoRequest): Uint8Array; - toProtoMsg(message: QueryBatchInfoRequest): QueryBatchInfoRequestProtoMsg; -}; -export declare const QueryBatchInfoResponse: { - encode(message: QueryBatchInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBatchInfoResponse; - fromJSON(object: any): QueryBatchInfoResponse; - toJSON(message: QueryBatchInfoResponse): unknown; - fromPartial(object: Partial): QueryBatchInfoResponse; - fromAmino(object: QueryBatchInfoResponseAmino): QueryBatchInfoResponse; - toAmino(message: QueryBatchInfoResponse): QueryBatchInfoResponseAmino; - fromAminoMsg(object: QueryBatchInfoResponseAminoMsg): QueryBatchInfoResponse; - fromProtoMsg(message: QueryBatchInfoResponseProtoMsg): QueryBatchInfoResponse; - toProto(message: QueryBatchInfoResponse): Uint8Array; - toProtoMsg(message: QueryBatchInfoResponse): QueryBatchInfoResponseProtoMsg; -}; -export declare const QueryBalanceRequest: { - encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest; - fromJSON(object: any): QueryBalanceRequest; - toJSON(message: QueryBalanceRequest): unknown; - fromPartial(object: Partial): QueryBalanceRequest; - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest; - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino; - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest; - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest; - toProto(message: QueryBalanceRequest): Uint8Array; - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg; -}; -export declare const QueryBalanceResponse: { - encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse; - fromJSON(object: any): QueryBalanceResponse; - toJSON(message: QueryBalanceResponse): unknown; - fromPartial(object: Partial): QueryBalanceResponse; - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse; - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino; - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse; - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse; - toProto(message: QueryBalanceResponse): Uint8Array; - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg; -}; -export declare const QuerySupplyRequest: { - encode(message: QuerySupplyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest; - fromJSON(object: any): QuerySupplyRequest; - toJSON(message: QuerySupplyRequest): unknown; - fromPartial(object: Partial): QuerySupplyRequest; - fromAmino(object: QuerySupplyRequestAmino): QuerySupplyRequest; - toAmino(message: QuerySupplyRequest): QuerySupplyRequestAmino; - fromAminoMsg(object: QuerySupplyRequestAminoMsg): QuerySupplyRequest; - fromProtoMsg(message: QuerySupplyRequestProtoMsg): QuerySupplyRequest; - toProto(message: QuerySupplyRequest): Uint8Array; - toProtoMsg(message: QuerySupplyRequest): QuerySupplyRequestProtoMsg; -}; -export declare const QuerySupplyResponse: { - encode(message: QuerySupplyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse; - fromJSON(object: any): QuerySupplyResponse; - toJSON(message: QuerySupplyResponse): unknown; - fromPartial(object: Partial): QuerySupplyResponse; - fromAmino(object: QuerySupplyResponseAmino): QuerySupplyResponse; - toAmino(message: QuerySupplyResponse): QuerySupplyResponseAmino; - fromAminoMsg(object: QuerySupplyResponseAminoMsg): QuerySupplyResponse; - fromProtoMsg(message: QuerySupplyResponseProtoMsg): QuerySupplyResponse; - toProto(message: QuerySupplyResponse): Uint8Array; - toProtoMsg(message: QuerySupplyResponse): QuerySupplyResponseProtoMsg; -}; -export declare const QueryCreditTypesRequest: { - encode(_: QueryCreditTypesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCreditTypesRequest; - fromJSON(_: any): QueryCreditTypesRequest; - toJSON(_: QueryCreditTypesRequest): unknown; - fromPartial(_: Partial): QueryCreditTypesRequest; - fromAmino(_: QueryCreditTypesRequestAmino): QueryCreditTypesRequest; - toAmino(_: QueryCreditTypesRequest): QueryCreditTypesRequestAmino; - fromAminoMsg(object: QueryCreditTypesRequestAminoMsg): QueryCreditTypesRequest; - fromProtoMsg(message: QueryCreditTypesRequestProtoMsg): QueryCreditTypesRequest; - toProto(message: QueryCreditTypesRequest): Uint8Array; - toProtoMsg(message: QueryCreditTypesRequest): QueryCreditTypesRequestProtoMsg; -}; -export declare const QueryCreditTypesResponse: { - encode(message: QueryCreditTypesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCreditTypesResponse; - fromJSON(object: any): QueryCreditTypesResponse; - toJSON(message: QueryCreditTypesResponse): unknown; - fromPartial(object: Partial): QueryCreditTypesResponse; - fromAmino(object: QueryCreditTypesResponseAmino): QueryCreditTypesResponse; - toAmino(message: QueryCreditTypesResponse): QueryCreditTypesResponseAmino; - fromAminoMsg(object: QueryCreditTypesResponseAminoMsg): QueryCreditTypesResponse; - fromProtoMsg(message: QueryCreditTypesResponseProtoMsg): QueryCreditTypesResponse; - toProto(message: QueryCreditTypesResponse): Uint8Array; - toProtoMsg(message: QueryCreditTypesResponse): QueryCreditTypesResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.lcd.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.lcd.d.ts deleted file mode 100644 index 12ff0c5a..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.lcd.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryClassesRequest, QueryClassesResponseSDKType, QueryClassInfoRequest, QueryClassInfoResponseSDKType, QueryBatchesRequest, QueryBatchesResponseSDKType, QueryBatchInfoRequest, QueryBatchInfoResponseSDKType, QueryBalanceRequest, QueryBalanceResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryCreditTypesRequest, QueryCreditTypesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - classes(params?: QueryClassesRequest): Promise; - classInfo(params: QueryClassInfoRequest): Promise; - batches(params: QueryBatchesRequest): Promise; - batchInfo(params: QueryBatchInfoRequest): Promise; - balance(params: QueryBalanceRequest): Promise; - supply(params: QuerySupplyRequest): Promise; - creditTypes(_params?: QueryCreditTypesRequest): Promise; - params(_params?: QueryParamsRequest): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.rpc.Query.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.rpc.Query.d.ts deleted file mode 100644 index f750f1dd..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/query.rpc.Query.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryClassesRequest, QueryClassesResponse, QueryClassInfoRequest, QueryClassInfoResponse, QueryBatchesRequest, QueryBatchesResponse, QueryBatchInfoRequest, QueryBatchInfoResponse, QueryBalanceRequest, QueryBalanceResponse, QuerySupplyRequest, QuerySupplyResponse, QueryCreditTypesRequest, QueryCreditTypesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -/** Msg is the regen.ecocredit.v1alpha1 Query service. */ -export interface Query { - /** Classes queries for all credit classes with pagination. */ - classes(request?: QueryClassesRequest): Promise; - /** ClassInfo queries for information on a credit class. */ - classInfo(request: QueryClassInfoRequest): Promise; - /** Batches queries for all batches in the given credit class with pagination. */ - batches(request: QueryBatchesRequest): Promise; - /** BatchInfo queries for information on a credit batch. */ - batchInfo(request: QueryBatchInfoRequest): Promise; - /** - * Balance queries the balance (both tradable and retired) of a given credit - * batch for a given account. - */ - balance(request: QueryBalanceRequest): Promise; - /** Supply queries the tradable and retired supply of a credit batch. */ - supply(request: QuerySupplyRequest): Promise; - /** - * CreditTypes returns the list of allowed types that credit classes can have. - * See Types/CreditType for more details. - */ - creditTypes(request?: QueryCreditTypesRequest): Promise; - /** Params queries the ecocredit module parameters. */ - params(request?: QueryParamsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - classes(request?: QueryClassesRequest): Promise; - classInfo(request: QueryClassInfoRequest): Promise; - batches(request: QueryBatchesRequest): Promise; - batchInfo(request: QueryBatchInfoRequest): Promise; - balance(request: QueryBalanceRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - creditTypes(request?: QueryCreditTypesRequest): Promise; - params(request?: QueryParamsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - classes(request?: QueryClassesRequest): Promise; - classInfo(request: QueryClassInfoRequest): Promise; - batches(request: QueryBatchesRequest): Promise; - batchInfo(request: QueryBatchInfoRequest): Promise; - balance(request: QueryBalanceRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - creditTypes(request?: QueryCreditTypesRequest): Promise; - params(request?: QueryParamsRequest): Promise; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.amino.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.amino.d.ts deleted file mode 100644 index 712d9cec..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.amino.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { MsgCreateClass, MsgCreateBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata } from "./tx"; -export declare const AminoConverter: { - "/regen.ecocredit.v1alpha1.MsgCreateClass": { - aminoType: string; - toAmino: (message: MsgCreateClass) => import("./tx").MsgCreateClassAmino; - fromAmino: (object: import("./tx").MsgCreateClassAmino) => MsgCreateClass; - }; - "/regen.ecocredit.v1alpha1.MsgCreateBatch": { - aminoType: string; - toAmino: (message: MsgCreateBatch) => import("./tx").MsgCreateBatchAmino; - fromAmino: (object: import("./tx").MsgCreateBatchAmino) => MsgCreateBatch; - }; - "/regen.ecocredit.v1alpha1.MsgSend": { - aminoType: string; - toAmino: (message: MsgSend) => import("./tx").MsgSendAmino; - fromAmino: (object: import("./tx").MsgSendAmino) => MsgSend; - }; - "/regen.ecocredit.v1alpha1.MsgRetire": { - aminoType: string; - toAmino: (message: MsgRetire) => import("./tx").MsgRetireAmino; - fromAmino: (object: import("./tx").MsgRetireAmino) => MsgRetire; - }; - "/regen.ecocredit.v1alpha1.MsgCancel": { - aminoType: string; - toAmino: (message: MsgCancel) => import("./tx").MsgCancelAmino; - fromAmino: (object: import("./tx").MsgCancelAmino) => MsgCancel; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateClassAdmin) => import("./tx").MsgUpdateClassAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateClassAdminAmino) => MsgUpdateClassAdmin; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers": { - aminoType: string; - toAmino: (message: MsgUpdateClassIssuers) => import("./tx").MsgUpdateClassIssuersAmino; - fromAmino: (object: import("./tx").MsgUpdateClassIssuersAmino) => MsgUpdateClassIssuers; - }; - "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateClassMetadata) => import("./tx").MsgUpdateClassMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateClassMetadataAmino) => MsgUpdateClassMetadata; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.d.ts deleted file mode 100644 index deecd244..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.d.ts +++ /dev/null @@ -1,957 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -/** MsgCreateClass is the Msg/CreateClass request type. */ -export interface MsgCreateClass { - /** admin is the address of the account that created the credit class. */ - admin: string; - /** issuers are the account addresses of the approved issuers. */ - issuers: string[]; - /** metadata is any arbitrary metadata to attached to the credit class. */ - metadata: Uint8Array; - /** - * credit_type_name describes the type of credit (e.g. "carbon", - * "biodiversity"). - */ - creditTypeName: string; -} -export interface MsgCreateClassProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateClass"; - value: Uint8Array; -} -/** MsgCreateClass is the Msg/CreateClass request type. */ -export interface MsgCreateClassAmino { - /** admin is the address of the account that created the credit class. */ - admin: string; - /** issuers are the account addresses of the approved issuers. */ - issuers: string[]; - /** metadata is any arbitrary metadata to attached to the credit class. */ - metadata: Uint8Array; - /** - * credit_type_name describes the type of credit (e.g. "carbon", - * "biodiversity"). - */ - credit_type_name: string; -} -export interface MsgCreateClassAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgCreateClass"; - value: MsgCreateClassAmino; -} -/** MsgCreateClass is the Msg/CreateClass request type. */ -export interface MsgCreateClassSDKType { - admin: string; - issuers: string[]; - metadata: Uint8Array; - credit_type_name: string; -} -/** MsgCreateClassResponse is the Msg/CreateClass response type. */ -export interface MsgCreateClassResponse { - /** class_id is the unique ID of the newly created credit class. */ - classId: string; -} -export interface MsgCreateClassResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateClassResponse"; - value: Uint8Array; -} -/** MsgCreateClassResponse is the Msg/CreateClass response type. */ -export interface MsgCreateClassResponseAmino { - /** class_id is the unique ID of the newly created credit class. */ - class_id: string; -} -export interface MsgCreateClassResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgCreateClassResponse"; - value: MsgCreateClassResponseAmino; -} -/** MsgCreateClassResponse is the Msg/CreateClass response type. */ -export interface MsgCreateClassResponseSDKType { - class_id: string; -} -/** MsgCreateBatch is the Msg/CreateBatch request type. */ -export interface MsgCreateBatch { - /** issuer is the address of the batch issuer. */ - issuer: string; - /** class_id is the unique ID of the class. */ - classId: string; - /** issuance are the credits issued in the batch. */ - issuance: MsgCreateBatch_BatchIssuance[]; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: Uint8Array; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - startDate: Timestamp; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - endDate: Timestamp; - /** - * project_location is the location of the project backing the credits in this - * batch. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. country-code is required, while sub-national-code - * and postal-code can be added for increasing precision. - */ - projectLocation: string; -} -export interface MsgCreateBatchProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateBatch"; - value: Uint8Array; -} -/** MsgCreateBatch is the Msg/CreateBatch request type. */ -export interface MsgCreateBatchAmino { - /** issuer is the address of the batch issuer. */ - issuer: string; - /** class_id is the unique ID of the class. */ - class_id: string; - /** issuance are the credits issued in the batch. */ - issuance: MsgCreateBatch_BatchIssuanceAmino[]; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: Uint8Array; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - start_date?: TimestampAmino; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - end_date?: TimestampAmino; - /** - * project_location is the location of the project backing the credits in this - * batch. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. country-code is required, while sub-national-code - * and postal-code can be added for increasing precision. - */ - project_location: string; -} -export interface MsgCreateBatchAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgCreateBatch"; - value: MsgCreateBatchAmino; -} -/** MsgCreateBatch is the Msg/CreateBatch request type. */ -export interface MsgCreateBatchSDKType { - issuer: string; - class_id: string; - issuance: MsgCreateBatch_BatchIssuanceSDKType[]; - metadata: Uint8Array; - start_date: TimestampSDKType; - end_date: TimestampSDKType; - project_location: string; -} -/** - * BatchIssuance represents the issuance of some credits in a batch to a - * single recipient. - */ -export interface MsgCreateBatch_BatchIssuance { - /** recipient is the account of the recipient. */ - recipient: string; - /** - * tradable_amount is the number of credits in this issuance that can be - * traded by this recipient. Decimal values are acceptable. - */ - tradableAmount: string; - /** - * retired_amount is the number of credits in this issuance that are - * effectively retired by the issuer on receipt. Decimal values are - * acceptable. - */ - retiredAmount: string; - /** - * retirement_location is the location of the beneficiary or buyer of the - * retired credits. This must be provided if retired_amount is positive. It - * is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - retirementLocation: string; -} -export interface MsgCreateBatch_BatchIssuanceProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.BatchIssuance"; - value: Uint8Array; -} -/** - * BatchIssuance represents the issuance of some credits in a batch to a - * single recipient. - */ -export interface MsgCreateBatch_BatchIssuanceAmino { - /** recipient is the account of the recipient. */ - recipient: string; - /** - * tradable_amount is the number of credits in this issuance that can be - * traded by this recipient. Decimal values are acceptable. - */ - tradable_amount: string; - /** - * retired_amount is the number of credits in this issuance that are - * effectively retired by the issuer on receipt. Decimal values are - * acceptable. - */ - retired_amount: string; - /** - * retirement_location is the location of the beneficiary or buyer of the - * retired credits. This must be provided if retired_amount is positive. It - * is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - retirement_location: string; -} -export interface MsgCreateBatch_BatchIssuanceAminoMsg { - type: "/regen.ecocredit.v1alpha1.BatchIssuance"; - value: MsgCreateBatch_BatchIssuanceAmino; -} -/** - * BatchIssuance represents the issuance of some credits in a batch to a - * single recipient. - */ -export interface MsgCreateBatch_BatchIssuanceSDKType { - recipient: string; - tradable_amount: string; - retired_amount: string; - retirement_location: string; -} -/** MsgCreateBatchResponse is the Msg/CreateBatch response type. */ -export interface MsgCreateBatchResponse { - /** batch_denom is the unique denomination ID of the newly created batch. */ - batchDenom: string; -} -export interface MsgCreateBatchResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCreateBatchResponse"; - value: Uint8Array; -} -/** MsgCreateBatchResponse is the Msg/CreateBatch response type. */ -export interface MsgCreateBatchResponseAmino { - /** batch_denom is the unique denomination ID of the newly created batch. */ - batch_denom: string; -} -export interface MsgCreateBatchResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgCreateBatchResponse"; - value: MsgCreateBatchResponseAmino; -} -/** MsgCreateBatchResponse is the Msg/CreateBatch response type. */ -export interface MsgCreateBatchResponseSDKType { - batch_denom: string; -} -/** MsgSend is the Msg/Send request type. */ -export interface MsgSend { - /** sender is the address of the account sending credits. */ - sender: string; - /** sender is the address of the account receiving credits. */ - recipient: string; - /** credits are the credits being sent. */ - credits: MsgSend_SendCredits[]; -} -export interface MsgSendProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgSend"; - value: Uint8Array; -} -/** MsgSend is the Msg/Send request type. */ -export interface MsgSendAmino { - /** sender is the address of the account sending credits. */ - sender: string; - /** sender is the address of the account receiving credits. */ - recipient: string; - /** credits are the credits being sent. */ - credits: MsgSend_SendCreditsAmino[]; -} -export interface MsgSendAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgSend"; - value: MsgSendAmino; -} -/** MsgSend is the Msg/Send request type. */ -export interface MsgSendSDKType { - sender: string; - recipient: string; - credits: MsgSend_SendCreditsSDKType[]; -} -/** - * SendCredits specifies a batch and the number of credits being transferred. - * This is split into tradable credits, which will remain tradable on receipt, - * and retired credits, which will be retired on receipt. - */ -export interface MsgSend_SendCredits { - /** batch_denom is the unique ID of the credit batch. */ - batchDenom: string; - /** - * tradable_amount is the number of credits in this transfer that can be - * traded by the recipient. Decimal values are acceptable within the - * precision returned by Query/Precision. - */ - tradableAmount: string; - /** - * retired_amount is the number of credits in this transfer that are - * effectively retired by the issuer on receipt. Decimal values are - * acceptable within the precision returned by Query/Precision. - */ - retiredAmount: string; - /** - * retirement_location is the location of the beneficiary or buyer of the - * retired credits. This must be provided if retired_amount is positive. It - * is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - retirementLocation: string; -} -export interface MsgSend_SendCreditsProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.SendCredits"; - value: Uint8Array; -} -/** - * SendCredits specifies a batch and the number of credits being transferred. - * This is split into tradable credits, which will remain tradable on receipt, - * and retired credits, which will be retired on receipt. - */ -export interface MsgSend_SendCreditsAmino { - /** batch_denom is the unique ID of the credit batch. */ - batch_denom: string; - /** - * tradable_amount is the number of credits in this transfer that can be - * traded by the recipient. Decimal values are acceptable within the - * precision returned by Query/Precision. - */ - tradable_amount: string; - /** - * retired_amount is the number of credits in this transfer that are - * effectively retired by the issuer on receipt. Decimal values are - * acceptable within the precision returned by Query/Precision. - */ - retired_amount: string; - /** - * retirement_location is the location of the beneficiary or buyer of the - * retired credits. This must be provided if retired_amount is positive. It - * is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - retirement_location: string; -} -export interface MsgSend_SendCreditsAminoMsg { - type: "/regen.ecocredit.v1alpha1.SendCredits"; - value: MsgSend_SendCreditsAmino; -} -/** - * SendCredits specifies a batch and the number of credits being transferred. - * This is split into tradable credits, which will remain tradable on receipt, - * and retired credits, which will be retired on receipt. - */ -export interface MsgSend_SendCreditsSDKType { - batch_denom: string; - tradable_amount: string; - retired_amount: string; - retirement_location: string; -} -/** MsgSendResponse is the Msg/Send response type. */ -export interface MsgSendResponse { -} -export interface MsgSendResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse is the Msg/Send response type. */ -export interface MsgSendResponseAmino { -} -export interface MsgSendResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse is the Msg/Send response type. */ -export interface MsgSendResponseSDKType { -} -/** MsgRetire is the Msg/Retire request type. */ -export interface MsgRetire { - /** holder is the credit holder address. */ - holder: string; - /** credits are the credits being retired. */ - credits: MsgRetire_RetireCredits[]; - /** - * location is the location of the beneficiary or buyer of the retired - * credits. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - location: string; -} -export interface MsgRetireProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgRetire"; - value: Uint8Array; -} -/** MsgRetire is the Msg/Retire request type. */ -export interface MsgRetireAmino { - /** holder is the credit holder address. */ - holder: string; - /** credits are the credits being retired. */ - credits: MsgRetire_RetireCreditsAmino[]; - /** - * location is the location of the beneficiary or buyer of the retired - * credits. It is a string of the form - * [-[ ]], with the first two - * fields conforming to ISO 3166-2, and postal-code being up to 64 - * alphanumeric characters. - */ - location: string; -} -export interface MsgRetireAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgRetire"; - value: MsgRetireAmino; -} -/** MsgRetire is the Msg/Retire request type. */ -export interface MsgRetireSDKType { - holder: string; - credits: MsgRetire_RetireCreditsSDKType[]; - location: string; -} -/** RetireCredits specifies a batch and the number of credits being retired. */ -export interface MsgRetire_RetireCredits { - /** batch_denom is the unique ID of the credit batch. */ - batchDenom: string; - /** - * amount is the number of credits being retired. - * Decimal values are acceptable within the precision returned by - * Query/Precision. - */ - amount: string; -} -export interface MsgRetire_RetireCreditsProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.RetireCredits"; - value: Uint8Array; -} -/** RetireCredits specifies a batch and the number of credits being retired. */ -export interface MsgRetire_RetireCreditsAmino { - /** batch_denom is the unique ID of the credit batch. */ - batch_denom: string; - /** - * amount is the number of credits being retired. - * Decimal values are acceptable within the precision returned by - * Query/Precision. - */ - amount: string; -} -export interface MsgRetire_RetireCreditsAminoMsg { - type: "/regen.ecocredit.v1alpha1.RetireCredits"; - value: MsgRetire_RetireCreditsAmino; -} -/** RetireCredits specifies a batch and the number of credits being retired. */ -export interface MsgRetire_RetireCreditsSDKType { - batch_denom: string; - amount: string; -} -/** MsgRetire is the Msg/Retire response type. */ -export interface MsgRetireResponse { -} -export interface MsgRetireResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgRetireResponse"; - value: Uint8Array; -} -/** MsgRetire is the Msg/Retire response type. */ -export interface MsgRetireResponseAmino { -} -export interface MsgRetireResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgRetireResponse"; - value: MsgRetireResponseAmino; -} -/** MsgRetire is the Msg/Retire response type. */ -export interface MsgRetireResponseSDKType { -} -/** MsgCancel is the Msg/Cancel request type. */ -export interface MsgCancel { - /** holder is the credit holder address. */ - holder: string; - /** credits are the credits being cancelled. */ - credits: MsgCancel_CancelCredits[]; -} -export interface MsgCancelProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCancel"; - value: Uint8Array; -} -/** MsgCancel is the Msg/Cancel request type. */ -export interface MsgCancelAmino { - /** holder is the credit holder address. */ - holder: string; - /** credits are the credits being cancelled. */ - credits: MsgCancel_CancelCreditsAmino[]; -} -export interface MsgCancelAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgCancel"; - value: MsgCancelAmino; -} -/** MsgCancel is the Msg/Cancel request type. */ -export interface MsgCancelSDKType { - holder: string; - credits: MsgCancel_CancelCreditsSDKType[]; -} -/** CancelCredits specifies a batch and the number of credits being cancelled. */ -export interface MsgCancel_CancelCredits { - /** batch_denom is the unique ID of the credit batch. */ - batchDenom: string; - /** - * amount is the number of credits being cancelled. - * Decimal values are acceptable within the precision returned by - * Query/Precision. - */ - amount: string; -} -export interface MsgCancel_CancelCreditsProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.CancelCredits"; - value: Uint8Array; -} -/** CancelCredits specifies a batch and the number of credits being cancelled. */ -export interface MsgCancel_CancelCreditsAmino { - /** batch_denom is the unique ID of the credit batch. */ - batch_denom: string; - /** - * amount is the number of credits being cancelled. - * Decimal values are acceptable within the precision returned by - * Query/Precision. - */ - amount: string; -} -export interface MsgCancel_CancelCreditsAminoMsg { - type: "/regen.ecocredit.v1alpha1.CancelCredits"; - value: MsgCancel_CancelCreditsAmino; -} -/** CancelCredits specifies a batch and the number of credits being cancelled. */ -export interface MsgCancel_CancelCreditsSDKType { - batch_denom: string; - amount: string; -} -/** MsgCancelResponse is the Msg/Cancel response type. */ -export interface MsgCancelResponse { -} -export interface MsgCancelResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgCancelResponse"; - value: Uint8Array; -} -/** MsgCancelResponse is the Msg/Cancel response type. */ -export interface MsgCancelResponseAmino { -} -export interface MsgCancelResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgCancelResponse"; - value: MsgCancelResponseAmino; -} -/** MsgCancelResponse is the Msg/Cancel response type. */ -export interface MsgCancelResponseSDKType { -} -/** MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type. */ -export interface MsgUpdateClassAdmin { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique ID of the credit class. */ - classId: string; - /** new_admin is the address of the new admin of the credit class. */ - newAdmin: string; -} -export interface MsgUpdateClassAdminProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin"; - value: Uint8Array; -} -/** MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type. */ -export interface MsgUpdateClassAdminAmino { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique ID of the credit class. */ - class_id: string; - /** new_admin is the address of the new admin of the credit class. */ - new_admin: string; -} -export interface MsgUpdateClassAdminAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgUpdateClassAdmin"; - value: MsgUpdateClassAdminAmino; -} -/** MsgUpdateClassAdmin is the Msg/UpdateClassAdmin request type. */ -export interface MsgUpdateClassAdminSDKType { - admin: string; - class_id: string; - new_admin: string; -} -/** MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type. */ -export interface MsgUpdateClassAdminResponse { -} -export interface MsgUpdateClassAdminResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type. */ -export interface MsgUpdateClassAdminResponseAmino { -} -export interface MsgUpdateClassAdminResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgUpdateClassAdminResponse"; - value: MsgUpdateClassAdminResponseAmino; -} -/** MsgUpdateClassAdminResponse is the MsgUpdateClassAdmin response type. */ -export interface MsgUpdateClassAdminResponseSDKType { -} -/** MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type. */ -export interface MsgUpdateClassIssuers { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique ID of the credit class. */ - classId: string; - /** issuers are the updated account addresses of the approved issuers. */ - issuers: string[]; -} -export interface MsgUpdateClassIssuersProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers"; - value: Uint8Array; -} -/** MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type. */ -export interface MsgUpdateClassIssuersAmino { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique ID of the credit class. */ - class_id: string; - /** issuers are the updated account addresses of the approved issuers. */ - issuers: string[]; -} -export interface MsgUpdateClassIssuersAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuers"; - value: MsgUpdateClassIssuersAmino; -} -/** MsgUpdateClassIssuers is the Msg/UpdateClassIssuers request type. */ -export interface MsgUpdateClassIssuersSDKType { - admin: string; - class_id: string; - issuers: string[]; -} -/** MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type. */ -export interface MsgUpdateClassIssuersResponse { -} -export interface MsgUpdateClassIssuersResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuersResponse"; - value: Uint8Array; -} -/** MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type. */ -export interface MsgUpdateClassIssuersResponseAmino { -} -export interface MsgUpdateClassIssuersResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgUpdateClassIssuersResponse"; - value: MsgUpdateClassIssuersResponseAmino; -} -/** MsgUpdateClassIssuersResponse is the MsgUpdateClassIssuers response type. */ -export interface MsgUpdateClassIssuersResponseSDKType { -} -/** MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type. */ -export interface MsgUpdateClassMetadata { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique ID of the credit class. */ - classId: string; - /** - * metadata is the updated arbitrary metadata to be attached to the credit - * class. - */ - metadata: Uint8Array; -} -export interface MsgUpdateClassMetadataProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata"; - value: Uint8Array; -} -/** MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type. */ -export interface MsgUpdateClassMetadataAmino { - /** admin is the address of the account that is the admin of the credit class. */ - admin: string; - /** class_id is the unique ID of the credit class. */ - class_id: string; - /** - * metadata is the updated arbitrary metadata to be attached to the credit - * class. - */ - metadata: Uint8Array; -} -export interface MsgUpdateClassMetadataAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadata"; - value: MsgUpdateClassMetadataAmino; -} -/** MsgUpdateClassMetadata is the Msg/UpdateClassMetadata request type. */ -export interface MsgUpdateClassMetadataSDKType { - admin: string; - class_id: string; - metadata: Uint8Array; -} -/** MsgUpdateClassMetadataResponse is the MsgUpdateClassMetadata response type. */ -export interface MsgUpdateClassMetadataResponse { -} -export interface MsgUpdateClassMetadataResponseProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateClassMetadataResponse is the MsgUpdateClassMetadata response type. */ -export interface MsgUpdateClassMetadataResponseAmino { -} -export interface MsgUpdateClassMetadataResponseAminoMsg { - type: "/regen.ecocredit.v1alpha1.MsgUpdateClassMetadataResponse"; - value: MsgUpdateClassMetadataResponseAmino; -} -/** MsgUpdateClassMetadataResponse is the MsgUpdateClassMetadata response type. */ -export interface MsgUpdateClassMetadataResponseSDKType { -} -export declare const MsgCreateClass: { - encode(message: MsgCreateClass, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClass; - fromJSON(object: any): MsgCreateClass; - toJSON(message: MsgCreateClass): unknown; - fromPartial(object: Partial): MsgCreateClass; - fromAmino(object: MsgCreateClassAmino): MsgCreateClass; - toAmino(message: MsgCreateClass): MsgCreateClassAmino; - fromAminoMsg(object: MsgCreateClassAminoMsg): MsgCreateClass; - fromProtoMsg(message: MsgCreateClassProtoMsg): MsgCreateClass; - toProto(message: MsgCreateClass): Uint8Array; - toProtoMsg(message: MsgCreateClass): MsgCreateClassProtoMsg; -}; -export declare const MsgCreateClassResponse: { - encode(message: MsgCreateClassResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClassResponse; - fromJSON(object: any): MsgCreateClassResponse; - toJSON(message: MsgCreateClassResponse): unknown; - fromPartial(object: Partial): MsgCreateClassResponse; - fromAmino(object: MsgCreateClassResponseAmino): MsgCreateClassResponse; - toAmino(message: MsgCreateClassResponse): MsgCreateClassResponseAmino; - fromAminoMsg(object: MsgCreateClassResponseAminoMsg): MsgCreateClassResponse; - fromProtoMsg(message: MsgCreateClassResponseProtoMsg): MsgCreateClassResponse; - toProto(message: MsgCreateClassResponse): Uint8Array; - toProtoMsg(message: MsgCreateClassResponse): MsgCreateClassResponseProtoMsg; -}; -export declare const MsgCreateBatch: { - encode(message: MsgCreateBatch, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateBatch; - fromJSON(object: any): MsgCreateBatch; - toJSON(message: MsgCreateBatch): unknown; - fromPartial(object: Partial): MsgCreateBatch; - fromAmino(object: MsgCreateBatchAmino): MsgCreateBatch; - toAmino(message: MsgCreateBatch): MsgCreateBatchAmino; - fromAminoMsg(object: MsgCreateBatchAminoMsg): MsgCreateBatch; - fromProtoMsg(message: MsgCreateBatchProtoMsg): MsgCreateBatch; - toProto(message: MsgCreateBatch): Uint8Array; - toProtoMsg(message: MsgCreateBatch): MsgCreateBatchProtoMsg; -}; -export declare const MsgCreateBatch_BatchIssuance: { - encode(message: MsgCreateBatch_BatchIssuance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateBatch_BatchIssuance; - fromJSON(object: any): MsgCreateBatch_BatchIssuance; - toJSON(message: MsgCreateBatch_BatchIssuance): unknown; - fromPartial(object: Partial): MsgCreateBatch_BatchIssuance; - fromAmino(object: MsgCreateBatch_BatchIssuanceAmino): MsgCreateBatch_BatchIssuance; - toAmino(message: MsgCreateBatch_BatchIssuance): MsgCreateBatch_BatchIssuanceAmino; - fromAminoMsg(object: MsgCreateBatch_BatchIssuanceAminoMsg): MsgCreateBatch_BatchIssuance; - fromProtoMsg(message: MsgCreateBatch_BatchIssuanceProtoMsg): MsgCreateBatch_BatchIssuance; - toProto(message: MsgCreateBatch_BatchIssuance): Uint8Array; - toProtoMsg(message: MsgCreateBatch_BatchIssuance): MsgCreateBatch_BatchIssuanceProtoMsg; -}; -export declare const MsgCreateBatchResponse: { - encode(message: MsgCreateBatchResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateBatchResponse; - fromJSON(object: any): MsgCreateBatchResponse; - toJSON(message: MsgCreateBatchResponse): unknown; - fromPartial(object: Partial): MsgCreateBatchResponse; - fromAmino(object: MsgCreateBatchResponseAmino): MsgCreateBatchResponse; - toAmino(message: MsgCreateBatchResponse): MsgCreateBatchResponseAmino; - fromAminoMsg(object: MsgCreateBatchResponseAminoMsg): MsgCreateBatchResponse; - fromProtoMsg(message: MsgCreateBatchResponseProtoMsg): MsgCreateBatchResponse; - toProto(message: MsgCreateBatchResponse): Uint8Array; - toProtoMsg(message: MsgCreateBatchResponse): MsgCreateBatchResponseProtoMsg; -}; -export declare const MsgSend: { - encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend; - fromJSON(object: any): MsgSend; - toJSON(message: MsgSend): unknown; - fromPartial(object: Partial): MsgSend; - fromAmino(object: MsgSendAmino): MsgSend; - toAmino(message: MsgSend): MsgSendAmino; - fromAminoMsg(object: MsgSendAminoMsg): MsgSend; - fromProtoMsg(message: MsgSendProtoMsg): MsgSend; - toProto(message: MsgSend): Uint8Array; - toProtoMsg(message: MsgSend): MsgSendProtoMsg; -}; -export declare const MsgSend_SendCredits: { - encode(message: MsgSend_SendCredits, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend_SendCredits; - fromJSON(object: any): MsgSend_SendCredits; - toJSON(message: MsgSend_SendCredits): unknown; - fromPartial(object: Partial): MsgSend_SendCredits; - fromAmino(object: MsgSend_SendCreditsAmino): MsgSend_SendCredits; - toAmino(message: MsgSend_SendCredits): MsgSend_SendCreditsAmino; - fromAminoMsg(object: MsgSend_SendCreditsAminoMsg): MsgSend_SendCredits; - fromProtoMsg(message: MsgSend_SendCreditsProtoMsg): MsgSend_SendCredits; - toProto(message: MsgSend_SendCredits): Uint8Array; - toProtoMsg(message: MsgSend_SendCredits): MsgSend_SendCreditsProtoMsg; -}; -export declare const MsgSendResponse: { - encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse; - fromJSON(_: any): MsgSendResponse; - toJSON(_: MsgSendResponse): unknown; - fromPartial(_: Partial): MsgSendResponse; - fromAmino(_: MsgSendResponseAmino): MsgSendResponse; - toAmino(_: MsgSendResponse): MsgSendResponseAmino; - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse; - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse; - toProto(message: MsgSendResponse): Uint8Array; - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg; -}; -export declare const MsgRetire: { - encode(message: MsgRetire, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRetire; - fromJSON(object: any): MsgRetire; - toJSON(message: MsgRetire): unknown; - fromPartial(object: Partial): MsgRetire; - fromAmino(object: MsgRetireAmino): MsgRetire; - toAmino(message: MsgRetire): MsgRetireAmino; - fromAminoMsg(object: MsgRetireAminoMsg): MsgRetire; - fromProtoMsg(message: MsgRetireProtoMsg): MsgRetire; - toProto(message: MsgRetire): Uint8Array; - toProtoMsg(message: MsgRetire): MsgRetireProtoMsg; -}; -export declare const MsgRetire_RetireCredits: { - encode(message: MsgRetire_RetireCredits, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRetire_RetireCredits; - fromJSON(object: any): MsgRetire_RetireCredits; - toJSON(message: MsgRetire_RetireCredits): unknown; - fromPartial(object: Partial): MsgRetire_RetireCredits; - fromAmino(object: MsgRetire_RetireCreditsAmino): MsgRetire_RetireCredits; - toAmino(message: MsgRetire_RetireCredits): MsgRetire_RetireCreditsAmino; - fromAminoMsg(object: MsgRetire_RetireCreditsAminoMsg): MsgRetire_RetireCredits; - fromProtoMsg(message: MsgRetire_RetireCreditsProtoMsg): MsgRetire_RetireCredits; - toProto(message: MsgRetire_RetireCredits): Uint8Array; - toProtoMsg(message: MsgRetire_RetireCredits): MsgRetire_RetireCreditsProtoMsg; -}; -export declare const MsgRetireResponse: { - encode(_: MsgRetireResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRetireResponse; - fromJSON(_: any): MsgRetireResponse; - toJSON(_: MsgRetireResponse): unknown; - fromPartial(_: Partial): MsgRetireResponse; - fromAmino(_: MsgRetireResponseAmino): MsgRetireResponse; - toAmino(_: MsgRetireResponse): MsgRetireResponseAmino; - fromAminoMsg(object: MsgRetireResponseAminoMsg): MsgRetireResponse; - fromProtoMsg(message: MsgRetireResponseProtoMsg): MsgRetireResponse; - toProto(message: MsgRetireResponse): Uint8Array; - toProtoMsg(message: MsgRetireResponse): MsgRetireResponseProtoMsg; -}; -export declare const MsgCancel: { - encode(message: MsgCancel, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancel; - fromJSON(object: any): MsgCancel; - toJSON(message: MsgCancel): unknown; - fromPartial(object: Partial): MsgCancel; - fromAmino(object: MsgCancelAmino): MsgCancel; - toAmino(message: MsgCancel): MsgCancelAmino; - fromAminoMsg(object: MsgCancelAminoMsg): MsgCancel; - fromProtoMsg(message: MsgCancelProtoMsg): MsgCancel; - toProto(message: MsgCancel): Uint8Array; - toProtoMsg(message: MsgCancel): MsgCancelProtoMsg; -}; -export declare const MsgCancel_CancelCredits: { - encode(message: MsgCancel_CancelCredits, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancel_CancelCredits; - fromJSON(object: any): MsgCancel_CancelCredits; - toJSON(message: MsgCancel_CancelCredits): unknown; - fromPartial(object: Partial): MsgCancel_CancelCredits; - fromAmino(object: MsgCancel_CancelCreditsAmino): MsgCancel_CancelCredits; - toAmino(message: MsgCancel_CancelCredits): MsgCancel_CancelCreditsAmino; - fromAminoMsg(object: MsgCancel_CancelCreditsAminoMsg): MsgCancel_CancelCredits; - fromProtoMsg(message: MsgCancel_CancelCreditsProtoMsg): MsgCancel_CancelCredits; - toProto(message: MsgCancel_CancelCredits): Uint8Array; - toProtoMsg(message: MsgCancel_CancelCredits): MsgCancel_CancelCreditsProtoMsg; -}; -export declare const MsgCancelResponse: { - encode(_: MsgCancelResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelResponse; - fromJSON(_: any): MsgCancelResponse; - toJSON(_: MsgCancelResponse): unknown; - fromPartial(_: Partial): MsgCancelResponse; - fromAmino(_: MsgCancelResponseAmino): MsgCancelResponse; - toAmino(_: MsgCancelResponse): MsgCancelResponseAmino; - fromAminoMsg(object: MsgCancelResponseAminoMsg): MsgCancelResponse; - fromProtoMsg(message: MsgCancelResponseProtoMsg): MsgCancelResponse; - toProto(message: MsgCancelResponse): Uint8Array; - toProtoMsg(message: MsgCancelResponse): MsgCancelResponseProtoMsg; -}; -export declare const MsgUpdateClassAdmin: { - encode(message: MsgUpdateClassAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassAdmin; - fromJSON(object: any): MsgUpdateClassAdmin; - toJSON(message: MsgUpdateClassAdmin): unknown; - fromPartial(object: Partial): MsgUpdateClassAdmin; - fromAmino(object: MsgUpdateClassAdminAmino): MsgUpdateClassAdmin; - toAmino(message: MsgUpdateClassAdmin): MsgUpdateClassAdminAmino; - fromAminoMsg(object: MsgUpdateClassAdminAminoMsg): MsgUpdateClassAdmin; - fromProtoMsg(message: MsgUpdateClassAdminProtoMsg): MsgUpdateClassAdmin; - toProto(message: MsgUpdateClassAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateClassAdmin): MsgUpdateClassAdminProtoMsg; -}; -export declare const MsgUpdateClassAdminResponse: { - encode(_: MsgUpdateClassAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassAdminResponse; - fromJSON(_: any): MsgUpdateClassAdminResponse; - toJSON(_: MsgUpdateClassAdminResponse): unknown; - fromPartial(_: Partial): MsgUpdateClassAdminResponse; - fromAmino(_: MsgUpdateClassAdminResponseAmino): MsgUpdateClassAdminResponse; - toAmino(_: MsgUpdateClassAdminResponse): MsgUpdateClassAdminResponseAmino; - fromAminoMsg(object: MsgUpdateClassAdminResponseAminoMsg): MsgUpdateClassAdminResponse; - fromProtoMsg(message: MsgUpdateClassAdminResponseProtoMsg): MsgUpdateClassAdminResponse; - toProto(message: MsgUpdateClassAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClassAdminResponse): MsgUpdateClassAdminResponseProtoMsg; -}; -export declare const MsgUpdateClassIssuers: { - encode(message: MsgUpdateClassIssuers, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassIssuers; - fromJSON(object: any): MsgUpdateClassIssuers; - toJSON(message: MsgUpdateClassIssuers): unknown; - fromPartial(object: Partial): MsgUpdateClassIssuers; - fromAmino(object: MsgUpdateClassIssuersAmino): MsgUpdateClassIssuers; - toAmino(message: MsgUpdateClassIssuers): MsgUpdateClassIssuersAmino; - fromAminoMsg(object: MsgUpdateClassIssuersAminoMsg): MsgUpdateClassIssuers; - fromProtoMsg(message: MsgUpdateClassIssuersProtoMsg): MsgUpdateClassIssuers; - toProto(message: MsgUpdateClassIssuers): Uint8Array; - toProtoMsg(message: MsgUpdateClassIssuers): MsgUpdateClassIssuersProtoMsg; -}; -export declare const MsgUpdateClassIssuersResponse: { - encode(_: MsgUpdateClassIssuersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassIssuersResponse; - fromJSON(_: any): MsgUpdateClassIssuersResponse; - toJSON(_: MsgUpdateClassIssuersResponse): unknown; - fromPartial(_: Partial): MsgUpdateClassIssuersResponse; - fromAmino(_: MsgUpdateClassIssuersResponseAmino): MsgUpdateClassIssuersResponse; - toAmino(_: MsgUpdateClassIssuersResponse): MsgUpdateClassIssuersResponseAmino; - fromAminoMsg(object: MsgUpdateClassIssuersResponseAminoMsg): MsgUpdateClassIssuersResponse; - fromProtoMsg(message: MsgUpdateClassIssuersResponseProtoMsg): MsgUpdateClassIssuersResponse; - toProto(message: MsgUpdateClassIssuersResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClassIssuersResponse): MsgUpdateClassIssuersResponseProtoMsg; -}; -export declare const MsgUpdateClassMetadata: { - encode(message: MsgUpdateClassMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassMetadata; - fromJSON(object: any): MsgUpdateClassMetadata; - toJSON(message: MsgUpdateClassMetadata): unknown; - fromPartial(object: Partial): MsgUpdateClassMetadata; - fromAmino(object: MsgUpdateClassMetadataAmino): MsgUpdateClassMetadata; - toAmino(message: MsgUpdateClassMetadata): MsgUpdateClassMetadataAmino; - fromAminoMsg(object: MsgUpdateClassMetadataAminoMsg): MsgUpdateClassMetadata; - fromProtoMsg(message: MsgUpdateClassMetadataProtoMsg): MsgUpdateClassMetadata; - toProto(message: MsgUpdateClassMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateClassMetadata): MsgUpdateClassMetadataProtoMsg; -}; -export declare const MsgUpdateClassMetadataResponse: { - encode(_: MsgUpdateClassMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClassMetadataResponse; - fromJSON(_: any): MsgUpdateClassMetadataResponse; - toJSON(_: MsgUpdateClassMetadataResponse): unknown; - fromPartial(_: Partial): MsgUpdateClassMetadataResponse; - fromAmino(_: MsgUpdateClassMetadataResponseAmino): MsgUpdateClassMetadataResponse; - toAmino(_: MsgUpdateClassMetadataResponse): MsgUpdateClassMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateClassMetadataResponseAminoMsg): MsgUpdateClassMetadataResponse; - fromProtoMsg(message: MsgUpdateClassMetadataResponseProtoMsg): MsgUpdateClassMetadataResponse; - toProto(message: MsgUpdateClassMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClassMetadataResponse): MsgUpdateClassMetadataResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.registry.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.registry.d.ts deleted file mode 100644 index 1f3c1d5a..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.registry.d.ts +++ /dev/null @@ -1,176 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateClass, MsgCreateBatch, MsgSend, MsgRetire, MsgCancel, MsgUpdateClassAdmin, MsgUpdateClassIssuers, MsgUpdateClassMetadata } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: Uint8Array; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: Uint8Array; - }; - send(value: MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: Uint8Array; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: Uint8Array; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: Uint8Array; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: MsgCreateClass; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: MsgCreateBatch; - }; - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: MsgRetire; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: MsgCancel; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: MsgUpdateClassAdmin; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: MsgUpdateClassIssuers; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: MsgUpdateClassMetadata; - }; - }; - toJSON: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: unknown; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: unknown; - }; - send(value: MsgSend): { - typeUrl: string; - value: unknown; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: unknown; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: unknown; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: unknown; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: unknown; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClass(value: any): { - typeUrl: string; - value: MsgCreateClass; - }; - createBatch(value: any): { - typeUrl: string; - value: MsgCreateBatch; - }; - send(value: any): { - typeUrl: string; - value: MsgSend; - }; - retire(value: any): { - typeUrl: string; - value: MsgRetire; - }; - cancel(value: any): { - typeUrl: string; - value: MsgCancel; - }; - updateClassAdmin(value: any): { - typeUrl: string; - value: MsgUpdateClassAdmin; - }; - updateClassIssuers(value: any): { - typeUrl: string; - value: MsgUpdateClassIssuers; - }; - updateClassMetadata(value: any): { - typeUrl: string; - value: MsgUpdateClassMetadata; - }; - }; - fromPartial: { - createClass(value: MsgCreateClass): { - typeUrl: string; - value: MsgCreateClass; - }; - createBatch(value: MsgCreateBatch): { - typeUrl: string; - value: MsgCreateBatch; - }; - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - retire(value: MsgRetire): { - typeUrl: string; - value: MsgRetire; - }; - cancel(value: MsgCancel): { - typeUrl: string; - value: MsgCancel; - }; - updateClassAdmin(value: MsgUpdateClassAdmin): { - typeUrl: string; - value: MsgUpdateClassAdmin; - }; - updateClassIssuers(value: MsgUpdateClassIssuers): { - typeUrl: string; - value: MsgUpdateClassIssuers; - }; - updateClassMetadata(value: MsgUpdateClassMetadata): { - typeUrl: string; - value: MsgUpdateClassMetadata; - }; - }; -}; diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.rpc.msg.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.rpc.msg.d.ts deleted file mode 100644 index bc4794c1..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgCreateClass, MsgCreateClassResponse, MsgCreateBatch, MsgCreateBatchResponse, MsgSend, MsgSendResponse, MsgRetire, MsgRetireResponse, MsgCancel, MsgCancelResponse, MsgUpdateClassAdmin, MsgUpdateClassAdminResponse, MsgUpdateClassIssuers, MsgUpdateClassIssuersResponse, MsgUpdateClassMetadata, MsgUpdateClassMetadataResponse } from "./tx"; -/** Msg is the regen.ecocredit.v1alpha1 Msg service. */ -export interface Msg { - /** - * CreateClass creates a new credit class with an approved list of issuers and - * optional metadata. - */ - createClass(request: MsgCreateClass): Promise; - /** - * CreateBatch creates a new batch of credits for an existing credit class. - * This will create a new batch denom with a fixed supply. Issued credits can - * be distributed to recipients in either tradable or retired form. - */ - createBatch(request: MsgCreateBatch): Promise; - /** - * Send sends tradable credits from one account to another account. Sent - * credits can either be tradable or retired on receipt. - */ - send(request: MsgSend): Promise; - /** Retire retires a specified number of credits in the holder's account. */ - retire(request: MsgRetire): Promise; - /** - * Cancel removes a number of credits from the holder's account and also - * deducts them from the tradable supply, effectively cancelling their - * issuance on Regen Ledger - */ - cancel(request: MsgCancel): Promise; - /** UpdateClassAdmin updates the credit class admin */ - updateClassAdmin(request: MsgUpdateClassAdmin): Promise; - /** UpdateClassIssuers updates the credit class issuer list */ - updateClassIssuers(request: MsgUpdateClassIssuers): Promise; - /** UpdateClassMetadata updates the credit class metadata */ - updateClassMetadata(request: MsgUpdateClassMetadata): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createClass(request: MsgCreateClass): Promise; - createBatch(request: MsgCreateBatch): Promise; - send(request: MsgSend): Promise; - retire(request: MsgRetire): Promise; - cancel(request: MsgCancel): Promise; - updateClassAdmin(request: MsgUpdateClassAdmin): Promise; - updateClassIssuers(request: MsgUpdateClassIssuers): Promise; - updateClassMetadata(request: MsgUpdateClassMetadata): Promise; -} diff --git a/packages/api/types/codegen/regen/ecocredit/v1alpha1/types.d.ts b/packages/api/types/codegen/regen/ecocredit/v1alpha1/types.d.ts deleted file mode 100644 index 19782b50..00000000 --- a/packages/api/types/codegen/regen/ecocredit/v1alpha1/types.d.ts +++ /dev/null @@ -1,375 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** ClassInfo represents the high-level on-chain information for a credit class. */ -export interface ClassInfo { - /** class_id is the unique ID of credit class. */ - classId: string; - /** admin is the admin of the credit class. */ - admin: string; - /** issuers are the approved issuers of the credit class. */ - issuers: string[]; - /** metadata is any arbitrary metadata to attached to the credit class. */ - metadata: Uint8Array; - /** - * credit_type describes the type of credit (e.g. carbon, biodiversity), as - * well as unit and precision. - */ - creditType: CreditType; - /** The number of batches issued in this credit class. */ - numBatches: Long; -} -export interface ClassInfoProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.ClassInfo"; - value: Uint8Array; -} -/** ClassInfo represents the high-level on-chain information for a credit class. */ -export interface ClassInfoAmino { - /** class_id is the unique ID of credit class. */ - class_id: string; - /** admin is the admin of the credit class. */ - admin: string; - /** issuers are the approved issuers of the credit class. */ - issuers: string[]; - /** metadata is any arbitrary metadata to attached to the credit class. */ - metadata: Uint8Array; - /** - * credit_type describes the type of credit (e.g. carbon, biodiversity), as - * well as unit and precision. - */ - credit_type?: CreditTypeAmino; - /** The number of batches issued in this credit class. */ - num_batches: string; -} -export interface ClassInfoAminoMsg { - type: "/regen.ecocredit.v1alpha1.ClassInfo"; - value: ClassInfoAmino; -} -/** ClassInfo represents the high-level on-chain information for a credit class. */ -export interface ClassInfoSDKType { - class_id: string; - admin: string; - issuers: string[]; - metadata: Uint8Array; - credit_type: CreditTypeSDKType; - num_batches: Long; -} -/** BatchInfo represents the high-level on-chain information for a credit batch. */ -export interface BatchInfo { - /** class_id is the unique ID of credit class. */ - classId: string; - /** batch_denom is the unique ID of credit batch. */ - batchDenom: string; - /** issuer is the issuer of the credit batch. */ - issuer: string; - /** - * total_amount is the total number of active credits in the credit batch. - * Some of the issued credits may be cancelled and will be removed from - * total_amount and tracked in amount_cancelled. total_amount and - * amount_cancelled will always sum to the original amount of credits that - * were issued. - */ - totalAmount: string; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: Uint8Array; - /** - * amount_cancelled is the number of credits in the batch that have been - * cancelled, effectively undoing there issuance. The sum of total_amount and - * amount_cancelled will always sum to the original amount of credits that - * were issued. - */ - amountCancelled: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - startDate: Timestamp; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - endDate: Timestamp; - /** - * project_location is the location of the project backing the credits in this - * batch. Full documentation can be found in MsgCreateBatch.project_location. - */ - projectLocation: string; -} -export interface BatchInfoProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.BatchInfo"; - value: Uint8Array; -} -/** BatchInfo represents the high-level on-chain information for a credit batch. */ -export interface BatchInfoAmino { - /** class_id is the unique ID of credit class. */ - class_id: string; - /** batch_denom is the unique ID of credit batch. */ - batch_denom: string; - /** issuer is the issuer of the credit batch. */ - issuer: string; - /** - * total_amount is the total number of active credits in the credit batch. - * Some of the issued credits may be cancelled and will be removed from - * total_amount and tracked in amount_cancelled. total_amount and - * amount_cancelled will always sum to the original amount of credits that - * were issued. - */ - total_amount: string; - /** metadata is any arbitrary metadata attached to the credit batch. */ - metadata: Uint8Array; - /** - * amount_cancelled is the number of credits in the batch that have been - * cancelled, effectively undoing there issuance. The sum of total_amount and - * amount_cancelled will always sum to the original amount of credits that - * were issued. - */ - amount_cancelled: string; - /** - * start_date is the beginning of the period during which this credit batch - * was quantified and verified. - */ - start_date?: TimestampAmino; - /** - * end_date is the end of the period during which this credit batch was - * quantified and verified. - */ - end_date?: TimestampAmino; - /** - * project_location is the location of the project backing the credits in this - * batch. Full documentation can be found in MsgCreateBatch.project_location. - */ - project_location: string; -} -export interface BatchInfoAminoMsg { - type: "/regen.ecocredit.v1alpha1.BatchInfo"; - value: BatchInfoAmino; -} -/** BatchInfo represents the high-level on-chain information for a credit batch. */ -export interface BatchInfoSDKType { - class_id: string; - batch_denom: string; - issuer: string; - total_amount: string; - metadata: Uint8Array; - amount_cancelled: string; - start_date: TimestampSDKType; - end_date: TimestampSDKType; - project_location: string; -} -/** - * Params defines the updatable global parameters of the ecocredit module for - * use with the x/params module. - */ -export interface Params { - /** credit_class_fee is the fixed fee charged on creation of a new credit class */ - creditClassFee: Coin[]; - /** - * allowed_class_creators is an allowlist defining the addresses with - * the required permissions to create credit classes - */ - allowedClassCreators: string[]; - /** - * allowlist_enabled is a param that enables/disables the allowlist for credit - * creation - */ - allowlistEnabled: boolean; - /** credit_types is a list of definitions for credit types */ - creditTypes: CreditType[]; - /** basket_creation_fee is the fee to create a new basket denom. */ - basketCreationFee: Coin[]; -} -export interface ParamsProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.Params"; - value: Uint8Array; -} -/** - * Params defines the updatable global parameters of the ecocredit module for - * use with the x/params module. - */ -export interface ParamsAmino { - /** credit_class_fee is the fixed fee charged on creation of a new credit class */ - credit_class_fee: CoinAmino[]; - /** - * allowed_class_creators is an allowlist defining the addresses with - * the required permissions to create credit classes - */ - allowed_class_creators: string[]; - /** - * allowlist_enabled is a param that enables/disables the allowlist for credit - * creation - */ - allowlist_enabled: boolean; - /** credit_types is a list of definitions for credit types */ - credit_types: CreditTypeAmino[]; - /** basket_creation_fee is the fee to create a new basket denom. */ - basket_creation_fee: CoinAmino[]; -} -export interface ParamsAminoMsg { - type: "/regen.ecocredit.v1alpha1.Params"; - value: ParamsAmino; -} -/** - * Params defines the updatable global parameters of the ecocredit module for - * use with the x/params module. - */ -export interface ParamsSDKType { - credit_class_fee: CoinSDKType[]; - allowed_class_creators: string[]; - allowlist_enabled: boolean; - credit_types: CreditTypeSDKType[]; - basket_creation_fee: CoinSDKType[]; -} -/** - * CreditType defines the measurement unit/precision of a certain credit type - * (e.g. carbon, biodiversity...) - */ -export interface CreditType { - /** the type of credit (e.g. carbon, biodiversity, etc) */ - name: string; - /** - * abbreviation is a 1-3 character uppercase abbreviation of the CreditType - * name, used in batch denominations within the CreditType. It must be unique. - */ - abbreviation: string; - /** the measurement unit (e.g. kg, ton, etc) */ - unit: string; - /** the decimal precision */ - precision: number; -} -export interface CreditTypeProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.CreditType"; - value: Uint8Array; -} -/** - * CreditType defines the measurement unit/precision of a certain credit type - * (e.g. carbon, biodiversity...) - */ -export interface CreditTypeAmino { - /** the type of credit (e.g. carbon, biodiversity, etc) */ - name: string; - /** - * abbreviation is a 1-3 character uppercase abbreviation of the CreditType - * name, used in batch denominations within the CreditType. It must be unique. - */ - abbreviation: string; - /** the measurement unit (e.g. kg, ton, etc) */ - unit: string; - /** the decimal precision */ - precision: number; -} -export interface CreditTypeAminoMsg { - type: "/regen.ecocredit.v1alpha1.CreditType"; - value: CreditTypeAmino; -} -/** - * CreditType defines the measurement unit/precision of a certain credit type - * (e.g. carbon, biodiversity...) - */ -export interface CreditTypeSDKType { - name: string; - abbreviation: string; - unit: string; - precision: number; -} -/** - * CreditTypeSeq associates a sequence number with a credit type abbreviation. - * This represents the number of credit classes created with that credit type. - */ -export interface CreditTypeSeq { - /** The credit type abbreviation */ - abbreviation: string; - /** The sequence number of classes of the credit type */ - seqNumber: Long; -} -export interface CreditTypeSeqProtoMsg { - typeUrl: "/regen.ecocredit.v1alpha1.CreditTypeSeq"; - value: Uint8Array; -} -/** - * CreditTypeSeq associates a sequence number with a credit type abbreviation. - * This represents the number of credit classes created with that credit type. - */ -export interface CreditTypeSeqAmino { - /** The credit type abbreviation */ - abbreviation: string; - /** The sequence number of classes of the credit type */ - seq_number: string; -} -export interface CreditTypeSeqAminoMsg { - type: "/regen.ecocredit.v1alpha1.CreditTypeSeq"; - value: CreditTypeSeqAmino; -} -/** - * CreditTypeSeq associates a sequence number with a credit type abbreviation. - * This represents the number of credit classes created with that credit type. - */ -export interface CreditTypeSeqSDKType { - abbreviation: string; - seq_number: Long; -} -export declare const ClassInfo: { - encode(message: ClassInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClassInfo; - fromJSON(object: any): ClassInfo; - toJSON(message: ClassInfo): unknown; - fromPartial(object: Partial): ClassInfo; - fromAmino(object: ClassInfoAmino): ClassInfo; - toAmino(message: ClassInfo): ClassInfoAmino; - fromAminoMsg(object: ClassInfoAminoMsg): ClassInfo; - fromProtoMsg(message: ClassInfoProtoMsg): ClassInfo; - toProto(message: ClassInfo): Uint8Array; - toProtoMsg(message: ClassInfo): ClassInfoProtoMsg; -}; -export declare const BatchInfo: { - encode(message: BatchInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchInfo; - fromJSON(object: any): BatchInfo; - toJSON(message: BatchInfo): unknown; - fromPartial(object: Partial): BatchInfo; - fromAmino(object: BatchInfoAmino): BatchInfo; - toAmino(message: BatchInfo): BatchInfoAmino; - fromAminoMsg(object: BatchInfoAminoMsg): BatchInfo; - fromProtoMsg(message: BatchInfoProtoMsg): BatchInfo; - toProto(message: BatchInfo): Uint8Array; - toProtoMsg(message: BatchInfo): BatchInfoProtoMsg; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: Partial): Params; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const CreditType: { - encode(message: CreditType, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CreditType; - fromJSON(object: any): CreditType; - toJSON(message: CreditType): unknown; - fromPartial(object: Partial): CreditType; - fromAmino(object: CreditTypeAmino): CreditType; - toAmino(message: CreditType): CreditTypeAmino; - fromAminoMsg(object: CreditTypeAminoMsg): CreditType; - fromProtoMsg(message: CreditTypeProtoMsg): CreditType; - toProto(message: CreditType): Uint8Array; - toProtoMsg(message: CreditType): CreditTypeProtoMsg; -}; -export declare const CreditTypeSeq: { - encode(message: CreditTypeSeq, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CreditTypeSeq; - fromJSON(object: any): CreditTypeSeq; - toJSON(message: CreditTypeSeq): unknown; - fromPartial(object: Partial): CreditTypeSeq; - fromAmino(object: CreditTypeSeqAmino): CreditTypeSeq; - toAmino(message: CreditTypeSeq): CreditTypeSeqAmino; - fromAminoMsg(object: CreditTypeSeqAminoMsg): CreditTypeSeq; - fromProtoMsg(message: CreditTypeSeqProtoMsg): CreditTypeSeq; - toProto(message: CreditTypeSeq): Uint8Array; - toProtoMsg(message: CreditTypeSeq): CreditTypeSeqProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/intertx/v1/query.d.ts b/packages/api/types/codegen/regen/intertx/v1/query.d.ts deleted file mode 100644 index 7f225128..00000000 --- a/packages/api/types/codegen/regen/intertx/v1/query.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** - * QueryInterchainAccountRequest is the request type for the - * Query/InterchainAccountAddress RPC - */ -export interface QueryInterchainAccountRequest { - /** owner is the address of the account that owns the ICA. */ - owner: string; - /** connection_id is the connection the ICA claimed. */ - connectionId: string; -} -export interface QueryInterchainAccountRequestProtoMsg { - typeUrl: "/regen.intertx.v1.QueryInterchainAccountRequest"; - value: Uint8Array; -} -/** - * QueryInterchainAccountRequest is the request type for the - * Query/InterchainAccountAddress RPC - */ -export interface QueryInterchainAccountRequestAmino { - /** owner is the address of the account that owns the ICA. */ - owner: string; - /** connection_id is the connection the ICA claimed. */ - connection_id: string; -} -export interface QueryInterchainAccountRequestAminoMsg { - type: "/regen.intertx.v1.QueryInterchainAccountRequest"; - value: QueryInterchainAccountRequestAmino; -} -/** - * QueryInterchainAccountRequest is the request type for the - * Query/InterchainAccountAddress RPC - */ -export interface QueryInterchainAccountRequestSDKType { - owner: string; - connection_id: string; -} -/** - * QueryInterchainAccountResponse the response type for the - * Query/InterchainAccountAddress RPC - */ -export interface QueryInterchainAccountResponse { - /** interchain_account_address is the address of the ICA. */ - interchainAccountAddress: string; -} -export interface QueryInterchainAccountResponseProtoMsg { - typeUrl: "/regen.intertx.v1.QueryInterchainAccountResponse"; - value: Uint8Array; -} -/** - * QueryInterchainAccountResponse the response type for the - * Query/InterchainAccountAddress RPC - */ -export interface QueryInterchainAccountResponseAmino { - /** interchain_account_address is the address of the ICA. */ - interchain_account_address: string; -} -export interface QueryInterchainAccountResponseAminoMsg { - type: "/regen.intertx.v1.QueryInterchainAccountResponse"; - value: QueryInterchainAccountResponseAmino; -} -/** - * QueryInterchainAccountResponse the response type for the - * Query/InterchainAccountAddress RPC - */ -export interface QueryInterchainAccountResponseSDKType { - interchain_account_address: string; -} -export declare const QueryInterchainAccountRequest: { - encode(message: QueryInterchainAccountRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInterchainAccountRequest; - fromJSON(object: any): QueryInterchainAccountRequest; - toJSON(message: QueryInterchainAccountRequest): unknown; - fromPartial(object: Partial): QueryInterchainAccountRequest; - fromAmino(object: QueryInterchainAccountRequestAmino): QueryInterchainAccountRequest; - toAmino(message: QueryInterchainAccountRequest): QueryInterchainAccountRequestAmino; - fromAminoMsg(object: QueryInterchainAccountRequestAminoMsg): QueryInterchainAccountRequest; - fromProtoMsg(message: QueryInterchainAccountRequestProtoMsg): QueryInterchainAccountRequest; - toProto(message: QueryInterchainAccountRequest): Uint8Array; - toProtoMsg(message: QueryInterchainAccountRequest): QueryInterchainAccountRequestProtoMsg; -}; -export declare const QueryInterchainAccountResponse: { - encode(message: QueryInterchainAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInterchainAccountResponse; - fromJSON(object: any): QueryInterchainAccountResponse; - toJSON(message: QueryInterchainAccountResponse): unknown; - fromPartial(object: Partial): QueryInterchainAccountResponse; - fromAmino(object: QueryInterchainAccountResponseAmino): QueryInterchainAccountResponse; - toAmino(message: QueryInterchainAccountResponse): QueryInterchainAccountResponseAmino; - fromAminoMsg(object: QueryInterchainAccountResponseAminoMsg): QueryInterchainAccountResponse; - fromProtoMsg(message: QueryInterchainAccountResponseProtoMsg): QueryInterchainAccountResponse; - toProto(message: QueryInterchainAccountResponse): Uint8Array; - toProtoMsg(message: QueryInterchainAccountResponse): QueryInterchainAccountResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/intertx/v1/query.lcd.d.ts b/packages/api/types/codegen/regen/intertx/v1/query.lcd.d.ts deleted file mode 100644 index 86c70ae1..00000000 --- a/packages/api/types/codegen/regen/intertx/v1/query.lcd.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryInterchainAccountRequest, QueryInterchainAccountResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - interchainAccount(params: QueryInterchainAccountRequest): Promise; -} diff --git a/packages/api/types/codegen/regen/intertx/v1/query.rpc.Query.d.ts b/packages/api/types/codegen/regen/intertx/v1/query.rpc.Query.d.ts deleted file mode 100644 index f78e9e39..00000000 --- a/packages/api/types/codegen/regen/intertx/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryInterchainAccountRequest, QueryInterchainAccountResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * QueryInterchainAccount returns the interchain account for given owner - * address on a given connection pair - */ - interchainAccount(request: QueryInterchainAccountRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - interchainAccount(request: QueryInterchainAccountRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - interchainAccount(request: QueryInterchainAccountRequest): Promise; -}; diff --git a/packages/api/types/codegen/regen/intertx/v1/tx.amino.d.ts b/packages/api/types/codegen/regen/intertx/v1/tx.amino.d.ts deleted file mode 100644 index a9d30d0e..00000000 --- a/packages/api/types/codegen/regen/intertx/v1/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgRegisterAccount, MsgSubmitTx } from "./tx"; -export declare const AminoConverter: { - "/regen.intertx.v1.MsgRegisterAccount": { - aminoType: string; - toAmino: (message: MsgRegisterAccount) => import("./tx").MsgRegisterAccountAmino; - fromAmino: (object: import("./tx").MsgRegisterAccountAmino) => MsgRegisterAccount; - }; - "/regen.intertx.v1.MsgSubmitTx": { - aminoType: string; - toAmino: (message: MsgSubmitTx) => import("./tx").MsgSubmitTxAmino; - fromAmino: (object: import("./tx").MsgSubmitTxAmino) => MsgSubmitTx; - }; -}; diff --git a/packages/api/types/codegen/regen/intertx/v1/tx.d.ts b/packages/api/types/codegen/regen/intertx/v1/tx.d.ts deleted file mode 100644 index 60f9132d..00000000 --- a/packages/api/types/codegen/regen/intertx/v1/tx.d.ts +++ /dev/null @@ -1,160 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -/** MsgRegisterAccount defines the payload for Msg/RegisterAccount */ -export interface MsgRegisterAccount { - /** owner is the address of the interchain account owner. */ - owner: string; - /** connection_id is the connection id string (i.e. channel-5). */ - connectionId: string; - /** - * version is the application version string. For example, this could be an - * ICS27 encoded metadata type or an ICS29 encoded metadata type with a nested - * application version. - */ - version: string; -} -export interface MsgRegisterAccountProtoMsg { - typeUrl: "/regen.intertx.v1.MsgRegisterAccount"; - value: Uint8Array; -} -/** MsgRegisterAccount defines the payload for Msg/RegisterAccount */ -export interface MsgRegisterAccountAmino { - /** owner is the address of the interchain account owner. */ - owner: string; - /** connection_id is the connection id string (i.e. channel-5). */ - connection_id: string; - /** - * version is the application version string. For example, this could be an - * ICS27 encoded metadata type or an ICS29 encoded metadata type with a nested - * application version. - */ - version: string; -} -export interface MsgRegisterAccountAminoMsg { - type: "/regen.intertx.v1.MsgRegisterAccount"; - value: MsgRegisterAccountAmino; -} -/** MsgRegisterAccount defines the payload for Msg/RegisterAccount */ -export interface MsgRegisterAccountSDKType { - owner: string; - connection_id: string; - version: string; -} -/** MsgRegisterAccountResponse defines the response for Msg/RegisterAccount */ -export interface MsgRegisterAccountResponse { -} -export interface MsgRegisterAccountResponseProtoMsg { - typeUrl: "/regen.intertx.v1.MsgRegisterAccountResponse"; - value: Uint8Array; -} -/** MsgRegisterAccountResponse defines the response for Msg/RegisterAccount */ -export interface MsgRegisterAccountResponseAmino { -} -export interface MsgRegisterAccountResponseAminoMsg { - type: "/regen.intertx.v1.MsgRegisterAccountResponse"; - value: MsgRegisterAccountResponseAmino; -} -/** MsgRegisterAccountResponse defines the response for Msg/RegisterAccount */ -export interface MsgRegisterAccountResponseSDKType { -} -/** MsgSubmitTx defines the payload for Msg/SubmitTx */ -export interface MsgSubmitTx { - /** owner is the owner address of the interchain account. */ - owner: string; - /** connection_id is the id of the connection. */ - connectionId: string; - /** msg is the bytes of the transaction msg to send. */ - msg: Any; -} -export interface MsgSubmitTxProtoMsg { - typeUrl: "/regen.intertx.v1.MsgSubmitTx"; - value: Uint8Array; -} -/** MsgSubmitTx defines the payload for Msg/SubmitTx */ -export interface MsgSubmitTxAmino { - /** owner is the owner address of the interchain account. */ - owner: string; - /** connection_id is the id of the connection. */ - connection_id: string; - /** msg is the bytes of the transaction msg to send. */ - msg?: AnyAmino; -} -export interface MsgSubmitTxAminoMsg { - type: "/regen.intertx.v1.MsgSubmitTx"; - value: MsgSubmitTxAmino; -} -/** MsgSubmitTx defines the payload for Msg/SubmitTx */ -export interface MsgSubmitTxSDKType { - owner: string; - connection_id: string; - msg: AnySDKType; -} -/** MsgSubmitTxResponse defines the response for Msg/SubmitTx */ -export interface MsgSubmitTxResponse { -} -export interface MsgSubmitTxResponseProtoMsg { - typeUrl: "/regen.intertx.v1.MsgSubmitTxResponse"; - value: Uint8Array; -} -/** MsgSubmitTxResponse defines the response for Msg/SubmitTx */ -export interface MsgSubmitTxResponseAmino { -} -export interface MsgSubmitTxResponseAminoMsg { - type: "/regen.intertx.v1.MsgSubmitTxResponse"; - value: MsgSubmitTxResponseAmino; -} -/** MsgSubmitTxResponse defines the response for Msg/SubmitTx */ -export interface MsgSubmitTxResponseSDKType { -} -export declare const MsgRegisterAccount: { - encode(message: MsgRegisterAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRegisterAccount; - fromJSON(object: any): MsgRegisterAccount; - toJSON(message: MsgRegisterAccount): unknown; - fromPartial(object: Partial): MsgRegisterAccount; - fromAmino(object: MsgRegisterAccountAmino): MsgRegisterAccount; - toAmino(message: MsgRegisterAccount): MsgRegisterAccountAmino; - fromAminoMsg(object: MsgRegisterAccountAminoMsg): MsgRegisterAccount; - fromProtoMsg(message: MsgRegisterAccountProtoMsg): MsgRegisterAccount; - toProto(message: MsgRegisterAccount): Uint8Array; - toProtoMsg(message: MsgRegisterAccount): MsgRegisterAccountProtoMsg; -}; -export declare const MsgRegisterAccountResponse: { - encode(_: MsgRegisterAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRegisterAccountResponse; - fromJSON(_: any): MsgRegisterAccountResponse; - toJSON(_: MsgRegisterAccountResponse): unknown; - fromPartial(_: Partial): MsgRegisterAccountResponse; - fromAmino(_: MsgRegisterAccountResponseAmino): MsgRegisterAccountResponse; - toAmino(_: MsgRegisterAccountResponse): MsgRegisterAccountResponseAmino; - fromAminoMsg(object: MsgRegisterAccountResponseAminoMsg): MsgRegisterAccountResponse; - fromProtoMsg(message: MsgRegisterAccountResponseProtoMsg): MsgRegisterAccountResponse; - toProto(message: MsgRegisterAccountResponse): Uint8Array; - toProtoMsg(message: MsgRegisterAccountResponse): MsgRegisterAccountResponseProtoMsg; -}; -export declare const MsgSubmitTx: { - encode(message: MsgSubmitTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitTx; - fromJSON(object: any): MsgSubmitTx; - toJSON(message: MsgSubmitTx): unknown; - fromPartial(object: Partial): MsgSubmitTx; - fromAmino(object: MsgSubmitTxAmino): MsgSubmitTx; - toAmino(message: MsgSubmitTx): MsgSubmitTxAmino; - fromAminoMsg(object: MsgSubmitTxAminoMsg): MsgSubmitTx; - fromProtoMsg(message: MsgSubmitTxProtoMsg): MsgSubmitTx; - toProto(message: MsgSubmitTx): Uint8Array; - toProtoMsg(message: MsgSubmitTx): MsgSubmitTxProtoMsg; -}; -export declare const MsgSubmitTxResponse: { - encode(_: MsgSubmitTxResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitTxResponse; - fromJSON(_: any): MsgSubmitTxResponse; - toJSON(_: MsgSubmitTxResponse): unknown; - fromPartial(_: Partial): MsgSubmitTxResponse; - fromAmino(_: MsgSubmitTxResponseAmino): MsgSubmitTxResponse; - toAmino(_: MsgSubmitTxResponse): MsgSubmitTxResponseAmino; - fromAminoMsg(object: MsgSubmitTxResponseAminoMsg): MsgSubmitTxResponse; - fromProtoMsg(message: MsgSubmitTxResponseProtoMsg): MsgSubmitTxResponse; - toProto(message: MsgSubmitTxResponse): Uint8Array; - toProtoMsg(message: MsgSubmitTxResponse): MsgSubmitTxResponseProtoMsg; -}; diff --git a/packages/api/types/codegen/regen/intertx/v1/tx.registry.d.ts b/packages/api/types/codegen/regen/intertx/v1/tx.registry.d.ts deleted file mode 100644 index a636356c..00000000 --- a/packages/api/types/codegen/regen/intertx/v1/tx.registry.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgRegisterAccount, MsgSubmitTx } from "./tx"; -export declare const registry: ReadonlyArray<[string, GeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - registerAccount(value: MsgRegisterAccount): { - typeUrl: string; - value: Uint8Array; - }; - submitTx(value: MsgSubmitTx): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - registerAccount(value: MsgRegisterAccount): { - typeUrl: string; - value: MsgRegisterAccount; - }; - submitTx(value: MsgSubmitTx): { - typeUrl: string; - value: MsgSubmitTx; - }; - }; - toJSON: { - registerAccount(value: MsgRegisterAccount): { - typeUrl: string; - value: unknown; - }; - submitTx(value: MsgSubmitTx): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - registerAccount(value: any): { - typeUrl: string; - value: MsgRegisterAccount; - }; - submitTx(value: any): { - typeUrl: string; - value: MsgSubmitTx; - }; - }; - fromPartial: { - registerAccount(value: MsgRegisterAccount): { - typeUrl: string; - value: MsgRegisterAccount; - }; - submitTx(value: MsgSubmitTx): { - typeUrl: string; - value: MsgSubmitTx; - }; - }; -}; diff --git a/packages/api/types/codegen/regen/intertx/v1/tx.rpc.msg.d.ts b/packages/api/types/codegen/regen/intertx/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 43ba16a3..00000000 --- a/packages/api/types/codegen/regen/intertx/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgRegisterAccount, MsgRegisterAccountResponse, MsgSubmitTx, MsgSubmitTxResponse } from "./tx"; -/** Msg defines the intertx Msg service. */ -export interface Msg { - /** Register defines a rpc handler for MsgRegisterAccount */ - registerAccount(request: MsgRegisterAccount): Promise; - /** SubmitTx defines a rpc handler for MsgSubmitTx */ - submitTx(request: MsgSubmitTx): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - registerAccount(request: MsgRegisterAccount): Promise; - submitTx(request: MsgSubmitTx): Promise; -} diff --git a/packages/api/types/codegen/regen/lcd.d.ts b/packages/api/types/codegen/regen/lcd.d.ts deleted file mode 100644 index c5376522..00000000 --- a/packages/api/types/codegen/regen/lcd.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -export declare const createLCDClient: ({ restEndpoint }: { - restEndpoint: string; -}) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - node: { - v1beta1: import("../cosmos/base/node/v1beta1/query.lcd").LCDQueryClient; - }; - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - regen: { - data: { - v1: import("./data/v1/query.lcd").LCDQueryClient; - }; - ecocredit: { - basket: { - v1: import("./ecocredit/basket/v1/query.lcd").LCDQueryClient; - }; - marketplace: { - v1: import("./ecocredit/marketplace/v1/query.lcd").LCDQueryClient; - }; - v1: import("./ecocredit/v1/query.lcd").LCDQueryClient; - v1alpha1: import("./ecocredit/v1alpha1/query.lcd").LCDQueryClient; - }; - intertx: { - v1: import("./intertx/v1/query.lcd").LCDQueryClient; - }; - }; -}>; diff --git a/packages/api/types/codegen/regen/rpc.query.d.ts b/packages/api/types/codegen/regen/rpc.query.d.ts deleted file mode 100644 index e1bb037f..00000000 --- a/packages/api/types/codegen/regen/rpc.query.d.ts +++ /dev/null @@ -1,275 +0,0 @@ -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | HttpEndpoint; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest | undefined): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest | undefined): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - accountAddressByID(request: import("../cosmos/auth/v1beta1/query").QueryAccountAddressByIDRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest | undefined): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest | undefined): Promise; - moduleAccountByName(request: import("../cosmos/auth/v1beta1/query").QueryModuleAccountByNameRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest | undefined): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest | undefined): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest | undefined): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest | undefined): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - node: { - v1beta1: { - config(request?: import("../cosmos/base/node/v1beta1/query").ConfigRequest | undefined): Promise; - }; - }; - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest | undefined): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest | undefined): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest | undefined): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest | undefined): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - aBCIQuery(request: import("../cosmos/base/tendermint/v1beta1/query").ABCIQueryRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest | undefined): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest | undefined): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest | undefined): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest | undefined): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest | undefined): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest | undefined): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest | undefined): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest | undefined): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest | undefined): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest | undefined): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest | undefined): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest | undefined): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest | undefined): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest | undefined): Promise; - }; - }; - }; - regen: { - data: { - v1: { - anchorByIRI(request: import("./data/v1/query").QueryAnchorByIRIRequest): Promise; - anchorByHash(request: import("./data/v1/query").QueryAnchorByHashRequest): Promise; - attestationsByAttestor(request: import("./data/v1/query").QueryAttestationsByAttestorRequest): Promise; - attestationsByIRI(request: import("./data/v1/query").QueryAttestationsByIRIRequest): Promise; - attestationsByHash(request: import("./data/v1/query").QueryAttestationsByHashRequest): Promise; - resolver(request: import("./data/v1/query").QueryResolverRequest): Promise; - resolversByIRI(request: import("./data/v1/query").QueryResolversByIRIRequest): Promise; - resolversByHash(request: import("./data/v1/query").QueryResolversByHashRequest): Promise; - resolversByURL(request: import("./data/v1/query").QueryResolversByURLRequest): Promise; - convertIRIToHash(request: import("./data/v1/query").ConvertIRIToHashRequest): Promise; - convertHashToIRI(request: import("./data/v1/query").ConvertHashToIRIRequest): Promise; - }; - }; - ecocredit: { - basket: { - v1: { - basket(request: import("./ecocredit/basket/v1/query").QueryBasketRequest): Promise; - baskets(request?: import("./ecocredit/basket/v1/query").QueryBasketsRequest | undefined): Promise; - basketBalances(request: import("./ecocredit/basket/v1/query").QueryBasketBalancesRequest): Promise; - basketBalance(request: import("./ecocredit/basket/v1/query").QueryBasketBalanceRequest): Promise; - basketFee(request?: import("./ecocredit/basket/v1/query").QueryBasketFeeRequest | undefined): Promise; - }; - }; - marketplace: { - v1: { - sellOrder(request: import("./ecocredit/marketplace/v1/query").QuerySellOrderRequest): Promise; - sellOrders(request?: import("./ecocredit/marketplace/v1/query").QuerySellOrdersRequest | undefined): Promise; - sellOrdersByBatch(request: import("./ecocredit/marketplace/v1/query").QuerySellOrdersByBatchRequest): Promise; - sellOrdersBySeller(request: import("./ecocredit/marketplace/v1/query").QuerySellOrdersBySellerRequest): Promise; - allowedDenoms(request?: import("./ecocredit/marketplace/v1/query").QueryAllowedDenomsRequest | undefined): Promise; - }; - }; - v1: { - classes(request?: import("./ecocredit/v1/query").QueryClassesRequest | undefined): Promise; - classesByAdmin(request: import("./ecocredit/v1/query").QueryClassesByAdminRequest): Promise; - class(request: import("./ecocredit/v1/query").QueryClassRequest): Promise; - classIssuers(request: import("./ecocredit/v1/query").QueryClassIssuersRequest): Promise; - projects(request?: import("./ecocredit/v1/query").QueryProjectsRequest | undefined): Promise; - projectsByClass(request: import("./ecocredit/v1/query").QueryProjectsByClassRequest): Promise; - projectsByReferenceId(request: import("./ecocredit/v1/query").QueryProjectsByReferenceIdRequest): Promise; - projectsByAdmin(request: import("./ecocredit/v1/query").QueryProjectsByAdminRequest): Promise; - project(request: import("./ecocredit/v1/query").QueryProjectRequest): Promise; - batches(request?: import("./ecocredit/v1/query").QueryBatchesRequest | undefined): Promise; - batchesByIssuer(request: import("./ecocredit/v1/query").QueryBatchesByIssuerRequest): Promise; - batchesByClass(request: import("./ecocredit/v1/query").QueryBatchesByClassRequest): Promise; - batchesByProject(request: import("./ecocredit/v1/query").QueryBatchesByProjectRequest): Promise; - batch(request: import("./ecocredit/v1/query").QueryBatchRequest): Promise; - balance(request: import("./ecocredit/v1/query").QueryBalanceRequest): Promise; - balances(request: import("./ecocredit/v1/query").QueryBalancesRequest): Promise; - balancesByBatch(request: import("./ecocredit/v1/query").QueryBalancesByBatchRequest): Promise; - allBalances(request?: import("./ecocredit/v1/query").QueryAllBalancesRequest | undefined): Promise; - supply(request: import("./ecocredit/v1/query").QuerySupplyRequest): Promise; - creditTypes(request?: import("./ecocredit/v1/query").QueryCreditTypesRequest | undefined): Promise; - params(request?: import("./ecocredit/v1/query").QueryParamsRequest | undefined): Promise; - creditType(request: import("./ecocredit/v1/query").QueryCreditTypeRequest): Promise; - classCreatorAllowlist(request?: import("./ecocredit/v1/query").QueryClassCreatorAllowlistRequest | undefined): Promise; - allowedClassCreators(request?: import("./ecocredit/v1/query").QueryAllowedClassCreatorsRequest | undefined): Promise; - classFee(request?: import("./ecocredit/v1/query").QueryClassFeeRequest | undefined): Promise; - allowedBridgeChains(request?: import("./ecocredit/v1/query").QueryAllowedBridgeChainsRequest | undefined): Promise; - }; - v1alpha1: { - classes(request?: import("./ecocredit/v1alpha1/query").QueryClassesRequest | undefined): Promise; - classInfo(request: import("./ecocredit/v1alpha1/query").QueryClassInfoRequest): Promise; - batches(request: import("./ecocredit/v1alpha1/query").QueryBatchesRequest): Promise; - batchInfo(request: import("./ecocredit/v1alpha1/query").QueryBatchInfoRequest): Promise; - balance(request: import("./ecocredit/v1alpha1/query").QueryBalanceRequest): Promise; - supply(request: import("./ecocredit/v1alpha1/query").QuerySupplyRequest): Promise; - creditTypes(request?: import("./ecocredit/v1alpha1/query").QueryCreditTypesRequest | undefined): Promise; - params(request?: import("./ecocredit/v1alpha1/query").QueryParamsRequest | undefined): Promise; - }; - }; - intertx: { - v1: { - interchainAccount(request: import("./intertx/v1/query").QueryInterchainAccountRequest): Promise; - }; - }; - }; -}>; diff --git a/packages/api/types/codegen/regen/rpc.tx.d.ts b/packages/api/types/codegen/regen/rpc.tx.d.ts deleted file mode 100644 index 76702e71..00000000 --- a/packages/api/types/codegen/regen/rpc.tx.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - regen: { - data: { - v1: import("./data/v1/tx.rpc.msg").MsgClientImpl; - }; - ecocredit: { - basket: { - v1: import("./ecocredit/basket/v1/tx.rpc.msg").MsgClientImpl; - }; - marketplace: { - v1: import("./ecocredit/marketplace/v1/tx.rpc.msg").MsgClientImpl; - }; - v1: import("./ecocredit/v1/tx.rpc.msg").MsgClientImpl; - v1alpha1: import("./ecocredit/v1alpha1/tx.rpc.msg").MsgClientImpl; - }; - intertx: { - v1: import("./intertx/v1/tx.rpc.msg").MsgClientImpl; - }; - }; -}>; diff --git a/packages/api/types/codegen/tendermint/abci/types.d.ts b/packages/api/types/codegen/tendermint/abci/types.d.ts deleted file mode 100644 index f41e9f54..00000000 --- a/packages/api/types/codegen/tendermint/abci/types.d.ts +++ /dev/null @@ -1,1961 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../google/protobuf/timestamp"; -import { ConsensusParams, ConsensusParamsAmino, ConsensusParamsSDKType } from "../types/params"; -import { Header, HeaderAmino, HeaderSDKType } from "../types/types"; -import { ProofOps, ProofOpsAmino, ProofOpsSDKType } from "../crypto/proof"; -import { PublicKey, PublicKeyAmino, PublicKeySDKType } from "../crypto/keys"; -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export declare enum CheckTxType { - NEW = 0, - RECHECK = 1, - UNRECOGNIZED = -1 -} -export declare const CheckTxTypeSDKType: typeof CheckTxType; -export declare const CheckTxTypeAmino: typeof CheckTxType; -export declare function checkTxTypeFromJSON(object: any): CheckTxType; -export declare function checkTxTypeToJSON(object: CheckTxType): string; -export declare enum ResponseOfferSnapshot_Result { - /** UNKNOWN - Unknown result, abort all snapshot restoration */ - UNKNOWN = 0, - /** ACCEPT - Snapshot accepted, apply chunks */ - ACCEPT = 1, - /** ABORT - Abort all snapshot restoration */ - ABORT = 2, - /** REJECT - Reject this specific snapshot, try others */ - REJECT = 3, - /** REJECT_FORMAT - Reject all snapshots of this format, try others */ - REJECT_FORMAT = 4, - /** REJECT_SENDER - Reject all snapshots from the sender(s), try others */ - REJECT_SENDER = 5, - UNRECOGNIZED = -1 -} -export declare const ResponseOfferSnapshot_ResultSDKType: typeof ResponseOfferSnapshot_Result; -export declare const ResponseOfferSnapshot_ResultAmino: typeof ResponseOfferSnapshot_Result; -export declare function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result; -export declare function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot_Result): string; -export declare enum ResponseApplySnapshotChunk_Result { - /** UNKNOWN - Unknown result, abort all snapshot restoration */ - UNKNOWN = 0, - /** ACCEPT - Chunk successfully accepted */ - ACCEPT = 1, - /** ABORT - Abort all snapshot restoration */ - ABORT = 2, - /** RETRY - Retry chunk (combine with refetch and reject) */ - RETRY = 3, - /** RETRY_SNAPSHOT - Retry snapshot (combine with refetch and reject) */ - RETRY_SNAPSHOT = 4, - /** REJECT_SNAPSHOT - Reject this snapshot, try others */ - REJECT_SNAPSHOT = 5, - UNRECOGNIZED = -1 -} -export declare const ResponseApplySnapshotChunk_ResultSDKType: typeof ResponseApplySnapshotChunk_Result; -export declare const ResponseApplySnapshotChunk_ResultAmino: typeof ResponseApplySnapshotChunk_Result; -export declare function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result; -export declare function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySnapshotChunk_Result): string; -export declare enum ResponseProcessProposal_ProposalStatus { - UNKNOWN = 0, - ACCEPT = 1, - REJECT = 2, - UNRECOGNIZED = -1 -} -export declare const ResponseProcessProposal_ProposalStatusSDKType: typeof ResponseProcessProposal_ProposalStatus; -export declare const ResponseProcessProposal_ProposalStatusAmino: typeof ResponseProcessProposal_ProposalStatus; -export declare function responseProcessProposal_ProposalStatusFromJSON(object: any): ResponseProcessProposal_ProposalStatus; -export declare function responseProcessProposal_ProposalStatusToJSON(object: ResponseProcessProposal_ProposalStatus): string; -export declare enum MisbehaviorType { - UNKNOWN = 0, - DUPLICATE_VOTE = 1, - LIGHT_CLIENT_ATTACK = 2, - UNRECOGNIZED = -1 -} -export declare const MisbehaviorTypeSDKType: typeof MisbehaviorType; -export declare const MisbehaviorTypeAmino: typeof MisbehaviorType; -export declare function misbehaviorTypeFromJSON(object: any): MisbehaviorType; -export declare function misbehaviorTypeToJSON(object: MisbehaviorType): string; -export interface Request { - echo?: RequestEcho; - flush?: RequestFlush; - info?: RequestInfo; - initChain?: RequestInitChain; - query?: RequestQuery; - beginBlock?: RequestBeginBlock; - checkTx?: RequestCheckTx; - deliverTx?: RequestDeliverTx; - endBlock?: RequestEndBlock; - commit?: RequestCommit; - listSnapshots?: RequestListSnapshots; - offerSnapshot?: RequestOfferSnapshot; - loadSnapshotChunk?: RequestLoadSnapshotChunk; - applySnapshotChunk?: RequestApplySnapshotChunk; - prepareProposal?: RequestPrepareProposal; - processProposal?: RequestProcessProposal; -} -export interface RequestProtoMsg { - typeUrl: "/tendermint.abci.Request"; - value: Uint8Array; -} -export interface RequestAmino { - echo?: RequestEchoAmino; - flush?: RequestFlushAmino; - info?: RequestInfoAmino; - init_chain?: RequestInitChainAmino; - query?: RequestQueryAmino; - begin_block?: RequestBeginBlockAmino; - check_tx?: RequestCheckTxAmino; - deliver_tx?: RequestDeliverTxAmino; - end_block?: RequestEndBlockAmino; - commit?: RequestCommitAmino; - list_snapshots?: RequestListSnapshotsAmino; - offer_snapshot?: RequestOfferSnapshotAmino; - load_snapshot_chunk?: RequestLoadSnapshotChunkAmino; - apply_snapshot_chunk?: RequestApplySnapshotChunkAmino; - prepare_proposal?: RequestPrepareProposalAmino; - process_proposal?: RequestProcessProposalAmino; -} -export interface RequestAminoMsg { - type: "/tendermint.abci.Request"; - value: RequestAmino; -} -export interface RequestSDKType { - echo?: RequestEchoSDKType; - flush?: RequestFlushSDKType; - info?: RequestInfoSDKType; - init_chain?: RequestInitChainSDKType; - query?: RequestQuerySDKType; - begin_block?: RequestBeginBlockSDKType; - check_tx?: RequestCheckTxSDKType; - deliver_tx?: RequestDeliverTxSDKType; - end_block?: RequestEndBlockSDKType; - commit?: RequestCommitSDKType; - list_snapshots?: RequestListSnapshotsSDKType; - offer_snapshot?: RequestOfferSnapshotSDKType; - load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType; - apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType; - prepare_proposal?: RequestPrepareProposalSDKType; - process_proposal?: RequestProcessProposalSDKType; -} -export interface RequestEcho { - message: string; -} -export interface RequestEchoProtoMsg { - typeUrl: "/tendermint.abci.RequestEcho"; - value: Uint8Array; -} -export interface RequestEchoAmino { - message: string; -} -export interface RequestEchoAminoMsg { - type: "/tendermint.abci.RequestEcho"; - value: RequestEchoAmino; -} -export interface RequestEchoSDKType { - message: string; -} -export interface RequestFlush { -} -export interface RequestFlushProtoMsg { - typeUrl: "/tendermint.abci.RequestFlush"; - value: Uint8Array; -} -export interface RequestFlushAmino { -} -export interface RequestFlushAminoMsg { - type: "/tendermint.abci.RequestFlush"; - value: RequestFlushAmino; -} -export interface RequestFlushSDKType { -} -export interface RequestInfo { - version: string; - blockVersion: Long; - p2pVersion: Long; - abciVersion: string; -} -export interface RequestInfoProtoMsg { - typeUrl: "/tendermint.abci.RequestInfo"; - value: Uint8Array; -} -export interface RequestInfoAmino { - version: string; - block_version: string; - p2p_version: string; - abci_version: string; -} -export interface RequestInfoAminoMsg { - type: "/tendermint.abci.RequestInfo"; - value: RequestInfoAmino; -} -export interface RequestInfoSDKType { - version: string; - block_version: Long; - p2p_version: Long; - abci_version: string; -} -export interface RequestInitChain { - time: Timestamp; - chainId: string; - consensusParams: ConsensusParams; - validators: ValidatorUpdate[]; - appStateBytes: Uint8Array; - initialHeight: Long; -} -export interface RequestInitChainProtoMsg { - typeUrl: "/tendermint.abci.RequestInitChain"; - value: Uint8Array; -} -export interface RequestInitChainAmino { - time?: TimestampAmino; - chain_id: string; - consensus_params?: ConsensusParamsAmino; - validators: ValidatorUpdateAmino[]; - app_state_bytes: Uint8Array; - initial_height: string; -} -export interface RequestInitChainAminoMsg { - type: "/tendermint.abci.RequestInitChain"; - value: RequestInitChainAmino; -} -export interface RequestInitChainSDKType { - time: TimestampSDKType; - chain_id: string; - consensus_params: ConsensusParamsSDKType; - validators: ValidatorUpdateSDKType[]; - app_state_bytes: Uint8Array; - initial_height: Long; -} -export interface RequestQuery { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestQueryProtoMsg { - typeUrl: "/tendermint.abci.RequestQuery"; - value: Uint8Array; -} -export interface RequestQueryAmino { - data: Uint8Array; - path: string; - height: string; - prove: boolean; -} -export interface RequestQueryAminoMsg { - type: "/tendermint.abci.RequestQuery"; - value: RequestQueryAmino; -} -export interface RequestQuerySDKType { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestBeginBlock { - hash: Uint8Array; - header: Header; - lastCommitInfo: CommitInfo; - byzantineValidators: Misbehavior[]; -} -export interface RequestBeginBlockProtoMsg { - typeUrl: "/tendermint.abci.RequestBeginBlock"; - value: Uint8Array; -} -export interface RequestBeginBlockAmino { - hash: Uint8Array; - header?: HeaderAmino; - last_commit_info?: CommitInfoAmino; - byzantine_validators: MisbehaviorAmino[]; -} -export interface RequestBeginBlockAminoMsg { - type: "/tendermint.abci.RequestBeginBlock"; - value: RequestBeginBlockAmino; -} -export interface RequestBeginBlockSDKType { - hash: Uint8Array; - header: HeaderSDKType; - last_commit_info: CommitInfoSDKType; - byzantine_validators: MisbehaviorSDKType[]; -} -export interface RequestCheckTx { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestCheckTxProtoMsg { - typeUrl: "/tendermint.abci.RequestCheckTx"; - value: Uint8Array; -} -export interface RequestCheckTxAmino { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestCheckTxAminoMsg { - type: "/tendermint.abci.RequestCheckTx"; - value: RequestCheckTxAmino; -} -export interface RequestCheckTxSDKType { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestDeliverTx { - tx: Uint8Array; -} -export interface RequestDeliverTxProtoMsg { - typeUrl: "/tendermint.abci.RequestDeliverTx"; - value: Uint8Array; -} -export interface RequestDeliverTxAmino { - tx: Uint8Array; -} -export interface RequestDeliverTxAminoMsg { - type: "/tendermint.abci.RequestDeliverTx"; - value: RequestDeliverTxAmino; -} -export interface RequestDeliverTxSDKType { - tx: Uint8Array; -} -export interface RequestEndBlock { - height: Long; -} -export interface RequestEndBlockProtoMsg { - typeUrl: "/tendermint.abci.RequestEndBlock"; - value: Uint8Array; -} -export interface RequestEndBlockAmino { - height: string; -} -export interface RequestEndBlockAminoMsg { - type: "/tendermint.abci.RequestEndBlock"; - value: RequestEndBlockAmino; -} -export interface RequestEndBlockSDKType { - height: Long; -} -export interface RequestCommit { -} -export interface RequestCommitProtoMsg { - typeUrl: "/tendermint.abci.RequestCommit"; - value: Uint8Array; -} -export interface RequestCommitAmino { -} -export interface RequestCommitAminoMsg { - type: "/tendermint.abci.RequestCommit"; - value: RequestCommitAmino; -} -export interface RequestCommitSDKType { -} -/** lists available snapshots */ -export interface RequestListSnapshots { -} -export interface RequestListSnapshotsProtoMsg { - typeUrl: "/tendermint.abci.RequestListSnapshots"; - value: Uint8Array; -} -/** lists available snapshots */ -export interface RequestListSnapshotsAmino { -} -export interface RequestListSnapshotsAminoMsg { - type: "/tendermint.abci.RequestListSnapshots"; - value: RequestListSnapshotsAmino; -} -/** lists available snapshots */ -export interface RequestListSnapshotsSDKType { -} -/** offers a snapshot to the application */ -export interface RequestOfferSnapshot { - /** snapshot offered by peers */ - snapshot: Snapshot; - /** light client-verified app hash for snapshot height */ - appHash: Uint8Array; -} -export interface RequestOfferSnapshotProtoMsg { - typeUrl: "/tendermint.abci.RequestOfferSnapshot"; - value: Uint8Array; -} -/** offers a snapshot to the application */ -export interface RequestOfferSnapshotAmino { - /** snapshot offered by peers */ - snapshot?: SnapshotAmino; - /** light client-verified app hash for snapshot height */ - app_hash: Uint8Array; -} -export interface RequestOfferSnapshotAminoMsg { - type: "/tendermint.abci.RequestOfferSnapshot"; - value: RequestOfferSnapshotAmino; -} -/** offers a snapshot to the application */ -export interface RequestOfferSnapshotSDKType { - snapshot: SnapshotSDKType; - app_hash: Uint8Array; -} -/** loads a snapshot chunk */ -export interface RequestLoadSnapshotChunk { - height: Long; - format: number; - chunk: number; -} -export interface RequestLoadSnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.RequestLoadSnapshotChunk"; - value: Uint8Array; -} -/** loads a snapshot chunk */ -export interface RequestLoadSnapshotChunkAmino { - height: string; - format: number; - chunk: number; -} -export interface RequestLoadSnapshotChunkAminoMsg { - type: "/tendermint.abci.RequestLoadSnapshotChunk"; - value: RequestLoadSnapshotChunkAmino; -} -/** loads a snapshot chunk */ -export interface RequestLoadSnapshotChunkSDKType { - height: Long; - format: number; - chunk: number; -} -/** Applies a snapshot chunk */ -export interface RequestApplySnapshotChunk { - index: number; - chunk: Uint8Array; - sender: string; -} -export interface RequestApplySnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.RequestApplySnapshotChunk"; - value: Uint8Array; -} -/** Applies a snapshot chunk */ -export interface RequestApplySnapshotChunkAmino { - index: number; - chunk: Uint8Array; - sender: string; -} -export interface RequestApplySnapshotChunkAminoMsg { - type: "/tendermint.abci.RequestApplySnapshotChunk"; - value: RequestApplySnapshotChunkAmino; -} -/** Applies a snapshot chunk */ -export interface RequestApplySnapshotChunkSDKType { - index: number; - chunk: Uint8Array; - sender: string; -} -export interface RequestPrepareProposal { - /** the modified transactions cannot exceed this size. */ - maxTxBytes: Long; - /** - * txs is an array of transactions that will be included in a block, - * sent to the app for possible modifications. - */ - txs: Uint8Array[]; - localLastCommit: ExtendedCommitInfo; - misbehavior: Misbehavior[]; - height: Long; - time: Timestamp; - nextValidatorsHash: Uint8Array; - /** address of the public key of the validator proposing the block. */ - proposerAddress: Uint8Array; -} -export interface RequestPrepareProposalProtoMsg { - typeUrl: "/tendermint.abci.RequestPrepareProposal"; - value: Uint8Array; -} -export interface RequestPrepareProposalAmino { - /** the modified transactions cannot exceed this size. */ - max_tx_bytes: string; - /** - * txs is an array of transactions that will be included in a block, - * sent to the app for possible modifications. - */ - txs: Uint8Array[]; - local_last_commit?: ExtendedCommitInfoAmino; - misbehavior: MisbehaviorAmino[]; - height: string; - time?: TimestampAmino; - next_validators_hash: Uint8Array; - /** address of the public key of the validator proposing the block. */ - proposer_address: Uint8Array; -} -export interface RequestPrepareProposalAminoMsg { - type: "/tendermint.abci.RequestPrepareProposal"; - value: RequestPrepareProposalAmino; -} -export interface RequestPrepareProposalSDKType { - max_tx_bytes: Long; - txs: Uint8Array[]; - local_last_commit: ExtendedCommitInfoSDKType; - misbehavior: MisbehaviorSDKType[]; - height: Long; - time: TimestampSDKType; - next_validators_hash: Uint8Array; - proposer_address: Uint8Array; -} -export interface RequestProcessProposal { - txs: Uint8Array[]; - proposedLastCommit: CommitInfo; - misbehavior: Misbehavior[]; - /** hash is the merkle root hash of the fields of the proposed block. */ - hash: Uint8Array; - height: Long; - time: Timestamp; - nextValidatorsHash: Uint8Array; - /** address of the public key of the original proposer of the block. */ - proposerAddress: Uint8Array; -} -export interface RequestProcessProposalProtoMsg { - typeUrl: "/tendermint.abci.RequestProcessProposal"; - value: Uint8Array; -} -export interface RequestProcessProposalAmino { - txs: Uint8Array[]; - proposed_last_commit?: CommitInfoAmino; - misbehavior: MisbehaviorAmino[]; - /** hash is the merkle root hash of the fields of the proposed block. */ - hash: Uint8Array; - height: string; - time?: TimestampAmino; - next_validators_hash: Uint8Array; - /** address of the public key of the original proposer of the block. */ - proposer_address: Uint8Array; -} -export interface RequestProcessProposalAminoMsg { - type: "/tendermint.abci.RequestProcessProposal"; - value: RequestProcessProposalAmino; -} -export interface RequestProcessProposalSDKType { - txs: Uint8Array[]; - proposed_last_commit: CommitInfoSDKType; - misbehavior: MisbehaviorSDKType[]; - hash: Uint8Array; - height: Long; - time: TimestampSDKType; - next_validators_hash: Uint8Array; - proposer_address: Uint8Array; -} -export interface Response { - exception?: ResponseException; - echo?: ResponseEcho; - flush?: ResponseFlush; - info?: ResponseInfo; - initChain?: ResponseInitChain; - query?: ResponseQuery; - beginBlock?: ResponseBeginBlock; - checkTx?: ResponseCheckTx; - deliverTx?: ResponseDeliverTx; - endBlock?: ResponseEndBlock; - commit?: ResponseCommit; - listSnapshots?: ResponseListSnapshots; - offerSnapshot?: ResponseOfferSnapshot; - loadSnapshotChunk?: ResponseLoadSnapshotChunk; - applySnapshotChunk?: ResponseApplySnapshotChunk; - prepareProposal?: ResponsePrepareProposal; - processProposal?: ResponseProcessProposal; -} -export interface ResponseProtoMsg { - typeUrl: "/tendermint.abci.Response"; - value: Uint8Array; -} -export interface ResponseAmino { - exception?: ResponseExceptionAmino; - echo?: ResponseEchoAmino; - flush?: ResponseFlushAmino; - info?: ResponseInfoAmino; - init_chain?: ResponseInitChainAmino; - query?: ResponseQueryAmino; - begin_block?: ResponseBeginBlockAmino; - check_tx?: ResponseCheckTxAmino; - deliver_tx?: ResponseDeliverTxAmino; - end_block?: ResponseEndBlockAmino; - commit?: ResponseCommitAmino; - list_snapshots?: ResponseListSnapshotsAmino; - offer_snapshot?: ResponseOfferSnapshotAmino; - load_snapshot_chunk?: ResponseLoadSnapshotChunkAmino; - apply_snapshot_chunk?: ResponseApplySnapshotChunkAmino; - prepare_proposal?: ResponsePrepareProposalAmino; - process_proposal?: ResponseProcessProposalAmino; -} -export interface ResponseAminoMsg { - type: "/tendermint.abci.Response"; - value: ResponseAmino; -} -export interface ResponseSDKType { - exception?: ResponseExceptionSDKType; - echo?: ResponseEchoSDKType; - flush?: ResponseFlushSDKType; - info?: ResponseInfoSDKType; - init_chain?: ResponseInitChainSDKType; - query?: ResponseQuerySDKType; - begin_block?: ResponseBeginBlockSDKType; - check_tx?: ResponseCheckTxSDKType; - deliver_tx?: ResponseDeliverTxSDKType; - end_block?: ResponseEndBlockSDKType; - commit?: ResponseCommitSDKType; - list_snapshots?: ResponseListSnapshotsSDKType; - offer_snapshot?: ResponseOfferSnapshotSDKType; - load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType; - apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType; - prepare_proposal?: ResponsePrepareProposalSDKType; - process_proposal?: ResponseProcessProposalSDKType; -} -/** nondeterministic */ -export interface ResponseException { - error: string; -} -export interface ResponseExceptionProtoMsg { - typeUrl: "/tendermint.abci.ResponseException"; - value: Uint8Array; -} -/** nondeterministic */ -export interface ResponseExceptionAmino { - error: string; -} -export interface ResponseExceptionAminoMsg { - type: "/tendermint.abci.ResponseException"; - value: ResponseExceptionAmino; -} -/** nondeterministic */ -export interface ResponseExceptionSDKType { - error: string; -} -export interface ResponseEcho { - message: string; -} -export interface ResponseEchoProtoMsg { - typeUrl: "/tendermint.abci.ResponseEcho"; - value: Uint8Array; -} -export interface ResponseEchoAmino { - message: string; -} -export interface ResponseEchoAminoMsg { - type: "/tendermint.abci.ResponseEcho"; - value: ResponseEchoAmino; -} -export interface ResponseEchoSDKType { - message: string; -} -export interface ResponseFlush { -} -export interface ResponseFlushProtoMsg { - typeUrl: "/tendermint.abci.ResponseFlush"; - value: Uint8Array; -} -export interface ResponseFlushAmino { -} -export interface ResponseFlushAminoMsg { - type: "/tendermint.abci.ResponseFlush"; - value: ResponseFlushAmino; -} -export interface ResponseFlushSDKType { -} -export interface ResponseInfo { - data: string; - version: string; - appVersion: Long; - lastBlockHeight: Long; - lastBlockAppHash: Uint8Array; -} -export interface ResponseInfoProtoMsg { - typeUrl: "/tendermint.abci.ResponseInfo"; - value: Uint8Array; -} -export interface ResponseInfoAmino { - data: string; - version: string; - app_version: string; - last_block_height: string; - last_block_app_hash: Uint8Array; -} -export interface ResponseInfoAminoMsg { - type: "/tendermint.abci.ResponseInfo"; - value: ResponseInfoAmino; -} -export interface ResponseInfoSDKType { - data: string; - version: string; - app_version: Long; - last_block_height: Long; - last_block_app_hash: Uint8Array; -} -export interface ResponseInitChain { - consensusParams: ConsensusParams; - validators: ValidatorUpdate[]; - appHash: Uint8Array; -} -export interface ResponseInitChainProtoMsg { - typeUrl: "/tendermint.abci.ResponseInitChain"; - value: Uint8Array; -} -export interface ResponseInitChainAmino { - consensus_params?: ConsensusParamsAmino; - validators: ValidatorUpdateAmino[]; - app_hash: Uint8Array; -} -export interface ResponseInitChainAminoMsg { - type: "/tendermint.abci.ResponseInitChain"; - value: ResponseInitChainAmino; -} -export interface ResponseInitChainSDKType { - consensus_params: ConsensusParamsSDKType; - validators: ValidatorUpdateSDKType[]; - app_hash: Uint8Array; -} -export interface ResponseQuery { - code: number; - /** bytes data = 2; // use "value" instead. */ - log: string; - /** nondeterministic */ - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proofOps: ProofOps; - height: Long; - codespace: string; -} -export interface ResponseQueryProtoMsg { - typeUrl: "/tendermint.abci.ResponseQuery"; - value: Uint8Array; -} -export interface ResponseQueryAmino { - code: number; - /** bytes data = 2; // use "value" instead. */ - log: string; - /** nondeterministic */ - info: string; - index: string; - key: Uint8Array; - value: Uint8Array; - proof_ops?: ProofOpsAmino; - height: string; - codespace: string; -} -export interface ResponseQueryAminoMsg { - type: "/tendermint.abci.ResponseQuery"; - value: ResponseQueryAmino; -} -export interface ResponseQuerySDKType { - code: number; - log: string; - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proof_ops: ProofOpsSDKType; - height: Long; - codespace: string; -} -export interface ResponseBeginBlock { - events: Event[]; -} -export interface ResponseBeginBlockProtoMsg { - typeUrl: "/tendermint.abci.ResponseBeginBlock"; - value: Uint8Array; -} -export interface ResponseBeginBlockAmino { - events: EventAmino[]; -} -export interface ResponseBeginBlockAminoMsg { - type: "/tendermint.abci.ResponseBeginBlock"; - value: ResponseBeginBlockAmino; -} -export interface ResponseBeginBlockSDKType { - events: EventSDKType[]; -} -export interface ResponseCheckTx { - code: number; - data: Uint8Array; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - gasWanted: Long; - gasUsed: Long; - events: Event[]; - codespace: string; - sender: string; - priority: Long; - /** - * mempool_error is set by CometBFT. - * ABCI applictions creating a ResponseCheckTX should not set mempool_error. - */ - mempoolError: string; -} -export interface ResponseCheckTxProtoMsg { - typeUrl: "/tendermint.abci.ResponseCheckTx"; - value: Uint8Array; -} -export interface ResponseCheckTxAmino { - code: number; - data: Uint8Array; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - gas_wanted: string; - gas_used: string; - events: EventAmino[]; - codespace: string; - sender: string; - priority: string; - /** - * mempool_error is set by CometBFT. - * ABCI applictions creating a ResponseCheckTX should not set mempool_error. - */ - mempool_error: string; -} -export interface ResponseCheckTxAminoMsg { - type: "/tendermint.abci.ResponseCheckTx"; - value: ResponseCheckTxAmino; -} -export interface ResponseCheckTxSDKType { - code: number; - data: Uint8Array; - log: string; - info: string; - gas_wanted: Long; - gas_used: Long; - events: EventSDKType[]; - codespace: string; - sender: string; - priority: Long; - mempool_error: string; -} -export interface ResponseDeliverTx { - code: number; - data: Uint8Array; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - gasWanted: Long; - gasUsed: Long; - events: Event[]; - codespace: string; -} -export interface ResponseDeliverTxProtoMsg { - typeUrl: "/tendermint.abci.ResponseDeliverTx"; - value: Uint8Array; -} -export interface ResponseDeliverTxAmino { - code: number; - data: Uint8Array; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - gas_wanted: string; - gas_used: string; - events: EventAmino[]; - codespace: string; -} -export interface ResponseDeliverTxAminoMsg { - type: "/tendermint.abci.ResponseDeliverTx"; - value: ResponseDeliverTxAmino; -} -export interface ResponseDeliverTxSDKType { - code: number; - data: Uint8Array; - log: string; - info: string; - gas_wanted: Long; - gas_used: Long; - events: EventSDKType[]; - codespace: string; -} -export interface ResponseEndBlock { - validatorUpdates: ValidatorUpdate[]; - consensusParamUpdates: ConsensusParams; - events: Event[]; -} -export interface ResponseEndBlockProtoMsg { - typeUrl: "/tendermint.abci.ResponseEndBlock"; - value: Uint8Array; -} -export interface ResponseEndBlockAmino { - validator_updates: ValidatorUpdateAmino[]; - consensus_param_updates?: ConsensusParamsAmino; - events: EventAmino[]; -} -export interface ResponseEndBlockAminoMsg { - type: "/tendermint.abci.ResponseEndBlock"; - value: ResponseEndBlockAmino; -} -export interface ResponseEndBlockSDKType { - validator_updates: ValidatorUpdateSDKType[]; - consensus_param_updates: ConsensusParamsSDKType; - events: EventSDKType[]; -} -export interface ResponseCommit { - /** reserve 1 */ - data: Uint8Array; - retainHeight: Long; -} -export interface ResponseCommitProtoMsg { - typeUrl: "/tendermint.abci.ResponseCommit"; - value: Uint8Array; -} -export interface ResponseCommitAmino { - /** reserve 1 */ - data: Uint8Array; - retain_height: string; -} -export interface ResponseCommitAminoMsg { - type: "/tendermint.abci.ResponseCommit"; - value: ResponseCommitAmino; -} -export interface ResponseCommitSDKType { - data: Uint8Array; - retain_height: Long; -} -export interface ResponseListSnapshots { - snapshots: Snapshot[]; -} -export interface ResponseListSnapshotsProtoMsg { - typeUrl: "/tendermint.abci.ResponseListSnapshots"; - value: Uint8Array; -} -export interface ResponseListSnapshotsAmino { - snapshots: SnapshotAmino[]; -} -export interface ResponseListSnapshotsAminoMsg { - type: "/tendermint.abci.ResponseListSnapshots"; - value: ResponseListSnapshotsAmino; -} -export interface ResponseListSnapshotsSDKType { - snapshots: SnapshotSDKType[]; -} -export interface ResponseOfferSnapshot { - result: ResponseOfferSnapshot_Result; -} -export interface ResponseOfferSnapshotProtoMsg { - typeUrl: "/tendermint.abci.ResponseOfferSnapshot"; - value: Uint8Array; -} -export interface ResponseOfferSnapshotAmino { - result: ResponseOfferSnapshot_Result; -} -export interface ResponseOfferSnapshotAminoMsg { - type: "/tendermint.abci.ResponseOfferSnapshot"; - value: ResponseOfferSnapshotAmino; -} -export interface ResponseOfferSnapshotSDKType { - result: ResponseOfferSnapshot_Result; -} -export interface ResponseLoadSnapshotChunk { - chunk: Uint8Array; -} -export interface ResponseLoadSnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.ResponseLoadSnapshotChunk"; - value: Uint8Array; -} -export interface ResponseLoadSnapshotChunkAmino { - chunk: Uint8Array; -} -export interface ResponseLoadSnapshotChunkAminoMsg { - type: "/tendermint.abci.ResponseLoadSnapshotChunk"; - value: ResponseLoadSnapshotChunkAmino; -} -export interface ResponseLoadSnapshotChunkSDKType { - chunk: Uint8Array; -} -export interface ResponseApplySnapshotChunk { - result: ResponseApplySnapshotChunk_Result; - /** Chunks to refetch and reapply */ - refetchChunks: number[]; - /** Chunk senders to reject and ban */ - rejectSenders: string[]; -} -export interface ResponseApplySnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.ResponseApplySnapshotChunk"; - value: Uint8Array; -} -export interface ResponseApplySnapshotChunkAmino { - result: ResponseApplySnapshotChunk_Result; - /** Chunks to refetch and reapply */ - refetch_chunks: number[]; - /** Chunk senders to reject and ban */ - reject_senders: string[]; -} -export interface ResponseApplySnapshotChunkAminoMsg { - type: "/tendermint.abci.ResponseApplySnapshotChunk"; - value: ResponseApplySnapshotChunkAmino; -} -export interface ResponseApplySnapshotChunkSDKType { - result: ResponseApplySnapshotChunk_Result; - refetch_chunks: number[]; - reject_senders: string[]; -} -export interface ResponsePrepareProposal { - txs: Uint8Array[]; -} -export interface ResponsePrepareProposalProtoMsg { - typeUrl: "/tendermint.abci.ResponsePrepareProposal"; - value: Uint8Array; -} -export interface ResponsePrepareProposalAmino { - txs: Uint8Array[]; -} -export interface ResponsePrepareProposalAminoMsg { - type: "/tendermint.abci.ResponsePrepareProposal"; - value: ResponsePrepareProposalAmino; -} -export interface ResponsePrepareProposalSDKType { - txs: Uint8Array[]; -} -export interface ResponseProcessProposal { - status: ResponseProcessProposal_ProposalStatus; -} -export interface ResponseProcessProposalProtoMsg { - typeUrl: "/tendermint.abci.ResponseProcessProposal"; - value: Uint8Array; -} -export interface ResponseProcessProposalAmino { - status: ResponseProcessProposal_ProposalStatus; -} -export interface ResponseProcessProposalAminoMsg { - type: "/tendermint.abci.ResponseProcessProposal"; - value: ResponseProcessProposalAmino; -} -export interface ResponseProcessProposalSDKType { - status: ResponseProcessProposal_ProposalStatus; -} -export interface CommitInfo { - round: number; - votes: VoteInfo[]; -} -export interface CommitInfoProtoMsg { - typeUrl: "/tendermint.abci.CommitInfo"; - value: Uint8Array; -} -export interface CommitInfoAmino { - round: number; - votes: VoteInfoAmino[]; -} -export interface CommitInfoAminoMsg { - type: "/tendermint.abci.CommitInfo"; - value: CommitInfoAmino; -} -export interface CommitInfoSDKType { - round: number; - votes: VoteInfoSDKType[]; -} -export interface ExtendedCommitInfo { - /** The round at which the block proposer decided in the previous height. */ - round: number; - /** - * List of validators' addresses in the last validator set with their voting - * information, including vote extensions. - */ - votes: ExtendedVoteInfo[]; -} -export interface ExtendedCommitInfoProtoMsg { - typeUrl: "/tendermint.abci.ExtendedCommitInfo"; - value: Uint8Array; -} -export interface ExtendedCommitInfoAmino { - /** The round at which the block proposer decided in the previous height. */ - round: number; - /** - * List of validators' addresses in the last validator set with their voting - * information, including vote extensions. - */ - votes: ExtendedVoteInfoAmino[]; -} -export interface ExtendedCommitInfoAminoMsg { - type: "/tendermint.abci.ExtendedCommitInfo"; - value: ExtendedCommitInfoAmino; -} -export interface ExtendedCommitInfoSDKType { - round: number; - votes: ExtendedVoteInfoSDKType[]; -} -/** - * Event allows application developers to attach additional information to - * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. - * Later, transactions may be queried using these events. - */ -export interface Event { - type: string; - attributes: EventAttribute[]; -} -export interface EventProtoMsg { - typeUrl: "/tendermint.abci.Event"; - value: Uint8Array; -} -/** - * Event allows application developers to attach additional information to - * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. - * Later, transactions may be queried using these events. - */ -export interface EventAmino { - type: string; - attributes: EventAttributeAmino[]; -} -export interface EventAminoMsg { - type: "/tendermint.abci.Event"; - value: EventAmino; -} -/** - * Event allows application developers to attach additional information to - * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. - * Later, transactions may be queried using these events. - */ -export interface EventSDKType { - type: string; - attributes: EventAttributeSDKType[]; -} -/** EventAttribute is a single key-value pair, associated with an event. */ -export interface EventAttribute { - key: string; - value: string; - /** nondeterministic */ - index: boolean; -} -export interface EventAttributeProtoMsg { - typeUrl: "/tendermint.abci.EventAttribute"; - value: Uint8Array; -} -/** EventAttribute is a single key-value pair, associated with an event. */ -export interface EventAttributeAmino { - key: string; - value: string; - /** nondeterministic */ - index: boolean; -} -export interface EventAttributeAminoMsg { - type: "/tendermint.abci.EventAttribute"; - value: EventAttributeAmino; -} -/** EventAttribute is a single key-value pair, associated with an event. */ -export interface EventAttributeSDKType { - key: string; - value: string; - index: boolean; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ -export interface TxResult { - height: Long; - index: number; - tx: Uint8Array; - result: ResponseDeliverTx; -} -export interface TxResultProtoMsg { - typeUrl: "/tendermint.abci.TxResult"; - value: Uint8Array; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ -export interface TxResultAmino { - height: string; - index: number; - tx: Uint8Array; - result?: ResponseDeliverTxAmino; -} -export interface TxResultAminoMsg { - type: "/tendermint.abci.TxResult"; - value: TxResultAmino; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ -export interface TxResultSDKType { - height: Long; - index: number; - tx: Uint8Array; - result: ResponseDeliverTxSDKType; -} -/** Validator */ -export interface Validator { - /** - * The first 20 bytes of SHA256(public key) - * PubKey pub_key = 2 [(gogoproto.nullable)=false]; - */ - address: Uint8Array; - /** The voting power */ - power: Long; -} -export interface ValidatorProtoMsg { - typeUrl: "/tendermint.abci.Validator"; - value: Uint8Array; -} -/** Validator */ -export interface ValidatorAmino { - /** - * The first 20 bytes of SHA256(public key) - * PubKey pub_key = 2 [(gogoproto.nullable)=false]; - */ - address: Uint8Array; - /** The voting power */ - power: string; -} -export interface ValidatorAminoMsg { - type: "/tendermint.abci.Validator"; - value: ValidatorAmino; -} -/** Validator */ -export interface ValidatorSDKType { - address: Uint8Array; - power: Long; -} -/** ValidatorUpdate */ -export interface ValidatorUpdate { - pubKey: PublicKey; - power: Long; -} -export interface ValidatorUpdateProtoMsg { - typeUrl: "/tendermint.abci.ValidatorUpdate"; - value: Uint8Array; -} -/** ValidatorUpdate */ -export interface ValidatorUpdateAmino { - pub_key?: PublicKeyAmino; - power: string; -} -export interface ValidatorUpdateAminoMsg { - type: "/tendermint.abci.ValidatorUpdate"; - value: ValidatorUpdateAmino; -} -/** ValidatorUpdate */ -export interface ValidatorUpdateSDKType { - pub_key: PublicKeySDKType; - power: Long; -} -/** VoteInfo */ -export interface VoteInfo { - validator: Validator; - signedLastBlock: boolean; -} -export interface VoteInfoProtoMsg { - typeUrl: "/tendermint.abci.VoteInfo"; - value: Uint8Array; -} -/** VoteInfo */ -export interface VoteInfoAmino { - validator?: ValidatorAmino; - signed_last_block: boolean; -} -export interface VoteInfoAminoMsg { - type: "/tendermint.abci.VoteInfo"; - value: VoteInfoAmino; -} -/** VoteInfo */ -export interface VoteInfoSDKType { - validator: ValidatorSDKType; - signed_last_block: boolean; -} -export interface ExtendedVoteInfo { - validator: Validator; - signedLastBlock: boolean; - /** Reserved for future use */ - voteExtension: Uint8Array; -} -export interface ExtendedVoteInfoProtoMsg { - typeUrl: "/tendermint.abci.ExtendedVoteInfo"; - value: Uint8Array; -} -export interface ExtendedVoteInfoAmino { - validator?: ValidatorAmino; - signed_last_block: boolean; - /** Reserved for future use */ - vote_extension: Uint8Array; -} -export interface ExtendedVoteInfoAminoMsg { - type: "/tendermint.abci.ExtendedVoteInfo"; - value: ExtendedVoteInfoAmino; -} -export interface ExtendedVoteInfoSDKType { - validator: ValidatorSDKType; - signed_last_block: boolean; - vote_extension: Uint8Array; -} -export interface Misbehavior { - type: MisbehaviorType; - /** The offending validator */ - validator: Validator; - /** The height when the offense occurred */ - height: Long; - /** The corresponding time where the offense occurred */ - time: Timestamp; - /** - * Total voting power of the validator set in case the ABCI application does - * not store historical validators. - * https://github.com/tendermint/tendermint/issues/4581 - */ - totalVotingPower: Long; -} -export interface MisbehaviorProtoMsg { - typeUrl: "/tendermint.abci.Misbehavior"; - value: Uint8Array; -} -export interface MisbehaviorAmino { - type: MisbehaviorType; - /** The offending validator */ - validator?: ValidatorAmino; - /** The height when the offense occurred */ - height: string; - /** The corresponding time where the offense occurred */ - time?: TimestampAmino; - /** - * Total voting power of the validator set in case the ABCI application does - * not store historical validators. - * https://github.com/tendermint/tendermint/issues/4581 - */ - total_voting_power: string; -} -export interface MisbehaviorAminoMsg { - type: "/tendermint.abci.Misbehavior"; - value: MisbehaviorAmino; -} -export interface MisbehaviorSDKType { - type: MisbehaviorType; - validator: ValidatorSDKType; - height: Long; - time: TimestampSDKType; - total_voting_power: Long; -} -export interface Snapshot { - /** The height at which the snapshot was taken */ - height: Long; - /** The application-specific snapshot format */ - format: number; - /** Number of chunks in the snapshot */ - chunks: number; - /** Arbitrary snapshot hash, equal only if identical */ - hash: Uint8Array; - /** Arbitrary application metadata */ - metadata: Uint8Array; -} -export interface SnapshotProtoMsg { - typeUrl: "/tendermint.abci.Snapshot"; - value: Uint8Array; -} -export interface SnapshotAmino { - /** The height at which the snapshot was taken */ - height: string; - /** The application-specific snapshot format */ - format: number; - /** Number of chunks in the snapshot */ - chunks: number; - /** Arbitrary snapshot hash, equal only if identical */ - hash: Uint8Array; - /** Arbitrary application metadata */ - metadata: Uint8Array; -} -export interface SnapshotAminoMsg { - type: "/tendermint.abci.Snapshot"; - value: SnapshotAmino; -} -export interface SnapshotSDKType { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata: Uint8Array; -} -export declare const Request: { - encode(message: Request, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Request; - fromJSON(object: any): Request; - toJSON(message: Request): unknown; - fromPartial(object: Partial): Request; - fromAmino(object: RequestAmino): Request; - toAmino(message: Request): RequestAmino; - fromAminoMsg(object: RequestAminoMsg): Request; - fromProtoMsg(message: RequestProtoMsg): Request; - toProto(message: Request): Uint8Array; - toProtoMsg(message: Request): RequestProtoMsg; -}; -export declare const RequestEcho: { - encode(message: RequestEcho, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestEcho; - fromJSON(object: any): RequestEcho; - toJSON(message: RequestEcho): unknown; - fromPartial(object: Partial): RequestEcho; - fromAmino(object: RequestEchoAmino): RequestEcho; - toAmino(message: RequestEcho): RequestEchoAmino; - fromAminoMsg(object: RequestEchoAminoMsg): RequestEcho; - fromProtoMsg(message: RequestEchoProtoMsg): RequestEcho; - toProto(message: RequestEcho): Uint8Array; - toProtoMsg(message: RequestEcho): RequestEchoProtoMsg; -}; -export declare const RequestFlush: { - encode(_: RequestFlush, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestFlush; - fromJSON(_: any): RequestFlush; - toJSON(_: RequestFlush): unknown; - fromPartial(_: Partial): RequestFlush; - fromAmino(_: RequestFlushAmino): RequestFlush; - toAmino(_: RequestFlush): RequestFlushAmino; - fromAminoMsg(object: RequestFlushAminoMsg): RequestFlush; - fromProtoMsg(message: RequestFlushProtoMsg): RequestFlush; - toProto(message: RequestFlush): Uint8Array; - toProtoMsg(message: RequestFlush): RequestFlushProtoMsg; -}; -export declare const RequestInfo: { - encode(message: RequestInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestInfo; - fromJSON(object: any): RequestInfo; - toJSON(message: RequestInfo): unknown; - fromPartial(object: Partial): RequestInfo; - fromAmino(object: RequestInfoAmino): RequestInfo; - toAmino(message: RequestInfo): RequestInfoAmino; - fromAminoMsg(object: RequestInfoAminoMsg): RequestInfo; - fromProtoMsg(message: RequestInfoProtoMsg): RequestInfo; - toProto(message: RequestInfo): Uint8Array; - toProtoMsg(message: RequestInfo): RequestInfoProtoMsg; -}; -export declare const RequestInitChain: { - encode(message: RequestInitChain, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestInitChain; - fromJSON(object: any): RequestInitChain; - toJSON(message: RequestInitChain): unknown; - fromPartial(object: Partial): RequestInitChain; - fromAmino(object: RequestInitChainAmino): RequestInitChain; - toAmino(message: RequestInitChain): RequestInitChainAmino; - fromAminoMsg(object: RequestInitChainAminoMsg): RequestInitChain; - fromProtoMsg(message: RequestInitChainProtoMsg): RequestInitChain; - toProto(message: RequestInitChain): Uint8Array; - toProtoMsg(message: RequestInitChain): RequestInitChainProtoMsg; -}; -export declare const RequestQuery: { - encode(message: RequestQuery, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestQuery; - fromJSON(object: any): RequestQuery; - toJSON(message: RequestQuery): unknown; - fromPartial(object: Partial): RequestQuery; - fromAmino(object: RequestQueryAmino): RequestQuery; - toAmino(message: RequestQuery): RequestQueryAmino; - fromAminoMsg(object: RequestQueryAminoMsg): RequestQuery; - fromProtoMsg(message: RequestQueryProtoMsg): RequestQuery; - toProto(message: RequestQuery): Uint8Array; - toProtoMsg(message: RequestQuery): RequestQueryProtoMsg; -}; -export declare const RequestBeginBlock: { - encode(message: RequestBeginBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestBeginBlock; - fromJSON(object: any): RequestBeginBlock; - toJSON(message: RequestBeginBlock): unknown; - fromPartial(object: Partial): RequestBeginBlock; - fromAmino(object: RequestBeginBlockAmino): RequestBeginBlock; - toAmino(message: RequestBeginBlock): RequestBeginBlockAmino; - fromAminoMsg(object: RequestBeginBlockAminoMsg): RequestBeginBlock; - fromProtoMsg(message: RequestBeginBlockProtoMsg): RequestBeginBlock; - toProto(message: RequestBeginBlock): Uint8Array; - toProtoMsg(message: RequestBeginBlock): RequestBeginBlockProtoMsg; -}; -export declare const RequestCheckTx: { - encode(message: RequestCheckTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestCheckTx; - fromJSON(object: any): RequestCheckTx; - toJSON(message: RequestCheckTx): unknown; - fromPartial(object: Partial): RequestCheckTx; - fromAmino(object: RequestCheckTxAmino): RequestCheckTx; - toAmino(message: RequestCheckTx): RequestCheckTxAmino; - fromAminoMsg(object: RequestCheckTxAminoMsg): RequestCheckTx; - fromProtoMsg(message: RequestCheckTxProtoMsg): RequestCheckTx; - toProto(message: RequestCheckTx): Uint8Array; - toProtoMsg(message: RequestCheckTx): RequestCheckTxProtoMsg; -}; -export declare const RequestDeliverTx: { - encode(message: RequestDeliverTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestDeliverTx; - fromJSON(object: any): RequestDeliverTx; - toJSON(message: RequestDeliverTx): unknown; - fromPartial(object: Partial): RequestDeliverTx; - fromAmino(object: RequestDeliverTxAmino): RequestDeliverTx; - toAmino(message: RequestDeliverTx): RequestDeliverTxAmino; - fromAminoMsg(object: RequestDeliverTxAminoMsg): RequestDeliverTx; - fromProtoMsg(message: RequestDeliverTxProtoMsg): RequestDeliverTx; - toProto(message: RequestDeliverTx): Uint8Array; - toProtoMsg(message: RequestDeliverTx): RequestDeliverTxProtoMsg; -}; -export declare const RequestEndBlock: { - encode(message: RequestEndBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestEndBlock; - fromJSON(object: any): RequestEndBlock; - toJSON(message: RequestEndBlock): unknown; - fromPartial(object: Partial): RequestEndBlock; - fromAmino(object: RequestEndBlockAmino): RequestEndBlock; - toAmino(message: RequestEndBlock): RequestEndBlockAmino; - fromAminoMsg(object: RequestEndBlockAminoMsg): RequestEndBlock; - fromProtoMsg(message: RequestEndBlockProtoMsg): RequestEndBlock; - toProto(message: RequestEndBlock): Uint8Array; - toProtoMsg(message: RequestEndBlock): RequestEndBlockProtoMsg; -}; -export declare const RequestCommit: { - encode(_: RequestCommit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestCommit; - fromJSON(_: any): RequestCommit; - toJSON(_: RequestCommit): unknown; - fromPartial(_: Partial): RequestCommit; - fromAmino(_: RequestCommitAmino): RequestCommit; - toAmino(_: RequestCommit): RequestCommitAmino; - fromAminoMsg(object: RequestCommitAminoMsg): RequestCommit; - fromProtoMsg(message: RequestCommitProtoMsg): RequestCommit; - toProto(message: RequestCommit): Uint8Array; - toProtoMsg(message: RequestCommit): RequestCommitProtoMsg; -}; -export declare const RequestListSnapshots: { - encode(_: RequestListSnapshots, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestListSnapshots; - fromJSON(_: any): RequestListSnapshots; - toJSON(_: RequestListSnapshots): unknown; - fromPartial(_: Partial): RequestListSnapshots; - fromAmino(_: RequestListSnapshotsAmino): RequestListSnapshots; - toAmino(_: RequestListSnapshots): RequestListSnapshotsAmino; - fromAminoMsg(object: RequestListSnapshotsAminoMsg): RequestListSnapshots; - fromProtoMsg(message: RequestListSnapshotsProtoMsg): RequestListSnapshots; - toProto(message: RequestListSnapshots): Uint8Array; - toProtoMsg(message: RequestListSnapshots): RequestListSnapshotsProtoMsg; -}; -export declare const RequestOfferSnapshot: { - encode(message: RequestOfferSnapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestOfferSnapshot; - fromJSON(object: any): RequestOfferSnapshot; - toJSON(message: RequestOfferSnapshot): unknown; - fromPartial(object: Partial): RequestOfferSnapshot; - fromAmino(object: RequestOfferSnapshotAmino): RequestOfferSnapshot; - toAmino(message: RequestOfferSnapshot): RequestOfferSnapshotAmino; - fromAminoMsg(object: RequestOfferSnapshotAminoMsg): RequestOfferSnapshot; - fromProtoMsg(message: RequestOfferSnapshotProtoMsg): RequestOfferSnapshot; - toProto(message: RequestOfferSnapshot): Uint8Array; - toProtoMsg(message: RequestOfferSnapshot): RequestOfferSnapshotProtoMsg; -}; -export declare const RequestLoadSnapshotChunk: { - encode(message: RequestLoadSnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestLoadSnapshotChunk; - fromJSON(object: any): RequestLoadSnapshotChunk; - toJSON(message: RequestLoadSnapshotChunk): unknown; - fromPartial(object: Partial): RequestLoadSnapshotChunk; - fromAmino(object: RequestLoadSnapshotChunkAmino): RequestLoadSnapshotChunk; - toAmino(message: RequestLoadSnapshotChunk): RequestLoadSnapshotChunkAmino; - fromAminoMsg(object: RequestLoadSnapshotChunkAminoMsg): RequestLoadSnapshotChunk; - fromProtoMsg(message: RequestLoadSnapshotChunkProtoMsg): RequestLoadSnapshotChunk; - toProto(message: RequestLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: RequestLoadSnapshotChunk): RequestLoadSnapshotChunkProtoMsg; -}; -export declare const RequestApplySnapshotChunk: { - encode(message: RequestApplySnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestApplySnapshotChunk; - fromJSON(object: any): RequestApplySnapshotChunk; - toJSON(message: RequestApplySnapshotChunk): unknown; - fromPartial(object: Partial): RequestApplySnapshotChunk; - fromAmino(object: RequestApplySnapshotChunkAmino): RequestApplySnapshotChunk; - toAmino(message: RequestApplySnapshotChunk): RequestApplySnapshotChunkAmino; - fromAminoMsg(object: RequestApplySnapshotChunkAminoMsg): RequestApplySnapshotChunk; - fromProtoMsg(message: RequestApplySnapshotChunkProtoMsg): RequestApplySnapshotChunk; - toProto(message: RequestApplySnapshotChunk): Uint8Array; - toProtoMsg(message: RequestApplySnapshotChunk): RequestApplySnapshotChunkProtoMsg; -}; -export declare const RequestPrepareProposal: { - encode(message: RequestPrepareProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestPrepareProposal; - fromJSON(object: any): RequestPrepareProposal; - toJSON(message: RequestPrepareProposal): unknown; - fromPartial(object: Partial): RequestPrepareProposal; - fromAmino(object: RequestPrepareProposalAmino): RequestPrepareProposal; - toAmino(message: RequestPrepareProposal): RequestPrepareProposalAmino; - fromAminoMsg(object: RequestPrepareProposalAminoMsg): RequestPrepareProposal; - fromProtoMsg(message: RequestPrepareProposalProtoMsg): RequestPrepareProposal; - toProto(message: RequestPrepareProposal): Uint8Array; - toProtoMsg(message: RequestPrepareProposal): RequestPrepareProposalProtoMsg; -}; -export declare const RequestProcessProposal: { - encode(message: RequestProcessProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestProcessProposal; - fromJSON(object: any): RequestProcessProposal; - toJSON(message: RequestProcessProposal): unknown; - fromPartial(object: Partial): RequestProcessProposal; - fromAmino(object: RequestProcessProposalAmino): RequestProcessProposal; - toAmino(message: RequestProcessProposal): RequestProcessProposalAmino; - fromAminoMsg(object: RequestProcessProposalAminoMsg): RequestProcessProposal; - fromProtoMsg(message: RequestProcessProposalProtoMsg): RequestProcessProposal; - toProto(message: RequestProcessProposal): Uint8Array; - toProtoMsg(message: RequestProcessProposal): RequestProcessProposalProtoMsg; -}; -export declare const Response: { - encode(message: Response, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Response; - fromJSON(object: any): Response; - toJSON(message: Response): unknown; - fromPartial(object: Partial): Response; - fromAmino(object: ResponseAmino): Response; - toAmino(message: Response): ResponseAmino; - fromAminoMsg(object: ResponseAminoMsg): Response; - fromProtoMsg(message: ResponseProtoMsg): Response; - toProto(message: Response): Uint8Array; - toProtoMsg(message: Response): ResponseProtoMsg; -}; -export declare const ResponseException: { - encode(message: ResponseException, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseException; - fromJSON(object: any): ResponseException; - toJSON(message: ResponseException): unknown; - fromPartial(object: Partial): ResponseException; - fromAmino(object: ResponseExceptionAmino): ResponseException; - toAmino(message: ResponseException): ResponseExceptionAmino; - fromAminoMsg(object: ResponseExceptionAminoMsg): ResponseException; - fromProtoMsg(message: ResponseExceptionProtoMsg): ResponseException; - toProto(message: ResponseException): Uint8Array; - toProtoMsg(message: ResponseException): ResponseExceptionProtoMsg; -}; -export declare const ResponseEcho: { - encode(message: ResponseEcho, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho; - fromJSON(object: any): ResponseEcho; - toJSON(message: ResponseEcho): unknown; - fromPartial(object: Partial): ResponseEcho; - fromAmino(object: ResponseEchoAmino): ResponseEcho; - toAmino(message: ResponseEcho): ResponseEchoAmino; - fromAminoMsg(object: ResponseEchoAminoMsg): ResponseEcho; - fromProtoMsg(message: ResponseEchoProtoMsg): ResponseEcho; - toProto(message: ResponseEcho): Uint8Array; - toProtoMsg(message: ResponseEcho): ResponseEchoProtoMsg; -}; -export declare const ResponseFlush: { - encode(_: ResponseFlush, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush; - fromJSON(_: any): ResponseFlush; - toJSON(_: ResponseFlush): unknown; - fromPartial(_: Partial): ResponseFlush; - fromAmino(_: ResponseFlushAmino): ResponseFlush; - toAmino(_: ResponseFlush): ResponseFlushAmino; - fromAminoMsg(object: ResponseFlushAminoMsg): ResponseFlush; - fromProtoMsg(message: ResponseFlushProtoMsg): ResponseFlush; - toProto(message: ResponseFlush): Uint8Array; - toProtoMsg(message: ResponseFlush): ResponseFlushProtoMsg; -}; -export declare const ResponseInfo: { - encode(message: ResponseInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo; - fromJSON(object: any): ResponseInfo; - toJSON(message: ResponseInfo): unknown; - fromPartial(object: Partial): ResponseInfo; - fromAmino(object: ResponseInfoAmino): ResponseInfo; - toAmino(message: ResponseInfo): ResponseInfoAmino; - fromAminoMsg(object: ResponseInfoAminoMsg): ResponseInfo; - fromProtoMsg(message: ResponseInfoProtoMsg): ResponseInfo; - toProto(message: ResponseInfo): Uint8Array; - toProtoMsg(message: ResponseInfo): ResponseInfoProtoMsg; -}; -export declare const ResponseInitChain: { - encode(message: ResponseInitChain, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain; - fromJSON(object: any): ResponseInitChain; - toJSON(message: ResponseInitChain): unknown; - fromPartial(object: Partial): ResponseInitChain; - fromAmino(object: ResponseInitChainAmino): ResponseInitChain; - toAmino(message: ResponseInitChain): ResponseInitChainAmino; - fromAminoMsg(object: ResponseInitChainAminoMsg): ResponseInitChain; - fromProtoMsg(message: ResponseInitChainProtoMsg): ResponseInitChain; - toProto(message: ResponseInitChain): Uint8Array; - toProtoMsg(message: ResponseInitChain): ResponseInitChainProtoMsg; -}; -export declare const ResponseQuery: { - encode(message: ResponseQuery, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery; - fromJSON(object: any): ResponseQuery; - toJSON(message: ResponseQuery): unknown; - fromPartial(object: Partial): ResponseQuery; - fromAmino(object: ResponseQueryAmino): ResponseQuery; - toAmino(message: ResponseQuery): ResponseQueryAmino; - fromAminoMsg(object: ResponseQueryAminoMsg): ResponseQuery; - fromProtoMsg(message: ResponseQueryProtoMsg): ResponseQuery; - toProto(message: ResponseQuery): Uint8Array; - toProtoMsg(message: ResponseQuery): ResponseQueryProtoMsg; -}; -export declare const ResponseBeginBlock: { - encode(message: ResponseBeginBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock; - fromJSON(object: any): ResponseBeginBlock; - toJSON(message: ResponseBeginBlock): unknown; - fromPartial(object: Partial): ResponseBeginBlock; - fromAmino(object: ResponseBeginBlockAmino): ResponseBeginBlock; - toAmino(message: ResponseBeginBlock): ResponseBeginBlockAmino; - fromAminoMsg(object: ResponseBeginBlockAminoMsg): ResponseBeginBlock; - fromProtoMsg(message: ResponseBeginBlockProtoMsg): ResponseBeginBlock; - toProto(message: ResponseBeginBlock): Uint8Array; - toProtoMsg(message: ResponseBeginBlock): ResponseBeginBlockProtoMsg; -}; -export declare const ResponseCheckTx: { - encode(message: ResponseCheckTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx; - fromJSON(object: any): ResponseCheckTx; - toJSON(message: ResponseCheckTx): unknown; - fromPartial(object: Partial): ResponseCheckTx; - fromAmino(object: ResponseCheckTxAmino): ResponseCheckTx; - toAmino(message: ResponseCheckTx): ResponseCheckTxAmino; - fromAminoMsg(object: ResponseCheckTxAminoMsg): ResponseCheckTx; - fromProtoMsg(message: ResponseCheckTxProtoMsg): ResponseCheckTx; - toProto(message: ResponseCheckTx): Uint8Array; - toProtoMsg(message: ResponseCheckTx): ResponseCheckTxProtoMsg; -}; -export declare const ResponseDeliverTx: { - encode(message: ResponseDeliverTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx; - fromJSON(object: any): ResponseDeliverTx; - toJSON(message: ResponseDeliverTx): unknown; - fromPartial(object: Partial): ResponseDeliverTx; - fromAmino(object: ResponseDeliverTxAmino): ResponseDeliverTx; - toAmino(message: ResponseDeliverTx): ResponseDeliverTxAmino; - fromAminoMsg(object: ResponseDeliverTxAminoMsg): ResponseDeliverTx; - fromProtoMsg(message: ResponseDeliverTxProtoMsg): ResponseDeliverTx; - toProto(message: ResponseDeliverTx): Uint8Array; - toProtoMsg(message: ResponseDeliverTx): ResponseDeliverTxProtoMsg; -}; -export declare const ResponseEndBlock: { - encode(message: ResponseEndBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock; - fromJSON(object: any): ResponseEndBlock; - toJSON(message: ResponseEndBlock): unknown; - fromPartial(object: Partial): ResponseEndBlock; - fromAmino(object: ResponseEndBlockAmino): ResponseEndBlock; - toAmino(message: ResponseEndBlock): ResponseEndBlockAmino; - fromAminoMsg(object: ResponseEndBlockAminoMsg): ResponseEndBlock; - fromProtoMsg(message: ResponseEndBlockProtoMsg): ResponseEndBlock; - toProto(message: ResponseEndBlock): Uint8Array; - toProtoMsg(message: ResponseEndBlock): ResponseEndBlockProtoMsg; -}; -export declare const ResponseCommit: { - encode(message: ResponseCommit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit; - fromJSON(object: any): ResponseCommit; - toJSON(message: ResponseCommit): unknown; - fromPartial(object: Partial): ResponseCommit; - fromAmino(object: ResponseCommitAmino): ResponseCommit; - toAmino(message: ResponseCommit): ResponseCommitAmino; - fromAminoMsg(object: ResponseCommitAminoMsg): ResponseCommit; - fromProtoMsg(message: ResponseCommitProtoMsg): ResponseCommit; - toProto(message: ResponseCommit): Uint8Array; - toProtoMsg(message: ResponseCommit): ResponseCommitProtoMsg; -}; -export declare const ResponseListSnapshots: { - encode(message: ResponseListSnapshots, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots; - fromJSON(object: any): ResponseListSnapshots; - toJSON(message: ResponseListSnapshots): unknown; - fromPartial(object: Partial): ResponseListSnapshots; - fromAmino(object: ResponseListSnapshotsAmino): ResponseListSnapshots; - toAmino(message: ResponseListSnapshots): ResponseListSnapshotsAmino; - fromAminoMsg(object: ResponseListSnapshotsAminoMsg): ResponseListSnapshots; - fromProtoMsg(message: ResponseListSnapshotsProtoMsg): ResponseListSnapshots; - toProto(message: ResponseListSnapshots): Uint8Array; - toProtoMsg(message: ResponseListSnapshots): ResponseListSnapshotsProtoMsg; -}; -export declare const ResponseOfferSnapshot: { - encode(message: ResponseOfferSnapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot; - fromJSON(object: any): ResponseOfferSnapshot; - toJSON(message: ResponseOfferSnapshot): unknown; - fromPartial(object: Partial): ResponseOfferSnapshot; - fromAmino(object: ResponseOfferSnapshotAmino): ResponseOfferSnapshot; - toAmino(message: ResponseOfferSnapshot): ResponseOfferSnapshotAmino; - fromAminoMsg(object: ResponseOfferSnapshotAminoMsg): ResponseOfferSnapshot; - fromProtoMsg(message: ResponseOfferSnapshotProtoMsg): ResponseOfferSnapshot; - toProto(message: ResponseOfferSnapshot): Uint8Array; - toProtoMsg(message: ResponseOfferSnapshot): ResponseOfferSnapshotProtoMsg; -}; -export declare const ResponseLoadSnapshotChunk: { - encode(message: ResponseLoadSnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk; - fromJSON(object: any): ResponseLoadSnapshotChunk; - toJSON(message: ResponseLoadSnapshotChunk): unknown; - fromPartial(object: Partial): ResponseLoadSnapshotChunk; - fromAmino(object: ResponseLoadSnapshotChunkAmino): ResponseLoadSnapshotChunk; - toAmino(message: ResponseLoadSnapshotChunk): ResponseLoadSnapshotChunkAmino; - fromAminoMsg(object: ResponseLoadSnapshotChunkAminoMsg): ResponseLoadSnapshotChunk; - fromProtoMsg(message: ResponseLoadSnapshotChunkProtoMsg): ResponseLoadSnapshotChunk; - toProto(message: ResponseLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: ResponseLoadSnapshotChunk): ResponseLoadSnapshotChunkProtoMsg; -}; -export declare const ResponseApplySnapshotChunk: { - encode(message: ResponseApplySnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk; - fromJSON(object: any): ResponseApplySnapshotChunk; - toJSON(message: ResponseApplySnapshotChunk): unknown; - fromPartial(object: Partial): ResponseApplySnapshotChunk; - fromAmino(object: ResponseApplySnapshotChunkAmino): ResponseApplySnapshotChunk; - toAmino(message: ResponseApplySnapshotChunk): ResponseApplySnapshotChunkAmino; - fromAminoMsg(object: ResponseApplySnapshotChunkAminoMsg): ResponseApplySnapshotChunk; - fromProtoMsg(message: ResponseApplySnapshotChunkProtoMsg): ResponseApplySnapshotChunk; - toProto(message: ResponseApplySnapshotChunk): Uint8Array; - toProtoMsg(message: ResponseApplySnapshotChunk): ResponseApplySnapshotChunkProtoMsg; -}; -export declare const ResponsePrepareProposal: { - encode(message: ResponsePrepareProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponsePrepareProposal; - fromJSON(object: any): ResponsePrepareProposal; - toJSON(message: ResponsePrepareProposal): unknown; - fromPartial(object: Partial): ResponsePrepareProposal; - fromAmino(object: ResponsePrepareProposalAmino): ResponsePrepareProposal; - toAmino(message: ResponsePrepareProposal): ResponsePrepareProposalAmino; - fromAminoMsg(object: ResponsePrepareProposalAminoMsg): ResponsePrepareProposal; - fromProtoMsg(message: ResponsePrepareProposalProtoMsg): ResponsePrepareProposal; - toProto(message: ResponsePrepareProposal): Uint8Array; - toProtoMsg(message: ResponsePrepareProposal): ResponsePrepareProposalProtoMsg; -}; -export declare const ResponseProcessProposal: { - encode(message: ResponseProcessProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseProcessProposal; - fromJSON(object: any): ResponseProcessProposal; - toJSON(message: ResponseProcessProposal): unknown; - fromPartial(object: Partial): ResponseProcessProposal; - fromAmino(object: ResponseProcessProposalAmino): ResponseProcessProposal; - toAmino(message: ResponseProcessProposal): ResponseProcessProposalAmino; - fromAminoMsg(object: ResponseProcessProposalAminoMsg): ResponseProcessProposal; - fromProtoMsg(message: ResponseProcessProposalProtoMsg): ResponseProcessProposal; - toProto(message: ResponseProcessProposal): Uint8Array; - toProtoMsg(message: ResponseProcessProposal): ResponseProcessProposalProtoMsg; -}; -export declare const CommitInfo: { - encode(message: CommitInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo; - fromJSON(object: any): CommitInfo; - toJSON(message: CommitInfo): unknown; - fromPartial(object: Partial): CommitInfo; - fromAmino(object: CommitInfoAmino): CommitInfo; - toAmino(message: CommitInfo): CommitInfoAmino; - fromAminoMsg(object: CommitInfoAminoMsg): CommitInfo; - fromProtoMsg(message: CommitInfoProtoMsg): CommitInfo; - toProto(message: CommitInfo): Uint8Array; - toProtoMsg(message: CommitInfo): CommitInfoProtoMsg; -}; -export declare const ExtendedCommitInfo: { - encode(message: ExtendedCommitInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ExtendedCommitInfo; - fromJSON(object: any): ExtendedCommitInfo; - toJSON(message: ExtendedCommitInfo): unknown; - fromPartial(object: Partial): ExtendedCommitInfo; - fromAmino(object: ExtendedCommitInfoAmino): ExtendedCommitInfo; - toAmino(message: ExtendedCommitInfo): ExtendedCommitInfoAmino; - fromAminoMsg(object: ExtendedCommitInfoAminoMsg): ExtendedCommitInfo; - fromProtoMsg(message: ExtendedCommitInfoProtoMsg): ExtendedCommitInfo; - toProto(message: ExtendedCommitInfo): Uint8Array; - toProtoMsg(message: ExtendedCommitInfo): ExtendedCommitInfoProtoMsg; -}; -export declare const Event: { - encode(message: Event, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Event; - fromJSON(object: any): Event; - toJSON(message: Event): unknown; - fromPartial(object: Partial): Event; - fromAmino(object: EventAmino): Event; - toAmino(message: Event): EventAmino; - fromAminoMsg(object: EventAminoMsg): Event; - fromProtoMsg(message: EventProtoMsg): Event; - toProto(message: Event): Uint8Array; - toProtoMsg(message: Event): EventProtoMsg; -}; -export declare const EventAttribute: { - encode(message: EventAttribute, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventAttribute; - fromJSON(object: any): EventAttribute; - toJSON(message: EventAttribute): unknown; - fromPartial(object: Partial): EventAttribute; - fromAmino(object: EventAttributeAmino): EventAttribute; - toAmino(message: EventAttribute): EventAttributeAmino; - fromAminoMsg(object: EventAttributeAminoMsg): EventAttribute; - fromProtoMsg(message: EventAttributeProtoMsg): EventAttribute; - toProto(message: EventAttribute): Uint8Array; - toProtoMsg(message: EventAttribute): EventAttributeProtoMsg; -}; -export declare const TxResult: { - encode(message: TxResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxResult; - fromJSON(object: any): TxResult; - toJSON(message: TxResult): unknown; - fromPartial(object: Partial): TxResult; - fromAmino(object: TxResultAmino): TxResult; - toAmino(message: TxResult): TxResultAmino; - fromAminoMsg(object: TxResultAminoMsg): TxResult; - fromProtoMsg(message: TxResultProtoMsg): TxResult; - toProto(message: TxResult): Uint8Array; - toProtoMsg(message: TxResult): TxResultProtoMsg; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: Partial): Validator; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const ValidatorUpdate: { - encode(message: ValidatorUpdate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorUpdate; - fromJSON(object: any): ValidatorUpdate; - toJSON(message: ValidatorUpdate): unknown; - fromPartial(object: Partial): ValidatorUpdate; - fromAmino(object: ValidatorUpdateAmino): ValidatorUpdate; - toAmino(message: ValidatorUpdate): ValidatorUpdateAmino; - fromAminoMsg(object: ValidatorUpdateAminoMsg): ValidatorUpdate; - fromProtoMsg(message: ValidatorUpdateProtoMsg): ValidatorUpdate; - toProto(message: ValidatorUpdate): Uint8Array; - toProtoMsg(message: ValidatorUpdate): ValidatorUpdateProtoMsg; -}; -export declare const VoteInfo: { - encode(message: VoteInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VoteInfo; - fromJSON(object: any): VoteInfo; - toJSON(message: VoteInfo): unknown; - fromPartial(object: Partial): VoteInfo; - fromAmino(object: VoteInfoAmino): VoteInfo; - toAmino(message: VoteInfo): VoteInfoAmino; - fromAminoMsg(object: VoteInfoAminoMsg): VoteInfo; - fromProtoMsg(message: VoteInfoProtoMsg): VoteInfo; - toProto(message: VoteInfo): Uint8Array; - toProtoMsg(message: VoteInfo): VoteInfoProtoMsg; -}; -export declare const ExtendedVoteInfo: { - encode(message: ExtendedVoteInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ExtendedVoteInfo; - fromJSON(object: any): ExtendedVoteInfo; - toJSON(message: ExtendedVoteInfo): unknown; - fromPartial(object: Partial): ExtendedVoteInfo; - fromAmino(object: ExtendedVoteInfoAmino): ExtendedVoteInfo; - toAmino(message: ExtendedVoteInfo): ExtendedVoteInfoAmino; - fromAminoMsg(object: ExtendedVoteInfoAminoMsg): ExtendedVoteInfo; - fromProtoMsg(message: ExtendedVoteInfoProtoMsg): ExtendedVoteInfo; - toProto(message: ExtendedVoteInfo): Uint8Array; - toProtoMsg(message: ExtendedVoteInfo): ExtendedVoteInfoProtoMsg; -}; -export declare const Misbehavior: { - encode(message: Misbehavior, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Misbehavior; - fromJSON(object: any): Misbehavior; - toJSON(message: Misbehavior): unknown; - fromPartial(object: Partial): Misbehavior; - fromAmino(object: MisbehaviorAmino): Misbehavior; - toAmino(message: Misbehavior): MisbehaviorAmino; - fromAminoMsg(object: MisbehaviorAminoMsg): Misbehavior; - fromProtoMsg(message: MisbehaviorProtoMsg): Misbehavior; - toProto(message: Misbehavior): Uint8Array; - toProtoMsg(message: Misbehavior): MisbehaviorProtoMsg; -}; -export declare const Snapshot: { - encode(message: Snapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot; - fromJSON(object: any): Snapshot; - toJSON(message: Snapshot): unknown; - fromPartial(object: Partial): Snapshot; - fromAmino(object: SnapshotAmino): Snapshot; - toAmino(message: Snapshot): SnapshotAmino; - fromAminoMsg(object: SnapshotAminoMsg): Snapshot; - fromProtoMsg(message: SnapshotProtoMsg): Snapshot; - toProto(message: Snapshot): Uint8Array; - toProtoMsg(message: Snapshot): SnapshotProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/bundle.d.ts b/packages/api/types/codegen/tendermint/bundle.d.ts deleted file mode 100644 index 8817da3a..00000000 --- a/packages/api/types/codegen/tendermint/bundle.d.ts +++ /dev/null @@ -1,1180 +0,0 @@ -import * as _140 from "./abci/types"; -import * as _141 from "./crypto/keys"; -import * as _142 from "./crypto/proof"; -import * as _143 from "./libs/bits/types"; -import * as _144 from "./p2p/types"; -import * as _145 from "./types/block"; -import * as _146 from "./types/evidence"; -import * as _147 from "./types/params"; -import * as _148 from "./types/types"; -import * as _149 from "./types/validator"; -import * as _150 from "./version/types"; -export declare namespace tendermint { - const abci: { - checkTxTypeFromJSON(object: any): _140.CheckTxType; - checkTxTypeToJSON(object: _140.CheckTxType): string; - responseOfferSnapshot_ResultFromJSON(object: any): _140.ResponseOfferSnapshot_Result; - responseOfferSnapshot_ResultToJSON(object: _140.ResponseOfferSnapshot_Result): string; - responseApplySnapshotChunk_ResultFromJSON(object: any): _140.ResponseApplySnapshotChunk_Result; - responseApplySnapshotChunk_ResultToJSON(object: _140.ResponseApplySnapshotChunk_Result): string; - responseProcessProposal_ProposalStatusFromJSON(object: any): _140.ResponseProcessProposal_ProposalStatus; - responseProcessProposal_ProposalStatusToJSON(object: _140.ResponseProcessProposal_ProposalStatus): string; - misbehaviorTypeFromJSON(object: any): _140.MisbehaviorType; - misbehaviorTypeToJSON(object: _140.MisbehaviorType): string; - CheckTxType: typeof _140.CheckTxType; - CheckTxTypeSDKType: typeof _140.CheckTxType; - CheckTxTypeAmino: typeof _140.CheckTxType; - ResponseOfferSnapshot_Result: typeof _140.ResponseOfferSnapshot_Result; - ResponseOfferSnapshot_ResultSDKType: typeof _140.ResponseOfferSnapshot_Result; - ResponseOfferSnapshot_ResultAmino: typeof _140.ResponseOfferSnapshot_Result; - ResponseApplySnapshotChunk_Result: typeof _140.ResponseApplySnapshotChunk_Result; - ResponseApplySnapshotChunk_ResultSDKType: typeof _140.ResponseApplySnapshotChunk_Result; - ResponseApplySnapshotChunk_ResultAmino: typeof _140.ResponseApplySnapshotChunk_Result; - ResponseProcessProposal_ProposalStatus: typeof _140.ResponseProcessProposal_ProposalStatus; - ResponseProcessProposal_ProposalStatusSDKType: typeof _140.ResponseProcessProposal_ProposalStatus; - ResponseProcessProposal_ProposalStatusAmino: typeof _140.ResponseProcessProposal_ProposalStatus; - MisbehaviorType: typeof _140.MisbehaviorType; - MisbehaviorTypeSDKType: typeof _140.MisbehaviorType; - MisbehaviorTypeAmino: typeof _140.MisbehaviorType; - Request: { - encode(message: _140.Request, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.Request; - fromJSON(object: any): _140.Request; - toJSON(message: _140.Request): unknown; - fromPartial(object: Partial<_140.Request>): _140.Request; - fromAmino(object: _140.RequestAmino): _140.Request; - toAmino(message: _140.Request): _140.RequestAmino; - fromAminoMsg(object: _140.RequestAminoMsg): _140.Request; - fromProtoMsg(message: _140.RequestProtoMsg): _140.Request; - toProto(message: _140.Request): Uint8Array; - toProtoMsg(message: _140.Request): _140.RequestProtoMsg; - }; - RequestEcho: { - encode(message: _140.RequestEcho, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestEcho; - fromJSON(object: any): _140.RequestEcho; - toJSON(message: _140.RequestEcho): unknown; - fromPartial(object: Partial<_140.RequestEcho>): _140.RequestEcho; - fromAmino(object: _140.RequestEchoAmino): _140.RequestEcho; - toAmino(message: _140.RequestEcho): _140.RequestEchoAmino; - fromAminoMsg(object: _140.RequestEchoAminoMsg): _140.RequestEcho; - fromProtoMsg(message: _140.RequestEchoProtoMsg): _140.RequestEcho; - toProto(message: _140.RequestEcho): Uint8Array; - toProtoMsg(message: _140.RequestEcho): _140.RequestEchoProtoMsg; - }; - RequestFlush: { - encode(_: _140.RequestFlush, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestFlush; - fromJSON(_: any): _140.RequestFlush; - toJSON(_: _140.RequestFlush): unknown; - fromPartial(_: Partial<_140.RequestFlush>): _140.RequestFlush; - fromAmino(_: _140.RequestFlushAmino): _140.RequestFlush; - toAmino(_: _140.RequestFlush): _140.RequestFlushAmino; - fromAminoMsg(object: _140.RequestFlushAminoMsg): _140.RequestFlush; - fromProtoMsg(message: _140.RequestFlushProtoMsg): _140.RequestFlush; - toProto(message: _140.RequestFlush): Uint8Array; - toProtoMsg(message: _140.RequestFlush): _140.RequestFlushProtoMsg; - }; - RequestInfo: { - encode(message: _140.RequestInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestInfo; - fromJSON(object: any): _140.RequestInfo; - toJSON(message: _140.RequestInfo): unknown; - fromPartial(object: Partial<_140.RequestInfo>): _140.RequestInfo; - fromAmino(object: _140.RequestInfoAmino): _140.RequestInfo; - toAmino(message: _140.RequestInfo): _140.RequestInfoAmino; - fromAminoMsg(object: _140.RequestInfoAminoMsg): _140.RequestInfo; - fromProtoMsg(message: _140.RequestInfoProtoMsg): _140.RequestInfo; - toProto(message: _140.RequestInfo): Uint8Array; - toProtoMsg(message: _140.RequestInfo): _140.RequestInfoProtoMsg; - }; - RequestInitChain: { - encode(message: _140.RequestInitChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestInitChain; - fromJSON(object: any): _140.RequestInitChain; - toJSON(message: _140.RequestInitChain): unknown; - fromPartial(object: Partial<_140.RequestInitChain>): _140.RequestInitChain; - fromAmino(object: _140.RequestInitChainAmino): _140.RequestInitChain; - toAmino(message: _140.RequestInitChain): _140.RequestInitChainAmino; - fromAminoMsg(object: _140.RequestInitChainAminoMsg): _140.RequestInitChain; - fromProtoMsg(message: _140.RequestInitChainProtoMsg): _140.RequestInitChain; - toProto(message: _140.RequestInitChain): Uint8Array; - toProtoMsg(message: _140.RequestInitChain): _140.RequestInitChainProtoMsg; - }; - RequestQuery: { - encode(message: _140.RequestQuery, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestQuery; - fromJSON(object: any): _140.RequestQuery; - toJSON(message: _140.RequestQuery): unknown; - fromPartial(object: Partial<_140.RequestQuery>): _140.RequestQuery; - fromAmino(object: _140.RequestQueryAmino): _140.RequestQuery; - toAmino(message: _140.RequestQuery): _140.RequestQueryAmino; - fromAminoMsg(object: _140.RequestQueryAminoMsg): _140.RequestQuery; - fromProtoMsg(message: _140.RequestQueryProtoMsg): _140.RequestQuery; - toProto(message: _140.RequestQuery): Uint8Array; - toProtoMsg(message: _140.RequestQuery): _140.RequestQueryProtoMsg; - }; - RequestBeginBlock: { - encode(message: _140.RequestBeginBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestBeginBlock; - fromJSON(object: any): _140.RequestBeginBlock; - toJSON(message: _140.RequestBeginBlock): unknown; - fromPartial(object: Partial<_140.RequestBeginBlock>): _140.RequestBeginBlock; - fromAmino(object: _140.RequestBeginBlockAmino): _140.RequestBeginBlock; - toAmino(message: _140.RequestBeginBlock): _140.RequestBeginBlockAmino; - fromAminoMsg(object: _140.RequestBeginBlockAminoMsg): _140.RequestBeginBlock; - fromProtoMsg(message: _140.RequestBeginBlockProtoMsg): _140.RequestBeginBlock; - toProto(message: _140.RequestBeginBlock): Uint8Array; - toProtoMsg(message: _140.RequestBeginBlock): _140.RequestBeginBlockProtoMsg; - }; - RequestCheckTx: { - encode(message: _140.RequestCheckTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestCheckTx; - fromJSON(object: any): _140.RequestCheckTx; - toJSON(message: _140.RequestCheckTx): unknown; - fromPartial(object: Partial<_140.RequestCheckTx>): _140.RequestCheckTx; - fromAmino(object: _140.RequestCheckTxAmino): _140.RequestCheckTx; - toAmino(message: _140.RequestCheckTx): _140.RequestCheckTxAmino; - fromAminoMsg(object: _140.RequestCheckTxAminoMsg): _140.RequestCheckTx; - fromProtoMsg(message: _140.RequestCheckTxProtoMsg): _140.RequestCheckTx; - toProto(message: _140.RequestCheckTx): Uint8Array; - toProtoMsg(message: _140.RequestCheckTx): _140.RequestCheckTxProtoMsg; - }; - RequestDeliverTx: { - encode(message: _140.RequestDeliverTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestDeliverTx; - fromJSON(object: any): _140.RequestDeliverTx; - toJSON(message: _140.RequestDeliverTx): unknown; - fromPartial(object: Partial<_140.RequestDeliverTx>): _140.RequestDeliverTx; - fromAmino(object: _140.RequestDeliverTxAmino): _140.RequestDeliverTx; - toAmino(message: _140.RequestDeliverTx): _140.RequestDeliverTxAmino; - fromAminoMsg(object: _140.RequestDeliverTxAminoMsg): _140.RequestDeliverTx; - fromProtoMsg(message: _140.RequestDeliverTxProtoMsg): _140.RequestDeliverTx; - toProto(message: _140.RequestDeliverTx): Uint8Array; - toProtoMsg(message: _140.RequestDeliverTx): _140.RequestDeliverTxProtoMsg; - }; - RequestEndBlock: { - encode(message: _140.RequestEndBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestEndBlock; - fromJSON(object: any): _140.RequestEndBlock; - toJSON(message: _140.RequestEndBlock): unknown; - fromPartial(object: Partial<_140.RequestEndBlock>): _140.RequestEndBlock; - fromAmino(object: _140.RequestEndBlockAmino): _140.RequestEndBlock; - toAmino(message: _140.RequestEndBlock): _140.RequestEndBlockAmino; - fromAminoMsg(object: _140.RequestEndBlockAminoMsg): _140.RequestEndBlock; - fromProtoMsg(message: _140.RequestEndBlockProtoMsg): _140.RequestEndBlock; - toProto(message: _140.RequestEndBlock): Uint8Array; - toProtoMsg(message: _140.RequestEndBlock): _140.RequestEndBlockProtoMsg; - }; - RequestCommit: { - encode(_: _140.RequestCommit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestCommit; - fromJSON(_: any): _140.RequestCommit; - toJSON(_: _140.RequestCommit): unknown; - fromPartial(_: Partial<_140.RequestCommit>): _140.RequestCommit; - fromAmino(_: _140.RequestCommitAmino): _140.RequestCommit; - toAmino(_: _140.RequestCommit): _140.RequestCommitAmino; - fromAminoMsg(object: _140.RequestCommitAminoMsg): _140.RequestCommit; - fromProtoMsg(message: _140.RequestCommitProtoMsg): _140.RequestCommit; - toProto(message: _140.RequestCommit): Uint8Array; - toProtoMsg(message: _140.RequestCommit): _140.RequestCommitProtoMsg; - }; - RequestListSnapshots: { - encode(_: _140.RequestListSnapshots, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestListSnapshots; - fromJSON(_: any): _140.RequestListSnapshots; - toJSON(_: _140.RequestListSnapshots): unknown; - fromPartial(_: Partial<_140.RequestListSnapshots>): _140.RequestListSnapshots; - fromAmino(_: _140.RequestListSnapshotsAmino): _140.RequestListSnapshots; - toAmino(_: _140.RequestListSnapshots): _140.RequestListSnapshotsAmino; - fromAminoMsg(object: _140.RequestListSnapshotsAminoMsg): _140.RequestListSnapshots; - fromProtoMsg(message: _140.RequestListSnapshotsProtoMsg): _140.RequestListSnapshots; - toProto(message: _140.RequestListSnapshots): Uint8Array; - toProtoMsg(message: _140.RequestListSnapshots): _140.RequestListSnapshotsProtoMsg; - }; - RequestOfferSnapshot: { - encode(message: _140.RequestOfferSnapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestOfferSnapshot; - fromJSON(object: any): _140.RequestOfferSnapshot; - toJSON(message: _140.RequestOfferSnapshot): unknown; - fromPartial(object: Partial<_140.RequestOfferSnapshot>): _140.RequestOfferSnapshot; - fromAmino(object: _140.RequestOfferSnapshotAmino): _140.RequestOfferSnapshot; - toAmino(message: _140.RequestOfferSnapshot): _140.RequestOfferSnapshotAmino; - fromAminoMsg(object: _140.RequestOfferSnapshotAminoMsg): _140.RequestOfferSnapshot; - fromProtoMsg(message: _140.RequestOfferSnapshotProtoMsg): _140.RequestOfferSnapshot; - toProto(message: _140.RequestOfferSnapshot): Uint8Array; - toProtoMsg(message: _140.RequestOfferSnapshot): _140.RequestOfferSnapshotProtoMsg; - }; - RequestLoadSnapshotChunk: { - encode(message: _140.RequestLoadSnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestLoadSnapshotChunk; - fromJSON(object: any): _140.RequestLoadSnapshotChunk; - toJSON(message: _140.RequestLoadSnapshotChunk): unknown; - fromPartial(object: Partial<_140.RequestLoadSnapshotChunk>): _140.RequestLoadSnapshotChunk; - fromAmino(object: _140.RequestLoadSnapshotChunkAmino): _140.RequestLoadSnapshotChunk; - toAmino(message: _140.RequestLoadSnapshotChunk): _140.RequestLoadSnapshotChunkAmino; - fromAminoMsg(object: _140.RequestLoadSnapshotChunkAminoMsg): _140.RequestLoadSnapshotChunk; - fromProtoMsg(message: _140.RequestLoadSnapshotChunkProtoMsg): _140.RequestLoadSnapshotChunk; - toProto(message: _140.RequestLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: _140.RequestLoadSnapshotChunk): _140.RequestLoadSnapshotChunkProtoMsg; - }; - RequestApplySnapshotChunk: { - encode(message: _140.RequestApplySnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestApplySnapshotChunk; - fromJSON(object: any): _140.RequestApplySnapshotChunk; - toJSON(message: _140.RequestApplySnapshotChunk): unknown; - fromPartial(object: Partial<_140.RequestApplySnapshotChunk>): _140.RequestApplySnapshotChunk; - fromAmino(object: _140.RequestApplySnapshotChunkAmino): _140.RequestApplySnapshotChunk; - toAmino(message: _140.RequestApplySnapshotChunk): _140.RequestApplySnapshotChunkAmino; - fromAminoMsg(object: _140.RequestApplySnapshotChunkAminoMsg): _140.RequestApplySnapshotChunk; - fromProtoMsg(message: _140.RequestApplySnapshotChunkProtoMsg): _140.RequestApplySnapshotChunk; - toProto(message: _140.RequestApplySnapshotChunk): Uint8Array; - toProtoMsg(message: _140.RequestApplySnapshotChunk): _140.RequestApplySnapshotChunkProtoMsg; - }; - RequestPrepareProposal: { - encode(message: _140.RequestPrepareProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestPrepareProposal; - fromJSON(object: any): _140.RequestPrepareProposal; - toJSON(message: _140.RequestPrepareProposal): unknown; - fromPartial(object: Partial<_140.RequestPrepareProposal>): _140.RequestPrepareProposal; - fromAmino(object: _140.RequestPrepareProposalAmino): _140.RequestPrepareProposal; - toAmino(message: _140.RequestPrepareProposal): _140.RequestPrepareProposalAmino; - fromAminoMsg(object: _140.RequestPrepareProposalAminoMsg): _140.RequestPrepareProposal; - fromProtoMsg(message: _140.RequestPrepareProposalProtoMsg): _140.RequestPrepareProposal; - toProto(message: _140.RequestPrepareProposal): Uint8Array; - toProtoMsg(message: _140.RequestPrepareProposal): _140.RequestPrepareProposalProtoMsg; - }; - RequestProcessProposal: { - encode(message: _140.RequestProcessProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.RequestProcessProposal; - fromJSON(object: any): _140.RequestProcessProposal; - toJSON(message: _140.RequestProcessProposal): unknown; - fromPartial(object: Partial<_140.RequestProcessProposal>): _140.RequestProcessProposal; - fromAmino(object: _140.RequestProcessProposalAmino): _140.RequestProcessProposal; - toAmino(message: _140.RequestProcessProposal): _140.RequestProcessProposalAmino; - fromAminoMsg(object: _140.RequestProcessProposalAminoMsg): _140.RequestProcessProposal; - fromProtoMsg(message: _140.RequestProcessProposalProtoMsg): _140.RequestProcessProposal; - toProto(message: _140.RequestProcessProposal): Uint8Array; - toProtoMsg(message: _140.RequestProcessProposal): _140.RequestProcessProposalProtoMsg; - }; - Response: { - encode(message: _140.Response, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.Response; - fromJSON(object: any): _140.Response; - toJSON(message: _140.Response): unknown; - fromPartial(object: Partial<_140.Response>): _140.Response; - fromAmino(object: _140.ResponseAmino): _140.Response; - toAmino(message: _140.Response): _140.ResponseAmino; - fromAminoMsg(object: _140.ResponseAminoMsg): _140.Response; - fromProtoMsg(message: _140.ResponseProtoMsg): _140.Response; - toProto(message: _140.Response): Uint8Array; - toProtoMsg(message: _140.Response): _140.ResponseProtoMsg; - }; - ResponseException: { - encode(message: _140.ResponseException, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseException; - fromJSON(object: any): _140.ResponseException; - toJSON(message: _140.ResponseException): unknown; - fromPartial(object: Partial<_140.ResponseException>): _140.ResponseException; - fromAmino(object: _140.ResponseExceptionAmino): _140.ResponseException; - toAmino(message: _140.ResponseException): _140.ResponseExceptionAmino; - fromAminoMsg(object: _140.ResponseExceptionAminoMsg): _140.ResponseException; - fromProtoMsg(message: _140.ResponseExceptionProtoMsg): _140.ResponseException; - toProto(message: _140.ResponseException): Uint8Array; - toProtoMsg(message: _140.ResponseException): _140.ResponseExceptionProtoMsg; - }; - ResponseEcho: { - encode(message: _140.ResponseEcho, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseEcho; - fromJSON(object: any): _140.ResponseEcho; - toJSON(message: _140.ResponseEcho): unknown; - fromPartial(object: Partial<_140.ResponseEcho>): _140.ResponseEcho; - fromAmino(object: _140.ResponseEchoAmino): _140.ResponseEcho; - toAmino(message: _140.ResponseEcho): _140.ResponseEchoAmino; - fromAminoMsg(object: _140.ResponseEchoAminoMsg): _140.ResponseEcho; - fromProtoMsg(message: _140.ResponseEchoProtoMsg): _140.ResponseEcho; - toProto(message: _140.ResponseEcho): Uint8Array; - toProtoMsg(message: _140.ResponseEcho): _140.ResponseEchoProtoMsg; - }; - ResponseFlush: { - encode(_: _140.ResponseFlush, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseFlush; - fromJSON(_: any): _140.ResponseFlush; - toJSON(_: _140.ResponseFlush): unknown; - fromPartial(_: Partial<_140.ResponseFlush>): _140.ResponseFlush; - fromAmino(_: _140.ResponseFlushAmino): _140.ResponseFlush; - toAmino(_: _140.ResponseFlush): _140.ResponseFlushAmino; - fromAminoMsg(object: _140.ResponseFlushAminoMsg): _140.ResponseFlush; - fromProtoMsg(message: _140.ResponseFlushProtoMsg): _140.ResponseFlush; - toProto(message: _140.ResponseFlush): Uint8Array; - toProtoMsg(message: _140.ResponseFlush): _140.ResponseFlushProtoMsg; - }; - ResponseInfo: { - encode(message: _140.ResponseInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseInfo; - fromJSON(object: any): _140.ResponseInfo; - toJSON(message: _140.ResponseInfo): unknown; - fromPartial(object: Partial<_140.ResponseInfo>): _140.ResponseInfo; - fromAmino(object: _140.ResponseInfoAmino): _140.ResponseInfo; - toAmino(message: _140.ResponseInfo): _140.ResponseInfoAmino; - fromAminoMsg(object: _140.ResponseInfoAminoMsg): _140.ResponseInfo; - fromProtoMsg(message: _140.ResponseInfoProtoMsg): _140.ResponseInfo; - toProto(message: _140.ResponseInfo): Uint8Array; - toProtoMsg(message: _140.ResponseInfo): _140.ResponseInfoProtoMsg; - }; - ResponseInitChain: { - encode(message: _140.ResponseInitChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseInitChain; - fromJSON(object: any): _140.ResponseInitChain; - toJSON(message: _140.ResponseInitChain): unknown; - fromPartial(object: Partial<_140.ResponseInitChain>): _140.ResponseInitChain; - fromAmino(object: _140.ResponseInitChainAmino): _140.ResponseInitChain; - toAmino(message: _140.ResponseInitChain): _140.ResponseInitChainAmino; - fromAminoMsg(object: _140.ResponseInitChainAminoMsg): _140.ResponseInitChain; - fromProtoMsg(message: _140.ResponseInitChainProtoMsg): _140.ResponseInitChain; - toProto(message: _140.ResponseInitChain): Uint8Array; - toProtoMsg(message: _140.ResponseInitChain): _140.ResponseInitChainProtoMsg; - }; - ResponseQuery: { - encode(message: _140.ResponseQuery, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseQuery; - fromJSON(object: any): _140.ResponseQuery; - toJSON(message: _140.ResponseQuery): unknown; - fromPartial(object: Partial<_140.ResponseQuery>): _140.ResponseQuery; - fromAmino(object: _140.ResponseQueryAmino): _140.ResponseQuery; - toAmino(message: _140.ResponseQuery): _140.ResponseQueryAmino; - fromAminoMsg(object: _140.ResponseQueryAminoMsg): _140.ResponseQuery; - fromProtoMsg(message: _140.ResponseQueryProtoMsg): _140.ResponseQuery; - toProto(message: _140.ResponseQuery): Uint8Array; - toProtoMsg(message: _140.ResponseQuery): _140.ResponseQueryProtoMsg; - }; - ResponseBeginBlock: { - encode(message: _140.ResponseBeginBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseBeginBlock; - fromJSON(object: any): _140.ResponseBeginBlock; - toJSON(message: _140.ResponseBeginBlock): unknown; - fromPartial(object: Partial<_140.ResponseBeginBlock>): _140.ResponseBeginBlock; - fromAmino(object: _140.ResponseBeginBlockAmino): _140.ResponseBeginBlock; - toAmino(message: _140.ResponseBeginBlock): _140.ResponseBeginBlockAmino; - fromAminoMsg(object: _140.ResponseBeginBlockAminoMsg): _140.ResponseBeginBlock; - fromProtoMsg(message: _140.ResponseBeginBlockProtoMsg): _140.ResponseBeginBlock; - toProto(message: _140.ResponseBeginBlock): Uint8Array; - toProtoMsg(message: _140.ResponseBeginBlock): _140.ResponseBeginBlockProtoMsg; - }; - ResponseCheckTx: { - encode(message: _140.ResponseCheckTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseCheckTx; - fromJSON(object: any): _140.ResponseCheckTx; - toJSON(message: _140.ResponseCheckTx): unknown; - fromPartial(object: Partial<_140.ResponseCheckTx>): _140.ResponseCheckTx; - fromAmino(object: _140.ResponseCheckTxAmino): _140.ResponseCheckTx; - toAmino(message: _140.ResponseCheckTx): _140.ResponseCheckTxAmino; - fromAminoMsg(object: _140.ResponseCheckTxAminoMsg): _140.ResponseCheckTx; - fromProtoMsg(message: _140.ResponseCheckTxProtoMsg): _140.ResponseCheckTx; - toProto(message: _140.ResponseCheckTx): Uint8Array; - toProtoMsg(message: _140.ResponseCheckTx): _140.ResponseCheckTxProtoMsg; - }; - ResponseDeliverTx: { - encode(message: _140.ResponseDeliverTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseDeliverTx; - fromJSON(object: any): _140.ResponseDeliverTx; - toJSON(message: _140.ResponseDeliverTx): unknown; - fromPartial(object: Partial<_140.ResponseDeliverTx>): _140.ResponseDeliverTx; - fromAmino(object: _140.ResponseDeliverTxAmino): _140.ResponseDeliverTx; - toAmino(message: _140.ResponseDeliverTx): _140.ResponseDeliverTxAmino; - fromAminoMsg(object: _140.ResponseDeliverTxAminoMsg): _140.ResponseDeliverTx; - fromProtoMsg(message: _140.ResponseDeliverTxProtoMsg): _140.ResponseDeliverTx; - toProto(message: _140.ResponseDeliverTx): Uint8Array; - toProtoMsg(message: _140.ResponseDeliverTx): _140.ResponseDeliverTxProtoMsg; - }; - ResponseEndBlock: { - encode(message: _140.ResponseEndBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseEndBlock; - fromJSON(object: any): _140.ResponseEndBlock; - toJSON(message: _140.ResponseEndBlock): unknown; - fromPartial(object: Partial<_140.ResponseEndBlock>): _140.ResponseEndBlock; - fromAmino(object: _140.ResponseEndBlockAmino): _140.ResponseEndBlock; - toAmino(message: _140.ResponseEndBlock): _140.ResponseEndBlockAmino; - fromAminoMsg(object: _140.ResponseEndBlockAminoMsg): _140.ResponseEndBlock; - fromProtoMsg(message: _140.ResponseEndBlockProtoMsg): _140.ResponseEndBlock; - toProto(message: _140.ResponseEndBlock): Uint8Array; - toProtoMsg(message: _140.ResponseEndBlock): _140.ResponseEndBlockProtoMsg; - }; - ResponseCommit: { - encode(message: _140.ResponseCommit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseCommit; - fromJSON(object: any): _140.ResponseCommit; - toJSON(message: _140.ResponseCommit): unknown; - fromPartial(object: Partial<_140.ResponseCommit>): _140.ResponseCommit; - fromAmino(object: _140.ResponseCommitAmino): _140.ResponseCommit; - toAmino(message: _140.ResponseCommit): _140.ResponseCommitAmino; - fromAminoMsg(object: _140.ResponseCommitAminoMsg): _140.ResponseCommit; - fromProtoMsg(message: _140.ResponseCommitProtoMsg): _140.ResponseCommit; - toProto(message: _140.ResponseCommit): Uint8Array; - toProtoMsg(message: _140.ResponseCommit): _140.ResponseCommitProtoMsg; - }; - ResponseListSnapshots: { - encode(message: _140.ResponseListSnapshots, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseListSnapshots; - fromJSON(object: any): _140.ResponseListSnapshots; - toJSON(message: _140.ResponseListSnapshots): unknown; - fromPartial(object: Partial<_140.ResponseListSnapshots>): _140.ResponseListSnapshots; - fromAmino(object: _140.ResponseListSnapshotsAmino): _140.ResponseListSnapshots; - toAmino(message: _140.ResponseListSnapshots): _140.ResponseListSnapshotsAmino; - fromAminoMsg(object: _140.ResponseListSnapshotsAminoMsg): _140.ResponseListSnapshots; - fromProtoMsg(message: _140.ResponseListSnapshotsProtoMsg): _140.ResponseListSnapshots; - toProto(message: _140.ResponseListSnapshots): Uint8Array; - toProtoMsg(message: _140.ResponseListSnapshots): _140.ResponseListSnapshotsProtoMsg; - }; - ResponseOfferSnapshot: { - encode(message: _140.ResponseOfferSnapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseOfferSnapshot; - fromJSON(object: any): _140.ResponseOfferSnapshot; - toJSON(message: _140.ResponseOfferSnapshot): unknown; - fromPartial(object: Partial<_140.ResponseOfferSnapshot>): _140.ResponseOfferSnapshot; - fromAmino(object: _140.ResponseOfferSnapshotAmino): _140.ResponseOfferSnapshot; - toAmino(message: _140.ResponseOfferSnapshot): _140.ResponseOfferSnapshotAmino; - fromAminoMsg(object: _140.ResponseOfferSnapshotAminoMsg): _140.ResponseOfferSnapshot; - fromProtoMsg(message: _140.ResponseOfferSnapshotProtoMsg): _140.ResponseOfferSnapshot; - toProto(message: _140.ResponseOfferSnapshot): Uint8Array; - toProtoMsg(message: _140.ResponseOfferSnapshot): _140.ResponseOfferSnapshotProtoMsg; - }; - ResponseLoadSnapshotChunk: { - encode(message: _140.ResponseLoadSnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseLoadSnapshotChunk; - fromJSON(object: any): _140.ResponseLoadSnapshotChunk; - toJSON(message: _140.ResponseLoadSnapshotChunk): unknown; - fromPartial(object: Partial<_140.ResponseLoadSnapshotChunk>): _140.ResponseLoadSnapshotChunk; - fromAmino(object: _140.ResponseLoadSnapshotChunkAmino): _140.ResponseLoadSnapshotChunk; - toAmino(message: _140.ResponseLoadSnapshotChunk): _140.ResponseLoadSnapshotChunkAmino; - fromAminoMsg(object: _140.ResponseLoadSnapshotChunkAminoMsg): _140.ResponseLoadSnapshotChunk; - fromProtoMsg(message: _140.ResponseLoadSnapshotChunkProtoMsg): _140.ResponseLoadSnapshotChunk; - toProto(message: _140.ResponseLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: _140.ResponseLoadSnapshotChunk): _140.ResponseLoadSnapshotChunkProtoMsg; - }; - ResponseApplySnapshotChunk: { - encode(message: _140.ResponseApplySnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseApplySnapshotChunk; - fromJSON(object: any): _140.ResponseApplySnapshotChunk; - toJSON(message: _140.ResponseApplySnapshotChunk): unknown; - fromPartial(object: Partial<_140.ResponseApplySnapshotChunk>): _140.ResponseApplySnapshotChunk; - fromAmino(object: _140.ResponseApplySnapshotChunkAmino): _140.ResponseApplySnapshotChunk; - toAmino(message: _140.ResponseApplySnapshotChunk): _140.ResponseApplySnapshotChunkAmino; - fromAminoMsg(object: _140.ResponseApplySnapshotChunkAminoMsg): _140.ResponseApplySnapshotChunk; - fromProtoMsg(message: _140.ResponseApplySnapshotChunkProtoMsg): _140.ResponseApplySnapshotChunk; - toProto(message: _140.ResponseApplySnapshotChunk): Uint8Array; - toProtoMsg(message: _140.ResponseApplySnapshotChunk): _140.ResponseApplySnapshotChunkProtoMsg; - }; - ResponsePrepareProposal: { - encode(message: _140.ResponsePrepareProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponsePrepareProposal; - fromJSON(object: any): _140.ResponsePrepareProposal; - toJSON(message: _140.ResponsePrepareProposal): unknown; - fromPartial(object: Partial<_140.ResponsePrepareProposal>): _140.ResponsePrepareProposal; - fromAmino(object: _140.ResponsePrepareProposalAmino): _140.ResponsePrepareProposal; - toAmino(message: _140.ResponsePrepareProposal): _140.ResponsePrepareProposalAmino; - fromAminoMsg(object: _140.ResponsePrepareProposalAminoMsg): _140.ResponsePrepareProposal; - fromProtoMsg(message: _140.ResponsePrepareProposalProtoMsg): _140.ResponsePrepareProposal; - toProto(message: _140.ResponsePrepareProposal): Uint8Array; - toProtoMsg(message: _140.ResponsePrepareProposal): _140.ResponsePrepareProposalProtoMsg; - }; - ResponseProcessProposal: { - encode(message: _140.ResponseProcessProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ResponseProcessProposal; - fromJSON(object: any): _140.ResponseProcessProposal; - toJSON(message: _140.ResponseProcessProposal): unknown; - fromPartial(object: Partial<_140.ResponseProcessProposal>): _140.ResponseProcessProposal; - fromAmino(object: _140.ResponseProcessProposalAmino): _140.ResponseProcessProposal; - toAmino(message: _140.ResponseProcessProposal): _140.ResponseProcessProposalAmino; - fromAminoMsg(object: _140.ResponseProcessProposalAminoMsg): _140.ResponseProcessProposal; - fromProtoMsg(message: _140.ResponseProcessProposalProtoMsg): _140.ResponseProcessProposal; - toProto(message: _140.ResponseProcessProposal): Uint8Array; - toProtoMsg(message: _140.ResponseProcessProposal): _140.ResponseProcessProposalProtoMsg; - }; - CommitInfo: { - encode(message: _140.CommitInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.CommitInfo; - fromJSON(object: any): _140.CommitInfo; - toJSON(message: _140.CommitInfo): unknown; - fromPartial(object: Partial<_140.CommitInfo>): _140.CommitInfo; - fromAmino(object: _140.CommitInfoAmino): _140.CommitInfo; - toAmino(message: _140.CommitInfo): _140.CommitInfoAmino; - fromAminoMsg(object: _140.CommitInfoAminoMsg): _140.CommitInfo; - fromProtoMsg(message: _140.CommitInfoProtoMsg): _140.CommitInfo; - toProto(message: _140.CommitInfo): Uint8Array; - toProtoMsg(message: _140.CommitInfo): _140.CommitInfoProtoMsg; - }; - ExtendedCommitInfo: { - encode(message: _140.ExtendedCommitInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ExtendedCommitInfo; - fromJSON(object: any): _140.ExtendedCommitInfo; - toJSON(message: _140.ExtendedCommitInfo): unknown; - fromPartial(object: Partial<_140.ExtendedCommitInfo>): _140.ExtendedCommitInfo; - fromAmino(object: _140.ExtendedCommitInfoAmino): _140.ExtendedCommitInfo; - toAmino(message: _140.ExtendedCommitInfo): _140.ExtendedCommitInfoAmino; - fromAminoMsg(object: _140.ExtendedCommitInfoAminoMsg): _140.ExtendedCommitInfo; - fromProtoMsg(message: _140.ExtendedCommitInfoProtoMsg): _140.ExtendedCommitInfo; - toProto(message: _140.ExtendedCommitInfo): Uint8Array; - toProtoMsg(message: _140.ExtendedCommitInfo): _140.ExtendedCommitInfoProtoMsg; - }; - Event: { - encode(message: _140.Event, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.Event; - fromJSON(object: any): _140.Event; - toJSON(message: _140.Event): unknown; - fromPartial(object: Partial<_140.Event>): _140.Event; - fromAmino(object: _140.EventAmino): _140.Event; - toAmino(message: _140.Event): _140.EventAmino; - fromAminoMsg(object: _140.EventAminoMsg): _140.Event; - fromProtoMsg(message: _140.EventProtoMsg): _140.Event; - toProto(message: _140.Event): Uint8Array; - toProtoMsg(message: _140.Event): _140.EventProtoMsg; - }; - EventAttribute: { - encode(message: _140.EventAttribute, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.EventAttribute; - fromJSON(object: any): _140.EventAttribute; - toJSON(message: _140.EventAttribute): unknown; - fromPartial(object: Partial<_140.EventAttribute>): _140.EventAttribute; - fromAmino(object: _140.EventAttributeAmino): _140.EventAttribute; - toAmino(message: _140.EventAttribute): _140.EventAttributeAmino; - fromAminoMsg(object: _140.EventAttributeAminoMsg): _140.EventAttribute; - fromProtoMsg(message: _140.EventAttributeProtoMsg): _140.EventAttribute; - toProto(message: _140.EventAttribute): Uint8Array; - toProtoMsg(message: _140.EventAttribute): _140.EventAttributeProtoMsg; - }; - TxResult: { - encode(message: _140.TxResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.TxResult; - fromJSON(object: any): _140.TxResult; - toJSON(message: _140.TxResult): unknown; - fromPartial(object: Partial<_140.TxResult>): _140.TxResult; - fromAmino(object: _140.TxResultAmino): _140.TxResult; - toAmino(message: _140.TxResult): _140.TxResultAmino; - fromAminoMsg(object: _140.TxResultAminoMsg): _140.TxResult; - fromProtoMsg(message: _140.TxResultProtoMsg): _140.TxResult; - toProto(message: _140.TxResult): Uint8Array; - toProtoMsg(message: _140.TxResult): _140.TxResultProtoMsg; - }; - Validator: { - encode(message: _140.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.Validator; - fromJSON(object: any): _140.Validator; - toJSON(message: _140.Validator): unknown; - fromPartial(object: Partial<_140.Validator>): _140.Validator; - fromAmino(object: _140.ValidatorAmino): _140.Validator; - toAmino(message: _140.Validator): _140.ValidatorAmino; - fromAminoMsg(object: _140.ValidatorAminoMsg): _140.Validator; - fromProtoMsg(message: _140.ValidatorProtoMsg): _140.Validator; - toProto(message: _140.Validator): Uint8Array; - toProtoMsg(message: _140.Validator): _140.ValidatorProtoMsg; - }; - ValidatorUpdate: { - encode(message: _140.ValidatorUpdate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ValidatorUpdate; - fromJSON(object: any): _140.ValidatorUpdate; - toJSON(message: _140.ValidatorUpdate): unknown; - fromPartial(object: Partial<_140.ValidatorUpdate>): _140.ValidatorUpdate; - fromAmino(object: _140.ValidatorUpdateAmino): _140.ValidatorUpdate; - toAmino(message: _140.ValidatorUpdate): _140.ValidatorUpdateAmino; - fromAminoMsg(object: _140.ValidatorUpdateAminoMsg): _140.ValidatorUpdate; - fromProtoMsg(message: _140.ValidatorUpdateProtoMsg): _140.ValidatorUpdate; - toProto(message: _140.ValidatorUpdate): Uint8Array; - toProtoMsg(message: _140.ValidatorUpdate): _140.ValidatorUpdateProtoMsg; - }; - VoteInfo: { - encode(message: _140.VoteInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.VoteInfo; - fromJSON(object: any): _140.VoteInfo; - toJSON(message: _140.VoteInfo): unknown; - fromPartial(object: Partial<_140.VoteInfo>): _140.VoteInfo; - fromAmino(object: _140.VoteInfoAmino): _140.VoteInfo; - toAmino(message: _140.VoteInfo): _140.VoteInfoAmino; - fromAminoMsg(object: _140.VoteInfoAminoMsg): _140.VoteInfo; - fromProtoMsg(message: _140.VoteInfoProtoMsg): _140.VoteInfo; - toProto(message: _140.VoteInfo): Uint8Array; - toProtoMsg(message: _140.VoteInfo): _140.VoteInfoProtoMsg; - }; - ExtendedVoteInfo: { - encode(message: _140.ExtendedVoteInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.ExtendedVoteInfo; - fromJSON(object: any): _140.ExtendedVoteInfo; - toJSON(message: _140.ExtendedVoteInfo): unknown; - fromPartial(object: Partial<_140.ExtendedVoteInfo>): _140.ExtendedVoteInfo; - fromAmino(object: _140.ExtendedVoteInfoAmino): _140.ExtendedVoteInfo; - toAmino(message: _140.ExtendedVoteInfo): _140.ExtendedVoteInfoAmino; - fromAminoMsg(object: _140.ExtendedVoteInfoAminoMsg): _140.ExtendedVoteInfo; - fromProtoMsg(message: _140.ExtendedVoteInfoProtoMsg): _140.ExtendedVoteInfo; - toProto(message: _140.ExtendedVoteInfo): Uint8Array; - toProtoMsg(message: _140.ExtendedVoteInfo): _140.ExtendedVoteInfoProtoMsg; - }; - Misbehavior: { - encode(message: _140.Misbehavior, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.Misbehavior; - fromJSON(object: any): _140.Misbehavior; - toJSON(message: _140.Misbehavior): unknown; - fromPartial(object: Partial<_140.Misbehavior>): _140.Misbehavior; - fromAmino(object: _140.MisbehaviorAmino): _140.Misbehavior; - toAmino(message: _140.Misbehavior): _140.MisbehaviorAmino; - fromAminoMsg(object: _140.MisbehaviorAminoMsg): _140.Misbehavior; - fromProtoMsg(message: _140.MisbehaviorProtoMsg): _140.Misbehavior; - toProto(message: _140.Misbehavior): Uint8Array; - toProtoMsg(message: _140.Misbehavior): _140.MisbehaviorProtoMsg; - }; - Snapshot: { - encode(message: _140.Snapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _140.Snapshot; - fromJSON(object: any): _140.Snapshot; - toJSON(message: _140.Snapshot): unknown; - fromPartial(object: Partial<_140.Snapshot>): _140.Snapshot; - fromAmino(object: _140.SnapshotAmino): _140.Snapshot; - toAmino(message: _140.Snapshot): _140.SnapshotAmino; - fromAminoMsg(object: _140.SnapshotAminoMsg): _140.Snapshot; - fromProtoMsg(message: _140.SnapshotProtoMsg): _140.Snapshot; - toProto(message: _140.Snapshot): Uint8Array; - toProtoMsg(message: _140.Snapshot): _140.SnapshotProtoMsg; - }; - }; - const crypto: { - Proof: { - encode(message: _142.Proof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _142.Proof; - fromJSON(object: any): _142.Proof; - toJSON(message: _142.Proof): unknown; - fromPartial(object: Partial<_142.Proof>): _142.Proof; - fromAmino(object: _142.ProofAmino): _142.Proof; - toAmino(message: _142.Proof): _142.ProofAmino; - fromAminoMsg(object: _142.ProofAminoMsg): _142.Proof; - fromProtoMsg(message: _142.ProofProtoMsg): _142.Proof; - toProto(message: _142.Proof): Uint8Array; - toProtoMsg(message: _142.Proof): _142.ProofProtoMsg; - }; - ValueOp: { - encode(message: _142.ValueOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _142.ValueOp; - fromJSON(object: any): _142.ValueOp; - toJSON(message: _142.ValueOp): unknown; - fromPartial(object: Partial<_142.ValueOp>): _142.ValueOp; - fromAmino(object: _142.ValueOpAmino): _142.ValueOp; - toAmino(message: _142.ValueOp): _142.ValueOpAmino; - fromAminoMsg(object: _142.ValueOpAminoMsg): _142.ValueOp; - fromProtoMsg(message: _142.ValueOpProtoMsg): _142.ValueOp; - toProto(message: _142.ValueOp): Uint8Array; - toProtoMsg(message: _142.ValueOp): _142.ValueOpProtoMsg; - }; - DominoOp: { - encode(message: _142.DominoOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _142.DominoOp; - fromJSON(object: any): _142.DominoOp; - toJSON(message: _142.DominoOp): unknown; - fromPartial(object: Partial<_142.DominoOp>): _142.DominoOp; - fromAmino(object: _142.DominoOpAmino): _142.DominoOp; - toAmino(message: _142.DominoOp): _142.DominoOpAmino; - fromAminoMsg(object: _142.DominoOpAminoMsg): _142.DominoOp; - fromProtoMsg(message: _142.DominoOpProtoMsg): _142.DominoOp; - toProto(message: _142.DominoOp): Uint8Array; - toProtoMsg(message: _142.DominoOp): _142.DominoOpProtoMsg; - }; - ProofOp: { - encode(message: _142.ProofOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _142.ProofOp; - fromJSON(object: any): _142.ProofOp; - toJSON(message: _142.ProofOp): unknown; - fromPartial(object: Partial<_142.ProofOp>): _142.ProofOp; - fromAmino(object: _142.ProofOpAmino): _142.ProofOp; - toAmino(message: _142.ProofOp): _142.ProofOpAmino; - fromAminoMsg(object: _142.ProofOpAminoMsg): _142.ProofOp; - fromProtoMsg(message: _142.ProofOpProtoMsg): _142.ProofOp; - toProto(message: _142.ProofOp): Uint8Array; - toProtoMsg(message: _142.ProofOp): _142.ProofOpProtoMsg; - }; - ProofOps: { - encode(message: _142.ProofOps, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _142.ProofOps; - fromJSON(object: any): _142.ProofOps; - toJSON(message: _142.ProofOps): unknown; - fromPartial(object: Partial<_142.ProofOps>): _142.ProofOps; - fromAmino(object: _142.ProofOpsAmino): _142.ProofOps; - toAmino(message: _142.ProofOps): _142.ProofOpsAmino; - fromAminoMsg(object: _142.ProofOpsAminoMsg): _142.ProofOps; - fromProtoMsg(message: _142.ProofOpsProtoMsg): _142.ProofOps; - toProto(message: _142.ProofOps): Uint8Array; - toProtoMsg(message: _142.ProofOps): _142.ProofOpsProtoMsg; - }; - PublicKey: { - encode(message: _141.PublicKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _141.PublicKey; - fromJSON(object: any): _141.PublicKey; - toJSON(message: _141.PublicKey): unknown; - fromPartial(object: Partial<_141.PublicKey>): _141.PublicKey; - fromAmino(object: _141.PublicKeyAmino): _141.PublicKey; - toAmino(message: _141.PublicKey): _141.PublicKeyAmino; - fromAminoMsg(object: _141.PublicKeyAminoMsg): _141.PublicKey; - fromProtoMsg(message: _141.PublicKeyProtoMsg): _141.PublicKey; - toProto(message: _141.PublicKey): Uint8Array; - toProtoMsg(message: _141.PublicKey): _141.PublicKeyProtoMsg; - }; - }; - namespace libs { - const bits: { - BitArray: { - encode(message: _143.BitArray, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _143.BitArray; - fromJSON(object: any): _143.BitArray; - toJSON(message: _143.BitArray): unknown; - fromPartial(object: Partial<_143.BitArray>): _143.BitArray; - fromAmino(object: _143.BitArrayAmino): _143.BitArray; - toAmino(message: _143.BitArray): _143.BitArrayAmino; - fromAminoMsg(object: _143.BitArrayAminoMsg): _143.BitArray; - fromProtoMsg(message: _143.BitArrayProtoMsg): _143.BitArray; - toProto(message: _143.BitArray): Uint8Array; - toProtoMsg(message: _143.BitArray): _143.BitArrayProtoMsg; - }; - }; - } - const p2p: { - NetAddress: { - encode(message: _144.NetAddress, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _144.NetAddress; - fromJSON(object: any): _144.NetAddress; - toJSON(message: _144.NetAddress): unknown; - fromPartial(object: Partial<_144.NetAddress>): _144.NetAddress; - fromAmino(object: _144.NetAddressAmino): _144.NetAddress; - toAmino(message: _144.NetAddress): _144.NetAddressAmino; - fromAminoMsg(object: _144.NetAddressAminoMsg): _144.NetAddress; - fromProtoMsg(message: _144.NetAddressProtoMsg): _144.NetAddress; - toProto(message: _144.NetAddress): Uint8Array; - toProtoMsg(message: _144.NetAddress): _144.NetAddressProtoMsg; - }; - ProtocolVersion: { - encode(message: _144.ProtocolVersion, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _144.ProtocolVersion; - fromJSON(object: any): _144.ProtocolVersion; - toJSON(message: _144.ProtocolVersion): unknown; - fromPartial(object: Partial<_144.ProtocolVersion>): _144.ProtocolVersion; - fromAmino(object: _144.ProtocolVersionAmino): _144.ProtocolVersion; - toAmino(message: _144.ProtocolVersion): _144.ProtocolVersionAmino; - fromAminoMsg(object: _144.ProtocolVersionAminoMsg): _144.ProtocolVersion; - fromProtoMsg(message: _144.ProtocolVersionProtoMsg): _144.ProtocolVersion; - toProto(message: _144.ProtocolVersion): Uint8Array; - toProtoMsg(message: _144.ProtocolVersion): _144.ProtocolVersionProtoMsg; - }; - DefaultNodeInfo: { - encode(message: _144.DefaultNodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _144.DefaultNodeInfo; - fromJSON(object: any): _144.DefaultNodeInfo; - toJSON(message: _144.DefaultNodeInfo): unknown; - fromPartial(object: Partial<_144.DefaultNodeInfo>): _144.DefaultNodeInfo; - fromAmino(object: _144.DefaultNodeInfoAmino): _144.DefaultNodeInfo; - toAmino(message: _144.DefaultNodeInfo): _144.DefaultNodeInfoAmino; - fromAminoMsg(object: _144.DefaultNodeInfoAminoMsg): _144.DefaultNodeInfo; - fromProtoMsg(message: _144.DefaultNodeInfoProtoMsg): _144.DefaultNodeInfo; - toProto(message: _144.DefaultNodeInfo): Uint8Array; - toProtoMsg(message: _144.DefaultNodeInfo): _144.DefaultNodeInfoProtoMsg; - }; - DefaultNodeInfoOther: { - encode(message: _144.DefaultNodeInfoOther, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _144.DefaultNodeInfoOther; - fromJSON(object: any): _144.DefaultNodeInfoOther; - toJSON(message: _144.DefaultNodeInfoOther): unknown; - fromPartial(object: Partial<_144.DefaultNodeInfoOther>): _144.DefaultNodeInfoOther; - fromAmino(object: _144.DefaultNodeInfoOtherAmino): _144.DefaultNodeInfoOther; - toAmino(message: _144.DefaultNodeInfoOther): _144.DefaultNodeInfoOtherAmino; - fromAminoMsg(object: _144.DefaultNodeInfoOtherAminoMsg): _144.DefaultNodeInfoOther; - fromProtoMsg(message: _144.DefaultNodeInfoOtherProtoMsg): _144.DefaultNodeInfoOther; - toProto(message: _144.DefaultNodeInfoOther): Uint8Array; - toProtoMsg(message: _144.DefaultNodeInfoOther): _144.DefaultNodeInfoOtherProtoMsg; - }; - }; - const types: { - ValidatorSet: { - encode(message: _149.ValidatorSet, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _149.ValidatorSet; - fromJSON(object: any): _149.ValidatorSet; - toJSON(message: _149.ValidatorSet): unknown; - fromPartial(object: Partial<_149.ValidatorSet>): _149.ValidatorSet; - fromAmino(object: _149.ValidatorSetAmino): _149.ValidatorSet; - toAmino(message: _149.ValidatorSet): _149.ValidatorSetAmino; - fromAminoMsg(object: _149.ValidatorSetAminoMsg): _149.ValidatorSet; - fromProtoMsg(message: _149.ValidatorSetProtoMsg): _149.ValidatorSet; - toProto(message: _149.ValidatorSet): Uint8Array; - toProtoMsg(message: _149.ValidatorSet): _149.ValidatorSetProtoMsg; - }; - Validator: { - encode(message: _149.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _149.Validator; - fromJSON(object: any): _149.Validator; - toJSON(message: _149.Validator): unknown; - fromPartial(object: Partial<_149.Validator>): _149.Validator; - fromAmino(object: _149.ValidatorAmino): _149.Validator; - toAmino(message: _149.Validator): _149.ValidatorAmino; - fromAminoMsg(object: _149.ValidatorAminoMsg): _149.Validator; - fromProtoMsg(message: _149.ValidatorProtoMsg): _149.Validator; - toProto(message: _149.Validator): Uint8Array; - toProtoMsg(message: _149.Validator): _149.ValidatorProtoMsg; - }; - SimpleValidator: { - encode(message: _149.SimpleValidator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _149.SimpleValidator; - fromJSON(object: any): _149.SimpleValidator; - toJSON(message: _149.SimpleValidator): unknown; - fromPartial(object: Partial<_149.SimpleValidator>): _149.SimpleValidator; - fromAmino(object: _149.SimpleValidatorAmino): _149.SimpleValidator; - toAmino(message: _149.SimpleValidator): _149.SimpleValidatorAmino; - fromAminoMsg(object: _149.SimpleValidatorAminoMsg): _149.SimpleValidator; - fromProtoMsg(message: _149.SimpleValidatorProtoMsg): _149.SimpleValidator; - toProto(message: _149.SimpleValidator): Uint8Array; - toProtoMsg(message: _149.SimpleValidator): _149.SimpleValidatorProtoMsg; - }; - blockIDFlagFromJSON(object: any): _148.BlockIDFlag; - blockIDFlagToJSON(object: _148.BlockIDFlag): string; - signedMsgTypeFromJSON(object: any): _148.SignedMsgType; - signedMsgTypeToJSON(object: _148.SignedMsgType): string; - BlockIDFlag: typeof _148.BlockIDFlag; - BlockIDFlagSDKType: typeof _148.BlockIDFlag; - BlockIDFlagAmino: typeof _148.BlockIDFlag; - SignedMsgType: typeof _148.SignedMsgType; - SignedMsgTypeSDKType: typeof _148.SignedMsgType; - SignedMsgTypeAmino: typeof _148.SignedMsgType; - PartSetHeader: { - encode(message: _148.PartSetHeader, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.PartSetHeader; - fromJSON(object: any): _148.PartSetHeader; - toJSON(message: _148.PartSetHeader): unknown; - fromPartial(object: Partial<_148.PartSetHeader>): _148.PartSetHeader; - fromAmino(object: _148.PartSetHeaderAmino): _148.PartSetHeader; - toAmino(message: _148.PartSetHeader): _148.PartSetHeaderAmino; - fromAminoMsg(object: _148.PartSetHeaderAminoMsg): _148.PartSetHeader; - fromProtoMsg(message: _148.PartSetHeaderProtoMsg): _148.PartSetHeader; - toProto(message: _148.PartSetHeader): Uint8Array; - toProtoMsg(message: _148.PartSetHeader): _148.PartSetHeaderProtoMsg; - }; - Part: { - encode(message: _148.Part, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.Part; - fromJSON(object: any): _148.Part; - toJSON(message: _148.Part): unknown; - fromPartial(object: Partial<_148.Part>): _148.Part; - fromAmino(object: _148.PartAmino): _148.Part; - toAmino(message: _148.Part): _148.PartAmino; - fromAminoMsg(object: _148.PartAminoMsg): _148.Part; - fromProtoMsg(message: _148.PartProtoMsg): _148.Part; - toProto(message: _148.Part): Uint8Array; - toProtoMsg(message: _148.Part): _148.PartProtoMsg; - }; - BlockID: { - encode(message: _148.BlockID, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.BlockID; - fromJSON(object: any): _148.BlockID; - toJSON(message: _148.BlockID): unknown; - fromPartial(object: Partial<_148.BlockID>): _148.BlockID; - fromAmino(object: _148.BlockIDAmino): _148.BlockID; - toAmino(message: _148.BlockID): _148.BlockIDAmino; - fromAminoMsg(object: _148.BlockIDAminoMsg): _148.BlockID; - fromProtoMsg(message: _148.BlockIDProtoMsg): _148.BlockID; - toProto(message: _148.BlockID): Uint8Array; - toProtoMsg(message: _148.BlockID): _148.BlockIDProtoMsg; - }; - Header: { - encode(message: _148.Header, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.Header; - fromJSON(object: any): _148.Header; - toJSON(message: _148.Header): unknown; - fromPartial(object: Partial<_148.Header>): _148.Header; - fromAmino(object: _148.HeaderAmino): _148.Header; - toAmino(message: _148.Header): _148.HeaderAmino; - fromAminoMsg(object: _148.HeaderAminoMsg): _148.Header; - fromProtoMsg(message: _148.HeaderProtoMsg): _148.Header; - toProto(message: _148.Header): Uint8Array; - toProtoMsg(message: _148.Header): _148.HeaderProtoMsg; - }; - Data: { - encode(message: _148.Data, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.Data; - fromJSON(object: any): _148.Data; - toJSON(message: _148.Data): unknown; - fromPartial(object: Partial<_148.Data>): _148.Data; - fromAmino(object: _148.DataAmino): _148.Data; - toAmino(message: _148.Data): _148.DataAmino; - fromAminoMsg(object: _148.DataAminoMsg): _148.Data; - fromProtoMsg(message: _148.DataProtoMsg): _148.Data; - toProto(message: _148.Data): Uint8Array; - toProtoMsg(message: _148.Data): _148.DataProtoMsg; - }; - Vote: { - encode(message: _148.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.Vote; - fromJSON(object: any): _148.Vote; - toJSON(message: _148.Vote): unknown; - fromPartial(object: Partial<_148.Vote>): _148.Vote; - fromAmino(object: _148.VoteAmino): _148.Vote; - toAmino(message: _148.Vote): _148.VoteAmino; - fromAminoMsg(object: _148.VoteAminoMsg): _148.Vote; - fromProtoMsg(message: _148.VoteProtoMsg): _148.Vote; - toProto(message: _148.Vote): Uint8Array; - toProtoMsg(message: _148.Vote): _148.VoteProtoMsg; - }; - Commit: { - encode(message: _148.Commit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.Commit; - fromJSON(object: any): _148.Commit; - toJSON(message: _148.Commit): unknown; - fromPartial(object: Partial<_148.Commit>): _148.Commit; - fromAmino(object: _148.CommitAmino): _148.Commit; - toAmino(message: _148.Commit): _148.CommitAmino; - fromAminoMsg(object: _148.CommitAminoMsg): _148.Commit; - fromProtoMsg(message: _148.CommitProtoMsg): _148.Commit; - toProto(message: _148.Commit): Uint8Array; - toProtoMsg(message: _148.Commit): _148.CommitProtoMsg; - }; - CommitSig: { - encode(message: _148.CommitSig, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.CommitSig; - fromJSON(object: any): _148.CommitSig; - toJSON(message: _148.CommitSig): unknown; - fromPartial(object: Partial<_148.CommitSig>): _148.CommitSig; - fromAmino(object: _148.CommitSigAmino): _148.CommitSig; - toAmino(message: _148.CommitSig): _148.CommitSigAmino; - fromAminoMsg(object: _148.CommitSigAminoMsg): _148.CommitSig; - fromProtoMsg(message: _148.CommitSigProtoMsg): _148.CommitSig; - toProto(message: _148.CommitSig): Uint8Array; - toProtoMsg(message: _148.CommitSig): _148.CommitSigProtoMsg; - }; - Proposal: { - encode(message: _148.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.Proposal; - fromJSON(object: any): _148.Proposal; - toJSON(message: _148.Proposal): unknown; - fromPartial(object: Partial<_148.Proposal>): _148.Proposal; - fromAmino(object: _148.ProposalAmino): _148.Proposal; - toAmino(message: _148.Proposal): _148.ProposalAmino; - fromAminoMsg(object: _148.ProposalAminoMsg): _148.Proposal; - fromProtoMsg(message: _148.ProposalProtoMsg): _148.Proposal; - toProto(message: _148.Proposal): Uint8Array; - toProtoMsg(message: _148.Proposal): _148.ProposalProtoMsg; - }; - SignedHeader: { - encode(message: _148.SignedHeader, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.SignedHeader; - fromJSON(object: any): _148.SignedHeader; - toJSON(message: _148.SignedHeader): unknown; - fromPartial(object: Partial<_148.SignedHeader>): _148.SignedHeader; - fromAmino(object: _148.SignedHeaderAmino): _148.SignedHeader; - toAmino(message: _148.SignedHeader): _148.SignedHeaderAmino; - fromAminoMsg(object: _148.SignedHeaderAminoMsg): _148.SignedHeader; - fromProtoMsg(message: _148.SignedHeaderProtoMsg): _148.SignedHeader; - toProto(message: _148.SignedHeader): Uint8Array; - toProtoMsg(message: _148.SignedHeader): _148.SignedHeaderProtoMsg; - }; - LightBlock: { - encode(message: _148.LightBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.LightBlock; - fromJSON(object: any): _148.LightBlock; - toJSON(message: _148.LightBlock): unknown; - fromPartial(object: Partial<_148.LightBlock>): _148.LightBlock; - fromAmino(object: _148.LightBlockAmino): _148.LightBlock; - toAmino(message: _148.LightBlock): _148.LightBlockAmino; - fromAminoMsg(object: _148.LightBlockAminoMsg): _148.LightBlock; - fromProtoMsg(message: _148.LightBlockProtoMsg): _148.LightBlock; - toProto(message: _148.LightBlock): Uint8Array; - toProtoMsg(message: _148.LightBlock): _148.LightBlockProtoMsg; - }; - BlockMeta: { - encode(message: _148.BlockMeta, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.BlockMeta; - fromJSON(object: any): _148.BlockMeta; - toJSON(message: _148.BlockMeta): unknown; - fromPartial(object: Partial<_148.BlockMeta>): _148.BlockMeta; - fromAmino(object: _148.BlockMetaAmino): _148.BlockMeta; - toAmino(message: _148.BlockMeta): _148.BlockMetaAmino; - fromAminoMsg(object: _148.BlockMetaAminoMsg): _148.BlockMeta; - fromProtoMsg(message: _148.BlockMetaProtoMsg): _148.BlockMeta; - toProto(message: _148.BlockMeta): Uint8Array; - toProtoMsg(message: _148.BlockMeta): _148.BlockMetaProtoMsg; - }; - TxProof: { - encode(message: _148.TxProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _148.TxProof; - fromJSON(object: any): _148.TxProof; - toJSON(message: _148.TxProof): unknown; - fromPartial(object: Partial<_148.TxProof>): _148.TxProof; - fromAmino(object: _148.TxProofAmino): _148.TxProof; - toAmino(message: _148.TxProof): _148.TxProofAmino; - fromAminoMsg(object: _148.TxProofAminoMsg): _148.TxProof; - fromProtoMsg(message: _148.TxProofProtoMsg): _148.TxProof; - toProto(message: _148.TxProof): Uint8Array; - toProtoMsg(message: _148.TxProof): _148.TxProofProtoMsg; - }; - ConsensusParams: { - encode(message: _147.ConsensusParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _147.ConsensusParams; - fromJSON(object: any): _147.ConsensusParams; - toJSON(message: _147.ConsensusParams): unknown; - fromPartial(object: Partial<_147.ConsensusParams>): _147.ConsensusParams; - fromAmino(object: _147.ConsensusParamsAmino): _147.ConsensusParams; - toAmino(message: _147.ConsensusParams): _147.ConsensusParamsAmino; - fromAminoMsg(object: _147.ConsensusParamsAminoMsg): _147.ConsensusParams; - fromProtoMsg(message: _147.ConsensusParamsProtoMsg): _147.ConsensusParams; - toProto(message: _147.ConsensusParams): Uint8Array; - toProtoMsg(message: _147.ConsensusParams): _147.ConsensusParamsProtoMsg; - }; - BlockParams: { - encode(message: _147.BlockParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _147.BlockParams; - fromJSON(object: any): _147.BlockParams; - toJSON(message: _147.BlockParams): unknown; - fromPartial(object: Partial<_147.BlockParams>): _147.BlockParams; - fromAmino(object: _147.BlockParamsAmino): _147.BlockParams; - toAmino(message: _147.BlockParams): _147.BlockParamsAmino; - fromAminoMsg(object: _147.BlockParamsAminoMsg): _147.BlockParams; - fromProtoMsg(message: _147.BlockParamsProtoMsg): _147.BlockParams; - toProto(message: _147.BlockParams): Uint8Array; - toProtoMsg(message: _147.BlockParams): _147.BlockParamsProtoMsg; - }; - EvidenceParams: { - encode(message: _147.EvidenceParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _147.EvidenceParams; - fromJSON(object: any): _147.EvidenceParams; - toJSON(message: _147.EvidenceParams): unknown; - fromPartial(object: Partial<_147.EvidenceParams>): _147.EvidenceParams; - fromAmino(object: _147.EvidenceParamsAmino): _147.EvidenceParams; - toAmino(message: _147.EvidenceParams): _147.EvidenceParamsAmino; - fromAminoMsg(object: _147.EvidenceParamsAminoMsg): _147.EvidenceParams; - fromProtoMsg(message: _147.EvidenceParamsProtoMsg): _147.EvidenceParams; - toProto(message: _147.EvidenceParams): Uint8Array; - toProtoMsg(message: _147.EvidenceParams): _147.EvidenceParamsProtoMsg; - }; - ValidatorParams: { - encode(message: _147.ValidatorParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _147.ValidatorParams; - fromJSON(object: any): _147.ValidatorParams; - toJSON(message: _147.ValidatorParams): unknown; - fromPartial(object: Partial<_147.ValidatorParams>): _147.ValidatorParams; - fromAmino(object: _147.ValidatorParamsAmino): _147.ValidatorParams; - toAmino(message: _147.ValidatorParams): _147.ValidatorParamsAmino; - fromAminoMsg(object: _147.ValidatorParamsAminoMsg): _147.ValidatorParams; - fromProtoMsg(message: _147.ValidatorParamsProtoMsg): _147.ValidatorParams; - toProto(message: _147.ValidatorParams): Uint8Array; - toProtoMsg(message: _147.ValidatorParams): _147.ValidatorParamsProtoMsg; - }; - VersionParams: { - encode(message: _147.VersionParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _147.VersionParams; - fromJSON(object: any): _147.VersionParams; - toJSON(message: _147.VersionParams): unknown; - fromPartial(object: Partial<_147.VersionParams>): _147.VersionParams; - fromAmino(object: _147.VersionParamsAmino): _147.VersionParams; - toAmino(message: _147.VersionParams): _147.VersionParamsAmino; - fromAminoMsg(object: _147.VersionParamsAminoMsg): _147.VersionParams; - fromProtoMsg(message: _147.VersionParamsProtoMsg): _147.VersionParams; - toProto(message: _147.VersionParams): Uint8Array; - toProtoMsg(message: _147.VersionParams): _147.VersionParamsProtoMsg; - }; - HashedParams: { - encode(message: _147.HashedParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _147.HashedParams; - fromJSON(object: any): _147.HashedParams; - toJSON(message: _147.HashedParams): unknown; - fromPartial(object: Partial<_147.HashedParams>): _147.HashedParams; - fromAmino(object: _147.HashedParamsAmino): _147.HashedParams; - toAmino(message: _147.HashedParams): _147.HashedParamsAmino; - fromAminoMsg(object: _147.HashedParamsAminoMsg): _147.HashedParams; - fromProtoMsg(message: _147.HashedParamsProtoMsg): _147.HashedParams; - toProto(message: _147.HashedParams): Uint8Array; - toProtoMsg(message: _147.HashedParams): _147.HashedParamsProtoMsg; - }; - Evidence: { - encode(message: _146.Evidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _146.Evidence; - fromJSON(object: any): _146.Evidence; - toJSON(message: _146.Evidence): unknown; - fromPartial(object: Partial<_146.Evidence>): _146.Evidence; - fromAmino(object: _146.EvidenceAmino): _146.Evidence; - toAmino(message: _146.Evidence): _146.EvidenceAmino; - fromAminoMsg(object: _146.EvidenceAminoMsg): _146.Evidence; - fromProtoMsg(message: _146.EvidenceProtoMsg): _146.Evidence; - toProto(message: _146.Evidence): Uint8Array; - toProtoMsg(message: _146.Evidence): _146.EvidenceProtoMsg; - }; - DuplicateVoteEvidence: { - encode(message: _146.DuplicateVoteEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _146.DuplicateVoteEvidence; - fromJSON(object: any): _146.DuplicateVoteEvidence; - toJSON(message: _146.DuplicateVoteEvidence): unknown; - fromPartial(object: Partial<_146.DuplicateVoteEvidence>): _146.DuplicateVoteEvidence; - fromAmino(object: _146.DuplicateVoteEvidenceAmino): _146.DuplicateVoteEvidence; - toAmino(message: _146.DuplicateVoteEvidence): _146.DuplicateVoteEvidenceAmino; - fromAminoMsg(object: _146.DuplicateVoteEvidenceAminoMsg): _146.DuplicateVoteEvidence; - fromProtoMsg(message: _146.DuplicateVoteEvidenceProtoMsg): _146.DuplicateVoteEvidence; - toProto(message: _146.DuplicateVoteEvidence): Uint8Array; - toProtoMsg(message: _146.DuplicateVoteEvidence): _146.DuplicateVoteEvidenceProtoMsg; - }; - LightClientAttackEvidence: { - encode(message: _146.LightClientAttackEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _146.LightClientAttackEvidence; - fromJSON(object: any): _146.LightClientAttackEvidence; - toJSON(message: _146.LightClientAttackEvidence): unknown; - fromPartial(object: Partial<_146.LightClientAttackEvidence>): _146.LightClientAttackEvidence; - fromAmino(object: _146.LightClientAttackEvidenceAmino): _146.LightClientAttackEvidence; - toAmino(message: _146.LightClientAttackEvidence): _146.LightClientAttackEvidenceAmino; - fromAminoMsg(object: _146.LightClientAttackEvidenceAminoMsg): _146.LightClientAttackEvidence; - fromProtoMsg(message: _146.LightClientAttackEvidenceProtoMsg): _146.LightClientAttackEvidence; - toProto(message: _146.LightClientAttackEvidence): Uint8Array; - toProtoMsg(message: _146.LightClientAttackEvidence): _146.LightClientAttackEvidenceProtoMsg; - }; - EvidenceList: { - encode(message: _146.EvidenceList, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _146.EvidenceList; - fromJSON(object: any): _146.EvidenceList; - toJSON(message: _146.EvidenceList): unknown; - fromPartial(object: Partial<_146.EvidenceList>): _146.EvidenceList; - fromAmino(object: _146.EvidenceListAmino): _146.EvidenceList; - toAmino(message: _146.EvidenceList): _146.EvidenceListAmino; - fromAminoMsg(object: _146.EvidenceListAminoMsg): _146.EvidenceList; - fromProtoMsg(message: _146.EvidenceListProtoMsg): _146.EvidenceList; - toProto(message: _146.EvidenceList): Uint8Array; - toProtoMsg(message: _146.EvidenceList): _146.EvidenceListProtoMsg; - }; - Block: { - encode(message: _145.Block, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _145.Block; - fromJSON(object: any): _145.Block; - toJSON(message: _145.Block): unknown; - fromPartial(object: Partial<_145.Block>): _145.Block; - fromAmino(object: _145.BlockAmino): _145.Block; - toAmino(message: _145.Block): _145.BlockAmino; - fromAminoMsg(object: _145.BlockAminoMsg): _145.Block; - fromProtoMsg(message: _145.BlockProtoMsg): _145.Block; - toProto(message: _145.Block): Uint8Array; - toProtoMsg(message: _145.Block): _145.BlockProtoMsg; - }; - }; - const version: { - App: { - encode(message: _150.App, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _150.App; - fromJSON(object: any): _150.App; - toJSON(message: _150.App): unknown; - fromPartial(object: Partial<_150.App>): _150.App; - fromAmino(object: _150.AppAmino): _150.App; - toAmino(message: _150.App): _150.AppAmino; - fromAminoMsg(object: _150.AppAminoMsg): _150.App; - fromProtoMsg(message: _150.AppProtoMsg): _150.App; - toProto(message: _150.App): Uint8Array; - toProtoMsg(message: _150.App): _150.AppProtoMsg; - }; - Consensus: { - encode(message: _150.Consensus, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number | undefined): _150.Consensus; - fromJSON(object: any): _150.Consensus; - toJSON(message: _150.Consensus): unknown; - fromPartial(object: Partial<_150.Consensus>): _150.Consensus; - fromAmino(object: _150.ConsensusAmino): _150.Consensus; - toAmino(message: _150.Consensus): _150.ConsensusAmino; - fromAminoMsg(object: _150.ConsensusAminoMsg): _150.Consensus; - fromProtoMsg(message: _150.ConsensusProtoMsg): _150.Consensus; - toProto(message: _150.Consensus): Uint8Array; - toProtoMsg(message: _150.Consensus): _150.ConsensusProtoMsg; - }; - }; -} diff --git a/packages/api/types/codegen/tendermint/crypto/keys.d.ts b/packages/api/types/codegen/tendermint/crypto/keys.d.ts deleted file mode 100644 index 792f0cf8..00000000 --- a/packages/api/types/codegen/tendermint/crypto/keys.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -/** PublicKey defines the keys available for use with Validators */ -export interface PublicKey { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; -} -export interface PublicKeyProtoMsg { - typeUrl: "/tendermint.crypto.PublicKey"; - value: Uint8Array; -} -/** PublicKey defines the keys available for use with Validators */ -export interface PublicKeyAmino { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; -} -export interface PublicKeyAminoMsg { - type: "/tendermint.crypto.PublicKey"; - value: PublicKeyAmino; -} -/** PublicKey defines the keys available for use with Validators */ -export interface PublicKeySDKType { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; -} -export declare const PublicKey: { - encode(message: PublicKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey; - fromJSON(object: any): PublicKey; - toJSON(message: PublicKey): unknown; - fromPartial(object: Partial): PublicKey; - fromAmino(object: PublicKeyAmino): PublicKey; - toAmino(message: PublicKey): PublicKeyAmino; - fromAminoMsg(object: PublicKeyAminoMsg): PublicKey; - fromProtoMsg(message: PublicKeyProtoMsg): PublicKey; - toProto(message: PublicKey): Uint8Array; - toProtoMsg(message: PublicKey): PublicKeyProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/crypto/proof.d.ts b/packages/api/types/codegen/tendermint/crypto/proof.d.ts deleted file mode 100644 index 96d1b7bc..00000000 --- a/packages/api/types/codegen/tendermint/crypto/proof.d.ts +++ /dev/null @@ -1,198 +0,0 @@ -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface Proof { - total: Long; - index: Long; - leafHash: Uint8Array; - aunts: Uint8Array[]; -} -export interface ProofProtoMsg { - typeUrl: "/tendermint.crypto.Proof"; - value: Uint8Array; -} -export interface ProofAmino { - total: string; - index: string; - leaf_hash: Uint8Array; - aunts: Uint8Array[]; -} -export interface ProofAminoMsg { - type: "/tendermint.crypto.Proof"; - value: ProofAmino; -} -export interface ProofSDKType { - total: Long; - index: Long; - leaf_hash: Uint8Array; - aunts: Uint8Array[]; -} -export interface ValueOp { - /** Encoded in ProofOp.Key. */ - key: Uint8Array; - /** To encode in ProofOp.Data */ - proof: Proof; -} -export interface ValueOpProtoMsg { - typeUrl: "/tendermint.crypto.ValueOp"; - value: Uint8Array; -} -export interface ValueOpAmino { - /** Encoded in ProofOp.Key. */ - key: Uint8Array; - /** To encode in ProofOp.Data */ - proof?: ProofAmino; -} -export interface ValueOpAminoMsg { - type: "/tendermint.crypto.ValueOp"; - value: ValueOpAmino; -} -export interface ValueOpSDKType { - key: Uint8Array; - proof: ProofSDKType; -} -export interface DominoOp { - key: string; - input: string; - output: string; -} -export interface DominoOpProtoMsg { - typeUrl: "/tendermint.crypto.DominoOp"; - value: Uint8Array; -} -export interface DominoOpAmino { - key: string; - input: string; - output: string; -} -export interface DominoOpAminoMsg { - type: "/tendermint.crypto.DominoOp"; - value: DominoOpAmino; -} -export interface DominoOpSDKType { - key: string; - input: string; - output: string; -} -/** - * ProofOp defines an operation used for calculating Merkle root - * The data could be arbitrary format, providing nessecary data - * for example neighbouring node hash - */ -export interface ProofOp { - type: string; - key: Uint8Array; - data: Uint8Array; -} -export interface ProofOpProtoMsg { - typeUrl: "/tendermint.crypto.ProofOp"; - value: Uint8Array; -} -/** - * ProofOp defines an operation used for calculating Merkle root - * The data could be arbitrary format, providing nessecary data - * for example neighbouring node hash - */ -export interface ProofOpAmino { - type: string; - key: Uint8Array; - data: Uint8Array; -} -export interface ProofOpAminoMsg { - type: "/tendermint.crypto.ProofOp"; - value: ProofOpAmino; -} -/** - * ProofOp defines an operation used for calculating Merkle root - * The data could be arbitrary format, providing nessecary data - * for example neighbouring node hash - */ -export interface ProofOpSDKType { - type: string; - key: Uint8Array; - data: Uint8Array; -} -/** ProofOps is Merkle proof defined by the list of ProofOps */ -export interface ProofOps { - ops: ProofOp[]; -} -export interface ProofOpsProtoMsg { - typeUrl: "/tendermint.crypto.ProofOps"; - value: Uint8Array; -} -/** ProofOps is Merkle proof defined by the list of ProofOps */ -export interface ProofOpsAmino { - ops: ProofOpAmino[]; -} -export interface ProofOpsAminoMsg { - type: "/tendermint.crypto.ProofOps"; - value: ProofOpsAmino; -} -/** ProofOps is Merkle proof defined by the list of ProofOps */ -export interface ProofOpsSDKType { - ops: ProofOpSDKType[]; -} -export declare const Proof: { - encode(message: Proof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proof; - fromJSON(object: any): Proof; - toJSON(message: Proof): unknown; - fromPartial(object: Partial): Proof; - fromAmino(object: ProofAmino): Proof; - toAmino(message: Proof): ProofAmino; - fromAminoMsg(object: ProofAminoMsg): Proof; - fromProtoMsg(message: ProofProtoMsg): Proof; - toProto(message: Proof): Uint8Array; - toProtoMsg(message: Proof): ProofProtoMsg; -}; -export declare const ValueOp: { - encode(message: ValueOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp; - fromJSON(object: any): ValueOp; - toJSON(message: ValueOp): unknown; - fromPartial(object: Partial): ValueOp; - fromAmino(object: ValueOpAmino): ValueOp; - toAmino(message: ValueOp): ValueOpAmino; - fromAminoMsg(object: ValueOpAminoMsg): ValueOp; - fromProtoMsg(message: ValueOpProtoMsg): ValueOp; - toProto(message: ValueOp): Uint8Array; - toProtoMsg(message: ValueOp): ValueOpProtoMsg; -}; -export declare const DominoOp: { - encode(message: DominoOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp; - fromJSON(object: any): DominoOp; - toJSON(message: DominoOp): unknown; - fromPartial(object: Partial): DominoOp; - fromAmino(object: DominoOpAmino): DominoOp; - toAmino(message: DominoOp): DominoOpAmino; - fromAminoMsg(object: DominoOpAminoMsg): DominoOp; - fromProtoMsg(message: DominoOpProtoMsg): DominoOp; - toProto(message: DominoOp): Uint8Array; - toProtoMsg(message: DominoOp): DominoOpProtoMsg; -}; -export declare const ProofOp: { - encode(message: ProofOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProofOp; - fromJSON(object: any): ProofOp; - toJSON(message: ProofOp): unknown; - fromPartial(object: Partial): ProofOp; - fromAmino(object: ProofOpAmino): ProofOp; - toAmino(message: ProofOp): ProofOpAmino; - fromAminoMsg(object: ProofOpAminoMsg): ProofOp; - fromProtoMsg(message: ProofOpProtoMsg): ProofOp; - toProto(message: ProofOp): Uint8Array; - toProtoMsg(message: ProofOp): ProofOpProtoMsg; -}; -export declare const ProofOps: { - encode(message: ProofOps, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps; - fromJSON(object: any): ProofOps; - toJSON(message: ProofOps): unknown; - fromPartial(object: Partial): ProofOps; - fromAmino(object: ProofOpsAmino): ProofOps; - toAmino(message: ProofOps): ProofOpsAmino; - fromAminoMsg(object: ProofOpsAminoMsg): ProofOps; - fromProtoMsg(message: ProofOpsProtoMsg): ProofOps; - toProto(message: ProofOps): Uint8Array; - toProtoMsg(message: ProofOps): ProofOpsProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/libs/bits/types.d.ts b/packages/api/types/codegen/tendermint/libs/bits/types.d.ts deleted file mode 100644 index 8f2197bb..00000000 --- a/packages/api/types/codegen/tendermint/libs/bits/types.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { Long } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface BitArray { - bits: Long; - elems: Long[]; -} -export interface BitArrayProtoMsg { - typeUrl: "/tendermint.libs.bits.BitArray"; - value: Uint8Array; -} -export interface BitArrayAmino { - bits: string; - elems: string[]; -} -export interface BitArrayAminoMsg { - type: "/tendermint.libs.bits.BitArray"; - value: BitArrayAmino; -} -export interface BitArraySDKType { - bits: Long; - elems: Long[]; -} -export declare const BitArray: { - encode(message: BitArray, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BitArray; - fromJSON(object: any): BitArray; - toJSON(message: BitArray): unknown; - fromPartial(object: Partial): BitArray; - fromAmino(object: BitArrayAmino): BitArray; - toAmino(message: BitArray): BitArrayAmino; - fromAminoMsg(object: BitArrayAminoMsg): BitArray; - fromProtoMsg(message: BitArrayProtoMsg): BitArray; - toProto(message: BitArray): Uint8Array; - toProtoMsg(message: BitArray): BitArrayProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/p2p/types.d.ts b/packages/api/types/codegen/tendermint/p2p/types.d.ts deleted file mode 100644 index 0df7272f..00000000 --- a/packages/api/types/codegen/tendermint/p2p/types.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface NetAddress { - id: string; - ip: string; - port: number; -} -export interface NetAddressProtoMsg { - typeUrl: "/tendermint.p2p.NetAddress"; - value: Uint8Array; -} -export interface NetAddressAmino { - id: string; - ip: string; - port: number; -} -export interface NetAddressAminoMsg { - type: "/tendermint.p2p.NetAddress"; - value: NetAddressAmino; -} -export interface NetAddressSDKType { - id: string; - ip: string; - port: number; -} -export interface ProtocolVersion { - p2p: Long; - block: Long; - app: Long; -} -export interface ProtocolVersionProtoMsg { - typeUrl: "/tendermint.p2p.ProtocolVersion"; - value: Uint8Array; -} -export interface ProtocolVersionAmino { - p2p: string; - block: string; - app: string; -} -export interface ProtocolVersionAminoMsg { - type: "/tendermint.p2p.ProtocolVersion"; - value: ProtocolVersionAmino; -} -export interface ProtocolVersionSDKType { - p2p: Long; - block: Long; - app: Long; -} -export interface DefaultNodeInfo { - protocolVersion: ProtocolVersion; - defaultNodeId: string; - listenAddr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other: DefaultNodeInfoOther; -} -export interface DefaultNodeInfoProtoMsg { - typeUrl: "/tendermint.p2p.DefaultNodeInfo"; - value: Uint8Array; -} -export interface DefaultNodeInfoAmino { - protocol_version?: ProtocolVersionAmino; - default_node_id: string; - listen_addr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other?: DefaultNodeInfoOtherAmino; -} -export interface DefaultNodeInfoAminoMsg { - type: "/tendermint.p2p.DefaultNodeInfo"; - value: DefaultNodeInfoAmino; -} -export interface DefaultNodeInfoSDKType { - protocol_version: ProtocolVersionSDKType; - default_node_id: string; - listen_addr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other: DefaultNodeInfoOtherSDKType; -} -export interface DefaultNodeInfoOther { - txIndex: string; - rpcAddress: string; -} -export interface DefaultNodeInfoOtherProtoMsg { - typeUrl: "/tendermint.p2p.DefaultNodeInfoOther"; - value: Uint8Array; -} -export interface DefaultNodeInfoOtherAmino { - tx_index: string; - rpc_address: string; -} -export interface DefaultNodeInfoOtherAminoMsg { - type: "/tendermint.p2p.DefaultNodeInfoOther"; - value: DefaultNodeInfoOtherAmino; -} -export interface DefaultNodeInfoOtherSDKType { - tx_index: string; - rpc_address: string; -} -export declare const NetAddress: { - encode(message: NetAddress, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NetAddress; - fromJSON(object: any): NetAddress; - toJSON(message: NetAddress): unknown; - fromPartial(object: Partial): NetAddress; - fromAmino(object: NetAddressAmino): NetAddress; - toAmino(message: NetAddress): NetAddressAmino; - fromAminoMsg(object: NetAddressAminoMsg): NetAddress; - fromProtoMsg(message: NetAddressProtoMsg): NetAddress; - toProto(message: NetAddress): Uint8Array; - toProtoMsg(message: NetAddress): NetAddressProtoMsg; -}; -export declare const ProtocolVersion: { - encode(message: ProtocolVersion, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProtocolVersion; - fromJSON(object: any): ProtocolVersion; - toJSON(message: ProtocolVersion): unknown; - fromPartial(object: Partial): ProtocolVersion; - fromAmino(object: ProtocolVersionAmino): ProtocolVersion; - toAmino(message: ProtocolVersion): ProtocolVersionAmino; - fromAminoMsg(object: ProtocolVersionAminoMsg): ProtocolVersion; - fromProtoMsg(message: ProtocolVersionProtoMsg): ProtocolVersion; - toProto(message: ProtocolVersion): Uint8Array; - toProtoMsg(message: ProtocolVersion): ProtocolVersionProtoMsg; -}; -export declare const DefaultNodeInfo: { - encode(message: DefaultNodeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DefaultNodeInfo; - fromJSON(object: any): DefaultNodeInfo; - toJSON(message: DefaultNodeInfo): unknown; - fromPartial(object: Partial): DefaultNodeInfo; - fromAmino(object: DefaultNodeInfoAmino): DefaultNodeInfo; - toAmino(message: DefaultNodeInfo): DefaultNodeInfoAmino; - fromAminoMsg(object: DefaultNodeInfoAminoMsg): DefaultNodeInfo; - fromProtoMsg(message: DefaultNodeInfoProtoMsg): DefaultNodeInfo; - toProto(message: DefaultNodeInfo): Uint8Array; - toProtoMsg(message: DefaultNodeInfo): DefaultNodeInfoProtoMsg; -}; -export declare const DefaultNodeInfoOther: { - encode(message: DefaultNodeInfoOther, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DefaultNodeInfoOther; - fromJSON(object: any): DefaultNodeInfoOther; - toJSON(message: DefaultNodeInfoOther): unknown; - fromPartial(object: Partial): DefaultNodeInfoOther; - fromAmino(object: DefaultNodeInfoOtherAmino): DefaultNodeInfoOther; - toAmino(message: DefaultNodeInfoOther): DefaultNodeInfoOtherAmino; - fromAminoMsg(object: DefaultNodeInfoOtherAminoMsg): DefaultNodeInfoOther; - fromProtoMsg(message: DefaultNodeInfoOtherProtoMsg): DefaultNodeInfoOther; - toProto(message: DefaultNodeInfoOther): Uint8Array; - toProtoMsg(message: DefaultNodeInfoOther): DefaultNodeInfoOtherProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/types/block.d.ts b/packages/api/types/codegen/tendermint/types/block.d.ts deleted file mode 100644 index 539e94f4..00000000 --- a/packages/api/types/codegen/tendermint/types/block.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Header, HeaderAmino, HeaderSDKType, Data, DataAmino, DataSDKType, Commit, CommitAmino, CommitSDKType } from "./types"; -import { EvidenceList, EvidenceListAmino, EvidenceListSDKType } from "./evidence"; -import * as _m0 from "protobufjs/minimal"; -export interface Block { - header: Header; - data: Data; - evidence: EvidenceList; - lastCommit: Commit; -} -export interface BlockProtoMsg { - typeUrl: "/tendermint.types.Block"; - value: Uint8Array; -} -export interface BlockAmino { - header?: HeaderAmino; - data?: DataAmino; - evidence?: EvidenceListAmino; - last_commit?: CommitAmino; -} -export interface BlockAminoMsg { - type: "/tendermint.types.Block"; - value: BlockAmino; -} -export interface BlockSDKType { - header: HeaderSDKType; - data: DataSDKType; - evidence: EvidenceListSDKType; - last_commit: CommitSDKType; -} -export declare const Block: { - encode(message: Block, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Block; - fromJSON(object: any): Block; - toJSON(message: Block): unknown; - fromPartial(object: Partial): Block; - fromAmino(object: BlockAmino): Block; - toAmino(message: Block): BlockAmino; - fromAminoMsg(object: BlockAminoMsg): Block; - fromProtoMsg(message: BlockProtoMsg): Block; - toProto(message: Block): Uint8Array; - toProtoMsg(message: Block): BlockProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/types/evidence.d.ts b/packages/api/types/codegen/tendermint/types/evidence.d.ts deleted file mode 100644 index e237aed1..00000000 --- a/packages/api/types/codegen/tendermint/types/evidence.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -import { Vote, VoteAmino, VoteSDKType, LightBlock, LightBlockAmino, LightBlockSDKType } from "./types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../google/protobuf/timestamp"; -import { Validator, ValidatorAmino, ValidatorSDKType } from "./validator"; -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface Evidence { - duplicateVoteEvidence?: DuplicateVoteEvidence; - lightClientAttackEvidence?: LightClientAttackEvidence; -} -export interface EvidenceProtoMsg { - typeUrl: "/tendermint.types.Evidence"; - value: Uint8Array; -} -export interface EvidenceAmino { - duplicate_vote_evidence?: DuplicateVoteEvidenceAmino; - light_client_attack_evidence?: LightClientAttackEvidenceAmino; -} -export interface EvidenceAminoMsg { - type: "/tendermint.types.Evidence"; - value: EvidenceAmino; -} -export interface EvidenceSDKType { - duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType; - light_client_attack_evidence?: LightClientAttackEvidenceSDKType; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidence { - voteA: Vote; - voteB: Vote; - totalVotingPower: Long; - validatorPower: Long; - timestamp: Timestamp; -} -export interface DuplicateVoteEvidenceProtoMsg { - typeUrl: "/tendermint.types.DuplicateVoteEvidence"; - value: Uint8Array; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidenceAmino { - vote_a?: VoteAmino; - vote_b?: VoteAmino; - total_voting_power: string; - validator_power: string; - timestamp?: TimestampAmino; -} -export interface DuplicateVoteEvidenceAminoMsg { - type: "/tendermint.types.DuplicateVoteEvidence"; - value: DuplicateVoteEvidenceAmino; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidenceSDKType { - vote_a: VoteSDKType; - vote_b: VoteSDKType; - total_voting_power: Long; - validator_power: Long; - timestamp: TimestampSDKType; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidence { - conflictingBlock: LightBlock; - commonHeight: Long; - byzantineValidators: Validator[]; - totalVotingPower: Long; - timestamp: Timestamp; -} -export interface LightClientAttackEvidenceProtoMsg { - typeUrl: "/tendermint.types.LightClientAttackEvidence"; - value: Uint8Array; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidenceAmino { - conflicting_block?: LightBlockAmino; - common_height: string; - byzantine_validators: ValidatorAmino[]; - total_voting_power: string; - timestamp?: TimestampAmino; -} -export interface LightClientAttackEvidenceAminoMsg { - type: "/tendermint.types.LightClientAttackEvidence"; - value: LightClientAttackEvidenceAmino; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidenceSDKType { - conflicting_block: LightBlockSDKType; - common_height: Long; - byzantine_validators: ValidatorSDKType[]; - total_voting_power: Long; - timestamp: TimestampSDKType; -} -export interface EvidenceList { - evidence: Evidence[]; -} -export interface EvidenceListProtoMsg { - typeUrl: "/tendermint.types.EvidenceList"; - value: Uint8Array; -} -export interface EvidenceListAmino { - evidence: EvidenceAmino[]; -} -export interface EvidenceListAminoMsg { - type: "/tendermint.types.EvidenceList"; - value: EvidenceListAmino; -} -export interface EvidenceListSDKType { - evidence: EvidenceSDKType[]; -} -export declare const Evidence: { - encode(message: Evidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Evidence; - fromJSON(object: any): Evidence; - toJSON(message: Evidence): unknown; - fromPartial(object: Partial): Evidence; - fromAmino(object: EvidenceAmino): Evidence; - toAmino(message: Evidence): EvidenceAmino; - fromAminoMsg(object: EvidenceAminoMsg): Evidence; - fromProtoMsg(message: EvidenceProtoMsg): Evidence; - toProto(message: Evidence): Uint8Array; - toProtoMsg(message: Evidence): EvidenceProtoMsg; -}; -export declare const DuplicateVoteEvidence: { - encode(message: DuplicateVoteEvidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DuplicateVoteEvidence; - fromJSON(object: any): DuplicateVoteEvidence; - toJSON(message: DuplicateVoteEvidence): unknown; - fromPartial(object: Partial): DuplicateVoteEvidence; - fromAmino(object: DuplicateVoteEvidenceAmino): DuplicateVoteEvidence; - toAmino(message: DuplicateVoteEvidence): DuplicateVoteEvidenceAmino; - fromAminoMsg(object: DuplicateVoteEvidenceAminoMsg): DuplicateVoteEvidence; - fromProtoMsg(message: DuplicateVoteEvidenceProtoMsg): DuplicateVoteEvidence; - toProto(message: DuplicateVoteEvidence): Uint8Array; - toProtoMsg(message: DuplicateVoteEvidence): DuplicateVoteEvidenceProtoMsg; -}; -export declare const LightClientAttackEvidence: { - encode(message: LightClientAttackEvidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LightClientAttackEvidence; - fromJSON(object: any): LightClientAttackEvidence; - toJSON(message: LightClientAttackEvidence): unknown; - fromPartial(object: Partial): LightClientAttackEvidence; - fromAmino(object: LightClientAttackEvidenceAmino): LightClientAttackEvidence; - toAmino(message: LightClientAttackEvidence): LightClientAttackEvidenceAmino; - fromAminoMsg(object: LightClientAttackEvidenceAminoMsg): LightClientAttackEvidence; - fromProtoMsg(message: LightClientAttackEvidenceProtoMsg): LightClientAttackEvidence; - toProto(message: LightClientAttackEvidence): Uint8Array; - toProtoMsg(message: LightClientAttackEvidence): LightClientAttackEvidenceProtoMsg; -}; -export declare const EvidenceList: { - encode(message: EvidenceList, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceList; - fromJSON(object: any): EvidenceList; - toJSON(message: EvidenceList): unknown; - fromPartial(object: Partial): EvidenceList; - fromAmino(object: EvidenceListAmino): EvidenceList; - toAmino(message: EvidenceList): EvidenceListAmino; - fromAminoMsg(object: EvidenceListAminoMsg): EvidenceList; - fromProtoMsg(message: EvidenceListProtoMsg): EvidenceList; - toProto(message: EvidenceList): Uint8Array; - toProtoMsg(message: EvidenceList): EvidenceListProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/types/params.d.ts b/packages/api/types/codegen/tendermint/types/params.d.ts deleted file mode 100644 index 4b6dfb67..00000000 --- a/packages/api/types/codegen/tendermint/types/params.d.ts +++ /dev/null @@ -1,304 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParams { - block: BlockParams; - evidence: EvidenceParams; - validator: ValidatorParams; - version: VersionParams; -} -export interface ConsensusParamsProtoMsg { - typeUrl: "/tendermint.types.ConsensusParams"; - value: Uint8Array; -} -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParamsAmino { - block?: BlockParamsAmino; - evidence?: EvidenceParamsAmino; - validator?: ValidatorParamsAmino; - version?: VersionParamsAmino; -} -export interface ConsensusParamsAminoMsg { - type: "/tendermint.types.ConsensusParams"; - value: ConsensusParamsAmino; -} -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParamsSDKType { - block: BlockParamsSDKType; - evidence: EvidenceParamsSDKType; - validator: ValidatorParamsSDKType; - version: VersionParamsSDKType; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParams { - /** - * Max block size, in bytes. - * Note: must be greater than 0 - */ - maxBytes: Long; - /** - * Max gas per block. - * Note: must be greater or equal to -1 - */ - maxGas: Long; -} -export interface BlockParamsProtoMsg { - typeUrl: "/tendermint.types.BlockParams"; - value: Uint8Array; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParamsAmino { - /** - * Max block size, in bytes. - * Note: must be greater than 0 - */ - max_bytes: string; - /** - * Max gas per block. - * Note: must be greater or equal to -1 - */ - max_gas: string; -} -export interface BlockParamsAminoMsg { - type: "/tendermint.types.BlockParams"; - value: BlockParamsAmino; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParamsSDKType { - max_bytes: Long; - max_gas: Long; -} -/** EvidenceParams determine how we handle evidence of malfeasance. */ -export interface EvidenceParams { - /** - * Max age of evidence, in blocks. - * - * The basic formula for calculating this is: MaxAgeDuration / {average block - * time}. - */ - maxAgeNumBlocks: Long; - /** - * Max age of evidence, in time. - * - * It should correspond with an app's "unbonding period" or other similar - * mechanism for handling [Nothing-At-Stake - * attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - */ - maxAgeDuration: Duration; - /** - * This sets the maximum size of total evidence in bytes that can be committed in a single block. - * and should fall comfortably under the max block bytes. - * Default is 1048576 or 1MB - */ - maxBytes: Long; -} -export interface EvidenceParamsProtoMsg { - typeUrl: "/tendermint.types.EvidenceParams"; - value: Uint8Array; -} -/** EvidenceParams determine how we handle evidence of malfeasance. */ -export interface EvidenceParamsAmino { - /** - * Max age of evidence, in blocks. - * - * The basic formula for calculating this is: MaxAgeDuration / {average block - * time}. - */ - max_age_num_blocks: string; - /** - * Max age of evidence, in time. - * - * It should correspond with an app's "unbonding period" or other similar - * mechanism for handling [Nothing-At-Stake - * attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - */ - max_age_duration?: DurationAmino; - /** - * This sets the maximum size of total evidence in bytes that can be committed in a single block. - * and should fall comfortably under the max block bytes. - * Default is 1048576 or 1MB - */ - max_bytes: string; -} -export interface EvidenceParamsAminoMsg { - type: "/tendermint.types.EvidenceParams"; - value: EvidenceParamsAmino; -} -/** EvidenceParams determine how we handle evidence of malfeasance. */ -export interface EvidenceParamsSDKType { - max_age_num_blocks: Long; - max_age_duration: DurationSDKType; - max_bytes: Long; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ -export interface ValidatorParams { - pubKeyTypes: string[]; -} -export interface ValidatorParamsProtoMsg { - typeUrl: "/tendermint.types.ValidatorParams"; - value: Uint8Array; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ -export interface ValidatorParamsAmino { - pub_key_types: string[]; -} -export interface ValidatorParamsAminoMsg { - type: "/tendermint.types.ValidatorParams"; - value: ValidatorParamsAmino; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ -export interface ValidatorParamsSDKType { - pub_key_types: string[]; -} -/** VersionParams contains the ABCI application version. */ -export interface VersionParams { - app: Long; -} -export interface VersionParamsProtoMsg { - typeUrl: "/tendermint.types.VersionParams"; - value: Uint8Array; -} -/** VersionParams contains the ABCI application version. */ -export interface VersionParamsAmino { - app: string; -} -export interface VersionParamsAminoMsg { - type: "/tendermint.types.VersionParams"; - value: VersionParamsAmino; -} -/** VersionParams contains the ABCI application version. */ -export interface VersionParamsSDKType { - app: Long; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ -export interface HashedParams { - blockMaxBytes: Long; - blockMaxGas: Long; -} -export interface HashedParamsProtoMsg { - typeUrl: "/tendermint.types.HashedParams"; - value: Uint8Array; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ -export interface HashedParamsAmino { - block_max_bytes: string; - block_max_gas: string; -} -export interface HashedParamsAminoMsg { - type: "/tendermint.types.HashedParams"; - value: HashedParamsAmino; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ -export interface HashedParamsSDKType { - block_max_bytes: Long; - block_max_gas: Long; -} -export declare const ConsensusParams: { - encode(message: ConsensusParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams; - fromJSON(object: any): ConsensusParams; - toJSON(message: ConsensusParams): unknown; - fromPartial(object: Partial): ConsensusParams; - fromAmino(object: ConsensusParamsAmino): ConsensusParams; - toAmino(message: ConsensusParams): ConsensusParamsAmino; - fromAminoMsg(object: ConsensusParamsAminoMsg): ConsensusParams; - fromProtoMsg(message: ConsensusParamsProtoMsg): ConsensusParams; - toProto(message: ConsensusParams): Uint8Array; - toProtoMsg(message: ConsensusParams): ConsensusParamsProtoMsg; -}; -export declare const BlockParams: { - encode(message: BlockParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams; - fromJSON(object: any): BlockParams; - toJSON(message: BlockParams): unknown; - fromPartial(object: Partial): BlockParams; - fromAmino(object: BlockParamsAmino): BlockParams; - toAmino(message: BlockParams): BlockParamsAmino; - fromAminoMsg(object: BlockParamsAminoMsg): BlockParams; - fromProtoMsg(message: BlockParamsProtoMsg): BlockParams; - toProto(message: BlockParams): Uint8Array; - toProtoMsg(message: BlockParams): BlockParamsProtoMsg; -}; -export declare const EvidenceParams: { - encode(message: EvidenceParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams; - fromJSON(object: any): EvidenceParams; - toJSON(message: EvidenceParams): unknown; - fromPartial(object: Partial): EvidenceParams; - fromAmino(object: EvidenceParamsAmino): EvidenceParams; - toAmino(message: EvidenceParams): EvidenceParamsAmino; - fromAminoMsg(object: EvidenceParamsAminoMsg): EvidenceParams; - fromProtoMsg(message: EvidenceParamsProtoMsg): EvidenceParams; - toProto(message: EvidenceParams): Uint8Array; - toProtoMsg(message: EvidenceParams): EvidenceParamsProtoMsg; -}; -export declare const ValidatorParams: { - encode(message: ValidatorParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams; - fromJSON(object: any): ValidatorParams; - toJSON(message: ValidatorParams): unknown; - fromPartial(object: Partial): ValidatorParams; - fromAmino(object: ValidatorParamsAmino): ValidatorParams; - toAmino(message: ValidatorParams): ValidatorParamsAmino; - fromAminoMsg(object: ValidatorParamsAminoMsg): ValidatorParams; - fromProtoMsg(message: ValidatorParamsProtoMsg): ValidatorParams; - toProto(message: ValidatorParams): Uint8Array; - toProtoMsg(message: ValidatorParams): ValidatorParamsProtoMsg; -}; -export declare const VersionParams: { - encode(message: VersionParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams; - fromJSON(object: any): VersionParams; - toJSON(message: VersionParams): unknown; - fromPartial(object: Partial): VersionParams; - fromAmino(object: VersionParamsAmino): VersionParams; - toAmino(message: VersionParams): VersionParamsAmino; - fromAminoMsg(object: VersionParamsAminoMsg): VersionParams; - fromProtoMsg(message: VersionParamsProtoMsg): VersionParams; - toProto(message: VersionParams): Uint8Array; - toProtoMsg(message: VersionParams): VersionParamsProtoMsg; -}; -export declare const HashedParams: { - encode(message: HashedParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams; - fromJSON(object: any): HashedParams; - toJSON(message: HashedParams): unknown; - fromPartial(object: Partial): HashedParams; - fromAmino(object: HashedParamsAmino): HashedParams; - toAmino(message: HashedParams): HashedParamsAmino; - fromAminoMsg(object: HashedParamsAminoMsg): HashedParams; - fromProtoMsg(message: HashedParamsProtoMsg): HashedParams; - toProto(message: HashedParams): Uint8Array; - toProtoMsg(message: HashedParams): HashedParamsProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/types/types.d.ts b/packages/api/types/codegen/tendermint/types/types.d.ts deleted file mode 100644 index 124702d5..00000000 --- a/packages/api/types/codegen/tendermint/types/types.d.ts +++ /dev/null @@ -1,612 +0,0 @@ -import { Proof, ProofAmino, ProofSDKType } from "../crypto/proof"; -import { Consensus, ConsensusAmino, ConsensusSDKType } from "../version/types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../google/protobuf/timestamp"; -import { ValidatorSet, ValidatorSetAmino, ValidatorSetSDKType } from "./validator"; -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** BlockIdFlag indicates which BlcokID the signature is for */ -export declare enum BlockIDFlag { - BLOCK_ID_FLAG_UNKNOWN = 0, - BLOCK_ID_FLAG_ABSENT = 1, - BLOCK_ID_FLAG_COMMIT = 2, - BLOCK_ID_FLAG_NIL = 3, - UNRECOGNIZED = -1 -} -export declare const BlockIDFlagSDKType: typeof BlockIDFlag; -export declare const BlockIDFlagAmino: typeof BlockIDFlag; -export declare function blockIDFlagFromJSON(object: any): BlockIDFlag; -export declare function blockIDFlagToJSON(object: BlockIDFlag): string; -/** SignedMsgType is a type of signed message in the consensus. */ -export declare enum SignedMsgType { - SIGNED_MSG_TYPE_UNKNOWN = 0, - /** SIGNED_MSG_TYPE_PREVOTE - Votes */ - SIGNED_MSG_TYPE_PREVOTE = 1, - SIGNED_MSG_TYPE_PRECOMMIT = 2, - /** SIGNED_MSG_TYPE_PROPOSAL - Proposals */ - SIGNED_MSG_TYPE_PROPOSAL = 32, - UNRECOGNIZED = -1 -} -export declare const SignedMsgTypeSDKType: typeof SignedMsgType; -export declare const SignedMsgTypeAmino: typeof SignedMsgType; -export declare function signedMsgTypeFromJSON(object: any): SignedMsgType; -export declare function signedMsgTypeToJSON(object: SignedMsgType): string; -/** PartsetHeader */ -export interface PartSetHeader { - total: number; - hash: Uint8Array; -} -export interface PartSetHeaderProtoMsg { - typeUrl: "/tendermint.types.PartSetHeader"; - value: Uint8Array; -} -/** PartsetHeader */ -export interface PartSetHeaderAmino { - total: number; - hash: Uint8Array; -} -export interface PartSetHeaderAminoMsg { - type: "/tendermint.types.PartSetHeader"; - value: PartSetHeaderAmino; -} -/** PartsetHeader */ -export interface PartSetHeaderSDKType { - total: number; - hash: Uint8Array; -} -export interface Part { - index: number; - bytes: Uint8Array; - proof: Proof; -} -export interface PartProtoMsg { - typeUrl: "/tendermint.types.Part"; - value: Uint8Array; -} -export interface PartAmino { - index: number; - bytes: Uint8Array; - proof?: ProofAmino; -} -export interface PartAminoMsg { - type: "/tendermint.types.Part"; - value: PartAmino; -} -export interface PartSDKType { - index: number; - bytes: Uint8Array; - proof: ProofSDKType; -} -/** BlockID */ -export interface BlockID { - hash: Uint8Array; - partSetHeader: PartSetHeader; -} -export interface BlockIDProtoMsg { - typeUrl: "/tendermint.types.BlockID"; - value: Uint8Array; -} -/** BlockID */ -export interface BlockIDAmino { - hash: Uint8Array; - part_set_header?: PartSetHeaderAmino; -} -export interface BlockIDAminoMsg { - type: "/tendermint.types.BlockID"; - value: BlockIDAmino; -} -/** BlockID */ -export interface BlockIDSDKType { - hash: Uint8Array; - part_set_header: PartSetHeaderSDKType; -} -/** Header defines the structure of a block header. */ -export interface Header { - /** basic block info */ - version: Consensus; - chainId: string; - height: Long; - time: Timestamp; - /** prev block info */ - lastBlockId: BlockID; - /** hashes of block data */ - lastCommitHash: Uint8Array; - dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - validatorsHash: Uint8Array; - /** validators for the next block */ - nextValidatorsHash: Uint8Array; - /** consensus params for current block */ - consensusHash: Uint8Array; - /** state after txs from the previous block */ - appHash: Uint8Array; - lastResultsHash: Uint8Array; - /** consensus info */ - evidenceHash: Uint8Array; - /** original proposer of the block */ - proposerAddress: Uint8Array; -} -export interface HeaderProtoMsg { - typeUrl: "/tendermint.types.Header"; - value: Uint8Array; -} -/** Header defines the structure of a block header. */ -export interface HeaderAmino { - /** basic block info */ - version?: ConsensusAmino; - chain_id: string; - height: string; - time?: TimestampAmino; - /** prev block info */ - last_block_id?: BlockIDAmino; - /** hashes of block data */ - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - /** hashes from the app output from the prev block */ - validators_hash: Uint8Array; - /** validators for the next block */ - next_validators_hash: Uint8Array; - /** consensus params for current block */ - consensus_hash: Uint8Array; - /** state after txs from the previous block */ - app_hash: Uint8Array; - last_results_hash: Uint8Array; - /** consensus info */ - evidence_hash: Uint8Array; - /** original proposer of the block */ - proposer_address: Uint8Array; -} -export interface HeaderAminoMsg { - type: "/tendermint.types.Header"; - value: HeaderAmino; -} -/** Header defines the structure of a block header. */ -export interface HeaderSDKType { - version: ConsensusSDKType; - chain_id: string; - height: Long; - time: TimestampSDKType; - last_block_id: BlockIDSDKType; - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - validators_hash: Uint8Array; - next_validators_hash: Uint8Array; - consensus_hash: Uint8Array; - app_hash: Uint8Array; - last_results_hash: Uint8Array; - evidence_hash: Uint8Array; - proposer_address: Uint8Array; -} -/** Data contains the set of transactions included in the block */ -export interface Data { - /** - * Txs that will be applied by state @ block.Height+1. - * NOTE: not all txs here are valid. We're just agreeing on the order first. - * This means that block.AppHash does not include these txs. - */ - txs: Uint8Array[]; -} -export interface DataProtoMsg { - typeUrl: "/tendermint.types.Data"; - value: Uint8Array; -} -/** Data contains the set of transactions included in the block */ -export interface DataAmino { - /** - * Txs that will be applied by state @ block.Height+1. - * NOTE: not all txs here are valid. We're just agreeing on the order first. - * This means that block.AppHash does not include these txs. - */ - txs: Uint8Array[]; -} -export interface DataAminoMsg { - type: "/tendermint.types.Data"; - value: DataAmino; -} -/** Data contains the set of transactions included in the block */ -export interface DataSDKType { - txs: Uint8Array[]; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface Vote { - type: SignedMsgType; - height: Long; - round: number; - blockId: BlockID; - timestamp: Timestamp; - validatorAddress: Uint8Array; - validatorIndex: number; - signature: Uint8Array; -} -export interface VoteProtoMsg { - typeUrl: "/tendermint.types.Vote"; - value: Uint8Array; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface VoteAmino { - type: SignedMsgType; - height: string; - round: number; - block_id?: BlockIDAmino; - timestamp?: TimestampAmino; - validator_address: Uint8Array; - validator_index: number; - signature: Uint8Array; -} -export interface VoteAminoMsg { - type: "/tendermint.types.Vote"; - value: VoteAmino; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface VoteSDKType { - type: SignedMsgType; - height: Long; - round: number; - block_id: BlockIDSDKType; - timestamp: TimestampSDKType; - validator_address: Uint8Array; - validator_index: number; - signature: Uint8Array; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface Commit { - height: Long; - round: number; - blockId: BlockID; - signatures: CommitSig[]; -} -export interface CommitProtoMsg { - typeUrl: "/tendermint.types.Commit"; - value: Uint8Array; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface CommitAmino { - height: string; - round: number; - block_id?: BlockIDAmino; - signatures: CommitSigAmino[]; -} -export interface CommitAminoMsg { - type: "/tendermint.types.Commit"; - value: CommitAmino; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface CommitSDKType { - height: Long; - round: number; - block_id: BlockIDSDKType; - signatures: CommitSigSDKType[]; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSig { - blockIdFlag: BlockIDFlag; - validatorAddress: Uint8Array; - timestamp: Timestamp; - signature: Uint8Array; -} -export interface CommitSigProtoMsg { - typeUrl: "/tendermint.types.CommitSig"; - value: Uint8Array; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSigAmino { - block_id_flag: BlockIDFlag; - validator_address: Uint8Array; - timestamp?: TimestampAmino; - signature: Uint8Array; -} -export interface CommitSigAminoMsg { - type: "/tendermint.types.CommitSig"; - value: CommitSigAmino; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSigSDKType { - block_id_flag: BlockIDFlag; - validator_address: Uint8Array; - timestamp: TimestampSDKType; - signature: Uint8Array; -} -export interface Proposal { - type: SignedMsgType; - height: Long; - round: number; - polRound: number; - blockId: BlockID; - timestamp: Timestamp; - signature: Uint8Array; -} -export interface ProposalProtoMsg { - typeUrl: "/tendermint.types.Proposal"; - value: Uint8Array; -} -export interface ProposalAmino { - type: SignedMsgType; - height: string; - round: number; - pol_round: number; - block_id?: BlockIDAmino; - timestamp?: TimestampAmino; - signature: Uint8Array; -} -export interface ProposalAminoMsg { - type: "/tendermint.types.Proposal"; - value: ProposalAmino; -} -export interface ProposalSDKType { - type: SignedMsgType; - height: Long; - round: number; - pol_round: number; - block_id: BlockIDSDKType; - timestamp: TimestampSDKType; - signature: Uint8Array; -} -export interface SignedHeader { - header: Header; - commit: Commit; -} -export interface SignedHeaderProtoMsg { - typeUrl: "/tendermint.types.SignedHeader"; - value: Uint8Array; -} -export interface SignedHeaderAmino { - header?: HeaderAmino; - commit?: CommitAmino; -} -export interface SignedHeaderAminoMsg { - type: "/tendermint.types.SignedHeader"; - value: SignedHeaderAmino; -} -export interface SignedHeaderSDKType { - header: HeaderSDKType; - commit: CommitSDKType; -} -export interface LightBlock { - signedHeader: SignedHeader; - validatorSet: ValidatorSet; -} -export interface LightBlockProtoMsg { - typeUrl: "/tendermint.types.LightBlock"; - value: Uint8Array; -} -export interface LightBlockAmino { - signed_header?: SignedHeaderAmino; - validator_set?: ValidatorSetAmino; -} -export interface LightBlockAminoMsg { - type: "/tendermint.types.LightBlock"; - value: LightBlockAmino; -} -export interface LightBlockSDKType { - signed_header: SignedHeaderSDKType; - validator_set: ValidatorSetSDKType; -} -export interface BlockMeta { - blockId: BlockID; - blockSize: Long; - header: Header; - numTxs: Long; -} -export interface BlockMetaProtoMsg { - typeUrl: "/tendermint.types.BlockMeta"; - value: Uint8Array; -} -export interface BlockMetaAmino { - block_id?: BlockIDAmino; - block_size: string; - header?: HeaderAmino; - num_txs: string; -} -export interface BlockMetaAminoMsg { - type: "/tendermint.types.BlockMeta"; - value: BlockMetaAmino; -} -export interface BlockMetaSDKType { - block_id: BlockIDSDKType; - block_size: Long; - header: HeaderSDKType; - num_txs: Long; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProof { - rootHash: Uint8Array; - data: Uint8Array; - proof: Proof; -} -export interface TxProofProtoMsg { - typeUrl: "/tendermint.types.TxProof"; - value: Uint8Array; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProofAmino { - root_hash: Uint8Array; - data: Uint8Array; - proof?: ProofAmino; -} -export interface TxProofAminoMsg { - type: "/tendermint.types.TxProof"; - value: TxProofAmino; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProofSDKType { - root_hash: Uint8Array; - data: Uint8Array; - proof: ProofSDKType; -} -export declare const PartSetHeader: { - encode(message: PartSetHeader, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PartSetHeader; - fromJSON(object: any): PartSetHeader; - toJSON(message: PartSetHeader): unknown; - fromPartial(object: Partial): PartSetHeader; - fromAmino(object: PartSetHeaderAmino): PartSetHeader; - toAmino(message: PartSetHeader): PartSetHeaderAmino; - fromAminoMsg(object: PartSetHeaderAminoMsg): PartSetHeader; - fromProtoMsg(message: PartSetHeaderProtoMsg): PartSetHeader; - toProto(message: PartSetHeader): Uint8Array; - toProtoMsg(message: PartSetHeader): PartSetHeaderProtoMsg; -}; -export declare const Part: { - encode(message: Part, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Part; - fromJSON(object: any): Part; - toJSON(message: Part): unknown; - fromPartial(object: Partial): Part; - fromAmino(object: PartAmino): Part; - toAmino(message: Part): PartAmino; - fromAminoMsg(object: PartAminoMsg): Part; - fromProtoMsg(message: PartProtoMsg): Part; - toProto(message: Part): Uint8Array; - toProtoMsg(message: Part): PartProtoMsg; -}; -export declare const BlockID: { - encode(message: BlockID, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockID; - fromJSON(object: any): BlockID; - toJSON(message: BlockID): unknown; - fromPartial(object: Partial): BlockID; - fromAmino(object: BlockIDAmino): BlockID; - toAmino(message: BlockID): BlockIDAmino; - fromAminoMsg(object: BlockIDAminoMsg): BlockID; - fromProtoMsg(message: BlockIDProtoMsg): BlockID; - toProto(message: BlockID): Uint8Array; - toProtoMsg(message: BlockID): BlockIDProtoMsg; -}; -export declare const Header: { - encode(message: Header, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Header; - fromJSON(object: any): Header; - toJSON(message: Header): unknown; - fromPartial(object: Partial
): Header; - fromAmino(object: HeaderAmino): Header; - toAmino(message: Header): HeaderAmino; - fromAminoMsg(object: HeaderAminoMsg): Header; - fromProtoMsg(message: HeaderProtoMsg): Header; - toProto(message: Header): Uint8Array; - toProtoMsg(message: Header): HeaderProtoMsg; -}; -export declare const Data: { - encode(message: Data, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Data; - fromJSON(object: any): Data; - toJSON(message: Data): unknown; - fromPartial(object: Partial): Data; - fromAmino(object: DataAmino): Data; - toAmino(message: Data): DataAmino; - fromAminoMsg(object: DataAminoMsg): Data; - fromProtoMsg(message: DataProtoMsg): Data; - toProto(message: Data): Uint8Array; - toProtoMsg(message: Data): DataProtoMsg; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: Partial): Vote; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; -export declare const Commit: { - encode(message: Commit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Commit; - fromJSON(object: any): Commit; - toJSON(message: Commit): unknown; - fromPartial(object: Partial): Commit; - fromAmino(object: CommitAmino): Commit; - toAmino(message: Commit): CommitAmino; - fromAminoMsg(object: CommitAminoMsg): Commit; - fromProtoMsg(message: CommitProtoMsg): Commit; - toProto(message: Commit): Uint8Array; - toProtoMsg(message: Commit): CommitProtoMsg; -}; -export declare const CommitSig: { - encode(message: CommitSig, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitSig; - fromJSON(object: any): CommitSig; - toJSON(message: CommitSig): unknown; - fromPartial(object: Partial): CommitSig; - fromAmino(object: CommitSigAmino): CommitSig; - toAmino(message: CommitSig): CommitSigAmino; - fromAminoMsg(object: CommitSigAminoMsg): CommitSig; - fromProtoMsg(message: CommitSigProtoMsg): CommitSig; - toProto(message: CommitSig): Uint8Array; - toProtoMsg(message: CommitSig): CommitSigProtoMsg; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: Partial): Proposal; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const SignedHeader: { - encode(message: SignedHeader, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignedHeader; - fromJSON(object: any): SignedHeader; - toJSON(message: SignedHeader): unknown; - fromPartial(object: Partial): SignedHeader; - fromAmino(object: SignedHeaderAmino): SignedHeader; - toAmino(message: SignedHeader): SignedHeaderAmino; - fromAminoMsg(object: SignedHeaderAminoMsg): SignedHeader; - fromProtoMsg(message: SignedHeaderProtoMsg): SignedHeader; - toProto(message: SignedHeader): Uint8Array; - toProtoMsg(message: SignedHeader): SignedHeaderProtoMsg; -}; -export declare const LightBlock: { - encode(message: LightBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LightBlock; - fromJSON(object: any): LightBlock; - toJSON(message: LightBlock): unknown; - fromPartial(object: Partial): LightBlock; - fromAmino(object: LightBlockAmino): LightBlock; - toAmino(message: LightBlock): LightBlockAmino; - fromAminoMsg(object: LightBlockAminoMsg): LightBlock; - fromProtoMsg(message: LightBlockProtoMsg): LightBlock; - toProto(message: LightBlock): Uint8Array; - toProtoMsg(message: LightBlock): LightBlockProtoMsg; -}; -export declare const BlockMeta: { - encode(message: BlockMeta, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockMeta; - fromJSON(object: any): BlockMeta; - toJSON(message: BlockMeta): unknown; - fromPartial(object: Partial): BlockMeta; - fromAmino(object: BlockMetaAmino): BlockMeta; - toAmino(message: BlockMeta): BlockMetaAmino; - fromAminoMsg(object: BlockMetaAminoMsg): BlockMeta; - fromProtoMsg(message: BlockMetaProtoMsg): BlockMeta; - toProto(message: BlockMeta): Uint8Array; - toProtoMsg(message: BlockMeta): BlockMetaProtoMsg; -}; -export declare const TxProof: { - encode(message: TxProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxProof; - fromJSON(object: any): TxProof; - toJSON(message: TxProof): unknown; - fromPartial(object: Partial): TxProof; - fromAmino(object: TxProofAmino): TxProof; - toAmino(message: TxProof): TxProofAmino; - fromAminoMsg(object: TxProofAminoMsg): TxProof; - fromProtoMsg(message: TxProofProtoMsg): TxProof; - toProto(message: TxProof): Uint8Array; - toProtoMsg(message: TxProof): TxProofProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/types/validator.d.ts b/packages/api/types/codegen/tendermint/types/validator.d.ts deleted file mode 100644 index 054bc18a..00000000 --- a/packages/api/types/codegen/tendermint/types/validator.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { PublicKey, PublicKeyAmino, PublicKeySDKType } from "../crypto/keys"; -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface ValidatorSet { - validators: Validator[]; - proposer: Validator; - totalVotingPower: Long; -} -export interface ValidatorSetProtoMsg { - typeUrl: "/tendermint.types.ValidatorSet"; - value: Uint8Array; -} -export interface ValidatorSetAmino { - validators: ValidatorAmino[]; - proposer?: ValidatorAmino; - total_voting_power: string; -} -export interface ValidatorSetAminoMsg { - type: "/tendermint.types.ValidatorSet"; - value: ValidatorSetAmino; -} -export interface ValidatorSetSDKType { - validators: ValidatorSDKType[]; - proposer: ValidatorSDKType; - total_voting_power: Long; -} -export interface Validator { - address: Uint8Array; - pubKey: PublicKey; - votingPower: Long; - proposerPriority: Long; -} -export interface ValidatorProtoMsg { - typeUrl: "/tendermint.types.Validator"; - value: Uint8Array; -} -export interface ValidatorAmino { - address: Uint8Array; - pub_key?: PublicKeyAmino; - voting_power: string; - proposer_priority: string; -} -export interface ValidatorAminoMsg { - type: "/tendermint.types.Validator"; - value: ValidatorAmino; -} -export interface ValidatorSDKType { - address: Uint8Array; - pub_key: PublicKeySDKType; - voting_power: Long; - proposer_priority: Long; -} -export interface SimpleValidator { - pubKey: PublicKey; - votingPower: Long; -} -export interface SimpleValidatorProtoMsg { - typeUrl: "/tendermint.types.SimpleValidator"; - value: Uint8Array; -} -export interface SimpleValidatorAmino { - pub_key?: PublicKeyAmino; - voting_power: string; -} -export interface SimpleValidatorAminoMsg { - type: "/tendermint.types.SimpleValidator"; - value: SimpleValidatorAmino; -} -export interface SimpleValidatorSDKType { - pub_key: PublicKeySDKType; - voting_power: Long; -} -export declare const ValidatorSet: { - encode(message: ValidatorSet, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet; - fromJSON(object: any): ValidatorSet; - toJSON(message: ValidatorSet): unknown; - fromPartial(object: Partial): ValidatorSet; - fromAmino(object: ValidatorSetAmino): ValidatorSet; - toAmino(message: ValidatorSet): ValidatorSetAmino; - fromAminoMsg(object: ValidatorSetAminoMsg): ValidatorSet; - fromProtoMsg(message: ValidatorSetProtoMsg): ValidatorSet; - toProto(message: ValidatorSet): Uint8Array; - toProtoMsg(message: ValidatorSet): ValidatorSetProtoMsg; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: Partial): Validator; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const SimpleValidator: { - encode(message: SimpleValidator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator; - fromJSON(object: any): SimpleValidator; - toJSON(message: SimpleValidator): unknown; - fromPartial(object: Partial): SimpleValidator; - fromAmino(object: SimpleValidatorAmino): SimpleValidator; - toAmino(message: SimpleValidator): SimpleValidatorAmino; - fromAminoMsg(object: SimpleValidatorAminoMsg): SimpleValidator; - fromProtoMsg(message: SimpleValidatorProtoMsg): SimpleValidator; - toProto(message: SimpleValidator): Uint8Array; - toProtoMsg(message: SimpleValidator): SimpleValidatorProtoMsg; -}; diff --git a/packages/api/types/codegen/tendermint/version/types.d.ts b/packages/api/types/codegen/tendermint/version/types.d.ts deleted file mode 100644 index cc58bf27..00000000 --- a/packages/api/types/codegen/tendermint/version/types.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { Long } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ -export interface App { - protocol: Long; - software: string; -} -export interface AppProtoMsg { - typeUrl: "/tendermint.version.App"; - value: Uint8Array; -} -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ -export interface AppAmino { - protocol: string; - software: string; -} -export interface AppAminoMsg { - type: "/tendermint.version.App"; - value: AppAmino; -} -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ -export interface AppSDKType { - protocol: Long; - software: string; -} -/** - * Consensus captures the consensus rules for processing a block in the blockchain, - * including all blockchain data structures and the rules of the application's - * state transition machine. - */ -export interface Consensus { - block: Long; - app: Long; -} -export interface ConsensusProtoMsg { - typeUrl: "/tendermint.version.Consensus"; - value: Uint8Array; -} -/** - * Consensus captures the consensus rules for processing a block in the blockchain, - * including all blockchain data structures and the rules of the application's - * state transition machine. - */ -export interface ConsensusAmino { - block: string; - app: string; -} -export interface ConsensusAminoMsg { - type: "/tendermint.version.Consensus"; - value: ConsensusAmino; -} -/** - * Consensus captures the consensus rules for processing a block in the blockchain, - * including all blockchain data structures and the rules of the application's - * state transition machine. - */ -export interface ConsensusSDKType { - block: Long; - app: Long; -} -export declare const App: { - encode(message: App, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): App; - fromJSON(object: any): App; - toJSON(message: App): unknown; - fromPartial(object: Partial): App; - fromAmino(object: AppAmino): App; - toAmino(message: App): AppAmino; - fromAminoMsg(object: AppAminoMsg): App; - fromProtoMsg(message: AppProtoMsg): App; - toProto(message: App): Uint8Array; - toProtoMsg(message: App): AppProtoMsg; -}; -export declare const Consensus: { - encode(message: Consensus, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Consensus; - fromJSON(object: any): Consensus; - toJSON(message: Consensus): unknown; - fromPartial(object: Partial): Consensus; - fromAmino(object: ConsensusAmino): Consensus; - toAmino(message: Consensus): ConsensusAmino; - fromAminoMsg(object: ConsensusAminoMsg): Consensus; - fromProtoMsg(message: ConsensusProtoMsg): Consensus; - toProto(message: Consensus): Uint8Array; - toProtoMsg(message: Consensus): ConsensusProtoMsg; -}; diff --git a/packages/api/types/index.d.ts b/packages/api/types/index.d.ts deleted file mode 100644 index 646541b5..00000000 --- a/packages/api/types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './codegen'; diff --git a/tsconfig.json b/tsconfig.json index c7fa332c..4c8a664f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,24 +1,16 @@ { - "compilerOptions": { - "jsx": "react-jsx", - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "moduleResolution": "node", - "newLine": "LF", - "noFallthroughCasesInSwitch": true, - "noImplicitAny": true, - "noImplicitReturns": true, - "noImplicitThis": true, - "noUnusedLocals": false, - "noUnusedParameters": false, - "pretty": true, - "removeComments": false, - "skipLibCheck": true, - "strict": true, - "downlevelIteration": true, - "typeRoots": ["./node_modules/@types"] - }, - "exclude": ["**/lib/**/*"], - "ecmaVersion": 6, - "sourceType": "module", + "compilerOptions": { + "target": "es2022", + "module": "commonjs", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "strictNullChecks": false, + "skipLibCheck": true, + "sourceMap": false, + "declaration": true, + "resolveJsonModule": true, + "moduleResolution": "node" + }, + "exclude": ["dist", "node_modules"] } diff --git a/yarn.lock b/yarn.lock index 73b010ff..7b51e1db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -29,29 +29,6 @@ jsonpointer "^5.0.0" leven "^3.1.0" -"@babel/cli@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.22.5.tgz#eb323bd69f50297792c2b7c205a97306a305d703" - integrity sha512-N5d7MjzwsQ2wppwjhrsicVDhJSqF9labEP/swYiHhio4Ca2XjEehpgPmerjnLQl7BPE59BLud0PTWGYwqFl/cQ== - dependencies: - "@jridgewell/trace-mapping" "^0.3.17" - commander "^4.0.1" - convert-source-map "^1.1.0" - fs-readdir-recursive "^1.1.0" - glob "^7.2.0" - make-dir "^2.1.0" - slash "^2.0.0" - optionalDependencies: - "@nicolo-ribaudo/chokidar-2" "2.1.8-no-fsevents.3" - chokidar "^3.4.0" - -"@babel/code-frame@7.12.11": - version "7.12.11" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" - integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== - dependencies: - "@babel/highlight" "^7.10.4" - "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.21.4": version "7.21.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" @@ -74,6 +51,14 @@ "@babel/highlight" "^7.24.2" picocolors "^1.0.0" +"@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== + dependencies: + "@babel/highlight" "^7.24.7" + picocolors "^1.0.0" + "@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.21.5": version "7.21.7" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.7.tgz#61caffb60776e49a57ba61a88f02bedd8714f6bc" @@ -84,6 +69,11 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.5.tgz#b1f6c86a02d85d2dd3368a2b67c09add8cd0c255" integrity sha512-4Jc/YuIaYqKnDDz892kPIledykKg12Aw1PYX5i/TY28anJtacvM1Rrr8wbieB9GfEJwlzqT0hUEao0CxEebiDA== +"@babel/compat-data@^7.25.2": + version "7.25.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.4.tgz#7d2a80ce229890edcf4cc259d4d696cb4dae2fcb" + integrity sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ== + "@babel/core@7.18.10": version "7.18.10" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.10.tgz#39ad504991d77f1f3da91be0b8b949a5bc466fb8" @@ -105,7 +95,28 @@ json5 "^2.2.1" semver "^6.3.0" -"@babel/core@7.22.5", "@babel/core@^7.11.1", "@babel/core@^7.7.2", "@babel/core@^7.8.0": +"@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.16.0": + version "7.21.8" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.8.tgz#2a8c7f0f53d60100ba4c32470ba0281c92aa9aa4" + integrity sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.21.4" + "@babel/generator" "^7.21.5" + "@babel/helper-compilation-targets" "^7.21.5" + "@babel/helper-module-transforms" "^7.21.5" + "@babel/helpers" "^7.21.5" + "@babel/parser" "^7.21.8" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.5" + "@babel/types" "^7.21.5" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.0" + +"@babel/core@^7.11.1", "@babel/core@^7.7.2", "@babel/core@^7.8.0": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.5.tgz#d67d9747ecf26ee7ecd3ebae1ee22225fe902a89" integrity sha512-SBuTAjg91A3eKOvD+bPEz3LlhHZRNu1nFOVts9lzDJTXshHTjII0BAtDS3Y2DAkdZdDKWVZGVwkDfc4Clxn1dg== @@ -126,26 +137,26 @@ json5 "^2.2.2" semver "^6.3.0" -"@babel/core@^7.1.0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.16.0": - version "7.21.8" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.8.tgz#2a8c7f0f53d60100ba4c32470ba0281c92aa9aa4" - integrity sha512-YeM22Sondbo523Sz0+CirSPnbj9bG3P0CdHcBZdqUuaeOaYEFbOLoGU7lebvGP6P5J/WE9wOn7u7C4J9HvS1xQ== +"@babel/core@^7.23.9": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.2.tgz#ed8eec275118d7613e77a352894cd12ded8eba77" + integrity sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA== dependencies: "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.21.4" - "@babel/generator" "^7.21.5" - "@babel/helper-compilation-targets" "^7.21.5" - "@babel/helper-module-transforms" "^7.21.5" - "@babel/helpers" "^7.21.5" - "@babel/parser" "^7.21.8" - "@babel/template" "^7.20.7" - "@babel/traverse" "^7.21.5" - "@babel/types" "^7.21.5" - convert-source-map "^1.7.0" + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.25.0" + "@babel/helper-compilation-targets" "^7.25.2" + "@babel/helper-module-transforms" "^7.25.2" + "@babel/helpers" "^7.25.0" + "@babel/parser" "^7.25.0" + "@babel/template" "^7.25.0" + "@babel/traverse" "^7.25.2" + "@babel/types" "^7.25.2" + convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" - json5 "^2.2.2" - semver "^6.3.0" + json5 "^2.2.3" + semver "^6.3.1" "@babel/eslint-parser@^7.16.3": version "7.22.5" @@ -195,6 +206,16 @@ "@jridgewell/trace-mapping" "^0.3.25" jsesc "^2.5.1" +"@babel/generator@^7.25.0", "@babel/generator@^7.25.6": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.25.6.tgz#0df1ad8cb32fe4d2b01d8bf437f153d19342a87c" + integrity sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw== + dependencies: + "@babel/types" "^7.25.6" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" + jsesc "^2.5.1" + "@babel/helper-annotate-as-pure@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" @@ -245,6 +266,17 @@ lru-cache "^5.1.1" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz#e1d9410a90974a3a5a66e84ff55ef62e3c02d06c" + integrity sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw== + dependencies: + "@babel/compat-data" "^7.25.2" + "@babel/helper-validator-option" "^7.24.8" + browserslist "^4.23.1" + lru-cache "^5.1.1" + semver "^6.3.1" + "@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.21.0": version "7.21.8" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.8.tgz#205b26330258625ef8869672ebca1e0dee5a0f02" @@ -398,6 +430,14 @@ dependencies: "@babel/types" "^7.21.4" +"@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" + integrity sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.20.11", "@babel/helper-module-transforms@^7.21.5": version "7.21.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.5.tgz#d937c82e9af68d31ab49039136a222b17ac0b420" @@ -426,6 +466,16 @@ "@babel/traverse" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/helper-module-transforms@^7.25.2": + version "7.25.2" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz#ee713c29768100f2776edf04d4eb23b8d27a66e6" + integrity sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ== + dependencies: + "@babel/helper-module-imports" "^7.24.7" + "@babel/helper-simple-access" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + "@babel/traverse" "^7.25.2" + "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" @@ -450,6 +500,11 @@ 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": + version "7.24.8" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz#94ee67e8ec0e5d44ea7baeb51e571bd26af07878" + integrity sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg== + "@babel/helper-remap-async-to-generator@^7.18.9": version "7.18.9" resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" @@ -508,6 +563,14 @@ 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" + integrity sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers@^7.20.0": version "7.20.0" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" @@ -558,6 +621,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e" integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ== +"@babel/helper-string-parser@^7.24.8": + version "7.24.8" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz#5b3329c9a58803d5df425e5785865881a81ca48d" + integrity sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ== + "@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": version "7.19.1" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" @@ -573,6 +641,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== +"@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.18.6", "@babel/helper-validator-option@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" @@ -583,6 +656,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" integrity sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw== +"@babel/helper-validator-option@^7.24.8": + version "7.24.8" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz#3725cdeea8b480e86d34df15304806a06975e33d" + integrity sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q== + "@babel/helper-wrap-function@^7.18.9": version "7.20.5" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.20.5.tgz#75e2d84d499a0ab3b31c33bcfe59d6b8a45f62e3" @@ -621,7 +699,15 @@ "@babel/traverse" "^7.22.5" "@babel/types" "^7.22.5" -"@babel/highlight@^7.10.4", "@babel/highlight@^7.18.6": +"@babel/helpers@^7.25.0": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.25.6.tgz#57ee60141829ba2e102f30711ffe3afab357cc60" + integrity sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q== + dependencies: + "@babel/template" "^7.25.0" + "@babel/types" "^7.25.6" + +"@babel/highlight@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== @@ -649,17 +735,15 @@ js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/node@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/node/-/node-7.22.5.tgz#5632c6f5f5d06ac68e34dd1cbe461ef4d5f8e49c" - integrity sha512-rguSfZsRNsAhCQ/XjZhDK2CTWxp/jEKx2On8Ir+C6uCZERirg/Ae6fJaOSKQgTg11kA2LEvonpxY2Hb3zF5C8g== +"@babel/highlight@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.7.tgz#a05ab1df134b286558aae0ed41e6c5f731bf409d" + integrity sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw== dependencies: - "@babel/register" "^7.22.5" - commander "^4.0.1" - core-js "^3.30.2" - node-environment-flags "^1.0.5" - regenerator-runtime "^0.13.11" - v8flags "^3.1.1" + "@babel/helper-validator-identifier" "^7.24.7" + chalk "^2.4.2" + js-tokens "^4.0.0" + picocolors "^1.0.0" "@babel/parser@7.18.11": version "7.18.11" @@ -681,6 +765,13 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.1.tgz#1e416d3627393fab1cb5b0f2f1796a100ae9133a" integrity sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg== +"@babel/parser@^7.23.9", "@babel/parser@^7.25.0", "@babel/parser@^7.25.6": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.6.tgz#85660c5ef388cbbf6e3d2a694ee97a38f18afe2f" + integrity sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q== + dependencies: + "@babel/types" "^7.25.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -767,14 +858,6 @@ "@babel/helper-plugin-utils" "^7.18.9" "@babel/plugin-syntax-export-default-from" "^7.18.6" -"@babel/plugin-proposal-export-default-from@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.22.5.tgz#825924eda1fad382c3de4db6fe1711b6fa03362f" - integrity sha512-UCe1X/hplyv6A5g2WnQ90tnHRvYL29dabCWww92lO7VdfMVTVReBTRrhiMrKQejHD9oVkdnRdwYuzUZkBVQisg== - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-export-default-from" "^7.22.5" - "@babel/plugin-proposal-export-namespace-from@^7.18.9": version "7.18.9" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" @@ -934,13 +1017,6 @@ dependencies: "@babel/helper-plugin-utils" "^7.18.6" -"@babel/plugin-syntax-export-default-from@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.22.5.tgz#ac3a24b362a04415a017ab96b9b4483d0e2a6e44" - integrity sha512-ODAqWWXB/yReh/jVQDag/3/tl6lgBueQkk/TcfW/59Oykm4c8a55XloX0CTk2k2VJiFWMgHby9xNX29IbCv9dQ== - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-export-namespace-from@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" @@ -1004,6 +1080,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz#39a1fa4a7e3d3d7f34e2acc6be585b718d30e02d" + integrity sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -1067,7 +1150,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.20.2" -"@babel/plugin-syntax-typescript@^7.22.5", "@babel/plugin-syntax-typescript@^7.7.2": +"@babel/plugin-syntax-typescript@^7.7.2": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz#aac8d383b062c5072c647a31ef990c1d0af90272" integrity sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ== @@ -1708,18 +1791,6 @@ babel-plugin-polyfill-regenerator "^0.4.1" semver "^6.3.0" -"@babel/plugin-transform-runtime@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.22.5.tgz#ca975fb5e260044473c8142e1b18b567d33c2a3b" - integrity sha512-bg4Wxd1FWeFx3daHFTWk1pkSWK/AyQuiyAoeZAOkAOUBjnZPH6KT7eMxouV47tQ6hl6ax2zyAWBdWZXbrvXlaw== - dependencies: - "@babel/helper-module-imports" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - babel-plugin-polyfill-corejs2 "^0.4.3" - babel-plugin-polyfill-corejs3 "^0.8.1" - babel-plugin-polyfill-regenerator "^0.5.0" - semver "^6.3.0" - "@babel/plugin-transform-shorthand-properties@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz#6d6df7983d67b195289be24909e3f12a8f664dc9" @@ -1802,16 +1873,6 @@ "@babel/helper-plugin-utils" "^7.20.2" "@babel/plugin-syntax-typescript" "^7.20.0" -"@babel/plugin-transform-typescript@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.5.tgz#5c0f7adfc1b5f38c4dbc8f79b1f0f8074134bd7d" - integrity sha512-SMubA9S7Cb5sGSFFUlqxyClTA9zWJ8qGQrppNUm05LtFuN1ELRFNndkix4zUJrC9F+YivWwa1dHMSyo0e0N9dA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-create-class-features-plugin" "^7.22.5" - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/plugin-syntax-typescript" "^7.22.5" - "@babel/plugin-transform-unicode-escapes@^7.18.10", "@babel/plugin-transform-unicode-escapes@^7.21.5": version "7.21.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.21.5.tgz#1e55ed6195259b0e9061d81f5ef45a9b009fb7f2" @@ -1939,7 +2000,7 @@ core-js-compat "^3.22.1" semver "^6.3.0" -"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.12.1", "@babel/preset-env@^7.22.5": +"@babel/preset-env@^7.11.0", "@babel/preset-env@^7.12.1": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.22.5.tgz#3da66078b181f3d62512c51cf7014392c511504e" integrity sha512-fj06hw89dpiZzGZtxn+QybifF07nNiZjZ7sazs2aVDcysAZVGjW7+7iFYxg6GLNM47R/thYfLdrXc+2f11Vi9A== @@ -2153,28 +2214,6 @@ "@babel/plugin-transform-modules-commonjs" "^7.21.5" "@babel/plugin-transform-typescript" "^7.21.3" -"@babel/preset-typescript@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.22.5.tgz#16367d8b01d640e9a507577ed4ee54e0101e51c8" - integrity sha512-YbPaal9LxztSGhmndR46FmAbkJ/1fAsw293tSU+I5E5h+cnJ3d4GTwyUgGYmOXJYdGA+uNePle4qbaRzj2NISQ== - dependencies: - "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-validator-option" "^7.22.5" - "@babel/plugin-syntax-jsx" "^7.22.5" - "@babel/plugin-transform-modules-commonjs" "^7.22.5" - "@babel/plugin-transform-typescript" "^7.22.5" - -"@babel/register@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.22.5.tgz#e4d8d0f615ea3233a27b5c6ada6750ee59559939" - integrity sha512-vV6pm/4CijSQ8Y47RH5SopXzursN35RQINfGJkmOlcpAtGuf94miFvIPhCKGQN7WGIcsgG1BHEX2KVdTYwTwUQ== - dependencies: - clone-deep "^4.0.1" - find-cache-dir "^2.0.0" - make-dir "^2.1.0" - pirates "^4.0.5" - source-map-support "^0.5.16" - "@babel/regjsgen@^0.8.0": version "0.8.0" resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" @@ -2187,13 +2226,6 @@ dependencies: regenerator-runtime "^0.13.11" -"@babel/runtime@^7.22.5": - version "7.22.5" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.5.tgz#8564dd588182ce0047d55d7a75e93921107b57ec" - integrity sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA== - dependencies: - regenerator-runtime "^0.13.11" - "@babel/template@^7.18.10", "@babel/template@^7.20.7", "@babel/template@^7.3.3": version "7.20.7" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" @@ -2221,6 +2253,15 @@ "@babel/parser" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/template@^7.25.0": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.0.tgz#e733dc3134b4fede528c15bc95e89cb98c52592a" + integrity sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/parser" "^7.25.0" + "@babel/types" "^7.25.0" + "@babel/traverse@7.18.11": version "7.18.11" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.11.tgz#3d51f2afbd83ecf9912bcbb5c4d94e3d2ddaa16f" @@ -2285,6 +2326,19 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.24.7", "@babel/traverse@^7.25.2": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.6.tgz#04fad980e444f182ecf1520504941940a90fea41" + integrity sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.25.6" + "@babel/parser" "^7.25.6" + "@babel/template" "^7.25.0" + "@babel/types" "^7.25.6" + debug "^4.3.1" + globals "^11.1.0" + "@babel/types@7.18.10": version "7.18.10" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.10.tgz#4908e81b6b339ca7c6b7a555a5fc29446f26dde6" @@ -2330,6 +2384,15 @@ "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" +"@babel/types@^7.24.7", "@babel/types@^7.25.0", "@babel/types@^7.25.2", "@babel/types@^7.25.6": + version "7.25.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.6.tgz#893942ddb858f32ae7a004ec9d3a76b3463ef8e6" + integrity sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw== + dependencies: + "@babel/helper-string-parser" "^7.24.8" + "@babel/helper-validator-identifier" "^7.24.7" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -2343,7 +2406,7 @@ "@noble/hashes" "^1.0.0" protobufjs "^6.8.8" -"@cosmjs/amino@^0.31.0": +"@cosmjs/amino@0.31.0", "@cosmjs/amino@^0.31.0": version "0.31.0" resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.31.0.tgz#49b33047295002804ad51bdf7ec0c2c97f1b553d" integrity sha512-xJ5CCEK7H79FTpOuEmlpSzVI+ZeYESTVvO3wHDgbnceIyAne3C68SvyaKqLUR4uJB0Z4q4+DZHbqW6itUiv4lA== @@ -2366,7 +2429,7 @@ elliptic "^6.5.4" libsodium-wrappers-sumo "^0.7.11" -"@cosmjs/encoding@^0.31.0": +"@cosmjs/encoding@0.31.0", "@cosmjs/encoding@^0.31.0": version "0.31.0" resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.31.0.tgz#9a6fd80b59c35fc20638a6436128ad0be681eafc" integrity sha512-NYGQDRxT7MIRSlcbAezwxK0FqnaSPKCH7O32cmfpHNWorFxhy9lwmBoCvoe59Kd0HmArI4h+NGzLEfX3OLnA4Q== @@ -2383,14 +2446,14 @@ "@cosmjs/stream" "^0.31.0" xstream "^11.14.0" -"@cosmjs/math@^0.31.0": +"@cosmjs/math@0.31.0", "@cosmjs/math@^0.31.0": version "0.31.0" resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.31.0.tgz#c9fc5f8191df7c2375945d2eacce327dfbf26414" integrity sha512-Sb/8Ry/+gKJaYiV6X8q45kxXC9FoV98XCY1WXtu0JQwOi61VCG2VXsURQnVvZ/EhR/CuT/swOlNKrqEs3da0fw== dependencies: bn.js "^5.2.0" -"@cosmjs/proto-signing@^0.31.0": +"@cosmjs/proto-signing@0.31.0", "@cosmjs/proto-signing@^0.31.0": version "0.31.0" resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.31.0.tgz#7056963457cd967f53f56c2ab4491638e5ade2c0" integrity sha512-JNlyOJRkn8EKB9mCthkjr6lVX6eyVQ09PFdmB4/DR874E62dFTvQ+YvyKMAgN7K7Dcjj26dVlAD3f6Xs7YOGDg== @@ -2413,7 +2476,7 @@ ws "^7" xstream "^11.14.0" -"@cosmjs/stargate@^0.31.0": +"@cosmjs/stargate@0.31.0": version "0.31.0" resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.31.0.tgz#a7df1eaf1363513529607abaa52a5045aaaee0fd" integrity sha512-GYhk9lzZPj/QmYHC0VV/4AMoRzVcOP+EnB1YZCoWlBdLuVmpBYKRagJqWIrIwdk1E0gF2ZoESd2TYfdh1fqIpg== @@ -2471,12 +2534,12 @@ case "1.6.3" dotty "0.1.2" -"@cosmology/lcd@^0.13.3": - version "0.13.3" - resolved "https://registry.yarnpkg.com/@cosmology/lcd/-/lcd-0.13.3.tgz#4072178cfe979b948ab596c9378b56c4f320d192" - integrity sha512-lihAHCoap0GN/32qcOhiMp6HcoZP8A7GeScZMlmmvBtBk6ocGAStNHjvBR4MayrvyHSCOZCvCAWPh36iFTT8Sw== +"@cosmology/lcd@^0.13.4": + version "0.13.5" + resolved "https://registry.yarnpkg.com/@cosmology/lcd/-/lcd-0.13.5.tgz#1bc4d43d525ecd68d09211d2ce17332a149a1a00" + integrity sha512-CI8KFsJcgp0RINF8wHpv3Y9yR4Fb9ZnGucyoUICjtX2XT4NVBK+fvZuRFj5TP34km8TpEOb+WV2T7IN/pZsD7Q== dependencies: - axios "1.6.0" + axios "1.7.4" "@cosmology/proto-parser@^1.5.1": version "1.5.1" @@ -2587,6 +2650,13 @@ shelljs "0.8.5" wasm-ast-types "^0.25.0" +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== + dependencies: + "@jridgewell/trace-mapping" "0.3.9" + "@csstools/normalize.css@*": version "12.0.0" resolved "https://registry.yarnpkg.com/@csstools/normalize.css/-/normalize.css-12.0.0.tgz#a9583a75c3f150667771f30b60d9f059473e62c4" @@ -2698,33 +2768,23 @@ resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz#2cbcf822bf3764c9658c4d2e568bd0c0cb748016" integrity sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw== -"@eslint-community/eslint-utils@^4.2.0": +"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== dependencies: eslint-visitor-keys "^3.3.0" +"@eslint-community/regexpp@^4.10.0", "@eslint-community/regexpp@^4.6.1": + version "4.11.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.1.tgz#a547badfc719eb3e5f4b556325e542fbe9d7a18f" + integrity sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q== + "@eslint-community/regexpp@^4.4.0": version "4.5.1" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884" integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== -"@eslint/eslintrc@^0.4.3": - version "0.4.3" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" - integrity sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw== - dependencies: - ajv "^6.12.4" - debug "^4.1.1" - espree "^7.3.0" - globals "^13.9.0" - ignore "^4.0.6" - import-fresh "^3.2.1" - js-yaml "^3.13.1" - minimatch "^3.0.4" - strip-json-comments "^3.1.1" - "@eslint/eslintrc@^2.0.3": version "2.0.3" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f27774bf356e3704818a0331" @@ -2740,84 +2800,35 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@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" + espree "^9.6.0" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + "@eslint/js@8.43.0": version "8.43.0" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.43.0.tgz#559ca3d9ddbd6bf907ad524320a0d14b85586af0" integrity sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg== -"@evocateur/libnpmaccess@^3.1.2": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz#ecf7f6ce6b004e9f942b098d92200be4a4b1c845" - integrity sha512-KSCAHwNWro0CF2ukxufCitT9K5LjL/KuMmNzSu8wuwN2rjyKHD8+cmOsiybK+W5hdnwc5M1SmRlVCaMHQo+3rg== - dependencies: - "@evocateur/npm-registry-fetch" "^4.0.0" - aproba "^2.0.0" - figgy-pudding "^3.5.1" - get-stream "^4.0.0" - npm-package-arg "^6.1.0" - -"@evocateur/libnpmpublish@^1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@evocateur/libnpmpublish/-/libnpmpublish-1.2.2.tgz#55df09d2dca136afba9c88c759ca272198db9f1a" - integrity sha512-MJrrk9ct1FeY9zRlyeoyMieBjGDG9ihyyD9/Ft6MMrTxql9NyoEx2hw9casTIP4CdqEVu+3nQ2nXxoJ8RCXyFg== - dependencies: - "@evocateur/npm-registry-fetch" "^4.0.0" - aproba "^2.0.0" - figgy-pudding "^3.5.1" - get-stream "^4.0.0" - lodash.clonedeep "^4.5.0" - normalize-package-data "^2.4.0" - npm-package-arg "^6.1.0" - semver "^5.5.1" - ssri "^6.0.1" - -"@evocateur/npm-registry-fetch@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@evocateur/npm-registry-fetch/-/npm-registry-fetch-4.0.0.tgz#8c4c38766d8d32d3200fcb0a83f064b57365ed66" - integrity sha512-k1WGfKRQyhJpIr+P17O5vLIo2ko1PFLKwoetatdduUSt/aQ4J2sJrJwwatdI5Z3SiYk/mRH9S3JpdmMFd/IK4g== - dependencies: - JSONStream "^1.3.4" - bluebird "^3.5.1" - figgy-pudding "^3.4.1" - lru-cache "^5.1.1" - make-fetch-happen "^5.0.0" - npm-package-arg "^6.1.0" - safe-buffer "^5.1.2" +"@eslint/js@8.57.1": + version "8.57.1" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2" + integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== -"@evocateur/pacote@^9.6.3": - version "9.6.5" - resolved "https://registry.yarnpkg.com/@evocateur/pacote/-/pacote-9.6.5.tgz#33de32ba210b6f17c20ebab4d497efc6755f4ae5" - integrity sha512-EI552lf0aG2nOV8NnZpTxNo2PcXKPmDbF9K8eCBFQdIZwHNGN/mi815fxtmUMa2wTa1yndotICIDt/V0vpEx2w== - dependencies: - "@evocateur/npm-registry-fetch" "^4.0.0" - bluebird "^3.5.3" - cacache "^12.0.3" - chownr "^1.1.2" - figgy-pudding "^3.5.1" - get-stream "^4.1.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^5.1.1" - make-fetch-happen "^5.0.0" - minimatch "^3.0.4" - minipass "^2.3.5" - mississippi "^3.0.0" - mkdirp "^0.5.1" - normalize-package-data "^2.5.0" - npm-package-arg "^6.1.0" - npm-packlist "^1.4.4" - npm-pick-manifest "^3.0.0" - osenv "^0.1.5" - promise-inflight "^1.0.1" - promise-retry "^1.1.1" - protoduck "^5.0.1" - rimraf "^2.6.3" - safe-buffer "^5.2.0" - semver "^5.7.0" - ssri "^6.0.1" - tar "^4.4.10" - unique-filename "^1.1.1" - which "^1.3.1" +"@gar/promisify@^1.1.3": + version "1.1.3" + 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.10": version "0.11.10" @@ -2828,25 +2839,35 @@ debug "^4.1.1" minimatch "^3.0.5" -"@humanwhocodes/config-array@^0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9" - integrity sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg== +"@humanwhocodes/config-array@^0.13.0": + version "0.13.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748" + integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw== dependencies: - "@humanwhocodes/object-schema" "^1.2.0" - debug "^4.1.1" - minimatch "^3.0.4" + "@humanwhocodes/object-schema" "^2.0.3" + debug "^4.3.1" + minimatch "^3.0.5" "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^1.2.0", "@humanwhocodes/object-schema@^1.2.1": +"@humanwhocodes/object-schema@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@humanwhocodes/object-schema@^2.0.3": + 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" + resolved "https://registry.yarnpkg.com/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" + integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== + "@isaacs/cliui@^8.0.2": version "8.0.2" resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" @@ -2859,6 +2880,11 @@ wrap-ansi "^8.1.0" wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" +"@isaacs/string-locale-compare@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" + integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== + "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" @@ -2870,7 +2896,7 @@ js-yaml "^3.13.1" resolve-from "^5.0.0" -"@istanbuljs/schema@^0.1.2": +"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== @@ -2899,6 +2925,18 @@ jest-util "^28.1.3" slash "^3.0.0" +"@jest/console@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" + integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + slash "^3.0.0" + "@jest/core@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.5.1.tgz#267ac5f704e09dc52de2922cbf3af9edcd64b626" @@ -2933,6 +2971,40 @@ slash "^3.0.0" strip-ansi "^6.0.0" +"@jest/core@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f" + integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== + dependencies: + "@jest/console" "^29.7.0" + "@jest/reporters" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + ci-info "^3.2.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-changed-files "^29.7.0" + jest-config "^29.7.0" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-resolve-dependencies "^29.7.0" + jest-runner "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + jest-watcher "^29.7.0" + micromatch "^4.0.4" + pretty-format "^29.7.0" + slash "^3.0.0" + strip-ansi "^6.0.0" + "@jest/environment@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.5.1.tgz#d7425820511fe7158abbecc010140c3fd3be9c74" @@ -2943,6 +3015,16 @@ "@types/node" "*" jest-mock "^27.5.1" +"@jest/environment@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7" + integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== + dependencies: + "@jest/fake-timers" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-mock "^29.7.0" + "@jest/expect-utils@^29.5.0": version "29.5.0" resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.5.0.tgz#f74fad6b6e20f924582dc8ecbf2cb800fe43a036" @@ -2950,6 +3032,21 @@ dependencies: jest-get-type "^29.4.3" +"@jest/expect-utils@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" + integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== + dependencies: + jest-get-type "^29.6.3" + +"@jest/expect@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2" + integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== + dependencies: + expect "^29.7.0" + jest-snapshot "^29.7.0" + "@jest/fake-timers@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.5.1.tgz#76979745ce0579c8a94a4678af7a748eda8ada74" @@ -2962,6 +3059,18 @@ jest-mock "^27.5.1" jest-util "^27.5.1" +"@jest/fake-timers@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565" + integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== + dependencies: + "@jest/types" "^29.6.3" + "@sinonjs/fake-timers" "^10.0.2" + "@types/node" "*" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" + jest-util "^29.7.0" + "@jest/globals@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.5.1.tgz#7ac06ce57ab966566c7963431cef458434601b2b" @@ -2971,6 +3080,16 @@ "@jest/types" "^27.5.1" expect "^27.5.1" +"@jest/globals@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d" + integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" + "@jest/types" "^29.6.3" + jest-mock "^29.7.0" + "@jest/reporters@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.5.1.tgz#ceda7be96170b03c923c37987b64015812ffec04" @@ -3002,6 +3121,36 @@ terminal-link "^2.0.0" v8-to-istanbul "^8.1.0" +"@jest/reporters@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7" + integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@jridgewell/trace-mapping" "^0.3.18" + "@types/node" "*" + chalk "^4.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^6.0.0" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.1.3" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + jest-worker "^29.7.0" + slash "^3.0.0" + string-length "^4.0.1" + strip-ansi "^6.0.0" + v8-to-istanbul "^9.0.1" + "@jest/schemas@^28.1.3": version "28.1.3" resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" @@ -3016,6 +3165,13 @@ dependencies: "@sinclair/typebox" "^0.25.16" +"@jest/schemas@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" + integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== + dependencies: + "@sinclair/typebox" "^0.27.8" + "@jest/source-map@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.5.1.tgz#6608391e465add4205eae073b55e7f279e04e8cf" @@ -3025,6 +3181,15 @@ graceful-fs "^4.2.9" source-map "^0.6.0" +"@jest/source-map@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.6.3.tgz#d90ba772095cf37a34a5eb9413f1b562a08554c4" + integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw== + dependencies: + "@jridgewell/trace-mapping" "^0.3.18" + callsites "^3.0.0" + graceful-fs "^4.2.9" + "@jest/test-result@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.5.1.tgz#56a6585fa80f7cdab72b8c5fc2e871d03832f5bb" @@ -3045,6 +3210,16 @@ "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" +"@jest/test-result@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" + integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== + dependencies: + "@jest/console" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" + "@jest/test-sequencer@^27.5.1": version "27.5.1" resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz#4057e0e9cea4439e544c6353c6affe58d095745b" @@ -3055,6 +3230,16 @@ jest-haste-map "^27.5.1" jest-runtime "^27.5.1" +"@jest/test-sequencer@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce" + integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== + dependencies: + "@jest/test-result" "^29.7.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + slash "^3.0.0" + "@jest/transform@28.1.3": version "28.1.3" resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" @@ -3097,16 +3282,26 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/types@^26.6.2": - version "26.6.2" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.6.2.tgz#bef5a532030e1d88a2f5a6d933f84e97226ed48e" - integrity sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ== +"@jest/transform@^29.7.0": + version "29.7.0" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" + integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^15.0.0" + "@babel/core" "^7.11.6" + "@jest/types" "^29.6.3" + "@jridgewell/trace-mapping" "^0.3.18" + babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" + convert-source-map "^2.0.0" + fast-json-stable-stringify "^2.1.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.2" "@jest/types@^27.5.1": version "27.5.1" @@ -3143,6 +3338,18 @@ "@types/yargs" "^17.0.8" chalk "^4.0.0" +"@jest/types@^29.6.3": + version "29.6.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" + integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== + dependencies: + "@jest/schemas" "^29.6.3" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@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" @@ -3166,7 +3373,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== -"@jridgewell/resolve-uri@^3.1.0": +"@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@^3.1.0": 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== @@ -3196,15 +3403,15 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.18" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" - integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== dependencies: - "@jridgewell/resolve-uri" "3.1.0" - "@jridgewell/sourcemap-codec" "1.4.14" + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": +"@jridgewell/trace-mapping@^0.3.12", "@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== @@ -3212,6 +3419,14 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" +"@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.18" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" + integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + "@jsdevtools/ono@^7.1.3": version "7.1.3" resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" @@ -3229,756 +3444,413 @@ resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== -"@lerna/add@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/add/-/add-3.21.0.tgz#27007bde71cc7b0a2969ab3c2f0ae41578b4577b" - integrity sha512-vhUXXF6SpufBE1EkNEXwz1VLW03f177G9uMOFMQkp6OJ30/PWg4Ekifuz9/3YfgB2/GH8Tu4Lk3O51P2Hskg/A== - dependencies: - "@evocateur/pacote" "^9.6.3" - "@lerna/bootstrap" "3.21.0" - "@lerna/command" "3.21.0" - "@lerna/filter-options" "3.20.0" - "@lerna/npm-conf" "3.16.0" - "@lerna/validation-error" "3.13.0" - dedent "^0.7.0" - npm-package-arg "^6.1.0" - p-map "^2.1.0" - semver "^6.2.0" - -"@lerna/bootstrap@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-3.21.0.tgz#bcd1b651be5b0970b20d8fae04c864548123aed6" - integrity sha512-mtNHlXpmvJn6JTu0KcuTTPl2jLsDNud0QacV/h++qsaKbhAaJr/FElNZ5s7MwZFUM3XaDmvWzHKaszeBMHIbBw== - dependencies: - "@lerna/command" "3.21.0" - "@lerna/filter-options" "3.20.0" - "@lerna/has-npm-version" "3.16.5" - "@lerna/npm-install" "3.16.5" - "@lerna/package-graph" "3.18.5" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/rimraf-dir" "3.16.5" - "@lerna/run-lifecycle" "3.16.2" - "@lerna/run-topologically" "3.18.5" - "@lerna/symlink-binary" "3.17.0" - "@lerna/symlink-dependencies" "3.17.0" - "@lerna/validation-error" "3.13.0" - dedent "^0.7.0" - get-port "^4.2.0" - multimatch "^3.0.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - p-finally "^1.0.0" - p-map "^2.1.0" - p-map-series "^1.0.0" - p-waterfall "^1.0.0" - read-package-tree "^5.1.6" - semver "^6.2.0" - -"@lerna/changed@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/changed/-/changed-3.21.0.tgz#108e15f679bfe077af500f58248c634f1044ea0b" - integrity sha512-hzqoyf8MSHVjZp0gfJ7G8jaz+++mgXYiNs9iViQGA8JlN/dnWLI5sWDptEH3/B30Izo+fdVz0S0s7ydVE3pWIw== - dependencies: - "@lerna/collect-updates" "3.20.0" - "@lerna/command" "3.21.0" - "@lerna/listable" "3.18.5" - "@lerna/output" "3.13.0" - -"@lerna/check-working-tree@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/check-working-tree/-/check-working-tree-3.16.5.tgz#b4f8ae61bb4523561dfb9f8f8d874dd46bb44baa" - integrity sha512-xWjVBcuhvB8+UmCSb5tKVLB5OuzSpw96WEhS2uz6hkWVa/Euh1A0/HJwn2cemyK47wUrCQXtczBUiqnq9yX5VQ== +"@lerna/child-process@6.6.2": + version "6.6.2" + resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-6.6.2.tgz#5d803c8dee81a4e013dc428292e77b365cba876c" + integrity sha512-QyKIWEnKQFnYu2ey+SAAm1A5xjzJLJJj3bhIZd3QKyXKKjaJ0hlxam/OsWSltxTNbcyH1jRJjC6Cxv31usv0Ag== dependencies: - "@lerna/collect-uncommitted" "3.16.5" - "@lerna/describe-ref" "3.16.5" - "@lerna/validation-error" "3.13.0" + chalk "^4.1.0" + execa "^5.0.0" + strong-log-transformer "^2.1.0" -"@lerna/child-process@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-3.16.5.tgz#38fa3c18064aa4ac0754ad80114776a7b36a69b2" - integrity sha512-vdcI7mzei9ERRV4oO8Y1LHBZ3A5+ampRKg1wq5nutLsUA4mEBN6H7JqjWOMY9xZemv6+kATm2ofjJ3lW5TszQg== +"@lerna/create@6.6.2": + version "6.6.2" + resolved "https://registry.yarnpkg.com/@lerna/create/-/create-6.6.2.tgz#39a36d80cddb355340c297ed785aa76f4498177f" + integrity sha512-xQ+1Y7D+9etvUlE+unhG/TwmM6XBzGIdFBaNoW8D8kyOa9M2Jf3vdEtAxVa7mhRz66CENfhL/+I/QkVaa7pwbQ== dependencies: - chalk "^2.3.1" - execa "^1.0.0" - strong-log-transformer "^2.0.0" - -"@lerna/clean@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/clean/-/clean-3.21.0.tgz#c0b46b5300cc3dae2cda3bec14b803082da3856d" - integrity sha512-b/L9l+MDgE/7oGbrav6rG8RTQvRiZLO1zTcG17zgJAAuhlsPxJExMlh2DFwJEVi2les70vMhHfST3Ue1IMMjpg== - dependencies: - "@lerna/command" "3.21.0" - "@lerna/filter-options" "3.20.0" - "@lerna/prompt" "3.18.5" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/rimraf-dir" "3.16.5" - p-map "^2.1.0" - p-map-series "^1.0.0" - p-waterfall "^1.0.0" - -"@lerna/cli@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/cli/-/cli-3.18.5.tgz#c90c461542fcd35b6d5b015a290fb0dbfb41d242" - integrity sha512-erkbxkj9jfc89vVs/jBLY/fM0I80oLmJkFUV3Q3wk9J3miYhP14zgVEBsPZY68IZlEjT6T3Xlq2xO1AVaatHsA== - dependencies: - "@lerna/global-options" "3.13.0" - dedent "^0.7.0" - npmlog "^4.1.2" - yargs "^14.2.2" - -"@lerna/collect-uncommitted@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/collect-uncommitted/-/collect-uncommitted-3.16.5.tgz#a494d61aac31cdc7aec4bbe52c96550274132e63" - integrity sha512-ZgqnGwpDZiWyzIQVZtQaj9tRizsL4dUOhuOStWgTAw1EMe47cvAY2kL709DzxFhjr6JpJSjXV5rZEAeU3VE0Hg== - dependencies: - "@lerna/child-process" "3.16.5" - chalk "^2.3.1" - figgy-pudding "^3.5.1" - npmlog "^4.1.2" - -"@lerna/collect-updates@3.20.0": - version "3.20.0" - resolved "https://registry.yarnpkg.com/@lerna/collect-updates/-/collect-updates-3.20.0.tgz#62f9d76ba21a25b7d9fbf31c02de88744a564bd1" - integrity sha512-qBTVT5g4fupVhBFuY4nI/3FSJtQVcDh7/gEPOpRxoXB/yCSnT38MFHXWl+y4einLciCjt/+0x6/4AG80fjay2Q== - dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/describe-ref" "3.16.5" - minimatch "^3.0.4" - npmlog "^4.1.2" - slash "^2.0.0" - -"@lerna/command@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/command/-/command-3.21.0.tgz#9a2383759dc7b700dacfa8a22b2f3a6e190121f7" - integrity sha512-T2bu6R8R3KkH5YoCKdutKv123iUgUbW8efVjdGCDnCMthAQzoentOJfDeodBwn0P2OqCl3ohsiNVtSn9h78fyQ== - dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/package-graph" "3.18.5" - "@lerna/project" "3.21.0" - "@lerna/validation-error" "3.13.0" - "@lerna/write-log-file" "3.13.0" - clone-deep "^4.0.1" - dedent "^0.7.0" - execa "^1.0.0" - is-ci "^2.0.0" - npmlog "^4.1.2" - -"@lerna/conventional-commits@3.22.0": - version "3.22.0" - resolved "https://registry.yarnpkg.com/@lerna/conventional-commits/-/conventional-commits-3.22.0.tgz#2798f4881ee2ef457bdae027ab7d0bf0af6f1e09" - integrity sha512-z4ZZk1e8Mhz7+IS8NxHr64wyklHctCJyWpJKEZZPJiLFJ8yKto/x38O80R10pIzC0rr8Sy/OsjSH4bl0TbbgqA== - dependencies: - "@lerna/validation-error" "3.13.0" - conventional-changelog-angular "^5.0.3" - conventional-changelog-core "^3.1.6" - conventional-recommended-bump "^5.0.0" - fs-extra "^8.1.0" - get-stream "^4.0.0" - lodash.template "^4.5.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - pify "^4.0.1" - semver "^6.2.0" - -"@lerna/create-symlink@3.16.2": - version "3.16.2" - resolved "https://registry.yarnpkg.com/@lerna/create-symlink/-/create-symlink-3.16.2.tgz#412cb8e59a72f5a7d9463e4e4721ad2070149967" - integrity sha512-pzXIJp6av15P325sgiIRpsPXLFmkisLhMBCy4764d+7yjf2bzrJ4gkWVMhsv4AdF0NN3OyZ5jjzzTtLNqfR+Jw== - dependencies: - "@zkochan/cmd-shim" "^3.1.0" - fs-extra "^8.1.0" - npmlog "^4.1.2" - -"@lerna/create@3.22.0": - version "3.22.0" - resolved "https://registry.yarnpkg.com/@lerna/create/-/create-3.22.0.tgz#d6bbd037c3dc5b425fe5f6d1b817057c278f7619" - integrity sha512-MdiQQzCcB4E9fBF1TyMOaAEz9lUjIHp1Ju9H7f3lXze5JK6Fl5NYkouAvsLgY6YSIhXMY8AHW2zzXeBDY4yWkw== - dependencies: - "@evocateur/pacote" "^9.6.3" - "@lerna/child-process" "3.16.5" - "@lerna/command" "3.21.0" - "@lerna/npm-conf" "3.16.0" - "@lerna/validation-error" "3.13.0" - camelcase "^5.0.0" + "@lerna/child-process" "6.6.2" dedent "^0.7.0" - fs-extra "^8.1.0" - globby "^9.2.0" - init-package-json "^1.10.3" - npm-package-arg "^6.1.0" - p-reduce "^1.0.0" - pify "^4.0.1" - semver "^6.2.0" - slash "^2.0.0" - validate-npm-package-license "^3.0.3" - validate-npm-package-name "^3.0.0" - whatwg-url "^7.0.0" - -"@lerna/describe-ref@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/describe-ref/-/describe-ref-3.16.5.tgz#a338c25aaed837d3dc70b8a72c447c5c66346ac0" - integrity sha512-c01+4gUF0saOOtDBzbLMFOTJDHTKbDFNErEY6q6i9QaXuzy9LNN62z+Hw4acAAZuJQhrVWncVathcmkkjvSVGw== - dependencies: - "@lerna/child-process" "3.16.5" - npmlog "^4.1.2" + fs-extra "^9.1.0" + init-package-json "^3.0.2" + npm-package-arg "8.1.1" + p-reduce "^2.1.0" + pacote "15.1.1" + pify "^5.0.0" + semver "^7.3.4" + slash "^3.0.0" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "^4.0.0" + yargs-parser "20.2.4" + +"@lerna/legacy-package-management@6.6.2": + version "6.6.2" + resolved "https://registry.yarnpkg.com/@lerna/legacy-package-management/-/legacy-package-management-6.6.2.tgz#411c395e72e563ab98f255df77e4068627a85bb0" + integrity sha512-0hZxUPKnHwehUO2xC4ldtdX9bW0W1UosxebDIQlZL2STnZnA2IFmIk2lJVUyFW+cmTPQzV93jfS0i69T9Z+teg== + dependencies: + "@npmcli/arborist" "6.2.3" + "@npmcli/run-script" "4.1.7" + "@nrwl/devkit" ">=15.5.2 < 16" + "@octokit/rest" "19.0.3" + byte-size "7.0.0" + chalk "4.1.0" + clone-deep "4.0.1" + cmd-shim "5.0.0" + columnify "1.6.0" + config-chain "1.1.12" + conventional-changelog-core "4.2.4" + conventional-recommended-bump "6.1.0" + cosmiconfig "7.0.0" + dedent "0.7.0" + dot-prop "6.0.1" + execa "5.0.0" + file-url "3.0.0" + find-up "5.0.0" + fs-extra "9.1.0" + get-port "5.1.1" + get-stream "6.0.0" + git-url-parse "13.1.0" + glob-parent "5.1.2" + globby "11.1.0" + graceful-fs "4.2.10" + has-unicode "2.0.1" + inquirer "8.2.4" + is-ci "2.0.0" + is-stream "2.0.0" + libnpmpublish "7.1.4" + load-json-file "6.2.0" + make-dir "3.1.0" + minimatch "3.0.5" + multimatch "5.0.0" + node-fetch "2.6.7" + npm-package-arg "8.1.1" + npm-packlist "5.1.1" + npm-registry-fetch "14.0.3" + npmlog "6.0.2" + p-map "4.0.0" + p-map-series "2.1.0" + p-queue "6.6.2" + p-waterfall "2.1.1" + pacote "15.1.1" + pify "5.0.0" + pretty-format "29.4.3" + read-cmd-shim "3.0.0" + read-package-json "5.0.1" + resolve-from "5.0.0" + semver "7.3.8" + signal-exit "3.0.7" + slash "3.0.0" + ssri "9.0.1" + strong-log-transformer "2.1.0" + tar "6.1.11" + temp-dir "1.0.0" + tempy "1.0.0" + upath "2.0.1" + uuid "8.3.2" + write-file-atomic "4.0.1" + write-pkg "4.0.0" + yargs "16.2.0" -"@lerna/diff@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/diff/-/diff-3.21.0.tgz#e6df0d8b9916167ff5a49fcb02ac06424280a68d" - integrity sha512-5viTR33QV3S7O+bjruo1SaR40m7F2aUHJaDAC7fL9Ca6xji+aw1KFkpCtVlISS0G8vikUREGMJh+c/VMSc8Usw== +"@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1": + version "5.1.1-v1" + resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129" + integrity sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg== dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/command" "3.21.0" - "@lerna/validation-error" "3.13.0" - npmlog "^4.1.2" - -"@lerna/exec@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/exec/-/exec-3.21.0.tgz#17f07533893cb918a17b41bcc566dc437016db26" - integrity sha512-iLvDBrIE6rpdd4GIKTY9mkXyhwsJ2RvQdB9ZU+/NhR3okXfqKc6py/24tV111jqpXTtZUW6HNydT4dMao2hi1Q== - dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/command" "3.21.0" - "@lerna/filter-options" "3.20.0" - "@lerna/profiler" "3.20.0" - "@lerna/run-topologically" "3.18.5" - "@lerna/validation-error" "3.13.0" - p-map "^2.1.0" - -"@lerna/filter-options@3.20.0": - version "3.20.0" - resolved "https://registry.yarnpkg.com/@lerna/filter-options/-/filter-options-3.20.0.tgz#0f0f5d5a4783856eece4204708cc902cbc8af59b" - integrity sha512-bmcHtvxn7SIl/R9gpiNMVG7yjx7WyT0HSGw34YVZ9B+3xF/83N3r5Rgtjh4hheLZ+Q91Or0Jyu5O3Nr+AwZe2g== - dependencies: - "@lerna/collect-updates" "3.20.0" - "@lerna/filter-packages" "3.18.0" - dedent "^0.7.0" - figgy-pudding "^3.5.1" - npmlog "^4.1.2" - -"@lerna/filter-packages@3.18.0": - version "3.18.0" - resolved "https://registry.yarnpkg.com/@lerna/filter-packages/-/filter-packages-3.18.0.tgz#6a7a376d285208db03a82958cfb8172e179b4e70" - integrity sha512-6/0pMM04bCHNATIOkouuYmPg6KH3VkPCIgTfQmdkPJTullERyEQfNUKikrefjxo1vHOoCACDpy65JYyKiAbdwQ== - dependencies: - "@lerna/validation-error" "3.13.0" - multimatch "^3.0.0" - npmlog "^4.1.2" - -"@lerna/get-npm-exec-opts@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.13.0.tgz#d1b552cb0088199fc3e7e126f914e39a08df9ea5" - integrity sha512-Y0xWL0rg3boVyJk6An/vurKzubyJKtrxYv2sj4bB8Mc5zZ3tqtv0ccbOkmkXKqbzvNNF7VeUt1OJ3DRgtC/QZw== - dependencies: - npmlog "^4.1.2" - -"@lerna/get-packed@3.16.0": - version "3.16.0" - resolved "https://registry.yarnpkg.com/@lerna/get-packed/-/get-packed-3.16.0.tgz#1b316b706dcee86c7baa55e50b087959447852ff" - integrity sha512-AjsFiaJzo1GCPnJUJZiTW6J1EihrPkc2y3nMu6m3uWFxoleklsSCyImumzVZJssxMi3CPpztj8LmADLedl9kXw== - dependencies: - fs-extra "^8.1.0" - ssri "^6.0.1" - tar "^4.4.8" - -"@lerna/github-client@3.22.0": - version "3.22.0" - resolved "https://registry.yarnpkg.com/@lerna/github-client/-/github-client-3.22.0.tgz#5d816aa4f76747ed736ae64ff962b8f15c354d95" - integrity sha512-O/GwPW+Gzr3Eb5bk+nTzTJ3uv+jh5jGho9BOqKlajXaOkMYGBELEAqV5+uARNGWZFvYAiF4PgqHb6aCUu7XdXg== - dependencies: - "@lerna/child-process" "3.16.5" - "@octokit/plugin-enterprise-rest" "^6.0.1" - "@octokit/rest" "^16.28.4" - git-url-parse "^11.1.2" - npmlog "^4.1.2" - -"@lerna/gitlab-client@3.15.0": - version "3.15.0" - resolved "https://registry.yarnpkg.com/@lerna/gitlab-client/-/gitlab-client-3.15.0.tgz#91f4ec8c697b5ac57f7f25bd50fe659d24aa96a6" - integrity sha512-OsBvRSejHXUBMgwWQqNoioB8sgzL/Pf1pOUhHKtkiMl6aAWjklaaq5HPMvTIsZPfS6DJ9L5OK2GGZuooP/5c8Q== - dependencies: - node-fetch "^2.5.0" - npmlog "^4.1.2" - whatwg-url "^7.0.0" + eslint-scope "5.1.1" -"@lerna/global-options@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/global-options/-/global-options-3.13.0.tgz#217662290db06ad9cf2c49d8e3100ee28eaebae1" - integrity sha512-SlZvh1gVRRzYLVluz9fryY1nJpZ0FHDGB66U9tFfvnnxmueckRQxLopn3tXj3NU1kc3QANT2I5BsQkOqZ4TEFQ== - -"@lerna/has-npm-version@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/has-npm-version/-/has-npm-version-3.16.5.tgz#ab83956f211d8923ea6afe9b979b38cc73b15326" - integrity sha512-WL7LycR9bkftyqbYop5rEGJ9sRFIV55tSGmbN1HLrF9idwOCD7CLrT64t235t3t4O5gehDnwKI5h2U3oxTrF8Q== - dependencies: - "@lerna/child-process" "3.16.5" - semver "^6.2.0" - -"@lerna/import@3.22.0": - version "3.22.0" - resolved "https://registry.yarnpkg.com/@lerna/import/-/import-3.22.0.tgz#1a5f0394f38e23c4f642a123e5e1517e70d068d2" - integrity sha512-uWOlexasM5XR6tXi4YehODtH9Y3OZrFht3mGUFFT3OIl2s+V85xIGFfqFGMTipMPAGb2oF1UBLL48kR43hRsOg== - dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/command" "3.21.0" - "@lerna/prompt" "3.18.5" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/validation-error" "3.13.0" - dedent "^0.7.0" - fs-extra "^8.1.0" - p-map-series "^1.0.0" +"@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" + integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== -"@lerna/info@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/info/-/info-3.21.0.tgz#76696b676fdb0f35d48c83c63c1e32bb5e37814f" - integrity sha512-0XDqGYVBgWxUquFaIptW2bYSIu6jOs1BtkvRTWDDhw4zyEdp6q4eaMvqdSap1CG+7wM5jeLCi6z94wS0AuiuwA== +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== dependencies: - "@lerna/command" "3.21.0" - "@lerna/output" "3.13.0" - envinfo "^7.3.1" + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" -"@lerna/init@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/init/-/init-3.21.0.tgz#1e810934dc8bf4e5386c031041881d3b4096aa5c" - integrity sha512-6CM0z+EFUkFfurwdJCR+LQQF6MqHbYDCBPyhu/d086LRf58GtYZYj49J8mKG9ktayp/TOIxL/pKKjgLD8QBPOg== - dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/command" "3.21.0" - fs-extra "^8.1.0" - p-map "^2.1.0" - write-json-file "^3.2.0" +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== -"@lerna/link@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/link/-/link-3.21.0.tgz#8be68ff0ccee104b174b5bbd606302c2f06e9d9b" - integrity sha512-tGu9GxrX7Ivs+Wl3w1+jrLi1nQ36kNI32dcOssij6bg0oZ2M2MDEFI9UF2gmoypTaN9uO5TSsjCFS7aR79HbdQ== +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== dependencies: - "@lerna/command" "3.21.0" - "@lerna/package-graph" "3.18.5" - "@lerna/symlink-dependencies" "3.17.0" - p-map "^2.1.0" - slash "^2.0.0" + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" -"@lerna/list@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/list/-/list-3.21.0.tgz#42f76fafa56dea13b691ec8cab13832691d61da2" - integrity sha512-KehRjE83B1VaAbRRkRy6jLX1Cin8ltsrQ7FHf2bhwhRHK0S54YuA6LOoBnY/NtA8bHDX/Z+G5sMY78X30NS9tg== - dependencies: - "@lerna/command" "3.21.0" - "@lerna/filter-options" "3.20.0" - "@lerna/listable" "3.18.5" - "@lerna/output" "3.13.0" - -"@lerna/listable@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/listable/-/listable-3.18.5.tgz#e82798405b5ed8fc51843c8ef1e7a0e497388a1a" - integrity sha512-Sdr3pVyaEv5A7ZkGGYR7zN+tTl2iDcinryBPvtuv20VJrXBE8wYcOks1edBTcOWsPjCE/rMP4bo1pseyk3UTsg== - dependencies: - "@lerna/query-graph" "3.18.5" - chalk "^2.3.1" - columnify "^1.5.4" - -"@lerna/log-packed@3.16.0": - version "3.16.0" - resolved "https://registry.yarnpkg.com/@lerna/log-packed/-/log-packed-3.16.0.tgz#f83991041ee77b2495634e14470b42259fd2bc16" - integrity sha512-Fp+McSNBV/P2mnLUYTaSlG8GSmpXM7krKWcllqElGxvAqv6chk2K3c2k80MeVB4WvJ9tRjUUf+i7HUTiQ9/ckQ== - dependencies: - byte-size "^5.0.1" - columnify "^1.5.4" - has-unicode "^2.0.1" - npmlog "^4.1.2" +"@npmcli/arborist@6.2.3": + version "6.2.3" + resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-6.2.3.tgz#31f8aed2588341864d3811151d929c01308f8e71" + integrity sha512-lpGOC2ilSJXcc2zfW9QtukcCTcMbl3fVI0z4wvFB2AFIl0C+Q6Wv7ccrpdrQa8rvJ1ZVuc6qkX7HVTyKlzGqKA== + dependencies: + "@isaacs/string-locale-compare" "^1.1.0" + "@npmcli/fs" "^3.1.0" + "@npmcli/installed-package-contents" "^2.0.0" + "@npmcli/map-workspaces" "^3.0.2" + "@npmcli/metavuln-calculator" "^5.0.0" + "@npmcli/name-from-folder" "^2.0.0" + "@npmcli/node-gyp" "^3.0.0" + "@npmcli/package-json" "^3.0.0" + "@npmcli/query" "^3.0.0" + "@npmcli/run-script" "^6.0.0" + bin-links "^4.0.1" + cacache "^17.0.4" + common-ancestor-path "^1.0.1" + hosted-git-info "^6.1.1" + json-parse-even-better-errors "^3.0.0" + json-stringify-nice "^1.1.4" + minimatch "^6.1.6" + nopt "^7.0.0" + npm-install-checks "^6.0.0" + npm-package-arg "^10.1.0" + npm-pick-manifest "^8.0.1" + npm-registry-fetch "^14.0.3" + npmlog "^7.0.1" + pacote "^15.0.8" + parse-conflict-json "^3.0.0" + proc-log "^3.0.0" + promise-all-reject-late "^1.0.0" + promise-call-limit "^1.0.1" + read-package-json-fast "^3.0.2" + semver "^7.3.7" + ssri "^10.0.1" + treeverse "^3.0.0" + walk-up-path "^1.0.0" -"@lerna/npm-conf@3.16.0": - version "3.16.0" - resolved "https://registry.yarnpkg.com/@lerna/npm-conf/-/npm-conf-3.16.0.tgz#1c10a89ae2f6c2ee96962557738685300d376827" - integrity sha512-HbO3DUrTkCAn2iQ9+FF/eisDpWY5POQAOF1m7q//CZjdC2HSW3UYbKEGsSisFxSfaF9Z4jtrV+F/wX6qWs3CuA== +"@npmcli/fs@^2.1.0": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.2.tgz#a9e2541a4a2fec2e69c29b35e6060973da79b865" + integrity sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ== dependencies: - config-chain "^1.1.11" - pify "^4.0.1" - -"@lerna/npm-dist-tag@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/npm-dist-tag/-/npm-dist-tag-3.18.5.tgz#9ef9abb7c104077b31f6fab22cc73b314d54ac55" - integrity sha512-xw0HDoIG6HreVsJND9/dGls1c+lf6vhu7yJoo56Sz5bvncTloYGLUppIfDHQr4ZvmPCK8rsh0euCVh2giPxzKQ== - dependencies: - "@evocateur/npm-registry-fetch" "^4.0.0" - "@lerna/otplease" "3.18.5" - figgy-pudding "^3.5.1" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - -"@lerna/npm-install@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/npm-install/-/npm-install-3.16.5.tgz#d6bfdc16f81285da66515ae47924d6e278d637d3" - integrity sha512-hfiKk8Eku6rB9uApqsalHHTHY+mOrrHeWEs+gtg7+meQZMTS3kzv4oVp5cBZigndQr3knTLjwthT/FX4KvseFg== - dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/get-npm-exec-opts" "3.13.0" - fs-extra "^8.1.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - signal-exit "^3.0.2" - write-pkg "^3.1.0" - -"@lerna/npm-publish@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/npm-publish/-/npm-publish-3.18.5.tgz#240e4039959fd9816b49c5b07421e11b5cb000af" - integrity sha512-3etLT9+2L8JAx5F8uf7qp6iAtOLSMj+ZYWY6oUgozPi/uLqU0/gsMsEXh3F0+YVW33q0M61RpduBoAlOOZnaTg== - dependencies: - "@evocateur/libnpmpublish" "^1.2.2" - "@lerna/otplease" "3.18.5" - "@lerna/run-lifecycle" "3.16.2" - figgy-pudding "^3.5.1" - fs-extra "^8.1.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - pify "^4.0.1" - read-package-json "^2.0.13" - -"@lerna/npm-run-script@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/npm-run-script/-/npm-run-script-3.16.5.tgz#9c2ec82453a26c0b46edc0bb7c15816c821f5c15" - integrity sha512-1asRi+LjmVn3pMjEdpqKJZFT/3ZNpb+VVeJMwrJaV/3DivdNg7XlPK9LTrORuKU4PSvhdEZvJmSlxCKyDpiXsQ== - dependencies: - "@lerna/child-process" "3.16.5" - "@lerna/get-npm-exec-opts" "3.13.0" - npmlog "^4.1.2" - -"@lerna/otplease@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/otplease/-/otplease-3.18.5.tgz#b77b8e760b40abad9f7658d988f3ea77d4fd0231" - integrity sha512-S+SldXAbcXTEDhzdxYLU0ZBKuYyURP/ND2/dK6IpKgLxQYh/z4ScljPDMyKymmEvgiEJmBsPZAAPfmNPEzxjog== - dependencies: - "@lerna/prompt" "3.18.5" - figgy-pudding "^3.5.1" - -"@lerna/output@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/output/-/output-3.13.0.tgz#3ded7cc908b27a9872228a630d950aedae7a4989" - integrity sha512-7ZnQ9nvUDu/WD+bNsypmPG5MwZBwu86iRoiW6C1WBuXXDxM5cnIAC1m2WxHeFnjyMrYlRXM9PzOQ9VDD+C15Rg== - dependencies: - npmlog "^4.1.2" - -"@lerna/pack-directory@3.16.4": - version "3.16.4" - resolved "https://registry.yarnpkg.com/@lerna/pack-directory/-/pack-directory-3.16.4.tgz#3eae5f91bdf5acfe0384510ed53faddc4c074693" - integrity sha512-uxSF0HZeGyKaaVHz5FroDY9A5NDDiCibrbYR6+khmrhZtY0Bgn6hWq8Gswl9iIlymA+VzCbshWIMX4o2O8C8ng== - dependencies: - "@lerna/get-packed" "3.16.0" - "@lerna/package" "3.16.0" - "@lerna/run-lifecycle" "3.16.2" - figgy-pudding "^3.5.1" - npm-packlist "^1.4.4" - npmlog "^4.1.2" - tar "^4.4.10" - temp-write "^3.4.0" - -"@lerna/package-graph@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/package-graph/-/package-graph-3.18.5.tgz#c740e2ea3578d059e551633e950690831b941f6b" - integrity sha512-8QDrR9T+dBegjeLr+n9WZTVxUYUhIUjUgZ0gvNxUBN8S1WB9r6H5Yk56/MVaB64tA3oGAN9IIxX6w0WvTfFudA== - dependencies: - "@lerna/prerelease-id-from-version" "3.16.0" - "@lerna/validation-error" "3.13.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - semver "^6.2.0" - -"@lerna/package@3.16.0": - version "3.16.0" - resolved "https://registry.yarnpkg.com/@lerna/package/-/package-3.16.0.tgz#7e0a46e4697ed8b8a9c14d59c7f890e0d38ba13c" - integrity sha512-2lHBWpaxcBoiNVbtyLtPUuTYEaB/Z+eEqRS9duxpZs6D+mTTZMNy6/5vpEVSCBmzvdYpyqhqaYjjSLvjjr5Riw== - dependencies: - load-json-file "^5.3.0" - npm-package-arg "^6.1.0" - write-pkg "^3.1.0" - -"@lerna/prerelease-id-from-version@3.16.0": - version "3.16.0" - resolved "https://registry.yarnpkg.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-3.16.0.tgz#b24bfa789f5e1baab914d7b08baae9b7bd7d83a1" - integrity sha512-qZyeUyrE59uOK8rKdGn7jQz+9uOpAaF/3hbslJVFL1NqF9ELDTqjCPXivuejMX/lN4OgD6BugTO4cR7UTq/sZA== - dependencies: - semver "^6.2.0" - -"@lerna/profiler@3.20.0": - version "3.20.0" - resolved "https://registry.yarnpkg.com/@lerna/profiler/-/profiler-3.20.0.tgz#0f6dc236f4ea8f9ea5f358c6703305a4f32ad051" - integrity sha512-bh8hKxAlm6yu8WEOvbLENm42i2v9SsR4WbrCWSbsmOElx3foRnMlYk7NkGECa+U5c3K4C6GeBbwgqs54PP7Ljg== - dependencies: - figgy-pudding "^3.5.1" - fs-extra "^8.1.0" - npmlog "^4.1.2" - upath "^1.2.0" + "@gar/promisify" "^1.1.3" + semver "^7.3.5" -"@lerna/project@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/project/-/project-3.21.0.tgz#5d784d2d10c561a00f20320bcdb040997c10502d" - integrity sha512-xT1mrpET2BF11CY32uypV2GPtPVm6Hgtha7D81GQP9iAitk9EccrdNjYGt5UBYASl4CIDXBRxwmTTVGfrCx82A== +"@npmcli/fs@^3.1.0": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-3.1.1.tgz#59cdaa5adca95d135fc00f2bb53f5771575ce726" + integrity sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg== dependencies: - "@lerna/package" "3.16.0" - "@lerna/validation-error" "3.13.0" - cosmiconfig "^5.1.0" - dedent "^0.7.0" - dot-prop "^4.2.0" - glob-parent "^5.0.0" - globby "^9.2.0" - load-json-file "^5.3.0" - npmlog "^4.1.2" - p-map "^2.1.0" - resolve-from "^4.0.0" - write-json-file "^3.2.0" - -"@lerna/prompt@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/prompt/-/prompt-3.18.5.tgz#628cd545f225887d060491ab95df899cfc5218a1" - integrity sha512-rkKj4nm1twSbBEb69+Em/2jAERK8htUuV8/xSjN0NPC+6UjzAwY52/x9n5cfmpa9lyKf/uItp7chCI7eDmNTKQ== - dependencies: - inquirer "^6.2.0" - npmlog "^4.1.2" - -"@lerna/publish@3.22.1": - version "3.22.1" - resolved "https://registry.yarnpkg.com/@lerna/publish/-/publish-3.22.1.tgz#b4f7ce3fba1e9afb28be4a1f3d88222269ba9519" - integrity sha512-PG9CM9HUYDreb1FbJwFg90TCBQooGjj+n/pb3gw/eH5mEDq0p8wKdLFe0qkiqUkm/Ub5C8DbVFertIo0Vd0zcw== - dependencies: - "@evocateur/libnpmaccess" "^3.1.2" - "@evocateur/npm-registry-fetch" "^4.0.0" - "@evocateur/pacote" "^9.6.3" - "@lerna/check-working-tree" "3.16.5" - "@lerna/child-process" "3.16.5" - "@lerna/collect-updates" "3.20.0" - "@lerna/command" "3.21.0" - "@lerna/describe-ref" "3.16.5" - "@lerna/log-packed" "3.16.0" - "@lerna/npm-conf" "3.16.0" - "@lerna/npm-dist-tag" "3.18.5" - "@lerna/npm-publish" "3.18.5" - "@lerna/otplease" "3.18.5" - "@lerna/output" "3.13.0" - "@lerna/pack-directory" "3.16.4" - "@lerna/prerelease-id-from-version" "3.16.0" - "@lerna/prompt" "3.18.5" - "@lerna/pulse-till-done" "3.13.0" - "@lerna/run-lifecycle" "3.16.2" - "@lerna/run-topologically" "3.18.5" - "@lerna/validation-error" "3.13.0" - "@lerna/version" "3.22.1" - figgy-pudding "^3.5.1" - fs-extra "^8.1.0" - npm-package-arg "^6.1.0" - npmlog "^4.1.2" - p-finally "^1.0.0" - p-map "^2.1.0" - p-pipe "^1.2.0" - semver "^6.2.0" + semver "^7.3.5" -"@lerna/pulse-till-done@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/pulse-till-done/-/pulse-till-done-3.13.0.tgz#c8e9ce5bafaf10d930a67d7ed0ccb5d958fe0110" - integrity sha512-1SOHpy7ZNTPulzIbargrgaJX387csN7cF1cLOGZiJQA6VqnS5eWs2CIrG8i8wmaUavj2QlQ5oEbRMVVXSsGrzA== +"@npmcli/git@^4.0.0", "@npmcli/git@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-4.1.0.tgz#ab0ad3fd82bc4d8c1351b6c62f0fa56e8fe6afa6" + integrity sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ== dependencies: - npmlog "^4.1.2" + "@npmcli/promise-spawn" "^6.0.0" + lru-cache "^7.4.4" + npm-pick-manifest "^8.0.0" + proc-log "^3.0.0" + promise-inflight "^1.0.1" + promise-retry "^2.0.1" + semver "^7.3.5" + which "^3.0.0" -"@lerna/query-graph@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/query-graph/-/query-graph-3.18.5.tgz#df4830bb5155273003bf35e8dda1c32d0927bd86" - integrity sha512-50Lf4uuMpMWvJ306be3oQDHrWV42nai9gbIVByPBYJuVW8dT8O8pA3EzitNYBUdLL9/qEVbrR0ry1HD7EXwtRA== +"@npmcli/installed-package-contents@^2.0.0", "@npmcli/installed-package-contents@^2.0.1": + 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: - "@lerna/package-graph" "3.18.5" - figgy-pudding "^3.5.1" + npm-bundled "^3.0.0" + npm-normalize-package-bin "^3.0.0" -"@lerna/resolve-symlink@3.16.0": - version "3.16.0" - resolved "https://registry.yarnpkg.com/@lerna/resolve-symlink/-/resolve-symlink-3.16.0.tgz#37fc7095fabdbcf317c26eb74e0d0bde8efd2386" - integrity sha512-Ibj5e7njVHNJ/NOqT4HlEgPFPtPLWsO7iu59AM5bJDcAJcR96mLZ7KGVIsS2tvaO7akMEJvt2P+ErwCdloG3jQ== +"@npmcli/map-workspaces@^3.0.2": + version "3.0.6" + resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-3.0.6.tgz#27dc06c20c35ef01e45a08909cab9cb3da08cea6" + integrity sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA== dependencies: - fs-extra "^8.1.0" - npmlog "^4.1.2" - read-cmd-shim "^1.0.1" + "@npmcli/name-from-folder" "^2.0.0" + glob "^10.2.2" + minimatch "^9.0.0" + read-package-json-fast "^3.0.0" -"@lerna/rimraf-dir@3.16.5": - version "3.16.5" - resolved "https://registry.yarnpkg.com/@lerna/rimraf-dir/-/rimraf-dir-3.16.5.tgz#04316ab5ffd2909657aaf388ea502cb8c2f20a09" - integrity sha512-bQlKmO0pXUsXoF8lOLknhyQjOZsCc0bosQDoX4lujBXSWxHVTg1VxURtWf2lUjz/ACsJVDfvHZbDm8kyBk5okA== +"@npmcli/metavuln-calculator@^5.0.0": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-5.0.1.tgz#426b3e524c2008bcc82dbc2ef390aefedd643d76" + integrity sha512-qb8Q9wIIlEPj3WeA1Lba91R4ZboPL0uspzV0F9uwP+9AYMVB2zOoa7Pbk12g6D2NHAinSbHh6QYmGuRyHZ874Q== dependencies: - "@lerna/child-process" "3.16.5" - npmlog "^4.1.2" - path-exists "^3.0.0" - rimraf "^2.6.2" + cacache "^17.0.0" + json-parse-even-better-errors "^3.0.0" + pacote "^15.0.0" + semver "^7.3.5" -"@lerna/run-lifecycle@3.16.2": - version "3.16.2" - resolved "https://registry.yarnpkg.com/@lerna/run-lifecycle/-/run-lifecycle-3.16.2.tgz#67b288f8ea964db9ea4fb1fbc7715d5bbb0bce00" - integrity sha512-RqFoznE8rDpyyF0rOJy3+KjZCeTkO8y/OB9orPauR7G2xQ7PTdCpgo7EO6ZNdz3Al+k1BydClZz/j78gNCmL2A== +"@npmcli/move-file@^2.0.0": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.1.tgz#26f6bdc379d87f75e55739bab89db525b06100e4" + integrity sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ== dependencies: - "@lerna/npm-conf" "3.16.0" - figgy-pudding "^3.5.1" - npm-lifecycle "^3.1.2" - npmlog "^4.1.2" + mkdirp "^1.0.4" + rimraf "^3.0.2" -"@lerna/run-topologically@3.18.5": - version "3.18.5" - resolved "https://registry.yarnpkg.com/@lerna/run-topologically/-/run-topologically-3.18.5.tgz#3cd639da20e967d7672cb88db0f756b92f2fdfc3" - integrity sha512-6N1I+6wf4hLOnPW+XDZqwufyIQ6gqoPfHZFkfWlvTQ+Ue7CuF8qIVQ1Eddw5HKQMkxqN10thKOFfq/9NQZ4NUg== - dependencies: - "@lerna/query-graph" "3.18.5" - figgy-pudding "^3.5.1" - p-queue "^4.0.0" +"@npmcli/name-from-folder@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz#c44d3a7c6d5c184bb6036f4d5995eee298945815" + integrity sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg== -"@lerna/run@3.21.0": - version "3.21.0" - resolved "https://registry.yarnpkg.com/@lerna/run/-/run-3.21.0.tgz#2a35ec84979e4d6e42474fe148d32e5de1cac891" - integrity sha512-fJF68rT3veh+hkToFsBmUJ9MHc9yGXA7LSDvhziAojzOb0AI/jBDp6cEcDQyJ7dbnplba2Lj02IH61QUf9oW0Q== - dependencies: - "@lerna/command" "3.21.0" - "@lerna/filter-options" "3.20.0" - "@lerna/npm-run-script" "3.16.5" - "@lerna/output" "3.13.0" - "@lerna/profiler" "3.20.0" - "@lerna/run-topologically" "3.18.5" - "@lerna/timer" "3.13.0" - "@lerna/validation-error" "3.13.0" - p-map "^2.1.0" - -"@lerna/symlink-binary@3.17.0": - version "3.17.0" - resolved "https://registry.yarnpkg.com/@lerna/symlink-binary/-/symlink-binary-3.17.0.tgz#8f8031b309863814883d3f009877f82e38aef45a" - integrity sha512-RLpy9UY6+3nT5J+5jkM5MZyMmjNHxZIZvXLV+Q3MXrf7Eaa1hNqyynyj4RO95fxbS+EZc4XVSk25DGFQbcRNSQ== - dependencies: - "@lerna/create-symlink" "3.16.2" - "@lerna/package" "3.16.0" - fs-extra "^8.1.0" - p-map "^2.1.0" - -"@lerna/symlink-dependencies@3.17.0": - version "3.17.0" - resolved "https://registry.yarnpkg.com/@lerna/symlink-dependencies/-/symlink-dependencies-3.17.0.tgz#48d6360e985865a0e56cd8b51b308a526308784a" - integrity sha512-KmjU5YT1bpt6coOmdFueTJ7DFJL4H1w5eF8yAQ2zsGNTtZ+i5SGFBWpb9AQaw168dydc3s4eu0W0Sirda+F59Q== - dependencies: - "@lerna/create-symlink" "3.16.2" - "@lerna/resolve-symlink" "3.16.0" - "@lerna/symlink-binary" "3.17.0" - fs-extra "^8.1.0" - p-finally "^1.0.0" - p-map "^2.1.0" - p-map-series "^1.0.0" - -"@lerna/timer@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/timer/-/timer-3.13.0.tgz#bcd0904551db16e08364d6c18e5e2160fc870781" - integrity sha512-RHWrDl8U4XNPqY5MQHkToWS9jHPnkLZEt5VD+uunCKTfzlxGnRCr3/zVr8VGy/uENMYpVP3wJa4RKGY6M0vkRw== - -"@lerna/validation-error@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/validation-error/-/validation-error-3.13.0.tgz#c86b8f07c5ab9539f775bd8a54976e926f3759c3" - integrity sha512-SiJP75nwB8GhgwLKQfdkSnDufAaCbkZWJqEDlKOUPUvVOplRGnfL+BPQZH5nvq2BYSRXsksXWZ4UHVnQZI/HYA== - dependencies: - npmlog "^4.1.2" - -"@lerna/version@3.22.1": - version "3.22.1" - resolved "https://registry.yarnpkg.com/@lerna/version/-/version-3.22.1.tgz#9805a9247a47ee62d6b81bd9fa5fb728b24b59e2" - integrity sha512-PSGt/K1hVqreAFoi3zjD0VEDupQ2WZVlVIwesrE5GbrL2BjXowjCsTDPqblahDUPy0hp6h7E2kG855yLTp62+g== - dependencies: - "@lerna/check-working-tree" "3.16.5" - "@lerna/child-process" "3.16.5" - "@lerna/collect-updates" "3.20.0" - "@lerna/command" "3.21.0" - "@lerna/conventional-commits" "3.22.0" - "@lerna/github-client" "3.22.0" - "@lerna/gitlab-client" "3.15.0" - "@lerna/output" "3.13.0" - "@lerna/prerelease-id-from-version" "3.16.0" - "@lerna/prompt" "3.18.5" - "@lerna/run-lifecycle" "3.16.2" - "@lerna/run-topologically" "3.18.5" - "@lerna/validation-error" "3.13.0" - chalk "^2.3.1" - dedent "^0.7.0" - load-json-file "^5.3.0" - minimatch "^3.0.4" - npmlog "^4.1.2" - p-map "^2.1.0" - p-pipe "^1.2.0" - p-reduce "^1.0.0" - p-waterfall "^1.0.0" - semver "^6.2.0" - slash "^2.0.0" - temp-write "^3.4.0" - write-json-file "^3.2.0" +"@npmcli/node-gyp@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz#8c20e53e34e9078d18815c1d2dda6f2420d75e35" + integrity sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A== -"@lerna/write-log-file@3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@lerna/write-log-file/-/write-log-file-3.13.0.tgz#b78d9e4cfc1349a8be64d91324c4c8199e822a26" - integrity sha512-RibeMnDPvlL8bFYW5C8cs4mbI3AHfQef73tnJCQ/SgrXZHehmHnsyWUiE7qDQCAo+B1RfTapvSyFF69iPj326A== - dependencies: - npmlog "^4.1.2" - write-file-atomic "^2.3.0" +"@npmcli/node-gyp@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz#101b2d0490ef1aa20ed460e4c0813f0db560545a" + integrity sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA== -"@mrmlnc/readdir-enhanced@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" - integrity sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g== +"@npmcli/package-json@^3.0.0": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-3.1.1.tgz#5628332aac90fa1b4d6f98e03988c5958b35e0c5" + integrity sha512-+UW0UWOYFKCkvszLoTwrYGrjNrT8tI5Ckeb/h+Z1y1fsNJEctl7HmerA5j2FgmoqFaLI2gsA1X9KgMFqx/bRmA== dependencies: - call-me-maybe "^1.0.1" - glob-to-regexp "^0.3.0" - -"@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3": - version "2.1.8-no-fsevents.3" - resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz#323d72dd25103d0c4fbdce89dadf574a787b1f9b" - integrity sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ== + "@npmcli/git" "^4.1.0" + glob "^10.2.2" + json-parse-even-better-errors "^3.0.0" + normalize-package-data "^5.0.0" + npm-normalize-package-bin "^3.0.1" + proc-log "^3.0.0" -"@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1": - version "5.1.1-v1" - resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129" - integrity sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg== +"@npmcli/promise-spawn@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz#53283b5f18f855c6925f23c24e67c911501ef573" + integrity sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g== dependencies: - eslint-scope "5.1.1" + infer-owner "^1.0.4" -"@noble/hashes@^1", "@noble/hashes@^1.0.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.0.tgz#085fd70f6d7d9d109671090ccae1d3bec62554a1" - integrity sha512-ilHEACi9DwqJB0pw7kv+Apvh50jiiSyR/cQ3y4W7lOR5mhvn/50FLUfsnfJz0BDZtl/RR16kXvptiv6q1msYZg== +"@npmcli/promise-spawn@^6.0.0", "@npmcli/promise-spawn@^6.0.1": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz#c8bc4fa2bd0f01cb979d8798ba038f314cfa70f2" + integrity sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg== + dependencies: + which "^3.0.0" -"@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== +"@npmcli/query@^3.0.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@npmcli/query/-/query-3.1.0.tgz#bc202c59e122a06cf8acab91c795edda2cdad42c" + integrity sha512-C/iR0tk7KSKGldibYIB9x8GtO/0Bd0I2mhOaDb8ucQL/bQVTmGoeREaFj64Z5+iCBRf3dQfed0CjJL7I8iTkiQ== dependencies: - "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" + postcss-selector-parser "^6.0.10" -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== +"@npmcli/run-script@4.1.7": + version "4.1.7" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.1.7.tgz#b1a2f57568eb738e45e9ea3123fb054b400a86f7" + integrity sha512-WXr/MyM4tpKA4BotB81NccGAv8B48lNH0gRoILucbcAhTQXLCoi6HflMV3KdXubIqvP9SuLsFn68Z7r4jl+ppw== + dependencies: + "@npmcli/node-gyp" "^2.0.0" + "@npmcli/promise-spawn" "^3.0.0" + node-gyp "^9.0.0" + read-package-json-fast "^2.0.3" + which "^2.0.2" -"@nodelib/fs.stat@^1.1.2": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" - integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== +"@npmcli/run-script@^6.0.0": + version "6.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-6.0.2.tgz#a25452d45ee7f7fb8c16dfaf9624423c0c0eb885" + integrity sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA== + dependencies: + "@npmcli/node-gyp" "^3.0.0" + "@npmcli/promise-spawn" "^6.0.0" + node-gyp "^9.0.0" + read-package-json-fast "^3.0.0" + which "^3.0.0" + +"@nrwl/cli@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-15.9.7.tgz#1db113f5cb1cfe63213097be1ece041eef33da1f" + integrity sha512-1jtHBDuJzA57My5nLzYiM372mJW0NY6rFKxlWt5a0RLsAZdPTHsd8lE3Gs9XinGC1jhXbruWmhhnKyYtZvX/zA== + dependencies: + nx "15.9.7" + +"@nrwl/devkit@>=15.5.2 < 16": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-15.9.7.tgz#14d19ec82ff4209c12147a97f1cdea05d8f6c087" + integrity sha512-Sb7Am2TMT8AVq8e+vxOlk3AtOA2M0qCmhBzoM1OJbdHaPKc0g0UgSnWRml1kPGg5qfPk72tWclLoZJ5/ut0vTg== + dependencies: + ejs "^3.1.7" + ignore "^5.0.4" + semver "7.5.4" + tmp "~0.2.1" + tslib "^2.3.0" + +"@nrwl/nx-darwin-arm64@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-darwin-arm64/-/nx-darwin-arm64-15.9.7.tgz#a2cb7390c782b8acf3bb8806a3002620226a933d" + integrity sha512-aBUgnhlkrgC0vu0fK6eb9Vob7eFnkuknrK+YzTjmLrrZwj7FGNAeyGXSlyo1dVokIzjVKjJg2saZZ0WQbfuCJw== + +"@nrwl/nx-darwin-x64@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-darwin-x64/-/nx-darwin-x64-15.9.7.tgz#af0437e726aeb97eb660646bfd9a7da5ba7a0a6f" + integrity sha512-L+elVa34jhGf1cmn38Z0sotQatmLovxoASCIw5r1CBZZeJ5Tg7Y9nOwjRiDixZxNN56hPKXm6xl9EKlVHVeKlg== + +"@nrwl/nx-linux-arm-gnueabihf@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-15.9.7.tgz#e29f4d31afa903bfb4d0fd7421e19be1086eae87" + integrity sha512-pqmfqqEUGFu6PmmHKyXyUw1Al0Ki8PSaR0+ndgCAb1qrekVDGDfznJfaqxN0JSLeolPD6+PFtLyXNr9ZyPFlFg== + +"@nrwl/nx-linux-arm64-gnu@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-15.9.7.tgz#eb2880a24d3268dd93583d21a6a0b9ff96bb23b4" + integrity sha512-NYOa/eRrqmM+In5g3M0rrPVIS9Z+q6fvwXJYf/KrjOHqqan/KL+2TOfroA30UhcBrwghZvib7O++7gZ2hzwOnA== + +"@nrwl/nx-linux-arm64-musl@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm64-musl/-/nx-linux-arm64-musl-15.9.7.tgz#5d04913c4672a96cefa78491824620d8a8bcfd7f" + integrity sha512-zyStqjEcmbvLbejdTOrLUSEdhnxNtdQXlmOuymznCzYUEGRv+4f7OAepD3yRoR0a/57SSORZmmGQB7XHZoYZJA== + +"@nrwl/nx-linux-x64-gnu@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-x64-gnu/-/nx-linux-x64-gnu-15.9.7.tgz#cf7f61fd87f35a793e6824952a6eb12242fe43fd" + integrity sha512-saNK5i2A8pKO3Il+Ejk/KStTApUpWgCxjeUz9G+T8A+QHeDloZYH2c7pU/P3jA9QoNeKwjVO9wYQllPL9loeVg== + +"@nrwl/nx-linux-x64-musl@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-x64-musl/-/nx-linux-x64-musl-15.9.7.tgz#2bec23c3696780540eb47fa1358dda780c84697f" + integrity sha512-extIUThYN94m4Vj4iZggt6hhMZWQSukBCo8pp91JHnDcryBg7SnYmnikwtY1ZAFyyRiNFBLCKNIDFGkKkSrZ9Q== + +"@nrwl/nx-win32-arm64-msvc@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-15.9.7.tgz#21b56ef3ab4190370effea71bd83fdc3e47ec69c" + integrity sha512-GSQ54hJ5AAnKZb4KP4cmBnJ1oC4ILxnrG1mekxeM65c1RtWg9NpBwZ8E0gU3xNrTv8ZNsBeKi/9UhXBxhsIh8A== + +"@nrwl/nx-win32-x64-msvc@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/nx-win32-x64-msvc/-/nx-win32-x64-msvc-15.9.7.tgz#1677ab1dcce921706b5677dc2844e3e0027f8bd5" + integrity sha512-x6URof79RPd8AlapVbPefUD3ynJZpmah3tYaYZ9xZRMXojVtEHV8Qh5vysKXQ1rNYJiiB8Ah6evSKWLbAH60tw== + +"@nrwl/tao@15.9.7": + version "15.9.7" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-15.9.7.tgz#c0e78c99caa6742762f7558f20d8524bc9015e97" + integrity sha512-OBnHNvQf3vBH0qh9YnvBQQWyyFZ+PWguF6dJ8+1vyQYlrLVk/XZ8nJ4ukWFb+QfPv/O8VBmqaofaOI9aFC4yTw== + dependencies: + nx "15.9.7" + +"@octokit/auth-token@^3.0.0": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db" + integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ== -"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": - version "1.2.8" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== - dependencies: - "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" +"@octokit/core@^4.0.0": + version "4.2.4" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.4.tgz#d8769ec2b43ff37cc3ea89ec4681a20ba58ef907" + integrity sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ== + dependencies: + "@octokit/auth-token" "^3.0.0" + "@octokit/graphql" "^5.0.0" + "@octokit/request" "^6.0.0" + "@octokit/request-error" "^3.0.0" + "@octokit/types" "^9.0.0" + before-after-hook "^2.2.0" + universal-user-agent "^6.0.0" -"@octokit/auth-token@^2.4.0": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36" - integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g== +"@octokit/endpoint@^7.0.0": + version "7.0.6" + resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.6.tgz#791f65d3937555141fb6c08f91d618a7d645f1e2" + integrity sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg== dependencies: - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" + is-plain-object "^5.0.0" + universal-user-agent "^6.0.0" -"@octokit/endpoint@^6.0.1": - version "6.0.12" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658" - integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA== +"@octokit/graphql@^5.0.0": + version "5.0.6" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.6.tgz#9eac411ac4353ccc5d3fca7d76736e6888c5d248" + integrity sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw== dependencies: - "@octokit/types" "^6.0.3" - is-plain-object "^5.0.0" + "@octokit/request" "^6.0.0" + "@octokit/types" "^9.0.0" universal-user-agent "^6.0.0" "@octokit/openapi-types@^12.11.0": @@ -3986,102 +3858,111 @@ resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-12.11.0.tgz#da5638d64f2b919bca89ce6602d059f1b52d3ef0" integrity sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ== -"@octokit/plugin-enterprise-rest@^6.0.1": +"@octokit/openapi-types@^14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-14.0.0.tgz#949c5019028c93f189abbc2fb42f333290f7134a" + integrity sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw== + +"@octokit/openapi-types@^18.0.0": + version "18.1.1" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-18.1.1.tgz#09bdfdabfd8e16d16324326da5148010d765f009" + integrity sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw== + +"@octokit/plugin-enterprise-rest@6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== -"@octokit/plugin-paginate-rest@^1.1.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-1.1.2.tgz#004170acf8c2be535aba26727867d692f7b488fc" - integrity sha512-jbsSoi5Q1pj63sC16XIUboklNw+8tL9VOnJsWycWYR78TKss5PVpIPb1TUUcMQ+bBh7cY579cVAWmf5qG+dw+Q== +"@octokit/plugin-paginate-rest@^3.0.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-3.1.0.tgz#86f8be759ce2d6d7c879a31490fd2f7410b731f0" + integrity sha512-+cfc40pMzWcLkoDcLb1KXqjX0jTGYXjKuQdFQDc6UAknISJHnZTiBqld6HDwRJvD4DsouDKrWXNbNV0lE/3AXA== dependencies: - "@octokit/types" "^2.0.1" + "@octokit/types" "^6.41.0" -"@octokit/plugin-request-log@^1.0.0": +"@octokit/plugin-request-log@^1.0.4": version "1.0.4" resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== -"@octokit/plugin-rest-endpoint-methods@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-2.4.0.tgz#3288ecf5481f68c494dd0602fc15407a59faf61e" - integrity sha512-EZi/AWhtkdfAYi01obpX0DF7U6b1VRr30QNQ5xSFPITMdLSfhcBqjamE3F+sKcxPbD7eZuMHu3Qkk2V+JGxBDQ== +"@octokit/plugin-rest-endpoint-methods@^6.0.0": + version "6.8.1" + resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-6.8.1.tgz#97391fda88949eb15f68dc291957ccbe1d3e8ad1" + integrity sha512-QrlaTm8Lyc/TbU7BL/8bO49vp+RZ6W3McxxmmQTgYxf2sWkO8ZKuj4dLhPNJD6VCUW1hetCmeIM0m6FTVpDiEg== dependencies: - "@octokit/types" "^2.0.1" + "@octokit/types" "^8.1.1" deprecation "^2.3.1" -"@octokit/request-error@^1.0.2": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-1.2.1.tgz#ede0714c773f32347576c25649dc013ae6b31801" - integrity sha512-+6yDyk1EES6WK+l3viRDElw96MvwfJxCt45GvmjDUKWjYIb3PJZQkq3i46TwGwoPD4h8NmTrENmtyA1FwbmhRA== - dependencies: - "@octokit/types" "^2.0.0" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request-error@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677" - integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg== +"@octokit/request-error@^3.0.0": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69" + integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ== dependencies: - "@octokit/types" "^6.0.3" + "@octokit/types" "^9.0.0" deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.2.0": - version "5.6.3" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0" - integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A== +"@octokit/request@^6.0.0": + version "6.2.8" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.8.tgz#aaf480b32ab2b210e9dadd8271d187c93171d8eb" + integrity sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw== dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.1.0" - "@octokit/types" "^6.16.1" + "@octokit/endpoint" "^7.0.0" + "@octokit/request-error" "^3.0.0" + "@octokit/types" "^9.0.0" is-plain-object "^5.0.0" node-fetch "^2.6.7" universal-user-agent "^6.0.0" -"@octokit/rest@^16.28.4": - version "16.43.2" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.43.2.tgz#c53426f1e1d1044dee967023e3279c50993dd91b" - integrity sha512-ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ== - dependencies: - "@octokit/auth-token" "^2.4.0" - "@octokit/plugin-paginate-rest" "^1.1.1" - "@octokit/plugin-request-log" "^1.0.0" - "@octokit/plugin-rest-endpoint-methods" "2.4.0" - "@octokit/request" "^5.2.0" - "@octokit/request-error" "^1.0.2" - atob-lite "^2.0.0" - before-after-hook "^2.0.0" - btoa-lite "^1.0.0" - deprecation "^2.0.0" - lodash.get "^4.4.2" - lodash.set "^4.3.2" - lodash.uniq "^4.5.0" - octokit-pagination-methods "^1.1.0" - once "^1.4.0" - universal-user-agent "^4.0.0" - -"@octokit/types@^2.0.0", "@octokit/types@^2.0.1": - version "2.16.2" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-2.16.2.tgz#4c5f8da3c6fecf3da1811aef678fda03edac35d2" - integrity sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q== +"@octokit/rest@19.0.3": + version "19.0.3" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.3.tgz#b9a4e8dc8d53e030d611c053153ee6045f080f02" + integrity sha512-5arkTsnnRT7/sbI4fqgSJ35KiFaN7zQm0uQiQtivNQLI8RQx8EHwJCajcTUwmaCMNDg7tdCvqAnc7uvHHPxrtQ== dependencies: - "@types/node" ">= 8" + "@octokit/core" "^4.0.0" + "@octokit/plugin-paginate-rest" "^3.0.0" + "@octokit/plugin-request-log" "^1.0.4" + "@octokit/plugin-rest-endpoint-methods" "^6.0.0" -"@octokit/types@^6.0.3", "@octokit/types@^6.16.1": +"@octokit/types@^6.41.0": version "6.41.0" resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.41.0.tgz#e58ef78d78596d2fb7df9c6259802464b5f84a04" integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg== dependencies: "@octokit/openapi-types" "^12.11.0" +"@octokit/types@^8.1.1": + version "8.2.1" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-8.2.1.tgz#a6de091ae68b5541f8d4fcf9a12e32836d4648aa" + integrity sha512-8oWMUji8be66q2B9PmEIUyQm00VPDPun07umUWSaCwxmeaquFBro4Hcc3ruVoDo3zkQyZBlRvhIMEYS3pBhanw== + dependencies: + "@octokit/openapi-types" "^14.0.0" + +"@octokit/types@^9.0.0": + version "9.3.2" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.3.2.tgz#3f5f89903b69f6a2d196d78ec35f888c0013cac5" + integrity sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA== + dependencies: + "@octokit/openapi-types" "^18.0.0" + +"@parcel/watcher@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.0.4.tgz#f300fef4cc38008ff4b8c29d92588eced3ce014b" + integrity sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg== + dependencies: + node-addon-api "^3.2.1" + node-gyp-build "^4.3.0" + "@pkgjs/parseargs@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== +"@pkgr/core@^0.1.0": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" + integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== + "@pmmmwh/react-refresh-webpack-plugin@^0.5.3": version "0.5.10" resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.10.tgz#2eba163b8e7dbabb4ce3609ab5e32ab63dda3ef8" @@ -4150,6 +4031,87 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== +"@protobufs/amino@^0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@protobufs/amino/-/amino-0.0.11.tgz#5eb6b8193da8ea818484818dff2800a981cb7a61" + integrity sha512-JRIkW6/YGIUfbdDuASt3wsuxzC0Xj3U2sV0Arqa9iNwCvv4HtOpbqdWVVVgvQBnR0/ZkwQeXnt+GH7yT/DvsYQ== + dependencies: + "@protobufs/google" "^0.0.10" + +"@protobufs/confio@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@protobufs/confio/-/confio-0.0.6.tgz#a6ddf44eca2cbe535384228312ae7ef5dff29644" + integrity sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA== + +"@protobufs/cosmos@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@protobufs/cosmos/-/cosmos-0.1.0.tgz#492251de16be3e0a89820f48637cd3f42114f24c" + integrity sha512-L3NZ+z0kI6GMTiD2HASNe3WbopPhQlaQaKZNRue+8LiGEv/vbbxD1lox8cwOqes3AN5dHiT0i3+gvzIbKBb7gw== + dependencies: + "@protobufs/amino" "^0.0.11" + "@protobufs/cosmos_proto" "^0.0.10" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@protobufs/tendermint" "^0.0.10" + +"@protobufs/cosmos_proto@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz#622726ee227f220f608df180f938e5d8ebb1534a" + integrity sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw== + dependencies: + "@protobufs/google" "^0.0.10" + +"@protobufs/cosmwasm@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@protobufs/cosmwasm/-/cosmwasm-0.1.1.tgz#313466d02ae7c010f64e6dd6edc06cdc1e676084" + integrity sha512-7rRkQVo7zWjTX+WKdtgM72KEnioGumA7ivYG+3ZGs/uuf8rwN8PmdWFYhLbMkSbPbyJf1bFSyjpP/+kxpH71ew== + dependencies: + "@protobufs/cosmos" "^0.1.0" + "@protobufs/cosmos_proto" "^0.0.10" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + +"@protobufs/gogoproto@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz#0181e17142c800b60c7ca5f92c76a614d86c5c54" + integrity sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ== + dependencies: + "@protobufs/google" "^0.0.10" + +"@protobufs/google@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/google/-/google-0.0.10.tgz#820f741b0c53f688550c74c7ddb25a5ee131a6bf" + integrity sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw== + +"@protobufs/ibc@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@protobufs/ibc/-/ibc-0.1.0.tgz#36aeadc9f09d185d683f66a650dad9dc40437875" + integrity sha512-GmGkX81yyd55Tm34SCOmcOiB0QRwFBHGmZpDRAsks33TBx4efAtT9rKAdtn/oPujx9sha1TqU2s3trnMPVvKyg== + dependencies: + "@protobufs/amino" "^0.0.11" + "@protobufs/confio" "^0.0.6" + "@protobufs/cosmos" "^0.1.0" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@protobufs/tendermint" "^0.0.10" + +"@protobufs/regen@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@protobufs/regen/-/regen-0.1.0.tgz#2c9372d8196027cde3b6ef9ecfaa0c6a55bf8b39" + integrity sha512-of8Wexl4YTzdVyWxoqTvMk7pqf6U8xAtq7/hwtAgh7kMNHAPOkMJ1VEsMnQHLpueDrBfXMoFMlc5oowbZEICuA== + dependencies: + "@protobufs/cosmos" "^0.1.0" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + +"@protobufs/tendermint@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/tendermint/-/tendermint-0.0.10.tgz#816b27410afcecd8b6d403df149f3c2b9b80655e" + integrity sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg== + dependencies: + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@pyramation/json-schema-ref-parser@9.0.6": version "9.0.6" resolved "https://registry.yarnpkg.com/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz#556e416ce7dcc15a3c1afd04d6a059e03ed09aeb" @@ -4221,6 +4183,35 @@ resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.3.2.tgz#31b9c510d8cada9683549e1dbb4284cca5001faf" integrity sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw== +"@sigstore/bundle@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@sigstore/bundle/-/bundle-1.1.0.tgz#17f8d813b09348b16eeed66a8cf1c3d6bd3d04f1" + integrity sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog== + dependencies: + "@sigstore/protobuf-specs" "^0.2.0" + +"@sigstore/protobuf-specs@^0.2.0": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz#be9ef4f3c38052c43bd399d3f792c97ff9e2277b" + integrity sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A== + +"@sigstore/sign@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@sigstore/sign/-/sign-1.0.0.tgz#6b08ebc2f6c92aa5acb07a49784cb6738796f7b4" + integrity sha512-INxFVNQteLtcfGmcoldzV6Je0sbbfh9I16DM4yJPw3j5+TFP8X6uIiA18mvpEa9yyeycAKgPmOA3X9hVdVTPUA== + dependencies: + "@sigstore/bundle" "^1.1.0" + "@sigstore/protobuf-specs" "^0.2.0" + make-fetch-happen "^11.0.1" + +"@sigstore/tuf@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@sigstore/tuf/-/tuf-1.0.3.tgz#2a65986772ede996485728f027b0514c0b70b160" + integrity sha512-2bRovzs0nJZFlCN3rXirE4gwxCn97JNjMmwpecqlbgV9WcxX7WRuIrgzx/X7Ib7MYRbyUTpBYE0s2x6AmZXnlg== + dependencies: + "@sigstore/protobuf-specs" "^0.2.0" + tuf-js "^1.1.7" + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -4231,6 +4222,11 @@ resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.25.24.tgz#8c7688559979f7079aacaf31aa881c3aa410b718" integrity sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ== +"@sinclair/typebox@^0.27.8": + version "0.27.8" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" + integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== + "@sinonjs/commons@^1.7.0": version "1.8.6" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9" @@ -4238,6 +4234,20 @@ dependencies: type-detect "4.0.8" +"@sinonjs/commons@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" + integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ== + dependencies: + type-detect "4.0.8" + +"@sinonjs/fake-timers@^10.0.2": + version "10.3.0" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66" + integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== + dependencies: + "@sinonjs/commons" "^3.0.0" + "@sinonjs/fake-timers@^8.0.1": version "8.1.0" resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz#3fdc2b6cb58935b21bfb8d1625eb1300484316e7" @@ -4406,11 +4416,49 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== +"@tootallnate/once@2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" + integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== + "@trysound/sax@0.2.0": version "0.2.0" resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== +"@tsconfig/node10@^1.0.7": + 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" + resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" + integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== + +"@tsconfig/node14@^1.0.0": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" + integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== + +"@tsconfig/node16@^1.0.2": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9" + integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== + +"@tufjs/canonical-json@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz#eade9fd1f537993bc1f0949f3aea276ecc4fab31" + integrity sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ== + +"@tufjs/models@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@tufjs/models/-/models-1.0.4.tgz#5a689630f6b9dbda338d4b208019336562f176ef" + integrity sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A== + dependencies: + "@tufjs/canonical-json" "1.0.0" + minimatch "^9.0.0" + "@types/aria-query@^5.0.1": version "5.0.1" resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-5.0.1.tgz#3286741fb8f1e1580ac28784add4c7a1d49bdfbc" @@ -4525,7 +4573,7 @@ "@types/qs" "*" "@types/serve-static" "*" -"@types/glob@^7.1.1", "@types/glob@^7.1.3": +"@types/glob@^7.1.3": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== @@ -4576,13 +4624,6 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest-expect-message@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@types/jest-expect-message/-/jest-expect-message-1.1.0.tgz#34947da81c92b7fc4c7a41bbd5088b4f97ad2717" - integrity sha512-PbmZ6pTBpJTzj7KdGP8l8qTyf6RA5BVWg0C51XjCb0GuifXVcu3jAR6+U/W47nmE5S3tLPPEo70UcuhSlSS1hg== - dependencies: - jest-expect-message "*" - "@types/jest@*", "@types/jest@^29.5.2": version "29.5.2" resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.2.tgz#86b4afc86e3a8f3005b297ed8a72494f89e6395b" @@ -4591,15 +4632,15 @@ expect "^29.0.0" pretty-format "^29.0.0" -"@types/jest@27.0.3": - version "27.0.3" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.0.3.tgz#0cf9dfe9009e467f70a342f0f94ead19842a783a" - integrity sha512-cmmwv9t7gBYt7hNKH5Spu7Kuu/DotGa+Ff+JGRKZ4db5eh8PnKS4LuebJ3YLUoyOyIHraTGyULn23YtEAm0VSg== +"@types/jest@^29.5.11": + version "29.5.13" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc" + integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg== dependencies: - jest-diff "^27.0.0" - pretty-format "^27.0.0" + expect "^29.0.0" + pretty-format "^29.0.0" -"@types/json-schema@*", "@types/json-schema@^7.0.11", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.7", "@types/json-schema@^7.0.8": +"@types/json-schema@*", "@types/json-schema@^7.0.11", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== @@ -4639,6 +4680,11 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== +"@types/minimatch@^3.0.3": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" + integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== + "@types/minimist@^1.2.0": version "1.2.2" resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" @@ -4649,16 +4695,18 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-20.1.2.tgz#8fd63447e3f99aba6c3168fd2ec4580d5b97886f" integrity sha512-CTO/wa8x+rZU626cL2BlbCDzydgnFNgc19h4YvizpTO88MFQxab8wqisxaofQJ/9bLGugRdWIuX/TbIs6VVF6g== -"@types/node@>= 8": - version "20.3.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.3.3.tgz#329842940042d2b280897150e023e604d11657d6" - integrity sha512-wheIYdr4NYML61AjC8MKj/2jrR/kDQri/CIpVoZwldwhnIrD/j9jIU5bJ8yBKuB2VhpFV7Ab6G2XkBjv9r9Zzw== - "@types/node@^18.16.18": version "18.16.18" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.16.18.tgz#85da09bafb66d4bc14f7c899185336d0c1736390" integrity sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw== +"@types/node@^20.12.7": + version "20.16.9" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.16.9.tgz#1217c6cc77c4f3aaf4a6c76fb56b790e81e48120" + integrity sha512-rkvIVJxsOfBejxK7I0FO5sa2WxFmJCzoDwcd88+fq/CUfynNywTo/1/T6hyFz22CyztsnLS9nVlHOnTI36RH5w== + dependencies: + undici-types "~6.19.2" + "@types/normalize-package-data@^2.4.0": version "2.4.1" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" @@ -4802,13 +4850,6 @@ resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== -"@types/yargs@^15.0.0": - version "15.0.15" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.15.tgz#e609a2b1ef9e05d90489c2f5f45bbfb2be092158" - integrity sha512-IziEYMU9XoVj8hWg7k+UJrXALkGFjWJhn5QFEv9q4p+v40oZhSuC135M38st8XPjICL7Ey4TV64ferBGUoJhBg== - dependencies: - "@types/yargs-parser" "*" - "@types/yargs@^16.0.0": version "16.0.5" resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.5.tgz#12cc86393985735a283e387936398c2f9e5f88e3" @@ -4823,20 +4864,6 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^4.5.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.33.0.tgz#c24dc7c8069c7706bc40d99f6fa87edcb2005276" - integrity sha512-aINiAxGVdOl1eJyVjaWn/YcVAq4Gi/Yo35qHGCnqbWVz61g39D0h23veY/MA0rFFGfxK7TySg2uwDeNv+JgVpg== - dependencies: - "@typescript-eslint/experimental-utils" "4.33.0" - "@typescript-eslint/scope-manager" "4.33.0" - debug "^4.3.1" - functional-red-black-tree "^1.0.1" - ignore "^5.1.8" - regexpp "^3.1.0" - semver "^7.3.5" - tsutils "^3.21.0" - "@typescript-eslint/eslint-plugin@^5.5.0": version "5.60.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.60.1.tgz#81382d6ecb92b8dda70e91f9035611cb2fecd1c3" @@ -4853,17 +4880,20 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz#6f2a786a4209fa2222989e9380b5331b2810f7fd" - integrity sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q== +"@typescript-eslint/eslint-plugin@^7.10.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz#b16d3cf3ee76bf572fdf511e79c248bdec619ea3" + integrity sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw== dependencies: - "@types/json-schema" "^7.0.7" - "@typescript-eslint/scope-manager" "4.33.0" - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/typescript-estree" "4.33.0" - eslint-scope "^5.1.1" - eslint-utils "^3.0.0" + "@eslint-community/regexpp" "^4.10.0" + "@typescript-eslint/scope-manager" "7.18.0" + "@typescript-eslint/type-utils" "7.18.0" + "@typescript-eslint/utils" "7.18.0" + "@typescript-eslint/visitor-keys" "7.18.0" + graphemer "^1.4.0" + ignore "^5.3.1" + natural-compare "^1.4.0" + ts-api-utils "^1.3.0" "@typescript-eslint/experimental-utils@^5.0.0": version "5.60.1" @@ -4872,16 +4902,6 @@ dependencies: "@typescript-eslint/utils" "5.60.1" -"@typescript-eslint/parser@^4.5.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.33.0.tgz#dfe797570d9694e560528d18eecad86c8c744899" - integrity sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA== - dependencies: - "@typescript-eslint/scope-manager" "4.33.0" - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/typescript-estree" "4.33.0" - debug "^4.3.1" - "@typescript-eslint/parser@^5.5.0": version "5.60.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.60.1.tgz#0f2f58209c0862a73e3d5a56099abfdfa21d0fd3" @@ -4892,13 +4912,16 @@ "@typescript-eslint/typescript-estree" "5.60.1" debug "^4.3.4" -"@typescript-eslint/scope-manager@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.33.0.tgz#d38e49280d983e8772e29121cf8c6e9221f280a3" - integrity sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ== +"@typescript-eslint/parser@^7.10.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.18.0.tgz#83928d0f1b7f4afa974098c64b5ce6f9051f96a0" + integrity sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg== dependencies: - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/visitor-keys" "4.33.0" + "@typescript-eslint/scope-manager" "7.18.0" + "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/typescript-estree" "7.18.0" + "@typescript-eslint/visitor-keys" "7.18.0" + debug "^4.3.4" "@typescript-eslint/scope-manager@5.60.1": version "5.60.1" @@ -4908,6 +4931,14 @@ "@typescript-eslint/types" "5.60.1" "@typescript-eslint/visitor-keys" "5.60.1" +"@typescript-eslint/scope-manager@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz#c928e7a9fc2c0b3ed92ab3112c614d6bd9951c83" + integrity sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA== + dependencies: + "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/visitor-keys" "7.18.0" + "@typescript-eslint/type-utils@5.60.1": version "5.60.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.60.1.tgz#17770540e98d65ab4730c7aac618003f702893f4" @@ -4918,33 +4949,25 @@ debug "^4.3.4" tsutils "^3.21.0" -"@typescript-eslint/types@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" - integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== +"@typescript-eslint/type-utils@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz#2165ffaee00b1fbbdd2d40aa85232dab6998f53b" + integrity sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA== + dependencies: + "@typescript-eslint/typescript-estree" "7.18.0" + "@typescript-eslint/utils" "7.18.0" + debug "^4.3.4" + ts-api-utils "^1.3.0" "@typescript-eslint/types@5.60.1": version "5.60.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.60.1.tgz#a17473910f6b8d388ea83c9d7051af89c4eb7561" integrity sha512-zDcDx5fccU8BA0IDZc71bAtYIcG9PowaOwaD8rjYbqwK7dpe/UMQl3inJ4UtUK42nOCT41jTSCwg76E62JpMcg== -"@typescript-eslint/types@5.61.0": - version "5.61.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.61.0.tgz#e99ff11b5792d791554abab0f0370936d8ca50c0" - integrity sha512-ldyueo58KjngXpzloHUog/h9REmHl59G1b3a5Sng1GfBo14BkS3ZbMEb3693gnP1k//97lh7bKsp6/V/0v1veQ== - -"@typescript-eslint/typescript-estree@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz#0dfb51c2908f68c5c08d82aefeaf166a17c24609" - integrity sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA== - dependencies: - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/visitor-keys" "4.33.0" - debug "^4.3.1" - globby "^11.0.3" - is-glob "^4.0.1" - semver "^7.3.5" - tsutils "^3.21.0" +"@typescript-eslint/types@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.18.0.tgz#b90a57ccdea71797ffffa0321e744f379ec838c9" + integrity sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ== "@typescript-eslint/typescript-estree@5.60.1": version "5.60.1" @@ -4959,18 +4982,19 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/typescript-estree@^5.37.0": - version "5.61.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.61.0.tgz#4c7caca84ce95bb41aa585d46a764bcc050b92f3" - integrity sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw== +"@typescript-eslint/typescript-estree@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz#b5868d486c51ce8f312309ba79bdb9f331b37931" + integrity sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA== dependencies: - "@typescript-eslint/types" "5.61.0" - "@typescript-eslint/visitor-keys" "5.61.0" + "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/visitor-keys" "7.18.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^1.3.0" "@typescript-eslint/utils@5.60.1", "@typescript-eslint/utils@^5.58.0": version "5.60.1" @@ -4986,13 +5010,15 @@ eslint-scope "^5.1.1" semver "^7.3.7" -"@typescript-eslint/visitor-keys@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz#2a22f77a41604289b7a186586e9ec48ca92ef1dd" - integrity sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg== +"@typescript-eslint/utils@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.18.0.tgz#bca01cde77f95fc6a8d5b0dbcbfb3d6ca4be451f" + integrity sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw== dependencies: - "@typescript-eslint/types" "4.33.0" - eslint-visitor-keys "^2.0.0" + "@eslint-community/eslint-utils" "^4.4.0" + "@typescript-eslint/scope-manager" "7.18.0" + "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/typescript-estree" "7.18.0" "@typescript-eslint/visitor-keys@5.60.1": version "5.60.1" @@ -5002,13 +5028,18 @@ "@typescript-eslint/types" "5.60.1" eslint-visitor-keys "^3.3.0" -"@typescript-eslint/visitor-keys@5.61.0": - version "5.61.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.61.0.tgz#c79414fa42158fd23bd2bb70952dc5cdbb298140" - integrity sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg== +"@typescript-eslint/visitor-keys@7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz#0564629b6124d67607378d0f0332a0495b25e7d7" + integrity sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg== dependencies: - "@typescript-eslint/types" "5.61.0" - eslint-visitor-keys "^3.3.0" + "@typescript-eslint/types" "7.18.0" + eslint-visitor-keys "^3.4.3" + +"@ungap/structured-clone@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== "@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": version "1.11.6" @@ -5141,16 +5172,27 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== -"@zkochan/cmd-shim@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e" - integrity sha512-o8l0+x7C7sMZU3v9GuJIAU10qQLtwR1dtRQIOmlNMtyaqhmpXOzx1HWiYoWfmmf9HHZoAkXpc9TM9PQYF9d4Jg== +"@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + +"@yarnpkg/parsers@3.0.0-rc.46": + version "3.0.0-rc.46" + resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz#03f8363111efc0ea670e53b0282cd3ef62de4e01" + integrity sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q== + dependencies: + js-yaml "^3.10.0" + tslib "^2.4.0" + +"@zkochan/js-yaml@0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz#975f0b306e705e28b8068a07737fa46d3fc04826" + integrity sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg== dependencies: - is-windows "^1.0.0" - mkdirp-promise "^5.0.1" - mz "^2.5.0" + argparse "^2.0.1" -JSONStream@^1.0.4, JSONStream@^1.3.4: +JSONStream@^1.0.4: version "1.3.5" resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== @@ -5163,11 +5205,16 @@ abab@^2.0.3, abab@^2.0.5: resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== -abbrev@1: +abbrev@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== +abbrev@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf" + integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== + accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: version "1.3.8" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" @@ -5189,7 +5236,7 @@ acorn-import-assertions@^1.9.0: resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== -acorn-jsx@^5.3.1, acorn-jsx@^5.3.2: +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== @@ -5199,11 +5246,23 @@ acorn-walk@^7.1.1: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== -acorn@^7.1.1, acorn@^7.4.0: +acorn-walk@^8.1.1: + 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@^7.1.1: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== +acorn@^8.11.0, acorn@^8.4.1, acorn@^8.9.0: + version "8.12.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" + integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== + acorn@^8.2.4: version "8.8.2" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" @@ -5214,6 +5273,11 @@ acorn@^8.7.1, acorn@^8.8.0, acorn@^8.8.2: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.9.0.tgz#78a16e3b2bcc198c10822786fa6679e245db5b59" integrity sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ== +add-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" + integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== + address@^1.0.1, address@^1.1.2: version "1.2.2" resolved "https://registry.yarnpkg.com/address/-/address-1.2.2.tgz#2b5248dac5485a6390532c6a517fda2e3faac89e" @@ -5227,33 +5291,27 @@ adjust-sourcemap-loader@^4.0.0: loader-utils "^2.0.0" regex-parser "^2.2.11" -agent-base@4, agent-base@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" - integrity sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg== - dependencies: - es6-promisify "^5.0.0" - -agent-base@6: +agent-base@6, agent-base@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== dependencies: debug "4" -agent-base@~4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9" - integrity sha512-JVwXMr9nHYTUXsBFKUqhJwvlcYU/blreOEUkhNR2eXZIvwd+c+o5V4MgDPKWnMS/56awN3TRzIP+KoPn+roQtg== +agentkeepalive@^4.2.1: + version "4.5.0" + resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" + integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== dependencies: - es6-promisify "^5.0.0" + humanize-ms "^1.2.1" -agentkeepalive@^3.4.1: - version "3.5.2" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67" - integrity sha512-e0L/HNe6qkQ7H19kTlRRqUibEAwDK5AFk6y3PtMsuut2VAH6+Q4xZml1tNDJD7kSAyqmbG/K08K5WEJYtUrSlQ== +aggregate-error@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" + integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== dependencies: - humanize-ms "^1.2.1" + clean-stack "^2.0.0" + indent-string "^4.0.0" ajv-formats@^2.1.1: version "2.1.1" @@ -5274,7 +5332,7 @@ ajv-keywords@^5.1.0: dependencies: fast-deep-equal "^3.1.3" -ajv@^6.10.0, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: +ajv@^6.10.0, ajv@^6.12.2, ajv@^6.12.4, ajv@^6.12.5: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -5284,7 +5342,7 @@ ajv@^6.10.0, ajv@^6.12.2, ajv@^6.12.3, ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.0.0, ajv@^8.0.1, ajv@^8.6.0, ajv@^8.9.0: +ajv@^8.0.0, ajv@^8.6.0, ajv@^8.9.0: version "8.12.0" resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== @@ -5351,7 +5409,7 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== -ansi-styles@^3.2.0, ansi-styles@^3.2.1: +ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== @@ -5388,23 +5446,28 @@ anymatch@^3.0.3, anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" -aproba@^1.0.3, aproba@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -aproba@^2.0.0: +"aproba@^1.0.3 || ^2.0.0", aproba@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -are-we-there-yet@~1.1.2: - version "1.1.7" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146" - integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g== +are-we-there-yet@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" + integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== dependencies: delegates "^1.0.0" - readable-stream "^2.0.6" + readable-stream "^3.6.0" + +are-we-there-yet@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-4.0.2.tgz#aed25dd0eae514660d49ac2b2366b175c614785a" + integrity sha512-ncSWAawFhKMJDTdoAeOV+jyW1VCMj5QIAwULIBV0SSR7B/RLPPEQiknKcg/RIIZlUQrxELpsxMiTUoAQ4sIUyg== + +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== arg@^5.0.2: version "5.0.2" @@ -5430,21 +5493,6 @@ aria-query@5.1.3, aria-query@^5.0.0, aria-query@^5.1.3: dependencies: deep-equal "^2.0.5" -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA== - -arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== - array-buffer-byte-length@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" @@ -5453,15 +5501,10 @@ array-buffer-byte-length@^1.0.0: call-bind "^1.0.2" is-array-buffer "^3.0.1" -array-differ@^2.0.3: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1" - integrity sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w== - -array-find-index@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" - integrity sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw== +array-differ@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" + integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== array-flatten@1.1.1: version "1.1.1" @@ -5489,28 +5532,11 @@ array-includes@^3.1.5, array-includes@^3.1.6: get-intrinsic "^1.1.3" is-string "^1.0.7" -array-union@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" - integrity sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng== - dependencies: - array-uniq "^1.0.1" - array-union@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array-uniq@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" - integrity sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q== - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== - array.prototype.flat@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz#ffc6576a7ca3efc2f46a143b9d1dda9b4b3cf5e2" @@ -5558,7 +5584,12 @@ arrify@^1.0.1: resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== -asap@^2.0.0, asap@~2.0.6: +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + +asap@~2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== @@ -5573,23 +5604,6 @@ asn1.js@^5.2.0: minimalistic-assert "^1.0.0" safer-buffer "^2.1.0" -asn1@~0.2.3: - version "0.2.6" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" - integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== - ast-stringify@0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/ast-stringify/-/ast-stringify-0.1.0.tgz#5c6439fbfb4513dcc26c7d34464ccd084ed91cb7" @@ -5602,11 +5616,6 @@ ast-types-flow@^0.0.7: resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" integrity sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag== -astral-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" - integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== - async@^3.2.3: version "3.2.4" resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" @@ -5622,16 +5631,6 @@ at-least-node@^1.0.0: resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== -atob-lite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696" - integrity sha512-LEeSAWeh2Gfa2FtlQE1shxQ8zi5F9GHarrGKz08TMdODD5T4eH6BMsvtnhbWZ+XQn+Gb6om/917ucvRu7l7ukw== - -atob@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - autoprefixer@^10.4.13: version "10.4.14" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.14.tgz#e28d49902f8e759dd25b153264e862df2705f79d" @@ -5649,27 +5648,17 @@ available-typed-arrays@^1.0.5: resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== - -aws4@^1.8.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.12.0.tgz#ce1c9d143389679e253b314241ea9aa5cec980d3" - integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== - axe-core@^4.6.2: version "4.7.0" resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf" integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ== -axios@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.0.tgz#f1e5292f26b2fd5c2e66876adc5b06cdbd7d2102" - integrity sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg== +axios@1.7.4: + version "1.7.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.4.tgz#4c8ded1b43683c8dd362973c393f3ede24052aa2" + integrity sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw== dependencies: - follow-redirects "^1.15.0" + follow-redirects "^1.15.6" form-data "^4.0.0" proxy-from-env "^1.1.0" @@ -5680,6 +5669,15 @@ axios@^0.21.2: dependencies: follow-redirects "^1.14.0" +axios@^1.0.0: + version "1.7.7" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" + integrity sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q== + dependencies: + follow-redirects "^1.15.6" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + axobject-query@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.1.1.tgz#3b6e5c6d4e43ca7ba51c5babf99d22a9c68485e1" @@ -5687,11 +5685,6 @@ axobject-query@^3.1.1: dependencies: deep-equal "^2.0.5" -babel-core@7.0.0-bridge.0: - version "7.0.0-bridge.0" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece" - integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg== - babel-jest@^27.4.2, babel-jest@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.5.1.tgz#a1bf8d61928edfefd21da27eb86a695bfd691444" @@ -5706,6 +5699,19 @@ babel-jest@^27.4.2, babel-jest@^27.5.1: graceful-fs "^4.2.9" slash "^3.0.0" +babel-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" + integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== + dependencies: + "@jest/transform" "^29.7.0" + "@types/babel__core" "^7.1.14" + babel-plugin-istanbul "^6.1.1" + babel-preset-jest "^29.6.3" + chalk "^4.0.0" + graceful-fs "^4.2.9" + slash "^3.0.0" + babel-loader@^8.2.3: version "8.3.0" resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.3.0.tgz#124936e841ba4fe8176786d6ff28add1f134d6a8" @@ -5737,6 +5743,16 @@ babel-plugin-jest-hoist@^27.5.1: "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" +babel-plugin-jest-hoist@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626" + integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg== + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.1.14" + "@types/babel__traverse" "^7.0.6" + babel-plugin-macros@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" @@ -5838,6 +5854,14 @@ babel-preset-jest@^27.5.1: babel-plugin-jest-hoist "^27.5.1" babel-preset-current-node-syntax "^1.0.0" +babel-preset-jest@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz#fa05fa510e7d493896d7b0dd2033601c840f171c" + integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA== + dependencies: + babel-plugin-jest-hoist "^29.6.3" + babel-preset-current-node-syntax "^1.0.0" + babel-preset-react-app@^10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/babel-preset-react-app/-/babel-preset-react-app-10.0.1.tgz#ed6005a20a24f2c88521809fa9aea99903751584" @@ -5860,22 +5884,6 @@ babel-preset-react-app@^10.0.1: babel-plugin-macros "^3.1.0" babel-plugin-transform-react-remove-prop-types "^0.4.24" -babel-watch@^7.8.0: - version "7.8.0" - resolved "https://registry.yarnpkg.com/babel-watch/-/babel-watch-7.8.0.tgz#19c819d7edf1a5e00a7378f83606a598dff01b55" - integrity sha512-Cw3l6cvkKyUFdxsPtleeuIzV7gmXRSc1IFxcrwSlWQ1ubs8ofAk1weKPiPKiX7NeQcf7AMR8qmdgbUqTjtEU9w== - dependencies: - chalk "^4.1.0" - chokidar "^3.4.3" - commander "^6.2.0" - debug "^4.3.1" - lodash.debounce "^4.0.8" - lodash.isregexp "^4.0.1" - lodash.isstring "^4.0.1" - signal-exit "^4.0.2" - source-map-support "^0.5.19" - string-argv "^0.3.2" - balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -5886,37 +5894,17 @@ base64-js@^1.3.0, base64-js@^1.3.1: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - batch@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== - dependencies: - tweetnacl "^0.14.3" - bech32@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== -before-after-hook@^2.0.0: +before-after-hook@^2.2.0: version "2.2.3" resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== @@ -5936,12 +5924,31 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== +bin-links@^4.0.1: + version "4.0.4" + resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-4.0.4.tgz#c3565832b8e287c85f109a02a17027d152a58a63" + integrity sha512-cMtq4W5ZsEwcutJrVId+a/tjt8GSbS+h0oNkdl6+6rBuEv8Ot33Bevj5KPm40t309zuhVic8NjpuL42QCiJWWA== + dependencies: + cmd-shim "^6.0.0" + npm-normalize-package-bin "^3.0.0" + read-cmd-shim "^4.0.0" + write-file-atomic "^5.0.0" + 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== -bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5: +bl@^4.0.3, bl@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + +bluebird@^3.5.5: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== @@ -6004,22 +6011,6 @@ brace-expansion@^2.0.1: dependencies: balanced-match "^1.0.0" -braces@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - braces@^3.0.2, braces@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" @@ -6111,7 +6102,17 @@ browserslist@^4.14.5, browserslist@^4.18.1, browserslist@^4.21.4: node-releases "^2.0.12" update-browserslist-db "^1.0.11" -bs-logger@0.x: +browserslist@^4.23.1: + version "4.24.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.0.tgz#a1325fe4bc80b64fda169629fc01b3d6cecd38d4" + integrity sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A== + dependencies: + caniuse-lite "^1.0.30001663" + electron-to-chromium "^1.5.28" + node-releases "^2.0.18" + update-browserslist-db "^1.1.0" + +bs-logger@^0.2.6: version "0.2.6" resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== @@ -6125,12 +6126,7 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" -btoa-lite@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337" - integrity sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA== - -buffer-from@1.x, buffer-from@^1.0.0: +buffer-from@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== @@ -6140,6 +6136,14 @@ buffer-xor@^1.0.3: resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== +buffer@^5.5.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + "buffer@npm:buffer@6.0.3": version "6.0.3" resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" @@ -6158,15 +6162,17 @@ builtins@^1.0.3: resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== -byline@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1" - integrity sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q== +builtins@^5.0.0: + 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" -byte-size@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191" - integrity sha512-/XuKeqWocKsYa/cBY1YbSJSWWqTi4cFgr9S6OyM7PBaPbr9zvNGwWP33vt0uqGhwDdN+y3yhbXVILEUpnwEWGw== +byte-size@7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-7.0.0.tgz#36528cd1ca87d39bd9abd51f5715dc93b6ceb032" + integrity sha512-NNiBxKgxybMBtWdmvx7ZITJi4ZG+CYUgwOSZTfqB1qogkRHrhbQE/R2r5Fh94X+InN5MCYz6SvB/ejHMj/HbsQ== bytes@3.0.0: version "3.0.0" @@ -6178,41 +6184,47 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -cacache@^12.0.0, cacache@^12.0.3: - version "12.0.4" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.4.tgz#668bcbd105aeb5f1d92fe25570ec9525c8faa40c" - integrity sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ== +cacache@^16.1.0: + version "16.1.3" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" + integrity sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ== dependencies: - bluebird "^3.5.5" - chownr "^1.1.1" - figgy-pudding "^3.5.1" - glob "^7.1.4" - graceful-fs "^4.1.15" - infer-owner "^1.0.3" - lru-cache "^5.1.1" - mississippi "^3.0.0" - mkdirp "^0.5.1" - move-concurrently "^1.0.1" + "@npmcli/fs" "^2.1.0" + "@npmcli/move-file" "^2.0.0" + chownr "^2.0.0" + fs-minipass "^2.1.0" + glob "^8.0.1" + infer-owner "^1.0.4" + lru-cache "^7.7.1" + minipass "^3.1.6" + minipass-collect "^1.0.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + mkdirp "^1.0.4" + p-map "^4.0.0" promise-inflight "^1.0.1" - rimraf "^2.6.3" - ssri "^6.0.1" - unique-filename "^1.1.1" - y18n "^4.0.0" - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" + rimraf "^3.0.2" + ssri "^9.0.0" + tar "^6.1.11" + unique-filename "^2.0.0" + +cacache@^17.0.0, cacache@^17.0.4: + version "17.1.4" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-17.1.4.tgz#b3ff381580b47e85c6e64f801101508e26604b35" + integrity sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A== + dependencies: + "@npmcli/fs" "^3.1.0" + fs-minipass "^3.0.0" + glob "^10.2.2" + lru-cache "^7.7.1" + minipass "^7.0.3" + minipass-collect "^1.0.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + p-map "^4.0.0" + ssri "^10.0.0" + tar "^6.1.11" + unique-filename "^3.0.0" call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" @@ -6227,25 +6239,6 @@ call-me-maybe@^1.0.1: resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz#03f964f19522ba643b1b0693acb9152fe2074baa" integrity sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ== -caller-callsite@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" - integrity sha512-JuG3qI4QOftFsZyOn1qq87fq5grLIyk1JYd5lJmdA+fG7aQ9pA/i3JIJGcO3q0MrRcHlOt1U+ZeHW8Dq9axALQ== - dependencies: - callsites "^2.0.0" - -caller-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" - integrity sha512-MCL3sf6nCSXOwCTzvPKhN18TU7AHTvdtam8DAogxcrJ8Rjfbbg7Lgng64H9Iy+vUV6VGFClN/TyxBkAebLRR4A== - dependencies: - caller-callsite "^2.0.0" - -callsites@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" - integrity sha512-ksWePWBloaWPxJYQ8TL0JHvtci6G5QTKwQ95RcWAa/lzoAKuAOflGdAK92hpHXjkwb8zLxoLNUoNYZgVsaJzvQ== - callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -6264,23 +6257,6 @@ camelcase-css@^2.0.1: resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== -camelcase-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" - integrity sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ== - dependencies: - camelcase "^2.0.0" - map-obj "^1.0.0" - -camelcase-keys@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77" - integrity sha512-Ej37YKYbFUI8QiYlvj9YHb6/Z60dZyPJW0Cs8sFilMbd2lP0bw3ylAq9yJkK4lcTA2dID5fG8LjmJYbO7kWb7Q== - dependencies: - camelcase "^4.1.0" - map-obj "^2.0.0" - quick-lru "^1.0.0" - camelcase-keys@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" @@ -6290,17 +6266,7 @@ camelcase-keys@^6.2.2: map-obj "^4.0.0" quick-lru "^4.0.1" -camelcase@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" - integrity sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw== - -camelcase@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" - integrity sha512-FxAv7HpHrXbh3aPo4o2qxHay2lkLY3x5Mw3KeE4KQE8ysVfziWeRZDwcjauvwBSGEC/nXUPzZy8zeh4HokqOnw== - -camelcase@^5.0.0, camelcase@^5.3.1: +camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== @@ -6330,6 +6296,11 @@ caniuse-lite@^1.0.30001464, caniuse-lite@^1.0.30001503: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001509.tgz#2b7ad5265392d6d2de25cd8776d1ab3899570d14" integrity sha512-2uDDk+TRiTX5hMcUYT/7CSyzMZxjfGu0vAUjS2g0LSD8UoXOv0LtpH4LxGMemsiPq6LCVIUjNwVM0erkOkGCDA== +caniuse-lite@^1.0.30001663: + version "1.0.30001664" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001664.tgz#d588d75c9682d3301956b05a3749652a80677df4" + integrity sha512-AmE7k4dXiNKQipgn7a2xg558IRqPN3jMQY/rOsbxDhrd0tyChwbITBfiwtnqz8bi2M5mIWbxAYBvk7W7QBUS2g== + case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz#db64066c6422eed2e08cc14b986ca43796dbc6d4" @@ -6340,10 +6311,21 @@ case@1.6.3: resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== +chalk@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@4.1.2, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" @@ -6356,7 +6338,7 @@ chalk@^1.0.0, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -6373,14 +6355,6 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - char-regex@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" @@ -6406,7 +6380,7 @@ check-types@^11.1.1: resolved "https://registry.yarnpkg.com/check-types/-/check-types-11.2.2.tgz#7afc0b6a860d686885062f2dba888ba5710335b4" integrity sha512-HBiYvXvn9Z70Z88XKjz3AEKd4HJhBXsa3j7xFnITAzoS8+q6eIGi8qDB8FKPBAjtuxjI/zFpwuiCb8oDtKOYrA== -chokidar@^3.4.0, chokidar@^3.4.2, chokidar@^3.4.3, chokidar@^3.5.3: +chokidar@^3.4.2, chokidar@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -6421,10 +6395,10 @@ chokidar@^3.4.0, chokidar@^3.4.2, chokidar@^3.4.3, chokidar@^3.5.3: optionalDependencies: fsevents "~2.3.2" -chownr@^1.1.1, chownr@^1.1.2, chownr@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== +chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== chrome-trace-event@^1.0.2: version "1.0.3" @@ -6441,6 +6415,11 @@ ci-info@^3.2.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== +ci-info@^3.6.1: + version "3.9.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -6454,16 +6433,6 @@ cjs-module-lexer@^1.0.0: resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107" integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ== -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - clean-css@^5.2.2: version "5.3.2" resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.2.tgz#70ecc7d4d4114921f5d298349ff86a31a9975224" @@ -6471,6 +6440,11 @@ clean-css@^5.2.2: dependencies: source-map "~0.6.0" +clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + cli-color@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/cli-color/-/cli-color-2.0.3.tgz#73769ba969080629670f3f2ef69a4bf4e7cc1879" @@ -6482,6 +6456,13 @@ cli-color@^2.0.2: memoizee "^0.4.15" timers-ext "^0.1.7" +cli-cursor@3.1.0, cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -6489,19 +6470,25 @@ cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" +cli-spinners@2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" + integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== + +cli-spinners@^2.5.0: + version "2.9.2" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41" + integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== + cli-width@^2.0.0: version "2.2.1" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== -cliui@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" - integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== - dependencies: - string-width "^3.1.0" - strip-ansi "^5.2.0" - wrap-ansi "^5.1.0" +cli-width@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" + integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== cliui@^7.0.2: version "7.0.4" @@ -6512,7 +6499,16 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -clone-deep@^4.0.1: +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + +clone-deep@4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== @@ -6526,6 +6522,18 @@ clone@^1.0.2: resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== +cmd-shim@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-5.0.0.tgz#8d0aaa1a6b0708630694c4dbde070ed94c707724" + integrity sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw== + dependencies: + mkdirp-infer-owner "^2.0.0" + +cmd-shim@^6.0.0: + version "6.0.3" + resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-6.0.3.tgz#c491e9656594ba17ac83c4bd931590a9d6e26033" + integrity sha512-FMabTRlc5t5zjdenF6mS0MBeFZm0XqHqeOkcskKFb/LYCcRQ5fVgLOHVc4Lq9CqABd9zhjwPjMBCJvMCziSVtA== + co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" @@ -6540,24 +6548,11 @@ coa@^2.0.2: chalk "^2.4.1" q "^1.1.2" -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== - collect-v8-coverage@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw== - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - color-convert@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" @@ -6582,6 +6577,11 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== +color-support@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" + integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== + colord@^2.9.1: version "2.9.3" resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" @@ -6597,7 +6597,7 @@ colors@^1.1.2: resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== -columnify@^1.5.4: +columnify@1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== @@ -6605,7 +6605,7 @@ columnify@^1.5.4: strip-ansi "^6.0.1" wcwidth "^1.0.0" -combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: +combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== @@ -6617,16 +6617,11 @@ commander@^2.20.0: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -commander@^4.0.0, commander@^4.0.1: +commander@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== -commander@^6.2.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" - integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== - commander@^7.2.0: version "7.2.0" resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" @@ -6637,6 +6632,11 @@ commander@^8.3.0: resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== +common-ancestor-path@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" + integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== + common-path-prefix@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" @@ -6660,11 +6660,6 @@ compare-func@^2.0.0: array-ify "^1.0.0" dot-prop "^5.1.0" -component-emitter@^1.2.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" - integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== - compressible@~2.0.16: version "2.0.18" resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" @@ -6690,16 +6685,6 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concat-stream@^1.5.0: - version "1.6.2" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" - integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^2.2.2" - typedarray "^0.0.6" - concat-stream@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1" @@ -6710,10 +6695,10 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -config-chain@^1.1.11: - version "1.1.13" - resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" - integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== +config-chain@1.1.12: + version "1.1.12" + resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" + integrity sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA== dependencies: ini "^1.3.4" proto-list "~1.2.1" @@ -6728,7 +6713,7 @@ connect-history-api-fallback@^2.0.0: resolved "https://registry.yarnpkg.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== -console-control-strings@^1.0.0, console-control-strings@~1.1.0: +console-control-strings@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== @@ -6745,47 +6730,47 @@ content-type@~1.0.4: resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== -conventional-changelog-angular@^5.0.3: - version "5.0.13" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz#896885d63b914a70d4934b59d2fe7bde1832b28c" - integrity sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA== +conventional-changelog-angular@5.0.12: + version "5.0.12" + resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz#c979b8b921cbfe26402eb3da5bbfda02d865a2b9" + integrity sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw== dependencies: compare-func "^2.0.0" q "^1.5.1" -conventional-changelog-core@^3.1.6: - version "3.2.3" - resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-3.2.3.tgz#b31410856f431c847086a7dcb4d2ca184a7d88fb" - integrity sha512-LMMX1JlxPIq/Ez5aYAYS5CpuwbOk6QFp8O4HLAcZxe3vxoCtABkhfjetk8IYdRB9CDQGwJFLR3Dr55Za6XKgUQ== +conventional-changelog-core@4.2.4: + version "4.2.4" + resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz#e50d047e8ebacf63fac3dc67bf918177001e1e9f" + integrity sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg== dependencies: - conventional-changelog-writer "^4.0.6" - conventional-commits-parser "^3.0.3" + add-stream "^1.0.0" + conventional-changelog-writer "^5.0.0" + conventional-commits-parser "^3.2.0" dateformat "^3.0.0" - get-pkg-repo "^1.0.0" - git-raw-commits "2.0.0" + get-pkg-repo "^4.0.0" + git-raw-commits "^2.0.8" git-remote-origin-url "^2.0.0" - git-semver-tags "^2.0.3" - lodash "^4.2.1" - normalize-package-data "^2.3.5" + git-semver-tags "^4.1.1" + lodash "^4.17.15" + normalize-package-data "^3.0.0" q "^1.5.1" read-pkg "^3.0.0" read-pkg-up "^3.0.0" - through2 "^3.0.0" + through2 "^4.0.0" -conventional-changelog-preset-loader@^2.1.1: +conventional-changelog-preset-loader@^2.3.4: version "2.3.4" resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz#14a855abbffd59027fd602581f1f34d9862ea44c" integrity sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g== -conventional-changelog-writer@^4.0.6: - version "4.1.0" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-4.1.0.tgz#1ca7880b75aa28695ad33312a1f2366f4b12659f" - integrity sha512-WwKcUp7WyXYGQmkLsX4QmU42AZ1lqlvRW9mqoyiQzdD+rJWbTepdWoKJuwXTS+yq79XKnQNa93/roViPQrAQgw== +conventional-changelog-writer@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz#e0757072f045fe03d91da6343c843029e702f359" + integrity sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ== dependencies: - compare-func "^2.0.0" conventional-commits-filter "^2.0.7" dateformat "^3.0.0" - handlebars "^4.7.6" + handlebars "^4.7.7" json-stringify-safe "^5.0.1" lodash "^4.17.15" meow "^8.0.0" @@ -6793,7 +6778,7 @@ conventional-changelog-writer@^4.0.6: split "^1.0.0" through2 "^4.0.0" -conventional-commits-filter@^2.0.2, conventional-commits-filter@^2.0.7: +conventional-commits-filter@^2.0.7: version "2.0.7" resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz#f8d9b4f182fce00c9af7139da49365b136c8a0b3" integrity sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA== @@ -6801,7 +6786,7 @@ conventional-commits-filter@^2.0.2, conventional-commits-filter@^2.0.7: lodash.ismatch "^4.4.0" modify-values "^1.0.0" -conventional-commits-parser@^3.0.3: +conventional-commits-parser@^3.2.0: version "3.2.4" resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz#a7d3b77758a202a9b2293d2112a8d8052c740972" integrity sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q== @@ -6813,25 +6798,30 @@ conventional-commits-parser@^3.0.3: split2 "^3.0.0" through2 "^4.0.0" -conventional-recommended-bump@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-5.0.1.tgz#5af63903947b6e089e77767601cb592cabb106ba" - integrity sha512-RVdt0elRcCxL90IrNP0fYCpq1uGt2MALko0eyeQ+zQuDVWtMGAy9ng6yYn3kax42lCj9+XBxQ8ZN6S9bdKxDhQ== +conventional-recommended-bump@6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz#cfa623285d1de554012f2ffde70d9c8a22231f55" + integrity sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw== dependencies: concat-stream "^2.0.0" - conventional-changelog-preset-loader "^2.1.1" - conventional-commits-filter "^2.0.2" - conventional-commits-parser "^3.0.3" - git-raw-commits "2.0.0" - git-semver-tags "^2.0.3" - meow "^4.0.0" + conventional-changelog-preset-loader "^2.3.4" + conventional-commits-filter "^2.0.7" + conventional-commits-parser "^3.2.0" + git-raw-commits "^2.0.8" + git-semver-tags "^4.1.1" + meow "^8.0.0" q "^1.5.1" -convert-source-map@^1.1.0, convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + cookie-signature@1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" @@ -6842,22 +6832,18 @@ cookie@0.5.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== -copy-concurrently@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" - integrity sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A== +copyfiles@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.4.1.tgz#d2dcff60aaad1015f09d0b66e7f0f1c5cd3c5da5" + integrity sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg== dependencies: - aproba "^1.1.1" - fs-write-stream-atomic "^1.0.8" - iferr "^0.1.5" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.0" - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== + glob "^7.0.5" + minimatch "^3.0.3" + mkdirp "^1.0.4" + noms "0.0.0" + through2 "^2.0.1" + untildify "^4.0.0" + yargs "^16.1.0" core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.25.1: version "3.30.2" @@ -6878,30 +6864,26 @@ core-js-pure@^3.23.3: resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.31.0.tgz#052fd9e82fbaaf86457f5db1fadcd06f15966ff2" integrity sha512-/AnE9Y4OsJZicCzIe97JP5XoPKQJfTuEG43aEVLFJGOJpyqELod+pE6LEl63DfG1Mp8wX97LDaDpy1GmLEUxlg== -core-js@^3.19.2, core-js@^3.30.2: +core-js@^3.19.2: version "3.31.0" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.31.0.tgz#4471dd33e366c79d8c0977ed2d940821719db344" integrity sha512-NIp2TQSGfR6ba5aalZD+ZQ1fSxGhDo/s1w0nx3RYzf2pnJxt7YynxFlFScP6eV7+GZsKO95NSjGxyJsU3DZgeQ== -core-util-is@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== - core-util-is@~1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmiconfig@^5.1.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" - integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== +cosmiconfig@7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" + integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== dependencies: - import-fresh "^2.0.0" - is-directory "^0.3.1" - js-yaml "^3.13.1" - parse-json "^4.0.0" + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" cosmiconfig@^6.0.0: version "6.0.0" @@ -6964,25 +6946,25 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" -cross-env@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" - integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== +create-jest@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320" + integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== dependencies: - cross-spawn "^7.0.1" + "@jest/types" "^29.6.3" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-config "^29.7.0" + jest-util "^29.7.0" + prompts "^2.0.1" -cross-spawn@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -7208,18 +7190,6 @@ csstype@^3.0.2: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== -currently-unhandled@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" - integrity sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng== - dependencies: - array-find-index "^1.0.1" - -cyclist@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.2.tgz#673b5f233bf34d8e602b949429f8171d9121bea3" - integrity sha512-0sVXIohTfLqVIW3kb/0n6IiWF3Ifj5nm2XaSrLq2DI6fKIGa2fYAZdk917rUneaeLVpYfFcyXE2ft0fe3remsA== - d@1, d@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" @@ -7233,25 +7203,11 @@ damerau-levenshtein@^1.0.8: resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== -dargs@7.0.0: +dargs@7.0.0, dargs@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== -dargs@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17" - integrity sha512-jyweV/k0rbv2WK4r9KLayuBrSh2Py0tNmV7LBoSMH4hMQyrG8OPyIOWB2VEx4DJKXWmK4lopYMVvORlDt2S8Aw== - dependencies: - number-is-nan "^1.0.0" - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== - dependencies: - assert-plus "^1.0.0" - data-urls@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" @@ -7266,40 +7222,35 @@ dateformat@^3.0.0: resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0: +debug@2.6.9, debug@^2.6.0: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== dependencies: ms "2.0.0" -debug@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== - dependencies: - ms "2.0.0" - -debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, 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@^3.1.0, debug@^3.2.7: +debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== dependencies: ms "^2.1.1" -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== +debug@^4.3.3: + version "4.3.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" + integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== + dependencies: + ms "^2.1.3" -decamelize-keys@^1.0.0, decamelize-keys@^1.1.0: +decamelize-keys@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== @@ -7307,7 +7258,7 @@ decamelize-keys@^1.0.0, decamelize-keys@^1.1.0: decamelize "^1.1.0" map-obj "^1.0.0" -decamelize@^1.1.0, decamelize@^1.1.2, decamelize@^1.2.0: +decamelize@^1.1.0: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== @@ -7317,16 +7268,16 @@ decimal.js@^10.2.1: resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== -decode-uri-component@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" - integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== - -dedent@^0.7.0: +dedent@0.7.0, dedent@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== +dedent@^1.0.0: + version "1.5.3" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.3.tgz#99aee19eb9bae55a67327717b6e848d0bf777e5a" + integrity sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ== + deep-equal@^2.0.5: version "2.2.1" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.1.tgz#c72ab22f3a7d3503a4ca87dde976fe9978816739" @@ -7393,27 +7344,19 @@ define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: has-property-descriptors "^1.0.0" object-keys "^1.1.1" -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA== - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA== - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== +del@^6.0.0: + version "6.1.1" + resolved "https://registry.yarnpkg.com/del/-/del-6.1.1.tgz#3b70314f1ec0aa325c6b14eb36b95786671edb7a" + integrity sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg== dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" + globby "^11.0.1" + graceful-fs "^4.2.4" + is-glob "^4.0.1" + is-path-cwd "^2.2.0" + is-path-inside "^3.0.2" + p-map "^4.0.0" + rimraf "^3.0.2" + slash "^3.0.0" delayed-stream@~1.0.0: version "1.0.0" @@ -7476,14 +7419,6 @@ detect-port-alt@^1.1.6: address "^1.0.1" debug "^2.6.0" -dezalgo@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" - integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== - dependencies: - asap "^2.0.0" - wrappy "1" - didyoumean@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037" @@ -7499,6 +7434,16 @@ diff-sequences@^29.4.3: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.4.3.tgz#9314bc1fabe09267ffeca9cbafc457d8499a13f2" integrity sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA== +diff-sequences@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" + integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== + +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + diffie-hellman@^5.0.0: version "5.0.3" resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" @@ -7508,13 +7453,6 @@ diffie-hellman@^5.0.0: miller-rabin "^4.0.0" randombytes "^2.0.0" -dir-glob@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" - integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== - dependencies: - path-type "^3.0.0" - dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -7631,12 +7569,12 @@ dot-case@^3.0.4: no-case "^3.0.4" tslib "^2.0.3" -dot-prop@^4.2.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.1.tgz#45884194a71fc2cda71cbb4bceb3a4dd2f433ba4" - integrity sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ== +dot-prop@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" + integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== dependencies: - is-obj "^1.0.0" + is-obj "^2.0.0" dot-prop@^5.1.0: version "5.3.0" @@ -7650,7 +7588,7 @@ dotenv-expand@^5.1.0: resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== -dotenv@^10.0.0: +dotenv@^10.0.0, dotenv@~10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== @@ -7665,34 +7603,23 @@ duplexer@^0.1.1, duplexer@^0.1.2: resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== -duplexify@^3.4.2, duplexify@^3.6.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" - integrity sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g== - dependencies: - end-of-stream "^1.0.0" - inherits "^2.0.1" - readable-stream "^2.0.0" - stream-shift "^1.0.0" - eastasianwidth@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== +ejs@^3.1.10, ejs@^3.1.7: + 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" + ejs@^3.1.6: version "3.1.9" resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" @@ -7710,6 +7637,11 @@ electron-to-chromium@^1.4.431: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.446.tgz#c23fbc7884bfe43088d5eb908a858dbb35ab190b" integrity sha512-4Gnw7ztEQ/E0eOt5JWfPn9jjeupfUlKoeW5ETKP9nLdWj+4spFoS3Stj19fqlKIaX28UQs0fNX+uKEyoLCBnkw== +electron-to-chromium@^1.5.28: + version "1.5.29" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.29.tgz#aa592a3caa95d07cc26a66563accf99fa573a1ee" + integrity sha512-PF8n2AlIhCKXQ+gTpiJi0VhcHDb69kYX4MtCiivctc2QD3XuNZ/XIOlbGzt7WAjjEev0TtaH6Cu3arZExm5DOw== + elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" @@ -7728,16 +7660,16 @@ emittery@^0.10.2: resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.10.2.tgz#902eec8aedb8c41938c46e9385e9db7e03182933" integrity sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw== +emittery@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" + integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== + emittery@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== -emoji-regex@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== - emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" @@ -7758,14 +7690,14 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== -encoding@^0.1.11: +encoding@^0.1.13: version "0.1.13" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== dependencies: iconv-lite "^0.6.2" -end-of-stream@^1.0.0, end-of-stream@^1.1.0: +end-of-stream@^1.4.1: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== @@ -7780,7 +7712,7 @@ enhanced-resolve@^5.15.0: graceful-fs "^4.2.4" tapable "^2.2.0" -enquirer@^2.3.5: +enquirer@~2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== @@ -7797,17 +7729,17 @@ env-paths@^2.2.0: resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== -envinfo@^7.3.1: - version "7.10.0" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.10.0.tgz#55146e3909cc5fe63c22da63fb15b05aeac35b13" - integrity sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw== +envinfo@^7.7.4: + version "7.14.0" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.14.0.tgz#26dac5db54418f2a4c1159153a0b2ae980838aae" + integrity sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg== -err-code@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960" - integrity sha512-CJAN+O0/yA1CKfRn9SXOGctSpEM7DCon/r/5r2eXFMY2zCCJBasFhcM5I+1kh3Ap11FsQCX+vGHceNPvpWKhoA== +err-code@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" + integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== -error-ex@^1.2.0, error-ex@^1.3.1: +error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== @@ -7929,18 +7861,6 @@ es6-iterator@^2.0.3: es5-ext "^0.10.35" es6-symbol "^3.1.1" -es6-promise@^4.0.3: - version "4.2.8" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" - integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== - -es6-promisify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" - integrity sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ== - dependencies: - es6-promise "^4.0.3" - es6-symbol@^3.1.1, es6-symbol@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" @@ -7964,6 +7884,11 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escalade@^3.1.2: + version "3.2.0" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" + integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== + escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" @@ -7996,10 +7921,10 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-prettier@^8.3.0: - version "8.8.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz#bfda738d412adc917fd7b038857110efe98c9348" - integrity sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA== +eslint-config-prettier@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f" + integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw== eslint-config-react-app@^7.0.1: version "7.0.1" @@ -8095,12 +8020,13 @@ eslint-plugin-jsx-a11y@^6.5.1: object.fromentries "^2.0.6" semver "^6.3.0" -eslint-plugin-prettier@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" - integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== +eslint-plugin-prettier@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz#d1c8f972d8f60e414c25465c163d16f209411f95" + integrity sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw== dependencies: prettier-linter-helpers "^1.0.0" + synckit "^0.9.1" eslint-plugin-react-hooks@^4.3.0: version "4.6.0" @@ -8128,6 +8054,11 @@ eslint-plugin-react@^7.27.1: semver "^6.3.0" string.prototype.matchall "^4.0.8" +eslint-plugin-simple-import-sort@^12.1.0: + version "12.1.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz#e64bfdaf91c5b98a298619aa634a9f7aa43b709e" + integrity sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA== + eslint-plugin-testing-library@^5.0.1: version "5.11.0" resolved "https://registry.yarnpkg.com/eslint-plugin-testing-library/-/eslint-plugin-testing-library-5.11.0.tgz#0bad7668e216e20dd12f8c3652ca353009163121" @@ -8135,6 +8066,11 @@ eslint-plugin-testing-library@^5.0.1: dependencies: "@typescript-eslint/utils" "^5.58.0" +eslint-plugin-unused-imports@^4.0.0: + version "4.1.4" + resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-4.1.4.tgz#62ddc7446ccbf9aa7b6f1f0b00a980423cda2738" + integrity sha512-YptD6IzQjDardkl0POxnnRBhU1OEePMV0nd6siHaRBbd+lyh6NAhFEobiznKU7kTsSsDeSD62Pe7kAM1b7dAZQ== + eslint-scope@5.1.1, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" @@ -8151,26 +8087,15 @@ eslint-scope@^7.2.0: esrecurse "^4.3.0" estraverse "^5.2.0" -eslint-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" - integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== - dependencies: - eslint-visitor-keys "^1.1.0" - -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== +eslint-scope@^7.2.2: + version "7.2.2" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== dependencies: - eslint-visitor-keys "^2.0.0" - -eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== + esrecurse "^4.3.0" + estraverse "^5.2.0" -eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0: +eslint-visitor-keys@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== @@ -8180,6 +8105,11 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== +eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== + eslint-webpack-plugin@^3.1.1: version "3.2.0" resolved "https://registry.yarnpkg.com/eslint-webpack-plugin/-/eslint-webpack-plugin-3.2.0.tgz#1978cdb9edc461e4b0195a20da950cf57988347c" @@ -8191,73 +8121,73 @@ eslint-webpack-plugin@^3.1.1: normalize-path "^3.0.0" schema-utils "^4.0.0" -eslint@^7.32.0: - version "7.32.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" - integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA== +eslint@^8.3.0: + version "8.43.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.43.0.tgz#3e8c6066a57097adfd9d390b8fc93075f257a094" + integrity sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q== dependencies: - "@babel/code-frame" "7.12.11" - "@eslint/eslintrc" "^0.4.3" - "@humanwhocodes/config-array" "^0.5.0" + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.4.0" + "@eslint/eslintrc" "^2.0.3" + "@eslint/js" "8.43.0" + "@humanwhocodes/config-array" "^0.11.10" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" - debug "^4.0.1" + debug "^4.3.2" doctrine "^3.0.0" - enquirer "^2.3.5" escape-string-regexp "^4.0.0" - eslint-scope "^5.1.1" - eslint-utils "^2.1.0" - eslint-visitor-keys "^2.0.0" - espree "^7.3.1" - esquery "^1.4.0" + eslint-scope "^7.2.0" + eslint-visitor-keys "^3.4.1" + espree "^9.5.2" + esquery "^1.4.2" esutils "^2.0.2" fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.1.2" - globals "^13.6.0" - ignore "^4.0.6" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + graphemer "^1.4.0" + ignore "^5.2.0" import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" - js-yaml "^3.13.1" + is-path-inside "^3.0.3" + js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" lodash.merge "^4.6.2" - minimatch "^3.0.4" + minimatch "^3.1.2" natural-compare "^1.4.0" optionator "^0.9.1" - progress "^2.0.0" - regexpp "^3.1.0" - semver "^7.2.1" - strip-ansi "^6.0.0" + strip-ansi "^6.0.1" strip-json-comments "^3.1.0" - table "^6.0.9" text-table "^0.2.0" - v8-compile-cache "^2.0.3" -eslint@^8.3.0: - version "8.43.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.43.0.tgz#3e8c6066a57097adfd9d390b8fc93075f257a094" - integrity sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q== +eslint@^8.56.0: + version "8.57.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.1.tgz#7df109654aba7e3bbe5c8eae533c5e461d3c6ca9" + integrity sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA== dependencies: "@eslint-community/eslint-utils" "^4.2.0" - "@eslint-community/regexpp" "^4.4.0" - "@eslint/eslintrc" "^2.0.3" - "@eslint/js" "8.43.0" - "@humanwhocodes/config-array" "^0.11.10" + "@eslint-community/regexpp" "^4.6.1" + "@eslint/eslintrc" "^2.1.4" + "@eslint/js" "8.57.1" + "@humanwhocodes/config-array" "^0.13.0" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" - ajv "^6.10.0" + "@ungap/structured-clone" "^1.2.0" + ajv "^6.12.4" chalk "^4.0.0" cross-spawn "^7.0.2" debug "^4.3.2" doctrine "^3.0.0" escape-string-regexp "^4.0.0" - eslint-scope "^7.2.0" - eslint-visitor-keys "^3.4.1" - espree "^9.5.2" + eslint-scope "^7.2.2" + eslint-visitor-keys "^3.4.3" + espree "^9.6.1" esquery "^1.4.2" esutils "^2.0.2" fast-deep-equal "^3.1.3" @@ -8267,7 +8197,6 @@ eslint@^8.3.0: globals "^13.19.0" graphemer "^1.4.0" ignore "^5.2.0" - import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" is-path-inside "^3.0.3" @@ -8277,20 +8206,10 @@ eslint@^8.3.0: lodash.merge "^4.6.2" minimatch "^3.1.2" natural-compare "^1.4.0" - optionator "^0.9.1" + optionator "^0.9.3" strip-ansi "^6.0.1" - strip-json-comments "^3.1.0" text-table "^0.2.0" -espree@^7.3.0, espree@^7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" - integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g== - dependencies: - acorn "^7.4.0" - acorn-jsx "^5.3.1" - eslint-visitor-keys "^1.3.0" - espree@^9.5.2: version "9.5.2" resolved "https://registry.yarnpkg.com/espree/-/espree-9.5.2.tgz#e994e7dc33a082a7a82dceaf12883a829353215b" @@ -8300,12 +8219,21 @@ espree@^9.5.2: acorn-jsx "^5.3.2" eslint-visitor-keys "^3.4.1" +espree@^9.6.0, espree@^9.6.1: + version "9.6.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== + dependencies: + acorn "^8.9.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.4.0, esquery@^1.4.2: +esquery@^1.4.2: version "1.5.0" resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== @@ -8352,12 +8280,7 @@ event-emitter@^0.3.5: d "1" es5-ext "~0.10.14" -eventemitter3@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" - integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== - -eventemitter3@^4.0.0: +eventemitter3@^4.0.0, eventemitter3@^4.0.4: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== @@ -8375,18 +8298,20 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" -execa@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8" - integrity sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== +execa@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.0.0.tgz#4029b0007998a841fbd1032e5f4de86a3c1e3376" + integrity sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ== dependencies: - cross-spawn "^6.0.0" - get-stream "^4.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" execa@^5.0.0: version "5.1.1" @@ -8408,19 +8333,6 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA== - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - expect@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/expect/-/expect-27.5.1.tgz#83ce59f1e5bdf5f9d2b94b61d2050db48f3fef74" @@ -8442,6 +8354,22 @@ expect@^29.0.0: jest-message-util "^29.5.0" jest-util "^29.5.0" +expect@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" + integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== + dependencies: + "@jest/expect-utils" "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + +exponential-backoff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" + integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== + express@^4.17.3: version "4.18.2" resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" @@ -8486,26 +8414,6 @@ ext@^1.1.2: dependencies: type "^2.7.2" -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q== - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - external-editor@^2.0.4: version "2.2.0" resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" @@ -8524,51 +8432,26 @@ external-editor@^3.0.3: iconv-lite "^0.4.24" tmp "^0.0.33" -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== - -extsprintf@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" - integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== - fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== + version "1.3.0" + resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" + integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== -fast-glob@^2.2.6: - version "2.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" - integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw== +fast-glob@3.2.7: + version "3.2.7" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" + integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== dependencies: - "@mrmlnc/readdir-enhanced" "^2.2.1" - "@nodelib/fs.stat" "^1.1.2" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.3" - micromatch "^3.1.10" + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" fast-glob@^3.2.12: version "3.3.0" @@ -8623,10 +8506,12 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" -figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: - version "3.5.2" - resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" - integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw== +figures@3.2.0, figures@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + dependencies: + escape-string-regexp "^1.0.5" figures@^2.0.0: version "2.0.0" @@ -8650,6 +8535,11 @@ file-loader@^6.2.0: loader-utils "^2.0.0" schema-utils "^3.0.0" +file-url@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/file-url/-/file-url-3.0.0.tgz#247a586a746ce9f7a8ed05560290968afc262a77" + integrity sha512-g872QGsHexznxkIAdK8UiZRe7SkE6kvylShU4Nsj8NvfvZag7S0QuQ4IgvPDkk75HxgjIVDwycFTDAgIiO4nDA== + filelist@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" @@ -8662,16 +8552,6 @@ filesize@^8.0.6: resolved "https://registry.yarnpkg.com/filesize/-/filesize-8.0.7.tgz#695e70d80f4e47012c132d57a059e80c6b580bd8" integrity sha512-pjmC+bkIF8XI7fWaH8KxHcZL3DPybs1roSKP4rKDvy20tAWwIObE4+JIseG2byfGKhud5ZnM4YSGKBz7Sh0ndQ== -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ== - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -8679,11 +8559,6 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" -filter-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" - integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ== - finalhandler@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" @@ -8697,15 +8572,6 @@ finalhandler@1.2.0: statuses "2.0.1" unpipe "~1.0.0" -find-cache-dir@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7" - integrity sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== - dependencies: - commondir "^1.0.1" - make-dir "^2.0.0" - pkg-dir "^3.0.0" - find-cache-dir@^3.3.1: version "3.3.2" resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" @@ -8715,13 +8581,13 @@ find-cache-dir@^3.3.1: make-dir "^3.0.2" pkg-dir "^4.1.0" -find-up@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" - integrity sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA== +find-up@5.0.0, find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== dependencies: - path-exists "^2.0.0" - pinkie-promise "^2.0.0" + locate-path "^6.0.0" + path-exists "^4.0.0" find-up@^2.0.0: version "2.1.0" @@ -8745,14 +8611,6 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -8761,28 +8619,25 @@ flat-cache@^3.0.4: flatted "^3.1.0" rimraf "^3.0.2" +flat@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + flatted@^3.1.0: version "3.2.7" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -flush-write-stream@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" - integrity sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w== - dependencies: - inherits "^2.0.3" - readable-stream "^2.3.6" - follow-redirects@^1.0.0, follow-redirects@^1.14.0: version "1.15.2" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== -follow-redirects@^1.15.0: - version "1.15.6" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" - integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== +follow-redirects@^1.15.6: + version "1.15.9" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" + integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== for-each@^0.3.3: version "0.3.3" @@ -8791,11 +8646,6 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" -for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ== - foreground-child@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" @@ -8804,11 +8654,6 @@ foreground-child@^3.1.0: cross-spawn "^7.0.0" signal-exit "^4.0.1" -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== - fork-ts-checker-webpack-plugin@^6.5.0: version "6.5.3" resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.3.tgz#eda2eff6e22476a2688d10661688c47f611b37f3" @@ -8846,15 +8691,6 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - forwarded@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" @@ -8865,25 +8701,25 @@ fraction.js@^4.2.0: resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.2.0.tgz#448e5109a313a3527f5a3ab2119ec4cf0e0e2950" integrity sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA== -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA== - dependencies: - map-cache "^0.2.2" - fresh@0.5.2: version "0.5.2" resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== -from2@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g== +fs-constants@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" + integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== + +fs-extra@9.1.0, fs-extra@^9.0.0, fs-extra@^9.0.1, fs-extra@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" fs-extra@^10.0.0: version "10.1.0" @@ -8894,52 +8730,34 @@ fs-extra@^10.0.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^9.0.0, fs-extra@^9.0.1: - version "9.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" - integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== +fs-extra@^11.1.0: + version "11.2.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" + integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== dependencies: - at-least-node "^1.0.0" graceful-fs "^4.2.0" jsonfile "^6.0.1" universalify "^2.0.0" -fs-minipass@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== +fs-minipass@^2.0.0, fs-minipass@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== dependencies: - minipass "^2.6.0" + minipass "^3.0.0" + +fs-minipass@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-3.0.3.tgz#79a85981c4dc120065e96f62086bf6f9dc26cc54" + integrity sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw== + dependencies: + minipass "^7.0.3" fs-monkey@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.4.tgz#ee8c1b53d3fe8bb7e5d2c5c5dfc0168afdd2f747" integrity sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ== -fs-readdir-recursive@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" - integrity sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA== - -fs-write-stream-atomic@^1.0.8: - version "1.0.10" - resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" - integrity sha512-gehEzmPn2nAwr39eay+x3X34Ra+M2QlVUTLhkXPjWdeO8RF9kszk116avgBJM3ZyNHgHXBNx+VmPaFC36k0PzA== - dependencies: - graceful-fs "^4.1.2" - iferr "^0.1.5" - imurmurhash "^0.1.4" - readable-stream "1 || 2" - fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -8955,6 +8773,11 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + function.prototype.name@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" @@ -8965,11 +8788,6 @@ function.prototype.name@^1.1.5: es-abstract "^1.19.0" functions-have-names "^1.2.2" -functional-red-black-tree@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" - integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g== - functions-have-names@^1.2.2, functions-have-names@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" @@ -8980,31 +8798,40 @@ fuzzy@0.1.3: resolved "https://registry.yarnpkg.com/fuzzy/-/fuzzy-0.1.3.tgz#4c76ec2ff0ac1a36a9dccf9a00df8623078d4ed8" integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg== - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - -genfun@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537" - integrity sha512-KGDOARWVga7+rnB3z9Sd2Letx515owfk0hSxHGuqjANb1M+x2bGZGqHLiozPsYMdM2OubeMni/Hpwmjq6qIUhA== +gauge@^4.0.3: + version "4.0.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" + integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== + dependencies: + aproba "^1.0.3 || ^2.0.0" + color-support "^1.1.3" + console-control-strings "^1.1.0" + has-unicode "^2.0.1" + signal-exit "^3.0.7" + string-width "^4.2.3" + strip-ansi "^6.0.1" + wide-align "^1.1.5" + +gauge@^5.0.0: + version "5.0.2" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-5.0.2.tgz#7ab44c11181da9766333f10db8cd1e4b17fd6c46" + integrity sha512-pMaFftXPtiGIHCJHdcUUx9Rby/rFT/Kkt3fIIGCs+9PMDIljSyRiqraTlxNtBReJRDfUefpa263RQ3vnp5G/LQ== + dependencies: + aproba "^1.0.3 || ^2.0.0" + color-support "^1.1.3" + console-control-strings "^1.1.0" + has-unicode "^2.0.1" + signal-exit "^4.0.1" + string-width "^4.2.3" + strip-ansi "^6.0.1" + wide-align "^1.1.5" gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-caller-file@^2.0.1, get-caller-file@^2.0.5: +get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -9028,38 +8855,30 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-pkg-repo@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d" - integrity sha512-xPCyvcEOxCJDxhBfXDNH+zA7mIRGb2aY1gIUJWsZkpJbp1BLHl+/Sycg26Dv+ZbZAJkO61tzbBtqHUi30NGBvg== +get-pkg-repo@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" + integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== dependencies: - hosted-git-info "^2.1.4" - meow "^3.3.0" - normalize-package-data "^2.3.0" - parse-github-repo-url "^1.3.0" + "@hutson/parse-repository-url" "^3.0.0" + hosted-git-info "^4.0.0" through2 "^2.0.0" + yargs "^16.2.0" -get-port@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" - integrity sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw== - -get-stdin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" - integrity sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw== +get-port@5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" + integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== get-stdin@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== -get-stream@^4.0.0, get-stream@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" +get-stream@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.0.tgz#3e0012cb6827319da2706e601a1583e8629a6718" + integrity sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg== get-stream@^6.0.0: version "6.0.1" @@ -9074,28 +8893,16 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== - dependencies: - assert-plus "^1.0.0" - -git-raw-commits@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5" - integrity sha512-w4jFEJFgKXMQJ0H0ikBk2S+4KP2VEjhCvLCNqbNRQC8BgGWgLKNCO7a9K9LI+TVT7Gfoloje502sEnctibffgg== +git-raw-commits@^2.0.8: + version "2.0.11" + resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.11.tgz#bc3576638071d18655e1cc60d7f524920008d723" + integrity sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A== dependencies: - dargs "^4.0.1" - lodash.template "^4.0.2" - meow "^4.0.0" - split2 "^2.0.0" - through2 "^2.0.0" + dargs "^7.0.0" + lodash "^4.17.15" + meow "^8.0.0" + split2 "^3.0.0" + through2 "^4.0.0" git-remote-origin-url@^2.0.0: version "2.0.0" @@ -9105,28 +8912,28 @@ git-remote-origin-url@^2.0.0: gitconfiglocal "^1.0.0" pify "^2.3.0" -git-semver-tags@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-2.0.3.tgz#48988a718acf593800f99622a952a77c405bfa34" - integrity sha512-tj4FD4ww2RX2ae//jSrXZzrocla9db5h0V7ikPl1P/WwoZar9epdUhwR7XHXSgc+ZkNq72BEEerqQuicoEQfzA== +git-semver-tags@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-4.1.1.tgz#63191bcd809b0ec3e151ba4751c16c444e5b5780" + integrity sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA== dependencies: - meow "^4.0.0" + meow "^8.0.0" semver "^6.0.0" -git-up@^4.0.0: - version "4.0.5" - resolved "https://registry.yarnpkg.com/git-up/-/git-up-4.0.5.tgz#e7bb70981a37ea2fb8fe049669800a1f9a01d759" - integrity sha512-YUvVDg/vX3d0syBsk/CKUTib0srcQME0JyHkL5BaYdwLsiCslPWmDSi8PUMo9pXYjrryMcmsCoCgsTpSCJEQaA== +git-up@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/git-up/-/git-up-7.0.0.tgz#bace30786e36f56ea341b6f69adfd83286337467" + integrity sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ== dependencies: - is-ssh "^1.3.0" - parse-url "^6.0.0" + is-ssh "^1.4.0" + parse-url "^8.1.0" -git-url-parse@^11.1.2: - version "11.6.0" - resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-11.6.0.tgz#c634b8de7faa66498a2b88932df31702c67df605" - integrity sha512-WWUxvJs5HsyHL6L08wOusa/IXYtMuCAhrMmnTjQPpBU0TTHyDhnOATNH3xNQz7YOQUsqIIPTGr4xiVti1Hsk5g== +git-url-parse@13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-13.1.0.tgz#07e136b5baa08d59fabdf0e33170de425adf07b4" + integrity sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA== dependencies: - git-up "^4.0.0" + git-up "^7.0.0" gitconfiglocal@^1.0.0: version "1.0.0" @@ -9135,15 +8942,7 @@ gitconfiglocal@^1.0.0: dependencies: ini "^1.3.2" -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA== - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob-parent@^5.0.0, glob-parent@^5.1.2, glob-parent@~5.1.2: +glob-parent@5.1.2, glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -9164,16 +8963,23 @@ glob-promise@^4.2.2: dependencies: "@types/glob" "^7.1.3" -glob-to-regexp@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" - integrity sha512-Iozmtbqv0noj0uDDqoL0zNq0VBEfK2YFoMAZoxJe4cwphvLR+JskfF30QhXHOR4m3KrE6NLRYw+U9MRXvifyig== - glob-to-regexp@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== +glob@7.1.4: + version "7.1.4" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" + integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + glob@7.1.6: version "7.1.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" @@ -9197,7 +9003,18 @@ glob@8.0.3: minimatch "^5.0.1" once "^1.3.0" -glob@^10.0.0, glob@^10.2.5: +glob@8.1.0, glob@^8.0.1: + version "8.1.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@^10.0.0: version "10.3.1" resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.1.tgz#9789cb1b994515bedb811a6deca735b5c37d2bf4" integrity sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw== @@ -9208,7 +9025,19 @@ glob@^10.0.0, glob@^10.2.5: minipass "^5.0.0 || ^6.0.2" path-scurry "^1.10.0" -glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: +glob@^10.2.2: + version "10.4.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" + integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + package-json-from-dist "^1.0.0" + path-scurry "^1.11.1" + +glob@^7.0.0, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -9220,6 +9049,16 @@ glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, gl once "^1.3.0" path-is-absolute "^1.0.0" +glob@^9.2.0: + version "9.3.5" + resolved "https://registry.yarnpkg.com/glob/-/glob-9.3.5.tgz#ca2ed8ca452781a3009685607fdf025a899dfe21" + integrity sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q== + dependencies: + fs.realpath "^1.0.0" + minimatch "^8.0.2" + minipass "^4.2.4" + path-scurry "^1.6.1" + global-modules@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" @@ -9241,7 +9080,7 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.19.0, globals@^13.6.0, globals@^13.9.0: +globals@^13.19.0: version "13.20.0" resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== @@ -9255,7 +9094,7 @@ globalthis@^1.0.1, globalthis@^1.0.3: dependencies: define-properties "^1.1.3" -globby@^11.0.3, globby@^11.0.4, globby@^11.1.0: +globby@11.1.0, globby@^11.0.1, globby@^11.0.4, globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -9267,20 +9106,6 @@ globby@^11.0.3, globby@^11.0.4, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" -globby@^9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" - integrity sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg== - dependencies: - "@types/glob" "^7.1.1" - array-union "^1.0.2" - dir-glob "^2.2.2" - fast-glob "^2.2.6" - glob "^7.1.3" - ignore "^4.0.3" - pify "^4.0.1" - slash "^2.0.0" - gopd@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" @@ -9288,7 +9113,12 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.2, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +graceful-fs@4.2.10: + version "4.2.10" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -9315,31 +9145,18 @@ handle-thing@^2.0.0: resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== -handlebars@^4.7.6: - version "4.7.7" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" - integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== +handlebars@^4.7.7: + version "4.7.8" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" + integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== dependencies: minimist "^1.2.5" - neo-async "^2.6.0" + neo-async "^2.6.2" source-map "^0.6.1" wordwrap "^1.0.0" optionalDependencies: uglify-js "^3.1.4" -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== - -har-validator@~5.1.3: - version "5.1.5" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" - integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== - dependencies: - ajv "^6.12.3" - har-schema "^2.0.0" - hard-rejection@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" @@ -9396,42 +9213,11 @@ has-tostringtag@^1.0.0: dependencies: has-symbols "^1.0.2" -has-unicode@^2.0.0, has-unicode@^2.0.1: +has-unicode@2.0.1, has-unicode@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q== - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw== - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ== - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ== - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -9456,6 +9242,13 @@ hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.2: + 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" + he@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" @@ -9470,30 +9263,44 @@ hmac-drbg@^1.0.1: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" -homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - hoopy@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d" integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ== -hosted-git-info@^2.1.4, hosted-git-info@^2.7.1: +hosted-git-info@^2.1.4: version "2.8.9" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== -hosted-git-info@^4.0.1: +hosted-git-info@^3.0.6: + version "3.0.8" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" + integrity sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw== + dependencies: + lru-cache "^6.0.0" + +hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: version "4.1.0" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== dependencies: lru-cache "^6.0.0" +hosted-git-info@^5.0.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-5.2.1.tgz#0ba1c97178ef91f3ab30842ae63d6a272341156f" + integrity sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw== + dependencies: + lru-cache "^7.5.1" + +hosted-git-info@^6.0.0, hosted-git-info@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-6.1.1.tgz#629442c7889a69c05de604d52996b74fe6f26d58" + integrity sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w== + dependencies: + lru-cache "^7.5.1" + hpack.js@^2.1.6: version "2.1.6" resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" @@ -9555,10 +9362,10 @@ htmlparser2@^6.1.0: domutils "^2.5.2" entities "^2.0.0" -http-cache-semantics@^3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" - integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== +http-cache-semantics@^4.1.0, http-cache-semantics@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== http-deceiver@^1.2.7: version "1.2.7" @@ -9591,14 +9398,6 @@ http-parser-js@>=0.5.1: resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== -http-proxy-agent@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" - integrity sha512-qwHbBLV7WviBl0rQsOzH6o5lwyOIvwp/BdFnvVxXORldu5TmjFfjzBcWUWS5kWAZhmv+JtiDhSuQCp4sBfbIgg== - dependencies: - agent-base "4" - debug "3.1.0" - http-proxy-agent@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" @@ -9608,6 +9407,15 @@ http-proxy-agent@^4.0.1: agent-base "6" debug "4" +http-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" + integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== + dependencies: + "@tootallnate/once" "2" + agent-base "6" + debug "4" + http-proxy-middleware@^2.0.3: version "2.0.6" resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz#e1a4dd6979572c7ab5a4e4b55095d1f32a74963f" @@ -9628,23 +9436,6 @@ http-proxy@^1.18.1: follow-redirects "^1.0.0" requires-port "^1.0.0" -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -https-proxy-agent@^2.2.3: - version "2.2.4" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b" - integrity sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg== - dependencies: - agent-base "^4.3.0" - debug "^3.1.0" - https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" @@ -9696,29 +9487,31 @@ identity-obj-proxy@^3.0.0: dependencies: harmony-reflect "^1.4.6" -ieee754@^1.2.1: +ieee754@^1.1.13, ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -iferr@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" - integrity sha512-DUNFN5j7Tln0D+TxzloUjKB+CtVu6myn0JEFak6dG18mNt9YkQ6lzGCdafwofISZ1lLF3xRHJ98VKy9ynkcFaA== +ignore-walk@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776" + integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw== + dependencies: + minimatch "^5.0.1" -ignore-walk@^3.0.1: - version "3.0.4" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" - integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== +ignore-walk@^6.0.0: + 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 "^3.0.4" + minimatch "^9.0.0" -ignore@^4.0.3, ignore@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== +ignore@^5.0.4, ignore@^5.3.1: + version "5.3.2" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== -ignore@^5.1.8, ignore@^5.2.0: +ignore@^5.2.0: version "5.2.4" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== @@ -9728,14 +9521,6 @@ immer@^9.0.7: resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176" integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA== -import-fresh@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" - integrity sha512-eZ5H8rcgYazHbKC3PG4ClHNykCSxtAhxSSEM+2mb+7evD2CKF5V7c0dNum7AdpDh0ZdICwZY9sRSn8f+KH96sg== - dependencies: - caller-path "^2.0.0" - resolve-from "^3.0.0" - import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -9744,14 +9529,6 @@ import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" -import-local@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d" - integrity sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ== - dependencies: - pkg-dir "^3.0.0" - resolve-cwd "^2.0.0" - import-local@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" @@ -9765,24 +9542,12 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -indent-string@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" - integrity sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg== - dependencies: - repeating "^2.0.0" - -indent-string@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" - integrity sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ== - indent-string@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== -infer-owner@^1.0.3, infer-owner@^1.0.4: +infer-owner@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== @@ -9795,7 +9560,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3, inherits@~2.0.4: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3, inherits@~2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -9810,19 +9575,18 @@ ini@^1.3.2, ini@^1.3.4, ini@^1.3.5: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -init-package-json@^1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-1.10.3.tgz#45ffe2f610a8ca134f2bd1db5637b235070f6cbe" - integrity sha512-zKSiXKhQveNteyhcj1CoOP8tqp1QuxPIPBl8Bid99DGLFqA1p87M6lNgfjJHSBoWJJlidGOv5rWjyYKEB3g2Jw== +init-package-json@3.0.2, init-package-json@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-3.0.2.tgz#f5bc9bac93f2bdc005778bc2271be642fecfcd69" + integrity sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A== dependencies: - glob "^7.1.1" - npm-package-arg "^4.0.0 || ^5.0.0 || ^6.0.0" + npm-package-arg "^9.0.1" promzard "^0.3.0" - read "~1.0.1" - read-package-json "1 || 2" - semver "2.x || 3.x || 4 || 5" - validate-npm-package-license "^3.0.1" - validate-npm-package-name "^3.0.0" + read "^1.0.7" + read-package-json "^5.0.0" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "^4.0.0" inquirer-autocomplete-prompt@^0.11.1: version "0.11.1" @@ -9857,7 +9621,28 @@ inquirer@3.1.1: strip-ansi "^3.0.0" through "^2.3.6" -inquirer@^6.0.0, inquirer@^6.2.0: +inquirer@8.2.4: + version "8.2.4" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.4.tgz#ddbfe86ca2f67649a67daa6f1051c128f684f0b4" + integrity sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^7.0.0" + +inquirer@^6.0.0: version "6.5.2" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== @@ -9876,6 +9661,27 @@ inquirer@^6.0.0, inquirer@^6.2.0: strip-ansi "^5.1.0" through "^2.3.6" +inquirer@^8.2.4: + version "8.2.6" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" + integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^6.0.1" + inquirerer@0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/inquirerer/-/inquirerer-0.1.3.tgz#ecf91dc672b3bf45211d7f64bf5e8d5e171fd2ad" @@ -9899,10 +9705,13 @@ interpret@^1.0.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== -ip@1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" - integrity sha512-rBtCAQAJm8A110nbwn6YdveUnuZH3WrC36IwkRXxDnq53JvXA2NVQvB7IHyKomxK1MJ4VDNw3UtFDdXQ+AvLYA== +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" ipaddr.js@1.9.1: version "1.9.1" @@ -9914,20 +9723,6 @@ ipaddr.js@^2.0.1: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.1.0.tgz#2119bc447ff8c257753b196fc5f1ce08a4cdf39f" integrity sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ== -is-accessor-descriptor@^0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" - integrity sha512-e1BM1qnDbMRG3ll2U9dSK0UMHuWOs3pY3AtcFsmvwPtKL3MML/Q86i+GilLfvqEs4GW+ExB91tQ3Ig9noDIZ+A== - dependencies: - kind-of "^3.0.2" - -is-accessor-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" - integrity sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ== - dependencies: - kind-of "^6.0.0" - is-arguments@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" @@ -9972,17 +9767,12 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-buffer@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-ci@^2.0.0: +is-ci@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== @@ -9996,19 +9786,12 @@ is-core-module@^2.11.0, is-core-module@^2.5.0, is-core-module@^2.9.0: dependencies: has "^1.0.3" -is-data-descriptor@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" - integrity sha512-+w9D5ulSoBNlmw9OHn3U2v51SyoCd0he+bB3xMl62oijhrspxowjU+AIcDY0N3iEJbUEkB15IlMASQsxYigvXg== - dependencies: - kind-of "^3.0.2" - -is-data-descriptor@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" - integrity sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ== +is-core-module@^2.8.1: + version "2.15.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.1.tgz#a7363a25bee942fefab0de13bf6aa372c82dcc37" + integrity sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ== dependencies: - kind-of "^6.0.0" + hasown "^2.0.2" is-date-object@^1.0.1, is-date-object@^1.0.5: version "1.0.5" @@ -10017,63 +9800,16 @@ is-date-object@^1.0.1, is-date-object@^1.0.5: dependencies: has-tostringtag "^1.0.0" -is-descriptor@^0.1.0: - version "0.1.6" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" - integrity sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg== - dependencies: - is-accessor-descriptor "^0.1.6" - is-data-descriptor "^0.1.4" - kind-of "^5.0.0" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" - integrity sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg== - dependencies: - is-accessor-descriptor "^1.0.0" - is-data-descriptor "^1.0.0" - kind-of "^6.0.2" - -is-directory@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" - integrity sha512-yVChGzahRFvbkscn2MlwGismPO12i9+znNruC5gVEntG3qu0xQMzsGg/JFbrsqDOHtHFPci+V5aP5T9I+yeKqw== - is-docker@^2.0.0, is-docker@^2.1.1: version "2.2.1" resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== - dependencies: - is-plain-object "^2.0.4" - -is-extglob@^2.1.0, is-extglob@^2.1.1: +is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== -is-finite@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.1.0.tgz#904135c77fb42c0641d6aa1bcdbc4daa8da082f3" - integrity sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w== - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw== - dependencies: - number-is-nan "^1.0.0" - is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" @@ -10089,13 +9825,6 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw== - dependencies: - is-extglob "^2.1.0" - is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" @@ -10103,6 +9832,16 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" +is-interactive@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" + integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + +is-lambda@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" + integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== + is-map@^2.0.1, is-map@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" @@ -10125,19 +9864,12 @@ is-number-object@^1.0.4: dependencies: has-tostringtag "^1.0.0" -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg== - dependencies: - kind-of "^3.0.2" - is-number@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-obj@^1.0.0, is-obj@^1.0.1: +is-obj@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" integrity sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg== @@ -10147,7 +9879,12 @@ is-obj@^2.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-path-inside@^3.0.3: +is-path-cwd@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" + integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== + +is-path-inside@^3.0.2, is-path-inside@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== @@ -10162,7 +9899,7 @@ is-plain-obj@^3.0.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== -is-plain-object@^2.0.3, is-plain-object@^2.0.4: +is-plain-object@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== @@ -10214,17 +9951,17 @@ is-shared-array-buffer@^1.0.2: dependencies: call-bind "^1.0.2" -is-ssh@^1.3.0: +is-ssh@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== dependencies: protocols "^2.0.1" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ== +is-stream@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" + integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== is-stream@^2.0.0: version "2.0.1" @@ -10263,15 +10000,15 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.9: gopd "^1.0.1" has-tostringtag "^1.0.0" -is-typedarray@^1.0.0, is-typedarray@~1.0.0: +is-typedarray@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== -is-utf8@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" - integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q== +is-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== is-weakmap@^2.0.1: version "2.0.1" @@ -10293,11 +10030,6 @@ is-weakset@^2.0.1: call-bind "^1.0.2" get-intrinsic "^1.1.1" -is-windows@^1.0.0, is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" @@ -10305,29 +10037,27 @@ is-wsl@^2.2.0: dependencies: is-docker "^2.0.0" -isarray@1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== +isarray@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" + integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ== isarray@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA== - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: +isobject@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== @@ -10337,11 +10067,6 @@ isomorphic-ws@^4.0.1: resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== - istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" @@ -10358,6 +10083,17 @@ istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: istanbul-lib-coverage "^3.2.0" semver "^6.3.0" +istanbul-lib-instrument@^6.0.0: + version "6.0.3" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz#fa15401df6c15874bcb2105f773325d78c666765" + integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q== + dependencies: + "@babel/core" "^7.23.9" + "@babel/parser" "^7.23.9" + "@istanbuljs/schema" "^0.1.3" + istanbul-lib-coverage "^3.2.0" + semver "^7.5.4" + istanbul-lib-report@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" @@ -10393,6 +10129,15 @@ jackspeak@^2.0.3: optionalDependencies: "@pkgjs/parseargs" "^0.11.0" +jackspeak@^3.1.2: + version "3.4.3" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" + integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== + 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" @@ -10412,6 +10157,15 @@ jest-changed-files@^27.5.1: execa "^5.0.0" throat "^6.0.1" +jest-changed-files@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" + integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== + dependencies: + execa "^5.0.0" + jest-util "^29.7.0" + p-limit "^3.1.0" + jest-circus@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.5.1.tgz#37a5a4459b7bf4406e53d637b49d22c65d125ecc" @@ -10437,6 +10191,32 @@ jest-circus@^27.5.1: stack-utils "^2.0.3" throat "^6.0.1" +jest-circus@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a" + integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/expect" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^1.0.0" + is-generator-fn "^2.0.0" + jest-each "^29.7.0" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-runtime "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + p-limit "^3.1.0" + pretty-format "^29.7.0" + pure-rand "^6.0.0" + slash "^3.0.0" + stack-utils "^2.0.3" + jest-cli@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.5.1.tgz#278794a6e6458ea8029547e6c6cbf673bd30b145" @@ -10455,6 +10235,23 @@ jest-cli@^27.5.1: prompts "^2.0.1" yargs "^16.2.0" +jest-cli@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995" + integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== + dependencies: + "@jest/core" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + chalk "^4.0.0" + create-jest "^29.7.0" + exit "^0.1.2" + import-local "^3.0.2" + jest-config "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + yargs "^17.3.1" + jest-config@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.5.1.tgz#5c387de33dca3f99ad6357ddeccd91bf3a0e4a41" @@ -10485,7 +10282,35 @@ jest-config@^27.5.1: slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^27.0.0, jest-diff@^27.5.1: +jest-config@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f" + integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== + dependencies: + "@babel/core" "^7.11.6" + "@jest/test-sequencer" "^29.7.0" + "@jest/types" "^29.6.3" + babel-jest "^29.7.0" + chalk "^4.0.0" + ci-info "^3.2.0" + deepmerge "^4.2.2" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-circus "^29.7.0" + jest-environment-node "^29.7.0" + jest-get-type "^29.6.3" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-runner "^29.7.0" + jest-util "^29.7.0" + jest-validate "^29.7.0" + micromatch "^4.0.4" + parse-json "^5.2.0" + pretty-format "^29.7.0" + slash "^3.0.0" + strip-json-comments "^3.1.1" + +jest-diff@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def" integrity sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw== @@ -10505,6 +10330,16 @@ jest-diff@^29.5.0: jest-get-type "^29.4.3" pretty-format "^29.5.0" +jest-diff@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" + integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== + dependencies: + chalk "^4.0.0" + diff-sequences "^29.6.3" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + jest-docblock@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.5.1.tgz#14092f364a42c6108d42c33c8cf30e058e25f6c0" @@ -10512,6 +10347,13 @@ jest-docblock@^27.5.1: dependencies: detect-newline "^3.0.0" +jest-docblock@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a" + integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== + dependencies: + detect-newline "^3.0.0" + jest-each@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.5.1.tgz#5bc87016f45ed9507fed6e4702a5b468a5b2c44e" @@ -10523,6 +10365,17 @@ jest-each@^27.5.1: jest-util "^27.5.1" pretty-format "^27.5.1" +jest-each@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1" + integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== + dependencies: + "@jest/types" "^29.6.3" + chalk "^4.0.0" + jest-get-type "^29.6.3" + jest-util "^29.7.0" + pretty-format "^29.7.0" + jest-environment-jsdom@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz#ea9ccd1fc610209655a77898f86b2b559516a546" @@ -10548,10 +10401,17 @@ jest-environment-node@^27.5.1: jest-mock "^27.5.1" jest-util "^27.5.1" -jest-expect-message@*, jest-expect-message@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/jest-expect-message/-/jest-expect-message-1.1.3.tgz#a3f6bd4503f5bd5d2e37b70d3126a2bdb215ec58" - integrity sha512-bTK77T4P+zto+XepAX3low8XVQxDgaEqh3jSTQOG8qvPpD69LsIdyJTa+RmnJh3HNSzJng62/44RPPc7OIlFxg== +jest-environment-node@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" + integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-mock "^29.7.0" + jest-util "^29.7.0" jest-get-type@^27.5.1: version "27.5.1" @@ -10563,6 +10423,11 @@ jest-get-type@^29.4.3: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.4.3.tgz#1ab7a5207c995161100b5187159ca82dd48b3dd5" integrity sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg== +jest-get-type@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" + integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== + jest-haste-map@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.5.1.tgz#9fd8bd7e7b4fa502d9c6164c5640512b4e811e7f" @@ -10602,6 +10467,25 @@ jest-haste-map@^28.1.3: optionalDependencies: fsevents "^2.3.2" +jest-haste-map@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" + integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== + dependencies: + "@jest/types" "^29.6.3" + "@types/graceful-fs" "^4.1.3" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^29.6.3" + jest-util "^29.7.0" + jest-worker "^29.7.0" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + jest-jasmine2@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz#a037b0034ef49a9f3d71c4375a796f3b230d1ac4" @@ -10633,6 +10517,14 @@ jest-leak-detector@^27.5.1: jest-get-type "^27.5.1" pretty-format "^27.5.1" +jest-leak-detector@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" + integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== + dependencies: + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + jest-matcher-utils@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab" @@ -10653,6 +10545,16 @@ jest-matcher-utils@^29.5.0: jest-get-type "^29.4.3" pretty-format "^29.5.0" +jest-matcher-utils@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" + integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== + dependencies: + chalk "^4.0.0" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + pretty-format "^29.7.0" + jest-message-util@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.5.1.tgz#bdda72806da10d9ed6425e12afff38cd1458b6cf" @@ -10698,6 +10600,21 @@ jest-message-util@^29.5.0: slash "^3.0.0" stack-utils "^2.0.3" +jest-message-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" + integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== + dependencies: + "@babel/code-frame" "^7.12.13" + "@jest/types" "^29.6.3" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.9" + micromatch "^4.0.4" + pretty-format "^29.7.0" + slash "^3.0.0" + stack-utils "^2.0.3" + jest-mock@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.5.1.tgz#19948336d49ef4d9c52021d34ac7b5f36ff967d6" @@ -10706,6 +10623,15 @@ jest-mock@^27.5.1: "@jest/types" "^27.5.1" "@types/node" "*" +jest-mock@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" + integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + jest-util "^29.7.0" + jest-pnp-resolver@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" @@ -10721,6 +10647,11 @@ jest-regex-util@^28.0.0, jest-regex-util@^28.0.2: resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== +jest-regex-util@^29.6.3: + version "29.6.3" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" + integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== + jest-resolve-dependencies@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz#d811ecc8305e731cc86dd79741ee98fed06f1da8" @@ -10730,6 +10661,14 @@ jest-resolve-dependencies@^27.5.1: jest-regex-util "^27.5.1" jest-snapshot "^27.5.1" +jest-resolve-dependencies@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428" + integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== + dependencies: + jest-regex-util "^29.6.3" + jest-snapshot "^29.7.0" + jest-resolve@^27.4.2, jest-resolve@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.5.1.tgz#a2f1c5a0796ec18fe9eb1536ac3814c23617b384" @@ -10746,6 +10685,21 @@ jest-resolve@^27.4.2, jest-resolve@^27.5.1: resolve.exports "^1.1.0" slash "^3.0.0" +jest-resolve@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30" + integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== + dependencies: + chalk "^4.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-pnp-resolver "^1.2.2" + jest-util "^29.7.0" + jest-validate "^29.7.0" + resolve "^1.20.0" + resolve.exports "^2.0.0" + slash "^3.0.0" + jest-runner@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.5.1.tgz#071b27c1fa30d90540805c5645a0ec167c7b62e5" @@ -10773,6 +10727,33 @@ jest-runner@^27.5.1: source-map-support "^0.5.6" throat "^6.0.1" +jest-runner@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e" + integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== + dependencies: + "@jest/console" "^29.7.0" + "@jest/environment" "^29.7.0" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.13.1" + graceful-fs "^4.2.9" + jest-docblock "^29.7.0" + jest-environment-node "^29.7.0" + jest-haste-map "^29.7.0" + jest-leak-detector "^29.7.0" + jest-message-util "^29.7.0" + jest-resolve "^29.7.0" + jest-runtime "^29.7.0" + jest-util "^29.7.0" + jest-watcher "^29.7.0" + jest-worker "^29.7.0" + p-limit "^3.1.0" + source-map-support "0.5.13" + jest-runtime@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.5.1.tgz#4896003d7a334f7e8e4a53ba93fb9bcd3db0a1af" @@ -10801,6 +10782,34 @@ jest-runtime@^27.5.1: slash "^3.0.0" strip-bom "^4.0.0" +jest-runtime@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817" + integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== + dependencies: + "@jest/environment" "^29.7.0" + "@jest/fake-timers" "^29.7.0" + "@jest/globals" "^29.7.0" + "@jest/source-map" "^29.6.3" + "@jest/test-result" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-haste-map "^29.7.0" + jest-message-util "^29.7.0" + jest-mock "^29.7.0" + jest-regex-util "^29.6.3" + jest-resolve "^29.7.0" + jest-snapshot "^29.7.0" + jest-util "^29.7.0" + slash "^3.0.0" + strip-bom "^4.0.0" + jest-serializer@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.5.1.tgz#81438410a30ea66fd57ff730835123dea1fb1f64" @@ -10837,17 +10846,31 @@ jest-snapshot@^27.5.1: pretty-format "^27.5.1" semver "^7.3.2" -jest-util@^26.1.0: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-26.6.2.tgz#907535dbe4d5a6cb4c47ac9b926f6af29576cbc1" - integrity sha512-MDW0fKfsn0OI7MS7Euz6h8HNDXVQ0gaM9uW6RjfDmd1DAFcaxX9OqIakHIqhbnmF08Cf2DLDG+ulq8YQQ0Lp0Q== +jest-snapshot@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" + integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== dependencies: - "@jest/types" "^26.6.2" - "@types/node" "*" + "@babel/core" "^7.11.6" + "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/types" "^7.3.3" + "@jest/expect-utils" "^29.7.0" + "@jest/transform" "^29.7.0" + "@jest/types" "^29.6.3" + babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - graceful-fs "^4.2.4" - is-ci "^2.0.0" - micromatch "^4.0.2" + expect "^29.7.0" + graceful-fs "^4.2.9" + jest-diff "^29.7.0" + jest-get-type "^29.6.3" + jest-matcher-utils "^29.7.0" + jest-message-util "^29.7.0" + jest-util "^29.7.0" + natural-compare "^1.4.0" + pretty-format "^29.7.0" + semver "^7.5.3" jest-util@^27.5.1: version "27.5.1" @@ -10873,6 +10896,18 @@ jest-util@^28.1.3: graceful-fs "^4.2.9" picomatch "^2.2.3" +jest-util@^29.0.0, jest-util@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" + integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + jest-util@^29.5.0: version "29.5.0" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.5.0.tgz#24a4d3d92fc39ce90425311b23c27a6e0ef16b8f" @@ -10897,6 +10932,18 @@ jest-validate@^27.5.1: leven "^3.1.0" pretty-format "^27.5.1" +jest-validate@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c" + integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== + dependencies: + "@jest/types" "^29.6.3" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^29.6.3" + leven "^3.1.0" + pretty-format "^29.7.0" + jest-watch-typeahead@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/jest-watch-typeahead/-/jest-watch-typeahead-1.1.0.tgz#b4a6826dfb9c9420da2f7bc900de59dad11266a9" @@ -10937,6 +10984,20 @@ jest-watcher@^28.0.0: jest-util "^28.1.3" string-length "^4.0.1" +jest-watcher@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2" + integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== + dependencies: + "@jest/test-result" "^29.7.0" + "@jest/types" "^29.6.3" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.13.1" + jest-util "^29.7.0" + string-length "^4.0.1" + jest-worker@^26.2.1: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" @@ -10964,6 +11025,16 @@ jest-worker@^28.0.2, jest-worker@^28.1.3: merge-stream "^2.0.0" supports-color "^8.0.0" +jest-worker@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" + integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== + dependencies: + "@types/node" "*" + jest-util "^29.7.0" + merge-stream "^2.0.0" + supports-color "^8.0.0" + jest@^27.4.3: version "27.5.1" resolved "https://registry.yarnpkg.com/jest/-/jest-27.5.1.tgz#dadf33ba70a779be7a6fc33015843b51494f63fc" @@ -10973,6 +11044,16 @@ jest@^27.4.3: import-local "^3.0.2" jest-cli "^27.5.1" +jest@^29.6.2: + version "29.7.0" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" + integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== + dependencies: + "@jest/core" "^29.7.0" + "@jest/types" "^29.6.3" + import-local "^3.0.2" + jest-cli "^29.7.0" + jiti@^1.18.2: version "1.18.2" resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.18.2.tgz#80c3ef3d486ebf2450d9335122b32d121f2a83cd" @@ -10983,7 +11064,14 @@ jiti@^1.18.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^3.13.1: +js-yaml@4.1.0, js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +js-yaml@^3.10.0, js-yaml@^3.13.1: version "3.14.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== @@ -10991,17 +11079,10 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== +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== jsdom@^16.6.0: version "16.7.0" @@ -11046,7 +11127,7 @@ jsesc@~0.5.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== -json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1: +json-parse-better-errors@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== @@ -11056,6 +11137,11 @@ json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-parse-even-better-errors@^3.0.0: + 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" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -11066,7 +11152,7 @@ json-schema-traverse@^1.0.0: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== -json-schema@0.4.0, json-schema@^0.4.0: +json-schema@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== @@ -11076,16 +11162,16 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== -json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: +json-stringify-nice@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" + integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== + +json-stringify-safe@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== -json5@2.x, json5@^2.1.2, json5@^2.2.0, json5@^2.2.1, json5@^2.2.2: - version "2.2.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== - json5@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" @@ -11093,12 +11179,15 @@ json5@^1.0.2: dependencies: minimist "^1.2.0" -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== - optionalDependencies: - graceful-fs "^4.1.6" +json5@^2.1.2, json5@^2.2.0, json5@^2.2.1, json5@^2.2.2, json5@^2.2.3: + version "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: + 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== jsonfile@^6.0.1: version "6.1.0" @@ -11109,7 +11198,7 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -jsonparse@^1.2.0: +jsonparse@^1.2.0, jsonparse@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== @@ -11119,16 +11208,6 @@ jsonpointer@^5.0.0: resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-5.0.1.tgz#2110e0af0900fd37467b5907ecd13a7884a1b559" integrity sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ== -jsprim@^1.2.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" - integrity sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw== - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.4.0" - verror "1.10.0" - "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.3: version "3.3.3" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz#76b3e6e6cece5c69d49a5792c3d01bd1a0cdc7ea" @@ -11137,26 +11216,17 @@ jsprim@^1.2.2: array-includes "^3.1.5" object.assign "^4.1.3" -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ== - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw== - dependencies: - is-buffer "^1.1.5" +just-diff-apply@^5.2.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.5.0.tgz#771c2ca9fa69f3d2b54e7c3f5c1dfcbcc47f9f0f" + integrity sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw== -kind-of@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" - integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw== +just-diff@^6.0.0: + version "6.0.2" + resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-6.0.2.tgz#03b65908543ac0521caf6d8eb85035f7d27ea285" + integrity sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA== -kind-of@^6.0.0, kind-of@^6.0.2, kind-of@^6.0.3: +kind-of@^6.0.2, kind-of@^6.0.3: version "6.0.3" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== @@ -11191,29 +11261,87 @@ launch-editor@^2.6.0: picocolors "^1.0.0" shell-quote "^1.7.3" -lerna@^3.22.1: - version "3.22.1" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-3.22.1.tgz#82027ac3da9c627fd8bf02ccfeff806a98e65b62" - integrity sha512-vk1lfVRFm+UuEFA7wkLKeSF7Iz13W+N/vFd48aW2yuS7Kv0RbNm2/qcDPV863056LMfkRlsEe+QYOw3palj5Lg== - dependencies: - "@lerna/add" "3.21.0" - "@lerna/bootstrap" "3.21.0" - "@lerna/changed" "3.21.0" - "@lerna/clean" "3.21.0" - "@lerna/cli" "3.18.5" - "@lerna/create" "3.22.0" - "@lerna/diff" "3.21.0" - "@lerna/exec" "3.21.0" - "@lerna/import" "3.22.0" - "@lerna/info" "3.21.0" - "@lerna/init" "3.21.0" - "@lerna/link" "3.21.0" - "@lerna/list" "3.21.0" - "@lerna/publish" "3.22.1" - "@lerna/run" "3.21.0" - "@lerna/version" "3.22.1" - import-local "^2.0.0" - npmlog "^4.1.2" +lerna@^6: + version "6.6.2" + resolved "https://registry.yarnpkg.com/lerna/-/lerna-6.6.2.tgz#ad921f913aca4e7307123a598768b6f15ca5804f" + integrity sha512-W4qrGhcdutkRdHEaDf9eqp7u4JvI+1TwFy5woX6OI8WPe4PYBdxuILAsvhp614fUG41rKSGDKlOh+AWzdSidTg== + dependencies: + "@lerna/child-process" "6.6.2" + "@lerna/create" "6.6.2" + "@lerna/legacy-package-management" "6.6.2" + "@npmcli/arborist" "6.2.3" + "@npmcli/run-script" "4.1.7" + "@nrwl/devkit" ">=15.5.2 < 16" + "@octokit/plugin-enterprise-rest" "6.0.1" + "@octokit/rest" "19.0.3" + byte-size "7.0.0" + chalk "4.1.0" + clone-deep "4.0.1" + cmd-shim "5.0.0" + columnify "1.6.0" + config-chain "1.1.12" + conventional-changelog-angular "5.0.12" + conventional-changelog-core "4.2.4" + conventional-recommended-bump "6.1.0" + cosmiconfig "7.0.0" + dedent "0.7.0" + dot-prop "6.0.1" + envinfo "^7.7.4" + execa "5.0.0" + fs-extra "9.1.0" + get-port "5.1.1" + get-stream "6.0.0" + git-url-parse "13.1.0" + glob-parent "5.1.2" + globby "11.1.0" + graceful-fs "4.2.10" + has-unicode "2.0.1" + import-local "^3.0.2" + init-package-json "3.0.2" + inquirer "^8.2.4" + is-ci "2.0.0" + is-stream "2.0.0" + js-yaml "^4.1.0" + libnpmaccess "^6.0.3" + libnpmpublish "7.1.4" + load-json-file "6.2.0" + make-dir "3.1.0" + minimatch "3.0.5" + multimatch "5.0.0" + node-fetch "2.6.7" + npm-package-arg "8.1.1" + npm-packlist "5.1.1" + npm-registry-fetch "^14.0.3" + npmlog "^6.0.2" + nx ">=15.5.2 < 16" + p-map "4.0.0" + p-map-series "2.1.0" + p-pipe "3.1.0" + p-queue "6.6.2" + p-reduce "2.1.0" + p-waterfall "2.1.1" + pacote "15.1.1" + pify "5.0.0" + read-cmd-shim "3.0.0" + read-package-json "5.0.1" + resolve-from "5.0.0" + rimraf "^4.4.1" + semver "^7.3.8" + signal-exit "3.0.7" + slash "3.0.0" + ssri "9.0.1" + strong-log-transformer "2.1.0" + tar "6.1.11" + temp-dir "1.0.0" + typescript "^3 || ^4" + upath "^2.0.1" + uuid "8.3.2" + validate-npm-package-license "3.0.4" + validate-npm-package-name "4.0.0" + write-file-atomic "4.0.1" + write-pkg "4.0.0" + yargs "16.2.0" + yargs-parser "20.2.4" leven@^3.1.0: version "3.1.0" @@ -11236,6 +11364,30 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" +libnpmaccess@^6.0.3: + version "6.0.4" + resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.4.tgz#2dd158bd8a071817e2207d3b201d37cf1ad6ae6b" + integrity sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag== + dependencies: + aproba "^2.0.0" + minipass "^3.1.1" + npm-package-arg "^9.0.1" + npm-registry-fetch "^13.0.0" + +libnpmpublish@7.1.4: + version "7.1.4" + resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-7.1.4.tgz#a0d138e00e52a0c71ffc82273acf0082fc2dfb36" + integrity sha512-mMntrhVwut5prP4rJ228eEbEyvIzLWhqFuY90j5QeXBCTT2pWSMno7Yo2S2qplPUr02zPurGH4heGLZ+wORczg== + dependencies: + ci-info "^3.6.1" + normalize-package-data "^5.0.0" + npm-package-arg "^10.1.0" + npm-registry-fetch "^14.0.3" + proc-log "^3.0.0" + semver "^7.3.7" + sigstore "^1.4.0" + ssri "^10.0.1" + libsodium-sumo@^0.7.11: version "0.7.11" resolved "https://registry.yarnpkg.com/libsodium-sumo/-/libsodium-sumo-0.7.11.tgz#ab0389e2424fca5c1dc8c4fd394906190da88a11" @@ -11258,16 +11410,20 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -load-json-file@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" - integrity sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A== +lines-and-columns@~2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.4.tgz#d00318855905d2660d8c0822e3f5a4715855fc42" + integrity sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A== + +load-json-file@6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-6.2.0.tgz#5c7770b42cafa97074ca2848707c61662f4251a1" + integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== dependencies: - graceful-fs "^4.1.2" - parse-json "^2.2.0" - pify "^2.0.0" - pinkie-promise "^2.0.0" - strip-bom "^2.0.0" + graceful-fs "^4.1.15" + parse-json "^5.0.0" + strip-bom "^4.0.0" + type-fest "^0.6.0" load-json-file@^4.0.0: version "4.0.0" @@ -11279,17 +11435,6 @@ load-json-file@^4.0.0: pify "^3.0.0" strip-bom "^3.0.0" -load-json-file@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-5.3.0.tgz#4d3c1e01fa1c03ea78a60ac7af932c9ce53403f3" - integrity sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw== - dependencies: - graceful-fs "^4.1.15" - parse-json "^4.0.0" - pify "^4.0.1" - strip-bom "^3.0.0" - type-fest "^0.3.0" - loader-runner@^4.2.0: version "4.3.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" @@ -11339,41 +11484,16 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash._reinterpolate@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" - integrity sha512-xYHt68QRoYGjeeM/XOE1uJtvXQAgvszfBhjV4yvsQH0u2i9I6cI6c6/eG4Hh3UAOVn0y/xAXwmTzEay49Q//HA== - -lodash.clonedeep@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" - integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ== - lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== -lodash.get@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" - integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ== - lodash.ismatch@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== -lodash.isregexp@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/lodash.isregexp/-/lodash.isregexp-4.0.1.tgz#e13e647b30cd559752a04cd912086faf7da1c30b" - integrity sha512-rw9+95tYcUa9nQ1FgdtKvO+hReLGNqnNMHfLq8SwK5Mo6D0R0tIsnRHGHaTHSKeYBaLCJ1JvXWdz4UmpPZ2bag== - -lodash.isstring@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" - integrity sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw== - lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" @@ -11384,52 +11504,35 @@ lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash.set@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" - integrity sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg== - lodash.sortby@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA== -lodash.template@^4.0.2, lodash.template@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" - integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A== - dependencies: - lodash._reinterpolate "^3.0.0" - lodash.templatesettings "^4.0.0" - -lodash.templatesettings@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33" - integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ== - dependencies: - lodash._reinterpolate "^3.0.0" - -lodash.truncate@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" - integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== - lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== -lodash@4.x, lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.7.0: +lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== +log-symbols@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + dependencies: + chalk "^4.1.0" + is-unicode-supported "^0.1.0" + long@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== -long@^5.0.0, long@^5.2.0, long@^5.2.1, long@^5.2.3: +long@^5.2.0, long@^5.2.1: version "5.2.3" resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== @@ -11441,14 +11544,6 @@ loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -loud-rejection@^1.0.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" - integrity sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ== - dependencies: - currently-unhandled "^0.4.1" - signal-exit "^3.0.0" - lower-case@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" @@ -11456,6 +11551,11 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" +lru-cache@^10.2.0: + version "10.4.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -11470,6 +11570,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: + version "7.18.3" + 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.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.0.0.tgz#b9e2a6a72a129d81ab317202d93c7691df727e61" @@ -11487,11 +11592,6 @@ lz-string@^1.5.0: resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== -macos-release@^2.2.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.5.1.tgz#bccac4a8f7b93163a8d163b8ebf385b3c5f55bf9" - integrity sha512-DXqXhEM7gW59OjZO8NIjBCz9AQ1BEMrfiOAl4AYByHCtVHRF4KoGNO8mqQeM8lRCtQe/UnJ4imO/d2HdkKsd+A== - magic-string@^0.25.0, magic-string@^0.25.7: version "0.25.9" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" @@ -11499,14 +11599,14 @@ magic-string@^0.25.0, magic-string@^0.25.7: dependencies: sourcemap-codec "^1.4.8" -make-dir@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" - integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== +make-dir@3.1.0, make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== dependencies: - pify "^3.0.0" + semver "^6.0.0" -make-dir@^2.0.0, make-dir@^2.1.0: +make-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== @@ -11514,34 +11614,53 @@ make-dir@^2.0.0, make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== - dependencies: - semver "^6.0.0" - -make-error@1.x: +make-error@^1.1.1, make-error@^1.3.6: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-5.0.2.tgz#aa8387104f2687edca01c8687ee45013d02d19bd" - integrity sha512-07JHC0r1ykIoruKO8ifMXu+xEU8qOXDFETylktdug6vJDACnP+HKevOu3PXyNPzFyTSlz8vrBYlBO1JZRe8Cag== - dependencies: - agentkeepalive "^3.4.1" - cacache "^12.0.0" - http-cache-semantics "^3.8.1" - http-proxy-agent "^2.1.0" - https-proxy-agent "^2.2.3" - lru-cache "^5.1.1" - mississippi "^3.0.0" - node-fetch-npm "^2.0.2" - promise-retry "^1.1.1" - socks-proxy-agent "^4.0.0" - ssri "^6.0.0" +make-fetch-happen@^10.0.3, make-fetch-happen@^10.0.6: + version "10.2.1" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" + integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== + dependencies: + agentkeepalive "^4.2.1" + cacache "^16.1.0" + http-cache-semantics "^4.1.0" + http-proxy-agent "^5.0.0" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" + lru-cache "^7.7.1" + minipass "^3.1.6" + minipass-collect "^1.0.2" + minipass-fetch "^2.0.3" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^0.6.3" + promise-retry "^2.0.1" + socks-proxy-agent "^7.0.0" + ssri "^9.0.0" + +make-fetch-happen@^11.0.0, make-fetch-happen@^11.0.1, make-fetch-happen@^11.1.1: + version "11.1.1" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz#85ceb98079584a9523d4bf71d32996e7e208549f" + integrity sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w== + dependencies: + agentkeepalive "^4.2.1" + cacache "^17.0.0" + http-cache-semantics "^4.1.1" + http-proxy-agent "^5.0.0" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" + lru-cache "^7.7.1" + minipass "^5.0.0" + minipass-fetch "^3.0.0" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^0.6.3" + promise-retry "^2.0.1" + socks-proxy-agent "^7.0.0" + ssri "^10.0.0" makeerror@1.0.12: version "1.0.12" @@ -11550,33 +11669,16 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" -map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== - -map-obj@^1.0.0, map-obj@^1.0.1: +map-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== -map-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" - integrity sha512-TzQSV2DiMYgoF5RycneKVUzIa9bQsj/B3tTgsE3dOGqlzHnGIDaC7XBE7grnA+8kZPnfqSGFe95VHc2oc0VFUQ== - map-obj@^4.0.0: version "4.3.0" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w== - dependencies: - object-visit "^1.0.0" - md5.js@^1.3.4: version "1.3.5" resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" @@ -11622,37 +11724,6 @@ memoizee@^0.4.15: next-tick "^1.1.0" timers-ext "^0.1.7" -meow@^3.3.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" - integrity sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA== - dependencies: - camelcase-keys "^2.0.0" - decamelize "^1.1.2" - loud-rejection "^1.0.0" - map-obj "^1.0.1" - minimist "^1.1.3" - normalize-package-data "^2.3.4" - object-assign "^4.0.1" - read-pkg-up "^1.0.1" - redent "^1.0.0" - trim-newlines "^1.0.0" - -meow@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/meow/-/meow-4.0.1.tgz#d48598f6f4b1472f35bf6317a95945ace347f975" - integrity sha512-xcSBHD5Z86zaOc+781KrupuHAzeGXSLtiAOmBsiLDiPSaYSB6hdew2ng9EBAnZ62jagG9MHAOdxpDi/lWBFJ/A== - dependencies: - camelcase-keys "^4.0.0" - decamelize-keys "^1.0.0" - loud-rejection "^1.0.0" - minimist "^1.1.3" - minimist-options "^3.0.1" - normalize-package-data "^2.3.4" - read-pkg-up "^3.0.0" - redent "^2.0.0" - trim-newlines "^2.0.0" - meow@^8.0.0: version "8.1.2" resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" @@ -11680,7 +11751,7 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: +merge2@^1.3.0, merge2@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== @@ -11690,25 +11761,6 @@ methods@~1.1.2: resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== -micromatch@^3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -11730,7 +11782,7 @@ mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: +mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== @@ -11774,6 +11826,13 @@ minimalistic-crypto-utils@^1.0.1: resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== +minimatch@3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3" + integrity sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw== + dependencies: + brace-expansion "^1.1.7" + minimatch@5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" @@ -11781,7 +11840,7 @@ minimatch@5.1.0: dependencies: brace-expansion "^2.0.1" -minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -11795,6 +11854,27 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" +minimatch@^6.1.6: + version "6.2.0" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-6.2.0.tgz#2b70fd13294178c69c04dfc05aebdb97a4e79e42" + integrity sha512-sauLxniAmvnhhRjFwPNnJKaPFYyddAgbYdeUpHULtCT/GhzdCx/MDNy+Y40lBxTQUrMzDE8e0S43Z5uqfO0REg== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^8.0.2: + version "8.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229" + integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^9.0.0, minimatch@^9.0.4: + version "9.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== + dependencies: + brace-expansion "^2.0.1" + minimatch@^9.0.1: version "9.0.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.2.tgz#397e387fff22f6795844d00badc903a3d5de7057" @@ -11811,81 +11891,119 @@ minimist-options@4.1.0: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist-options@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954" - integrity sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ== - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - minimist@1.2.6: version "1.2.6" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== -minimist@1.2.8, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: +minimist@1.2.8, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6, minimist@^1.2.8: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -minipass@^2.3.5, minipass@^2.6.0, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== +minipass-collect@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" + integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" + minipass "^3.0.0" + +minipass-fetch@^2.0.3: + version "2.1.2" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.2.tgz#95560b50c472d81a3bc76f20ede80eaed76d8add" + integrity sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA== + dependencies: + minipass "^3.1.6" + minipass-sized "^1.0.3" + minizlib "^2.1.2" + optionalDependencies: + encoding "^0.1.13" + +minipass-fetch@^3.0.0: + 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" + minizlib "^2.1.2" + optionalDependencies: + encoding "^0.1.13" + +minipass-flush@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" + integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== + dependencies: + minipass "^3.0.0" + +minipass-json-stream@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.2.tgz#5121616c77a11c406c3ffa77509e0b77bb267ec3" + integrity sha512-myxeeTm57lYs8pH2nxPzmEEg8DGIgW+9mv6D4JZD2pa81I/OBjeU7PtICXV6c9eRGTA5JMDsuIPUZRCyBMYNhg== + dependencies: + jsonparse "^1.3.1" + minipass "^3.0.0" + +minipass-pipeline@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" + integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== + dependencies: + minipass "^3.0.0" + +minipass-sized@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" + integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== + dependencies: + minipass "^3.0.0" + +minipass@^3.0.0, minipass@^3.1.1, minipass@^3.1.6: + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== + dependencies: + yallist "^4.0.0" + +minipass@^4.0.0, minipass@^4.2.4: + version "4.2.8" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.8.tgz#f0010f64393ecfc1d1ccb5f582bcaf45f48e1a3a" + integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ== + +minipass@^5.0.0: + version "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": version "6.0.2" resolved "https://registry.yarnpkg.com/minipass/-/minipass-6.0.2.tgz#542844b6c4ce95b202c0995b0a471f1229de4c81" integrity sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w== -minizlib@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" +"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== -mississippi@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022" - integrity sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA== - dependencies: - concat-stream "^1.5.0" - duplexify "^3.4.2" - end-of-stream "^1.1.0" - flush-write-stream "^1.0.0" - from2 "^2.1.0" - parallel-transform "^1.1.0" - pump "^3.0.0" - pumpify "^1.3.3" - stream-each "^1.1.0" - through2 "^2.0.0" - -mixin-deep@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" - integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== +minizlib@^2.1.1, minizlib@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" + integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" + minipass "^3.0.0" + yallist "^4.0.0" -mkdirp-promise@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1" - integrity sha512-Hepn5kb1lJPtVW84RFT40YG1OddBNTOVUZR2bzQUHc+Z03en8/3uX0+060JDhcEzyO08HmipsN9DcnFMxhIL9w== +mkdirp-infer-owner@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" + integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== dependencies: - mkdirp "*" - -mkdirp@*: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-3.0.1.tgz#e44e4c5607fb279c168241713cc6e0fea9adcb50" - integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== + chownr "^2.0.0" + infer-owner "^1.0.4" + mkdirp "^1.0.3" -mkdirp@1.0.4, mkdirp@1.x, mkdirp@^1.0.4: +mkdirp@1.0.4, mkdirp@^1.0.3, mkdirp@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== @@ -11895,7 +12013,7 @@ mkdirp@3.0.0: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-3.0.0.tgz#758101231418bda24435c0888a91d9bd91f1372d" integrity sha512-7+JDnNsyCvZXoUJdkMR0oUE2AmAdsNXGTmRbiOjYIwQ6q+bL6NwrozGQdPcmYaNcrhH37F50HHBUzoaBV6FITQ== -mkdirp@^0.5.1, mkdirp@^0.5.5, mkdirp@~0.5.1: +mkdirp@~0.5.1: version "0.5.6" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== @@ -11907,18 +12025,6 @@ modify-values@^1.0.0: resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== -move-concurrently@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" - integrity sha512-hdrFxZOycD/g6A6SoI2bB5NA/5NEqD0569+S47WZhPvm46sD50ZHdYaFmnua5lndde9rCHGjmfK7Z8BuCt/PcQ== - dependencies: - aproba "^1.1.1" - copy-concurrently "^1.0.0" - fs-write-stream-atomic "^1.0.8" - mkdirp "^0.5.1" - rimraf "^2.5.4" - run-queue "^1.0.3" - ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -11929,7 +12035,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.0.0, ms@^2.1.1: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -11942,14 +12048,15 @@ multicast-dns@^7.2.5: dns-packet "^5.2.2" thunky "^1.0.2" -multimatch@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-3.0.0.tgz#0e2534cc6bc238d9ab67e1b9cd5fcd85a6dbf70b" - integrity sha512-22foS/gqQfANZ3o+W7ST2x25ueHDVNWl/b9OlGcLpy/iKxjCpvcNCM51YCenUi7Mt/jAjjqv8JwZRs8YP5sRjA== +multimatch@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" + integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== dependencies: - array-differ "^2.0.3" - array-union "^1.0.2" - arrify "^1.0.1" + "@types/minimatch" "^3.0.3" + array-differ "^3.0.0" + array-union "^2.1.0" + arrify "^2.0.1" minimatch "^3.0.4" mute-stream@0.0.7: @@ -11957,12 +12064,12 @@ mute-stream@0.0.7: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ== -mute-stream@~0.0.4: +mute-stream@0.0.8, mute-stream@~0.0.4: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -mz@^2.5.0, mz@^2.7.0: +mz@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== @@ -11976,23 +12083,6 @@ nanoid@^3.3.6: resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - 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" @@ -12003,12 +12093,12 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -negotiator@0.6.3: +negotiator@0.6.3, negotiator@^0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -neo-async@^2.6.0, neo-async@^2.6.2: +neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -12018,11 +12108,6 @@ next-tick@1, next-tick@^1.1.0: resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -12031,27 +12116,15 @@ no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" -node-environment-flags@^1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088" - integrity sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw== - dependencies: - object.getownpropertydescriptors "^2.0.3" - semver "^5.7.0" - -node-fetch-npm@^2.0.2: - version "2.0.4" - resolved "https://registry.yarnpkg.com/node-fetch-npm/-/node-fetch-npm-2.0.4.tgz#6507d0e17a9ec0be3bec516958a497cec54bf5a4" - integrity sha512-iOuIQDWDyjhv9qSDrj9aq/klt6F9z1p2otB3AV7v3zBDcL/x+OfGsvGQZZCcMZbUf4Ujw1xGNQkjvGnVT22cKg== - dependencies: - encoding "^0.1.11" - json-parse-better-errors "^1.0.0" - safe-buffer "^5.1.1" +node-addon-api@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" + integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== -node-fetch@^2.5.0: - version "2.6.12" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba" - integrity sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g== +node-fetch@2.6.7: + version "2.6.7" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== dependencies: whatwg-url "^5.0.0" @@ -12067,22 +12140,27 @@ node-forge@^1: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== -node-gyp@^5.0.2: - version "5.1.1" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-5.1.1.tgz#eb915f7b631c937d282e33aed44cb7a025f62a3e" - integrity sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw== +node-gyp-build@^4.3.0: + version "4.8.2" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.2.tgz#4f802b71c1ab2ca16af830e6c1ea7dd1ad9496fa" + integrity sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw== + +node-gyp@^9.0.0: + version "9.4.1" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" + integrity sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ== dependencies: env-paths "^2.2.0" + exponential-backoff "^3.1.1" glob "^7.1.4" - graceful-fs "^4.2.2" - mkdirp "^0.5.1" - nopt "^4.0.1" - npmlog "^4.1.2" - request "^2.88.0" - rimraf "^2.6.3" - semver "^5.7.1" - tar "^4.4.12" - which "^1.3.1" + graceful-fs "^4.2.6" + make-fetch-happen "^10.0.3" + nopt "^6.0.0" + npmlog "^6.0.0" + rimraf "^3.0.2" + semver "^7.3.5" + tar "^6.1.2" + which "^2.0.2" node-int64@^0.4.0: version "0.4.0" @@ -12094,20 +12172,39 @@ node-releases@^2.0.12: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039" integrity sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ== +node-releases@^2.0.18: + version "2.0.18" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" + integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g== + node-releases@^2.0.8: version "2.0.10" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== -nopt@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" - integrity sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg== +noms@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859" + integrity sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow== + dependencies: + inherits "^2.0.1" + readable-stream "~1.0.31" + +nopt@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" + integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== dependencies: - abbrev "1" - osenv "^0.1.4" + abbrev "^1.0.0" -normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5, normalize-package-data@^2.4.0, normalize-package-data@^2.5.0: +nopt@^7.0.0: + version "7.2.1" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.1.tgz#1cac0eab9b8e97c9093338446eddd40b2c8ca1e7" + integrity sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w== + dependencies: + abbrev "^2.0.0" + +normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -12127,6 +12224,26 @@ normalize-package-data@^3.0.0: semver "^7.3.4" validate-npm-package-license "^3.0.1" +normalize-package-data@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-4.0.1.tgz#b46b24e0616d06cadf9d5718b29b6d445a82a62c" + integrity sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg== + dependencies: + hosted-git-info "^5.0.0" + is-core-module "^2.8.1" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + +normalize-package-data@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-5.0.0.tgz#abcb8d7e724c40d88462b84982f7cbf6859b4588" + integrity sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q== + dependencies: + hosted-git-info "^6.0.0" + is-core-module "^2.8.1" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" @@ -12137,71 +12254,141 @@ normalize-range@^0.1.2: resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== -normalize-url@^6.0.1, normalize-url@^6.1.0: +normalize-url@^6.0.1: version "6.1.0" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== -npm-bundled@^1.0.1: +npm-bundled@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== dependencies: npm-normalize-package-bin "^1.0.1" -npm-lifecycle@^3.1.2: - version "3.1.5" - resolved "https://registry.yarnpkg.com/npm-lifecycle/-/npm-lifecycle-3.1.5.tgz#9882d3642b8c82c815782a12e6a1bfeed0026309" - integrity sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g== +npm-bundled@^3.0.0: + 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: - byline "^5.0.0" - graceful-fs "^4.1.15" - node-gyp "^5.0.2" - resolve-from "^4.0.0" - slide "^1.1.6" - uid-number "0.0.6" - umask "^1.1.0" - which "^1.3.1" + npm-normalize-package-bin "^3.0.0" -npm-normalize-package-bin@^1.0.0, npm-normalize-package-bin@^1.0.1: +npm-install-checks@^6.0.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-6.3.0.tgz#046552d8920e801fa9f919cad569545d60e826fe" + integrity sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw== + dependencies: + semver "^7.1.1" + +npm-normalize-package-bin@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== -"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0: - version "6.1.1" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7" - integrity sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg== +npm-normalize-package-bin@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz#9447a1adaaf89d8ad0abe24c6c84ad614a675fff" + integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ== + +npm-normalize-package-bin@^3.0.0, npm-normalize-package-bin@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz#25447e32a9a7de1f51362c61a559233b89947832" + integrity sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ== + +npm-package-arg@8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04" + integrity sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg== dependencies: - hosted-git-info "^2.7.1" - osenv "^0.1.5" - semver "^5.6.0" + hosted-git-info "^3.0.6" + semver "^7.0.0" validate-npm-package-name "^3.0.0" -npm-packlist@^1.4.4: - version "1.4.8" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e" - integrity sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A== +npm-package-arg@^10.0.0, npm-package-arg@^10.1.0: + version "10.1.0" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-10.1.0.tgz#827d1260a683806685d17193073cc152d3c7e9b1" + integrity sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA== dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" + hosted-git-info "^6.0.0" + proc-log "^3.0.0" + semver "^7.3.5" + validate-npm-package-name "^5.0.0" + +npm-package-arg@^9.0.1: + version "9.1.2" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-9.1.2.tgz#fc8acecb00235f42270dda446f36926ddd9ac2bc" + integrity sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg== + dependencies: + hosted-git-info "^5.0.0" + proc-log "^2.0.1" + semver "^7.3.5" + validate-npm-package-name "^4.0.0" + +npm-packlist@5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.1.tgz#79bcaf22a26b6c30aa4dd66b976d69cc286800e0" + integrity sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw== + dependencies: + glob "^8.0.1" + ignore-walk "^5.0.1" + npm-bundled "^1.1.2" npm-normalize-package-bin "^1.0.1" -npm-pick-manifest@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7" - integrity sha512-wNprTNg+X5nf+tDi+hbjdHhM4bX+mKqv6XmPh7B5eG+QY9VARfQPfCEH013H5GqfNj6ee8Ij2fg8yk0mzps1Vw== +npm-packlist@^7.0.0: + version "7.0.4" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-7.0.4.tgz#033bf74110eb74daf2910dc75144411999c5ff32" + integrity sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q== dependencies: - figgy-pudding "^3.5.1" - npm-package-arg "^6.0.0" - semver "^5.4.1" + ignore-walk "^6.0.0" -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw== +npm-pick-manifest@^8.0.0, npm-pick-manifest@^8.0.1: + version "8.0.2" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-8.0.2.tgz#2159778d9c7360420c925c1a2287b5a884c713aa" + integrity sha512-1dKY+86/AIiq1tkKVD3l0WI+Gd3vkknVGAggsFeBkTvbhMQ1OND/LKkYv4JtXPKUJ8bOTCyLiqEg2P6QNdK+Gg== dependencies: - path-key "^2.0.0" + npm-install-checks "^6.0.0" + npm-normalize-package-bin "^3.0.0" + npm-package-arg "^10.0.0" + semver "^7.3.5" + +npm-registry-fetch@14.0.3: + version "14.0.3" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-14.0.3.tgz#8545e321c2b36d2c6fe6e009e77e9f0e527f547b" + integrity sha512-YaeRbVNpnWvsGOjX2wk5s85XJ7l1qQBGAp724h8e2CZFFhMSuw9enom7K1mWVUtvXO1uUSFIAPofQK0pPN0ZcA== + dependencies: + make-fetch-happen "^11.0.0" + minipass "^4.0.0" + minipass-fetch "^3.0.0" + minipass-json-stream "^1.0.1" + minizlib "^2.1.2" + npm-package-arg "^10.0.0" + proc-log "^3.0.0" + +npm-registry-fetch@^13.0.0: + version "13.3.1" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz#bb078b5fa6c52774116ae501ba1af2a33166af7e" + integrity sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw== + dependencies: + make-fetch-happen "^10.0.6" + minipass "^3.1.6" + minipass-fetch "^2.0.3" + minipass-json-stream "^1.0.1" + minizlib "^2.1.2" + npm-package-arg "^9.0.1" + proc-log "^2.0.0" + +npm-registry-fetch@^14.0.0, npm-registry-fetch@^14.0.3: + version "14.0.5" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz#fe7169957ba4986a4853a650278ee02e568d115d" + integrity sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA== + dependencies: + make-fetch-happen "^11.0.0" + minipass "^5.0.0" + minipass-fetch "^3.0.0" + minipass-json-stream "^1.0.1" + minizlib "^2.1.2" + npm-package-arg "^10.0.0" + proc-log "^3.0.0" npm-run-path@^4.0.1: version "4.0.1" @@ -12210,15 +12397,25 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -npmlog@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== +npmlog@6.0.2, npmlog@^6.0.0, npmlog@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" + integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" + are-we-there-yet "^3.0.0" + console-control-strings "^1.1.0" + gauge "^4.0.3" + set-blocking "^2.0.0" + +npmlog@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-7.0.1.tgz#7372151a01ccb095c47d8bf1d0771a4ff1f53ac8" + integrity sha512-uJ0YFk/mCQpLBt+bxN88AKd+gyqZvZDbtiNxk6Waqcj2aPRyfVx8ITawkyQynxUagInjdYT1+qj4NfA5KJJUxg== + dependencies: + are-we-there-yet "^4.0.0" + console-control-strings "^1.1.0" + gauge "^5.0.0" + set-blocking "^2.0.0" nth-check@^1.0.2: version "1.0.2" @@ -12234,35 +12431,67 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== - nwsapi@^2.2.0: version "2.2.4" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.4.tgz#fd59d5e904e8e1f03c25a7d5a15cfa16c714a1e5" integrity sha512-NHj4rzRo0tQdijE9ZqAx6kYDcoRwYwSYzCA8MY3JzfxlrvEU0jhnhJT9BhqhJs7I/dKcrDm6TyulaRqZPIhN5g== -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: +nx@15.9.7, "nx@>=15.5.2 < 16": + version "15.9.7" + resolved "https://registry.yarnpkg.com/nx/-/nx-15.9.7.tgz#f0e713cedb8637a517d9c4795c99afec4959a1b6" + integrity sha512-1qlEeDjX9OKZEryC8i4bA+twNg+lB5RKrozlNwWx/lLJHqWPUfvUTvxh+uxlPYL9KzVReQjUuxMLFMsHNqWUrA== + dependencies: + "@nrwl/cli" "15.9.7" + "@nrwl/tao" "15.9.7" + "@parcel/watcher" "2.0.4" + "@yarnpkg/lockfile" "^1.1.0" + "@yarnpkg/parsers" "3.0.0-rc.46" + "@zkochan/js-yaml" "0.0.6" + axios "^1.0.0" + chalk "^4.1.0" + cli-cursor "3.1.0" + cli-spinners "2.6.1" + cliui "^7.0.2" + dotenv "~10.0.0" + enquirer "~2.3.6" + fast-glob "3.2.7" + figures "3.2.0" + flat "^5.0.2" + fs-extra "^11.1.0" + glob "7.1.4" + ignore "^5.0.4" + js-yaml "4.1.0" + jsonc-parser "3.2.0" + lines-and-columns "~2.0.3" + minimatch "3.0.5" + npm-run-path "^4.0.1" + open "^8.4.0" + semver "7.5.4" + string-width "^4.2.3" + strong-log-transformer "^2.1.0" + tar-stream "~2.2.0" + tmp "~0.2.1" + tsconfig-paths "^4.1.2" + tslib "^2.3.0" + v8-compile-cache "2.3.0" + yargs "^17.6.2" + yargs-parser "21.1.1" + optionalDependencies: + "@nrwl/nx-darwin-arm64" "15.9.7" + "@nrwl/nx-darwin-x64" "15.9.7" + "@nrwl/nx-linux-arm-gnueabihf" "15.9.7" + "@nrwl/nx-linux-arm64-gnu" "15.9.7" + "@nrwl/nx-linux-arm64-musl" "15.9.7" + "@nrwl/nx-linux-x64-gnu" "15.9.7" + "@nrwl/nx-linux-x64-musl" "15.9.7" + "@nrwl/nx-win32-arm64-msvc" "15.9.7" + "@nrwl/nx-win32-x64-msvc" "15.9.7" + +object-assign@^4.0.1, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ== - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - object-hash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" @@ -12286,13 +12515,6 @@ object-keys@^1.1.1: resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA== - dependencies: - isobject "^3.0.0" - object.assign@^4.1.3, object.assign@^4.1.4: version "4.1.4" resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" @@ -12321,7 +12543,7 @@ object.fromentries@^2.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" -object.getownpropertydescriptors@^2.0.3, object.getownpropertydescriptors@^2.1.0: +object.getownpropertydescriptors@^2.1.0: version "2.1.6" resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.6.tgz#5e5c384dd209fa4efffead39e3a0512770ccc312" integrity sha512-lq+61g26E/BgHv0ZTFgRvi7NMEPuAxLkFU7rukXjc/AlwH4Am5xXVnIXy3un1bg/JPbXHrixRkK1itUzzPiIjQ== @@ -12340,13 +12562,6 @@ object.hasown@^1.1.2: define-properties "^1.1.4" es-abstract "^1.20.4" -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ== - dependencies: - isobject "^3.0.1" - object.values@^1.1.0, object.values@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d" @@ -12361,11 +12576,6 @@ obuf@^1.0.0, obuf@^1.1.2: resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== -octokit-pagination-methods@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4" - integrity sha512-fZ4qZdQ2nxJvtcasX7Ghl+WlWS/d9IgnBIwFZXVNNZUmzpno91SX5bc5vuxiuKoCtK78XxGGNuSCrDC7xYB3OQ== - on-finished@2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" @@ -12378,7 +12588,7 @@ on-headers@~1.0.2: resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== @@ -12392,7 +12602,7 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -onetime@^5.1.2: +onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== @@ -12432,32 +12642,38 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== +optionator@^0.9.3: + version "0.9.4" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" + integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== + dependencies: + 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" -os-name@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801" - integrity sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg== +ora@^5.4.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== dependencies: - macos-release "^2.2.0" - windows-release "^3.1.0" + bl "^4.1.0" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.5.0" + is-interactive "^1.0.0" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" -os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: +os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== -osenv@^0.1.4, osenv@^0.1.5: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -12477,7 +12693,7 @@ p-limit@^2.0.0, p-limit@^2.2.0: dependencies: p-try "^2.0.0" -p-limit@^3.0.2: +p-limit@^3.0.2, p-limit@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== @@ -12512,34 +12728,35 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" -p-map-series@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-1.0.0.tgz#bf98fe575705658a9e1351befb85ae4c1f07bdca" - integrity sha512-4k9LlvY6Bo/1FcIdV33wqZQES0Py+iKISU9Uc8p8AjWoZPnFKMpVIVD3s0EYn4jzLh1I+WeUZkJ0Yoa4Qfw3Kg== - dependencies: - p-reduce "^1.0.0" - -p-map@^2.1.0: +p-map-series@2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - -p-pipe@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-1.2.0.tgz#4b1a11399a11520a67790ee5a0c1d5881d6befe9" - integrity sha512-IA8SqjIGA8l9qOksXJvsvkeQ+VGb0TAzNCzvKvz9wt5wWLqfWbV6fXy43gpR2L4Te8sOq3S+Ql9biAaMKPdbtw== + resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" + integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== -p-queue@^4.0.0: +p-map@4.0.0, p-map@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-4.0.0.tgz#ed0eee8798927ed6f2c2f5f5b77fdb2061a5d346" - integrity sha512-3cRXXn3/O0o3+eVmUroJPSj/esxoEFIm0ZOno/T+NzG/VZgPOqQ8WKmlNqubSEpZmCIngEy34unkHGg83ZIBmg== + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== dependencies: - eventemitter3 "^3.1.0" + aggregate-error "^3.0.0" -p-reduce@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" - integrity sha512-3Tx1T3oM1xO/Y8Gj0sWyE78EIJZ+t+aEmXUdvQgvGmSMri7aPTHoovbXEreWKkL5j21Er60XAWLTzKbAKYOujQ== +p-pipe@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" + integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== + +p-queue@6.6.2: + version "6.6.2" + resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" + integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== + dependencies: + eventemitter3 "^4.0.4" + p-timeout "^3.2.0" + +p-reduce@2.1.0, p-reduce@^2.0.0, p-reduce@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" + integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== p-retry@^4.5.0: version "4.6.2" @@ -12549,6 +12766,13 @@ p-retry@^4.5.0: "@types/retry" "0.12.0" retry "^0.13.1" +p-timeout@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" + integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== + dependencies: + p-finally "^1.0.0" + p-try@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" @@ -12559,21 +12783,65 @@ p-try@^2.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -p-waterfall@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-waterfall/-/p-waterfall-1.0.0.tgz#7ed94b3ceb3332782353af6aae11aa9fc235bb00" - integrity sha512-KeXddIp6jBT8qzyxfQGOGzNYc/7ftxKtRc5Uggre02yvbZrSBHE2M2C842/WizMBFD4s0Ngwz3QFOit2A+Ezrg== +p-waterfall@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/p-waterfall/-/p-waterfall-2.1.1.tgz#63153a774f472ccdc4eb281cdb2967fcf158b2ee" + integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== dependencies: - p-reduce "^1.0.0" + p-reduce "^2.0.0" -parallel-transform@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" - integrity sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg== - dependencies: - cyclist "^1.0.1" - inherits "^2.0.3" - readable-stream "^2.1.5" +package-json-from-dist@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz#e501cd3094b278495eb4258d4c9f6d5ac3019f00" + integrity sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw== + +pacote@15.1.1: + version "15.1.1" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-15.1.1.tgz#94d8c6e0605e04d427610b3aacb0357073978348" + integrity sha512-eeqEe77QrA6auZxNHIp+1TzHQ0HBKf5V6c8zcaYZ134EJe1lCi+fjXATkNiEEfbG+e50nu02GLvUtmZcGOYabQ== + dependencies: + "@npmcli/git" "^4.0.0" + "@npmcli/installed-package-contents" "^2.0.1" + "@npmcli/promise-spawn" "^6.0.1" + "@npmcli/run-script" "^6.0.0" + cacache "^17.0.0" + fs-minipass "^3.0.0" + minipass "^4.0.0" + npm-package-arg "^10.0.0" + npm-packlist "^7.0.0" + npm-pick-manifest "^8.0.0" + npm-registry-fetch "^14.0.0" + proc-log "^3.0.0" + promise-retry "^2.0.1" + read-package-json "^6.0.0" + read-package-json-fast "^3.0.0" + sigstore "^1.0.0" + ssri "^10.0.0" + tar "^6.1.11" + +pacote@^15.0.0, pacote@^15.0.8: + version "15.2.0" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-15.2.0.tgz#0f0dfcc3e60c7b39121b2ac612bf8596e95344d3" + integrity sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA== + dependencies: + "@npmcli/git" "^4.0.0" + "@npmcli/installed-package-contents" "^2.0.1" + "@npmcli/promise-spawn" "^6.0.1" + "@npmcli/run-script" "^6.0.0" + cacache "^17.0.0" + fs-minipass "^3.0.0" + minipass "^5.0.0" + npm-package-arg "^10.0.0" + npm-packlist "^7.0.0" + npm-pick-manifest "^8.0.0" + npm-registry-fetch "^14.0.0" + proc-log "^3.0.0" + promise-retry "^2.0.1" + read-package-json "^6.0.0" + read-package-json-fast "^3.0.0" + sigstore "^1.3.0" + ssri "^10.0.0" + tar "^6.1.11" param-case@^3.0.4: version "3.0.4" @@ -12601,17 +12869,14 @@ parse-asn1@^5.0.0, parse-asn1@^5.1.5: pbkdf2 "^3.0.3" safe-buffer "^5.1.1" -parse-github-repo-url@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" - integrity sha512-bSWyzBKqcSL4RrncTpGsEKoJ7H8a4L3++ifTAbTFeMHyq2wRV+42DGmQcHIrJIvdcacjIOxEuKH/w4tthF17gg== - -parse-json@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" - integrity sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ== +parse-conflict-json@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-3.0.1.tgz#67dc55312781e62aa2ddb91452c7606d1969960c" + integrity sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw== dependencies: - error-ex "^1.2.0" + json-parse-even-better-errors "^3.0.0" + just-diff "^6.0.0" + just-diff-apply "^5.2.0" parse-json@^4.0.0: version "4.0.0" @@ -12636,30 +12901,19 @@ parse-package-name@1.0.0: resolved "https://registry.yarnpkg.com/parse-package-name/-/parse-package-name-1.0.0.tgz#1a108757e4ffc6889d5e78bcc4932a97c097a5a7" integrity sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg== -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== - -parse-path@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-4.0.4.tgz#4bf424e6b743fb080831f03b536af9fc43f0ffea" - integrity sha512-Z2lWUis7jlmXC1jeOG9giRO2+FsuyNipeQ43HAjqAZjwSe3SEf+q/84FGPHoso3kyntbxa4c4i77t3m6fGf8cw== +parse-path@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-7.0.0.tgz#605a2d58d0a749c8594405d8cc3a2bf76d16099b" + integrity sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog== dependencies: - is-ssh "^1.3.0" - protocols "^1.4.0" - qs "^6.9.4" - query-string "^6.13.8" + protocols "^2.0.0" -parse-url@^6.0.0: - version "6.0.5" - resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-6.0.5.tgz#4acab8982cef1846a0f8675fa686cef24b2f6f9b" - integrity sha512-e35AeLTSIlkw/5GFq70IN7po8fmDUjpDPY1rIK+VubRfsUvBonjQ+PBZG+vWMACnQSmNlvl524IucoDmcioMxA== +parse-url@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-8.1.0.tgz#972e0827ed4b57fc85f0ea6b0d839f0d8a57a57d" + integrity sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w== dependencies: - is-ssh "^1.3.0" - normalize-url "^6.1.0" - parse-path "^4.0.0" - protocols "^1.4.0" + parse-path "^7.0.0" parse5@6.0.1: version "6.0.1" @@ -12679,23 +12933,6 @@ pascal-case@^3.1.2: no-case "^3.0.4" tslib "^2.0.3" -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== - -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q== - -path-exists@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" - integrity sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ== - dependencies: - pinkie-promise "^2.0.0" - path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" @@ -12711,11 +12948,6 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -path-key@^2.0.0, path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== - path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" @@ -12734,20 +12966,19 @@ path-scurry@^1.10.0: lru-cache "^9.1.1 || ^10.0.0" minipass "^5.0.0 || ^6.0.2" +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 "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== -path-type@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" - integrity sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg== - dependencies: - graceful-fs "^4.1.2" - pify "^2.0.0" - pinkie-promise "^2.0.0" - path-type@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -12786,12 +13017,22 @@ picocolors@^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: + version "1.1.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.0.tgz#5358b76a78cde483ba5cef6a9dc9671440b27d59" + integrity sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw== + picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -pify@^2.0.0, pify@^2.3.0: +pify@5.0.0, pify@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" + integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== + +pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== @@ -12806,30 +13047,11 @@ pify@^4.0.1: resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - integrity sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw== - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== - -pirates@^4.0.1, pirates@^4.0.4, pirates@^4.0.5: +pirates@^4.0.1, pirates@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== -pkg-dir@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3" - integrity sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== - dependencies: - find-up "^3.0.0" - pkg-dir@^4.1.0, pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" @@ -12844,11 +13066,6 @@ pkg-up@^3.1.0: dependencies: find-up "^3.0.0" -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== - postcss-attribute-case-insensitive@^5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-5.0.2.tgz#03d761b24afc04c09e757e92ff53716ae8ea2741" @@ -13426,16 +13643,16 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c" - integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA== - prettier@^2.6.2: version "2.8.8" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== +prettier@^3.0.2: + version "3.3.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105" + integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew== + pretty-bytes@^5.3.0, pretty-bytes@^5.4.1: version "5.6.0" resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" @@ -13449,7 +13666,16 @@ pretty-error@^4.0.0: lodash "^4.17.20" renderkid "^3.0.0" -pretty-format@^27.0.0, pretty-format@^27.0.2, pretty-format@^27.5.1: +pretty-format@29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.4.3.tgz#25500ada21a53c9e8423205cf0337056b201244c" + integrity sha512-cvpcHTc42lcsvOOAzd3XuNWTcvk1Jmnzqeu+WsOuiPmxUJTnkbAcFNsRKvEpBEUFVUgy/GTZLulZDcDEi+CIlA== + dependencies: + "@jest/schemas" "^29.4.3" + ansi-styles "^5.0.0" + react-is "^18.0.0" + +pretty-format@^27.0.2, pretty-format@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== @@ -13477,28 +13703,52 @@ pretty-format@^29.0.0, pretty-format@^29.5.0: ansi-styles "^5.0.0" react-is "^18.0.0" +pretty-format@^29.7.0: + version "29.7.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" + integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== + dependencies: + "@jest/schemas" "^29.6.3" + ansi-styles "^5.0.0" + react-is "^18.0.0" + +proc-log@^2.0.0, proc-log@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-2.0.1.tgz#8f3f69a1f608de27878f91f5c688b225391cb685" + integrity sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw== + +proc-log@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" + integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== + process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -progress@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" - integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== +promise-all-reject-late@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" + integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== + +promise-call-limit@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.2.tgz#f64b8dd9ef7693c9c7613e7dfe8d6d24de3031ea" + integrity sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA== promise-inflight@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== -promise-retry@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-1.1.1.tgz#6739e968e3051da20ce6497fb2b50f6911df3d6d" - integrity sha512-StEy2osPr28o17bIW776GtwO6+Q+M9zPiZkYfosciUUMYqjhU/ffwRAH0zN2+uvGyUsn8/YICIHRzLbPacpZGw== +promise-retry@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" + integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== dependencies: - err-code "^1.0.0" - retry "^0.10.0" + err-code "^2.0.2" + retry "^0.12.0" promise@^8.1.0: version "8.3.0" @@ -13555,41 +13805,11 @@ protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: "@types/node" ">=13.7.0" long "^4.0.0" -protobufjs@^7.2.4: - version "7.2.4" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.4.tgz#3fc1ec0cdc89dd91aef9ba6037ba07408485c3ae" - integrity sha512-AT+RJgD2sH8phPmCf7OUZR8xGdcJRga4+1cOaXJ64hvcSkVhNcRHOwIxUatPH15+nj59WAGTDv3LSGZPEQbJaQ== - 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/node" ">=13.7.0" - long "^5.0.0" - -protocols@^1.4.0: - version "1.4.8" - resolved "https://registry.yarnpkg.com/protocols/-/protocols-1.4.8.tgz#48eea2d8f58d9644a4a32caae5d5db290a075ce8" - integrity sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg== - -protocols@^2.0.1: +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== -protoduck@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f" - integrity sha512-WxoCeDCoCBY55BMvj4cAEjdVUFGRWed9ZxPlqTKYyw1nDDTQ4pqmnIMAGfJlg7Dx35uB/M+PHJPTmGOvaCaPTg== - dependencies: - genfun "^5.0.0" - proxy-addr@~2.0.7: version "2.0.7" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" @@ -13603,7 +13823,7 @@ proxy-from-env@^1.1.0: resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== -psl@^1.1.28, psl@^1.1.33: +psl@^1.1.33: version "1.9.0" resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== @@ -13620,36 +13840,16 @@ public-encrypt@^4.0.0: randombytes "^2.0.1" safe-buffer "^5.1.2" -pump@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909" - integrity sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pumpify@^1.3.3: - version "1.5.1" - resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce" - integrity sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ== - dependencies: - duplexify "^3.6.0" - inherits "^2.0.3" - pump "^2.0.0" - punycode@^2.1.0, punycode@^2.1.1: version "2.3.0" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== +pure-rand@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" + integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== + q@^1.1.2, q@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" @@ -13662,28 +13862,6 @@ qs@6.11.0: dependencies: side-channel "^1.0.4" -qs@^6.9.4: - version "6.11.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.2.tgz#64bea51f12c1f5da1bc01496f48ffcff7c69d7d9" - integrity sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA== - dependencies: - side-channel "^1.0.4" - -qs@~6.5.2: - version "6.5.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" - integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== - -query-string@^6.13.8: - version "6.14.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.14.1.tgz#7ac2dca46da7f309449ba0f86b1fd28255b0c86a" - integrity sha512-XDxAeVmpfu1/6IjyT/gXHOl+S0vQ9owggJ30hhWKdHAsNPOcasn5o9BW0eejZqL2e4vMjhAxoW3jVHcD6mbcYw== - dependencies: - decode-uri-component "^0.2.0" - filter-obj "^1.1.0" - split-on-first "^1.0.0" - strict-uri-encode "^2.0.0" - querystringify@^2.1.1: version "2.2.0" resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" @@ -13694,11 +13872,6 @@ queue-microtask@^1.2.2: resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -quick-lru@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8" - integrity sha512-tRS7sTgyxMXtLum8L65daJnHUhfDUgboRdcWW2bR9vBfrj2+O5HSMbQOJfJJjIVSPFqbBCF37FpwWXGitDc5tA== - quick-lru@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" @@ -13885,39 +14058,61 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-cmd-shim@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-1.0.5.tgz#87e43eba50098ba5a32d0ceb583ab8e43b961c16" - integrity sha512-v5yCqQ/7okKoZZkBQUAfTsQ3sVJtXdNfbPnI5cceppoxEVLYA3k+VtV2omkeo8MS94JCy4fSiUwlRBAwCVRPUA== - dependencies: - graceful-fs "^4.1.2" +read-cmd-shim@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.0.tgz#62b8c638225c61e6cc607f8f4b779f3b8238f155" + integrity sha512-KQDVjGqhZk92PPNRj9ZEXEuqg8bUobSKRw+q0YQ3TKI5xkce7bUJobL4Z/OtiEbAAv70yEpYIXp4iQ9L8oPVog== -"read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13: - version "2.1.2" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-2.1.2.tgz#6992b2b66c7177259feb8eaac73c3acd28b9222a" - integrity sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA== +read-cmd-shim@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz#640a08b473a49043e394ae0c7a34dd822c73b9bb" + integrity sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q== + +read-package-json-fast@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" + integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== dependencies: - glob "^7.1.1" json-parse-even-better-errors "^2.3.0" - normalize-package-data "^2.0.0" - npm-normalize-package-bin "^1.0.0" + npm-normalize-package-bin "^1.0.1" -read-package-tree@^5.1.6: - version "5.3.1" - resolved "https://registry.yarnpkg.com/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636" - integrity sha512-mLUDsD5JVtlZxjSlPPx1RETkNjjvQYuweKwNVt1Sn8kP5Jh44pvYuUHCp6xSVDZWbNxVxG5lyZJ921aJH61sTw== +read-package-json-fast@^3.0.0, read-package-json-fast@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz#394908a9725dc7a5f14e70c8e7556dff1d2b1049" + integrity sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw== dependencies: - read-package-json "^2.0.0" - readdir-scoped-modules "^1.0.0" - util-promisify "^2.1.0" + json-parse-even-better-errors "^3.0.0" + npm-normalize-package-bin "^3.0.0" -read-pkg-up@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" - integrity sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A== +read-package-json@5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.1.tgz#1ed685d95ce258954596b13e2e0e76c7d0ab4c26" + integrity sha512-MALHuNgYWdGW3gKzuNMuYtcSSZbGQm94fAp16xt8VsYTLBjUSc55bLMKe6gzpWue0Tfi6CBgwCSdDAqutGDhMg== + dependencies: + glob "^8.0.1" + json-parse-even-better-errors "^2.3.1" + normalize-package-data "^4.0.0" + npm-normalize-package-bin "^1.0.1" + +read-package-json@^5.0.0: + version "5.0.2" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.2.tgz#b8779ccfd169f523b67208a89cc912e3f663f3fa" + integrity sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q== + dependencies: + glob "^8.0.1" + json-parse-even-better-errors "^2.3.1" + normalize-package-data "^4.0.0" + npm-normalize-package-bin "^2.0.0" + +read-package-json@^6.0.0: + version "6.0.4" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-6.0.4.tgz#90318824ec456c287437ea79595f4c2854708836" + integrity sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw== dependencies: - find-up "^1.0.0" - read-pkg "^1.0.0" + glob "^10.2.2" + json-parse-even-better-errors "^3.0.0" + normalize-package-data "^5.0.0" + npm-normalize-package-bin "^3.0.0" read-pkg-up@^3.0.0: version "3.0.0" @@ -13936,15 +14131,6 @@ read-pkg-up@^7.0.1: read-pkg "^5.2.0" type-fest "^0.8.1" -read-pkg@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" - integrity sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ== - dependencies: - load-json-file "^1.0.0" - normalize-package-data "^2.3.2" - path-type "^1.0.0" - read-pkg@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" @@ -13964,14 +14150,23 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -read@1, read@~1.0.1: +read@1, read@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== dependencies: mute-stream "~0.0.4" -"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.6, readable-stream@~2.3.6: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.5.0, readable-stream@^3.6.0: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readable-stream@^2.0.1, readable-stream@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== @@ -13984,24 +14179,15 @@ read@1, read@~1.0.1: string_decoder "~1.1.1" util-deprecate "~1.0.1" -"readable-stream@2 || 3", readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.0.6, readable-stream@^3.5.0, readable-stream@^3.6.0: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readdir-scoped-modules@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== +readable-stream@~1.0.31: + version "1.0.34" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" + integrity sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg== dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" readdirp@~3.6.0: version "3.6.0" @@ -14029,22 +14215,6 @@ recursive-readdir@^2.2.2: dependencies: minimatch "^3.0.5" -redent@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" - integrity sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g== - dependencies: - indent-string "^2.1.0" - strip-indent "^1.0.1" - -redent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa" - integrity sha512-XNwrTx77JQCEMXTeb8movBKuK75MgH0RZkujNuDKCezemx/voapl9i2gCSi8WWm8+ox5ycJi1gxF22fR7c0Ciw== - dependencies: - indent-string "^3.0.0" - strip-indent "^2.0.0" - redent@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" @@ -14077,14 +14247,6 @@ regenerator-transform@^0.15.1: dependencies: "@babel/runtime" "^7.8.4" -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - regex-parser@^2.2.11: version "2.2.11" resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.11.tgz#3b37ec9049e19479806e878cabe7c1ca83ccfe58" @@ -14099,11 +14261,6 @@ regexp.prototype.flags@^1.4.3, regexp.prototype.flags@^1.5.0: define-properties "^1.2.0" functions-have-names "^1.2.3" -regexpp@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" - integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== - regexpu-core@^5.3.1: version "5.3.2" resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.3.2.tgz#11a2b06884f3527aec3e93dbbf4a3b958a95546b" @@ -14139,49 +14296,6 @@ renderkid@^3.0.0: lodash "^4.17.21" strip-ansi "^6.0.1" -repeat-element@^1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" - integrity sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ== - -repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== - -repeating@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" - integrity sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A== - dependencies: - is-finite "^1.0.0" - -request@^2.88.0: - version "2.88.2" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -14192,23 +14306,11 @@ require-from-string@^2.0.2: resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== -require-main-filename@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - requires-port@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== -resolve-cwd@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" - integrity sha512-ccu8zQTrzVr954472aUVPLEcB3YpKSYR3cg/3lo1okzobPBM+1INXBbBZlDbnI/hbEocnf8j0QVo43hQKrbchg== - dependencies: - resolve-from "^3.0.0" - resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -14216,21 +14318,16 @@ resolve-cwd@^3.0.0: dependencies: resolve-from "^5.0.0" -resolve-from@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" - integrity sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw== +resolve-from@5.0.0, resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== -resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - resolve-url-loader@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-4.0.0.tgz#d50d4ddc746bb10468443167acf800dcd6c3ad57" @@ -14242,16 +14339,16 @@ resolve-url-loader@^4.0.0: postcss "^7.0.35" source-map "0.6.1" -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== - resolve.exports@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.1.tgz#05cfd5b3edf641571fd46fa608b610dda9ead999" integrity sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ== +resolve.exports@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" + integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== + resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.1, resolve@^1.22.2: version "1.22.2" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" @@ -14278,15 +14375,18 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" -retry@^0.10.0: - version "0.10.1" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4" - integrity sha512-ZXUSQYTHdl3uS7IuCehYfMzKyIDBNoAuUblvy5oGO5UJSUTmStUUVPXbA9Qxd173Bgre53yCQczQuHgRWAdvJQ== +retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== retry@^0.13.1: version "0.13.1" @@ -14305,6 +14405,13 @@ rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" +rimraf@4.4.1, rimraf@^4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-4.4.1.tgz#bd33364f67021c5b79e93d7f4fa0568c7c21b755" + integrity sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og== + dependencies: + glob "^9.2.0" + rimraf@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.0.tgz#5bda14e410d7e4dd522154891395802ce032c2cb" @@ -14312,20 +14419,6 @@ rimraf@5.0.0: dependencies: glob "^10.0.0" -rimraf@^2.5.4, rimraf@^2.6.2, rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -rimraf@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.1.tgz#0881323ab94ad45fec7c0221f27ea1a142f3f0d0" - integrity sha512-OfFZdwtd3lZ+XZzYP/6gTACubwFcHdLRqS9UX3UwpU2dnGQYkPFISRwvM3w9IiB2w7bW5qGo/uAwE4SmXXSKvg== - dependencies: - glob "^10.2.5" - ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -14351,7 +14444,7 @@ rollup@^2.43.1: optionalDependencies: fsevents "~2.3.2" -run-async@^2.2.0, run-async@^2.3.0: +run-async@^2.2.0, run-async@^2.3.0, run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== @@ -14363,13 +14456,6 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -run-queue@^1.0.0, run-queue@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" - integrity sha512-ntymy489o0/QQplUDnpYAYUsO50K9SBrIVaKCWDOJzYJts0f9WH9RFJkyagebkw5+y1oi00R7ynNW/d12GBumg== - dependencies: - aproba "^1.1.1" - rx-lite-aggregates@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" @@ -14389,6 +14475,13 @@ rxjs@^6.4.0: dependencies: tslib "^1.9.0" +rxjs@^7.5.5: + version "7.8.1" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" + integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== + dependencies: + tslib "^2.1.0" + safe-array-concat@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.0.tgz#2064223cba3c08d2ee05148eedbc563cd6d84060" @@ -14404,7 +14497,7 @@ safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -14418,14 +14511,7 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg== - dependencies: - ret "~0.1.10" - -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -14520,23 +14606,47 @@ selfsigned@^2.1.1: dependencies: node-forge "^1" -"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0, semver@^5.7.1: - version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" - integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== +"semver@2 || 3 || 4 || 5", semver@^5.6.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + +semver@7.3.8: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + +semver@7.5.4: + 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@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +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.0.0, semver@^7.1.1, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.3: + version "7.6.3" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" + integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== -semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: +semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: version "7.5.0" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.0.tgz#ed8c5dc8efb6c629c88b23d41dc9bf40c1d96cd0" integrity sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA== dependencies: lru-cache "^6.0.0" -semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== - semver@^7.3.8: version "7.5.3" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" @@ -14600,21 +14710,11 @@ serve-static@1.15.0: parseurl "~1.3.3" send "0.18.0" -set-blocking@^2.0.0, set-blocking@~2.0.0: +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-value@^2.0.0, set-value@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" - integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - setprototypeof@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" @@ -14640,13 +14740,6 @@ shallow-clone@^3.0.0: dependencies: kind-of "^6.0.2" -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== - dependencies: - shebang-regex "^1.0.0" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -14654,11 +14747,6 @@ shebang-command@^2.0.0: dependencies: shebang-regex "^3.0.0" -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== - shebang-regex@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" @@ -14687,27 +14775,33 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: +signal-exit@3.0.7, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -signal-exit@^4.0.1, signal-exit@^4.0.2: +signal-exit@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.0.2.tgz#ff55bb1d9ff2114c13b400688fa544ac63c36967" integrity sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q== +sigstore@^1.0.0, sigstore@^1.3.0, sigstore@^1.4.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/sigstore/-/sigstore-1.9.0.tgz#1e7ad8933aa99b75c6898ddd0eeebc3eb0d59875" + integrity sha512-0Zjz0oe37d08VeOtBIuB6cRriqXse2e8w+7yIy2XSXjshRKxbc2KkhXjL229jXSxEm7UbcjS76wcJDGQddVI9A== + dependencies: + "@sigstore/bundle" "^1.1.0" + "@sigstore/protobuf-specs" "^0.2.0" + "@sigstore/sign" "^1.0.0" + "@sigstore/tuf" "^1.0.3" + make-fetch-happen "^11.0.1" + sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - -slash@^3.0.0: +slash@3.0.0, slash@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== @@ -14717,55 +14811,11 @@ slash@^4.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== -slice-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" - integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== - dependencies: - ansi-styles "^4.0.0" - astral-regex "^2.0.0" - is-fullwidth-code-point "^3.0.0" - -slide@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - integrity sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw== - -smart-buffer@^4.1.0: +smart-buffer@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - sockjs@^0.3.24: version "0.3.24" resolved "https://registry.yarnpkg.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" @@ -14775,21 +14825,22 @@ sockjs@^0.3.24: uuid "^8.3.2" websocket-driver "^0.7.4" -socks-proxy-agent@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386" - integrity sha512-NT6syHhI9LmuEMSK6Kd2V7gNv5KFZoLE7V5udWmn0de+3Mkj3UMA/AJPLyeNUVmElCurSHtUdM3ETpR3z770Wg== +socks-proxy-agent@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" + integrity sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww== dependencies: - agent-base "~4.2.1" - socks "~2.3.2" + agent-base "^6.0.2" + debug "^4.3.3" + socks "^2.6.2" -socks@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.3.3.tgz#01129f0a5d534d2b897712ed8aceab7ee65d78e3" - integrity sha512-o5t52PCNtVdiOvzMry7wU4aOqYWL0PeCXRWBEiJow4/i/wr+wpsJQ9awEu1EonLIqsfGd5qSgDdxEOvCdmBEpA== +socks@^2.6.2: + version "2.8.3" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.3.tgz#1ebd0f09c52ba95a09750afe3f3f9f724a800cb5" + integrity sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw== dependencies: - ip "1.1.5" - smart-buffer "^4.1.0" + ip-address "^9.0.5" + smart-buffer "^4.2.0" sort-keys@^2.0.0: version "2.0.0" @@ -14817,18 +14868,15 @@ source-map-loader@^3.0.0: iconv-lite "^0.6.3" source-map-js "^1.0.1" -source-map-resolve@^0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" - integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== +source-map-support@0.5.13: + version "0.5.13" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== dependencies: - atob "^2.1.2" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" + buffer-from "^1.0.0" + source-map "^0.6.0" -source-map-support@^0.5.16, source-map-support@^0.5.19, source-map-support@^0.5.6, source-map-support@~0.5.20: +source-map-support@^0.5.6, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -14836,21 +14884,11 @@ source-map-support@^0.5.16, source-map-support@^0.5.19, source-map-support@^0.5. buffer-from "^1.0.0" source-map "^0.6.0" -source-map-url@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" - integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== - source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.5.6: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== - source-map@^0.7.3: version "0.7.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" @@ -14917,25 +14955,6 @@ spdy@^4.0.2: select-hose "^2.0.0" spdy-transport "^3.0.0" -split-on-first@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" - integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.0.0" - -split2@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493" - integrity sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw== - dependencies: - through2 "^2.0.2" - split2@^3.0.0: version "3.2.2" resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" @@ -14950,32 +14969,29 @@ split@^1.0.0: 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== -sshpk@^1.7.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" - integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -ssri@^6.0.0, ssri@^6.0.1: - version "6.0.2" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5" - integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q== +ssri@9.0.1, ssri@^9.0.0: + version "9.0.1" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" + integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== + dependencies: + minipass "^3.1.1" + +ssri@^10.0.0, ssri@^10.0.1: + version "10.0.6" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-10.0.6.tgz#a8aade2de60ba2bce8688e3fa349bad05c7dc1e5" + integrity sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ== dependencies: - figgy-pudding "^3.5.1" + minipass "^7.0.3" stable@^0.1.8: version "0.1.8" @@ -14994,14 +15010,6 @@ stackframe@^1.3.4: resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310" integrity sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw== -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g== - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - statuses@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" @@ -15019,19 +15027,6 @@ stop-iteration-iterator@^1.0.0: dependencies: internal-slot "^1.0.4" -stream-each@^1.1.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" - integrity sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw== - dependencies: - end-of-stream "^1.1.0" - stream-shift "^1.0.0" - -stream-shift@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" - integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== - "stream@npm:stream-browserify@3.0.0": version "3.0.0" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" @@ -15040,16 +15035,6 @@ stream-shift@^1.0.0: inherits "~2.0.4" readable-stream "^3.5.0" -strict-uri-encode@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" - integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== - -string-argv@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" - integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== - string-length@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" @@ -15080,15 +15065,6 @@ string-natural-compare@^3.0.1: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw== - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - string-width@^2.0.0, string-width@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -15097,15 +15073,6 @@ string-width@^2.0.0, string-width@^2.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0, string-width@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -15163,6 +15130,11 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" +string_decoder@~0.10.x: + version "0.10.31" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" + integrity sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ== + string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -15186,7 +15158,7 @@ stringify-object@^3.3.0: dependencies: ansi-regex "^5.0.1" -strip-ansi@^3.0.0, strip-ansi@^3.0.1: +strip-ansi@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== @@ -15200,7 +15172,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5, strip-ansi@^5.1.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -15214,13 +15186,6 @@ strip-ansi@^7.0.1: dependencies: ansi-regex "^6.0.1" -strip-bom@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" - integrity sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g== - dependencies: - is-utf8 "^0.2.0" - strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" @@ -15236,28 +15201,11 @@ strip-comments@^2.0.1: resolved "https://registry.yarnpkg.com/strip-comments/-/strip-comments-2.0.1.tgz#4ad11c3fbcac177a67a40ac224ca339ca1c1ba9b" integrity sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw== -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q== - strip-final-newline@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== -strip-indent@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" - integrity sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA== - dependencies: - get-stdin "^4.0.1" - -strip-indent@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" - integrity sha512-RsSNPLpq6YUL7QYy44RnPVTn/lcVZtb48Uof3X5JLbF4zD/Gs7ZFDv2HWol+leoQN2mT86LAzSshGfkTlSOpsA== - strip-indent@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" @@ -15270,7 +15218,7 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -strong-log-transformer@^2.0.0: +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" integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== @@ -15391,16 +15339,24 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -table@^6.0.9: - version "6.8.1" - resolved "https://registry.yarnpkg.com/table/-/table-6.8.1.tgz#ea2b71359fe03b017a5fbc296204471158080bdf" - integrity sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA== +symlink-workspace@^1.1.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/symlink-workspace/-/symlink-workspace-1.9.0.tgz#df4c5ce48bd55e54580e813126c643a86e29e759" + integrity sha512-eKSISj/3r5gLU4NCY5Ir16PLPavHYb2s2DMN7wGheaZAMlUGEuq8qUhlmbBMR8J32Yq9PCtcA+yritgHpwUDfw== dependencies: - ajv "^8.0.1" - lodash.truncate "^4.4.2" - slice-ansi "^4.0.0" - string-width "^4.2.3" - strip-ansi "^6.0.1" + chalk "4.1.2" + glob "8.1.0" + minimist "^1.2.8" + mkdirp "3.0.0" + rimraf "5.0.0" + +synckit@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.1.tgz#febbfbb6649979450131f64735aa3f6c14575c88" + integrity sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A== + dependencies: + "@pkgr/core" "^0.1.0" + tslib "^2.6.2" tailwindcss@^3.0.2: version "3.3.2" @@ -15441,20 +15397,42 @@ tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0: resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== -tar@^4.4.10, tar@^4.4.12, tar@^4.4.8: - version "4.4.19" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" - integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== +tar-stream@~2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" + integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== dependencies: - chownr "^1.1.4" - fs-minipass "^1.2.7" - minipass "^2.9.0" - minizlib "^1.3.3" - mkdirp "^0.5.5" - safe-buffer "^5.2.1" - yallist "^3.1.1" + bl "^4.0.3" + end-of-stream "^1.4.1" + fs-constants "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.1.1" + +tar@6.1.11: + version "6.1.11" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^3.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" + +tar@^6.1.11, tar@^6.1.2: + 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" + minipass "^5.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" -temp-dir@^1.0.0: +temp-dir@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== @@ -15464,17 +15442,16 @@ temp-dir@^2.0.0: resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-2.0.0.tgz#bde92b05bdfeb1516e804c9c00ad45177f31321e" integrity sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg== -temp-write@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/temp-write/-/temp-write-3.4.0.tgz#8cff630fb7e9da05f047c74ce4ce4d685457d492" - integrity sha512-P8NK5aNqcGQBC37i/8pL/K9tFgx14CF2vdwluD/BA/dGWGD4T4E59TE7dAxPyb2wusts2FhMp36EiopBBsGJ2Q== +tempy@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/tempy/-/tempy-1.0.0.tgz#4f192b3ee3328a2684d0e3fc5c491425395aab65" + integrity sha512-eLXG5B1G0mRPHmgH2WydPl5v4jH35qEn3y/rA/aahKhIa91Pn119SsU7n7v/433gtT9ONzC8ISvNHIh2JSTm0w== dependencies: - graceful-fs "^4.1.2" - is-stream "^1.1.0" - make-dir "^1.0.0" - pify "^3.0.0" - temp-dir "^1.0.0" - uuid "^3.0.1" + del "^6.0.0" + is-stream "^2.0.0" + temp-dir "^2.0.0" + type-fest "^0.16.0" + unique-string "^2.0.0" tempy@^0.6.0: version "0.6.0" @@ -15553,7 +15530,7 @@ throat@^6.0.1: resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.2.tgz#51a3fbb5e11ae72e2cf74861ed5c8020f89f29fe" integrity sha512-WKexMoJj3vEuK0yFEapj8y64V0A6xcuPuK9Gt1d0R+dzCSJc0lHqQytAbSB4cDAK0dWh4T0E2ETkoLE2WZ41OQ== -through2@^2.0.0, through2@^2.0.2: +through2@^2.0.0, through2@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== @@ -15561,14 +15538,6 @@ through2@^2.0.0, through2@^2.0.2: readable-stream "~2.3.6" xtend "~4.0.1" -through2@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/through2/-/through2-3.0.2.tgz#99f88931cfc761ec7678b41d5d7336b5b6a07bf4" - integrity sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ== - dependencies: - inherits "^2.0.4" - readable-stream "2 || 3" - through2@^4.0.0: version "4.0.2" resolved "https://registry.yarnpkg.com/through2/-/through2-4.0.2.tgz#a7ce3ac2a7a8b0b966c80e7c49f0484c3b239764" @@ -15601,6 +15570,11 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" +tmp@~0.2.1: + 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" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -15611,21 +15585,6 @@ to-fast-properties@^2.0.0: resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg== - dependencies: - kind-of "^3.0.2" - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg== - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -15633,16 +15592,6 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - toidentifier@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" @@ -15658,14 +15607,6 @@ tough-cookie@^4.0.0: universalify "^0.2.0" url-parse "^1.5.3" -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - tr46@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" @@ -15685,15 +15626,10 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -trim-newlines@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" - integrity sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw== - -trim-newlines@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20" - integrity sha512-MTBWv3jhVjTU7XR3IQHllbiJs8sc75a80OEhB6or/q7pLTWgQ0bMGQXXYQSrSuXe6WiKWDZ5txXY5P59a/coVA== +treeverse@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-3.0.0.tgz#dd82de9eb602115c6ebd77a574aae67003cb48c8" + integrity sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ== trim-newlines@^3.0.0: version "3.0.1" @@ -15705,26 +15641,49 @@ tryer@^1.0.1: resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA== +ts-api-utils@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" + integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== + ts-interface-checker@^0.1.9: version "0.1.13" resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== -ts-jest@^26.4.4: - version "26.5.6" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-26.5.6.tgz#c32e0746425274e1dfe333f43cd3c800e014ec35" - integrity sha512-rua+rCP8DxpA8b4DQD/6X2HQS8Zy/xzViVYfEs2OQu68tkCuKLV0Md8pmX55+W24uRIyAsf/BajRfxOs+R2MKA== +ts-jest@^29.1.1: + version "29.2.5" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.5.tgz#591a3c108e1f5ebd013d3152142cb5472b399d63" + integrity sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA== dependencies: - bs-logger "0.x" - buffer-from "1.x" - fast-json-stable-stringify "2.x" - jest-util "^26.1.0" - json5 "2.x" - lodash "4.x" - make-error "1.x" - mkdirp "1.x" - semver "7.x" - yargs-parser "20.x" + bs-logger "^0.2.6" + ejs "^3.1.10" + fast-json-stable-stringify "^2.1.0" + jest-util "^29.0.0" + json5 "^2.2.3" + lodash.memoize "^4.1.2" + make-error "^1.3.6" + semver "^7.6.3" + yargs-parser "^21.1.1" + +ts-node@^10.9.2: + 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" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" tsconfig-paths@^3.14.1: version "3.14.2" @@ -15736,6 +15695,15 @@ tsconfig-paths@^3.14.1: minimist "^1.2.6" strip-bom "^3.0.0" +tsconfig-paths@^4.1.2: + version "4.2.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c" + integrity sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg== + dependencies: + json5 "^2.2.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" @@ -15746,6 +15714,11 @@ tslib@^2.0.3: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== +tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.6.2: + version "2.7.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" + integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== + tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -15753,17 +15726,14 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== +tuf-js@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/tuf-js/-/tuf-js-1.1.7.tgz#21b7ae92a9373015be77dfe0cb282a80ec3bbe43" + integrity sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg== dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== + "@tufjs/models" "1.0.4" + debug "^4.3.4" + make-fetch-happen "^11.1.1" type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" @@ -15804,10 +15774,10 @@ type-fest@^0.21.3: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -type-fest@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1" - integrity sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ== +type-fest@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" + integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw== type-fest@^0.6.0: version "0.6.0" @@ -15858,7 +15828,7 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^4.0.5: +"typescript@^3 || ^4": version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== @@ -15873,16 +15843,6 @@ uglify-js@^3.1.4: resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== -uid-number@0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" - integrity sha512-c461FXIljswCuscZn67xq9PpszkPT6RjheWFQTgCyabJrTUozElanb0YEqv2UGgk247YpcJkFBuSGNvBlpXM9w== - -umask@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" - integrity sha512-lE/rxOhmiScJu9L6RTNVgB/zZbF+vGC0/p6D3xnkAePI2o0sMyFG966iR5Ki50OI/0mNi2yaRnxfLsPmEZF/JA== - unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" @@ -15893,6 +15853,11 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -15916,27 +15881,31 @@ unicode-property-aliases-ecmascript@^2.0.0: resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== -union-value@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" - integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== +unique-filename@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" + integrity sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A== dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^2.0.1" + unique-slug "^3.0.0" -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== +unique-filename@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-3.0.0.tgz#48ba7a5a16849f5080d26c760c86cf5cf05770ea" + integrity sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g== dependencies: - unique-slug "^2.0.0" + unique-slug "^4.0.0" -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== +unique-slug@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" + integrity sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w== + dependencies: + imurmurhash "^0.1.4" + +unique-slug@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-4.0.0.tgz#6bae6bb16be91351badd24cdce741f892a6532e3" + integrity sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ== dependencies: imurmurhash "^0.1.4" @@ -15947,23 +15916,11 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -universal-user-agent@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-4.0.1.tgz#fd8d6cb773a679a709e967ef8288a31fcc03e557" - integrity sha512-LnST3ebHwVL2aNe4mejI9IQh2HfZ1RLo8Io2HugSif8ekzD1TlWpHpColOB/eh8JHMLkGH3Akqf040I+4ylNxg== - dependencies: - os-name "^3.1.0" - universal-user-agent@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - universalify@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" @@ -15984,13 +15941,15 @@ unquote@~1.1.1: resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544" integrity sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg== -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ== - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" +untildify@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" + integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== + +upath@2.0.1, upath@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" + integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== upath@^1.2.0: version "1.2.0" @@ -16005,6 +15964,14 @@ update-browserslist-db@^1.0.10, update-browserslist-db@^1.0.11: escalade "^3.1.1" picocolors "^1.0.0" +update-browserslist-db@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz#7ca61c0d8650766090728046e416a8cde682859e" + integrity sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ== + dependencies: + escalade "^3.1.2" + picocolors "^1.0.1" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -16012,11 +15979,6 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== - url-parse@^1.5.3: version "1.5.10" resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" @@ -16025,23 +15987,11 @@ url-parse@^1.5.3: querystringify "^2.1.1" requires-port "^1.0.0" -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -util-promisify@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53" - integrity sha512-K+5eQPYs14b3+E+hmE2J6gCZ4JmMl9DbYS6BeP2CHq6WMuNxErxf5B/n0fz85L8zUuoO6rIzNNmIQDu/j+1OcA== - dependencies: - object.getownpropertydescriptors "^2.0.3" - util.promisify@~1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.1.tgz#6baf7774b80eeb0f7520d8b81d07982a59abbaee" @@ -16069,17 +16019,17 @@ utils-merge@1.0.1: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== -uuid@^3.0.1, uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - -uuid@^8.3.2: +uuid@8.3.2, 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== -v8-compile-cache@^2.0.3: +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== + +v8-compile-cache@2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== @@ -16093,14 +16043,16 @@ v8-to-istanbul@^8.1.0: convert-source-map "^1.6.0" source-map "^0.7.3" -v8flags@^3.1.1: - version "3.2.0" - resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.2.0.tgz#b243e3b4dfd731fa774e7492128109a0fe66d656" - integrity sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg== +v8-to-istanbul@^9.0.1: + version "9.3.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz#b9572abfa62bd556c16d75fdebc1a411d5ff3175" + integrity sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA== dependencies: - homedir-polyfill "^1.0.1" + "@jridgewell/trace-mapping" "^0.3.12" + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^2.0.0" -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: +validate-npm-package-license@3.0.4, validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== @@ -16108,6 +16060,13 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +validate-npm-package-name@4.0.0, validate-npm-package-name@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz#fe8f1c50ac20afdb86f177da85b3600f0ac0d747" + integrity sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q== + dependencies: + builtins "^5.0.0" + validate-npm-package-name@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" @@ -16115,20 +16074,16 @@ 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== + vary@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" @@ -16143,6 +16098,11 @@ w3c-xmlserializer@^2.0.0: dependencies: xml-name-validator "^3.0.0" +walk-up-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" + integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== + walker@^1.0.7, walker@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" @@ -16177,7 +16137,7 @@ wbuf@^1.1.0, wbuf@^1.7.3: dependencies: minimalistic-assert "^1.0.0" -wcwidth@^1.0.0: +wcwidth@^1.0.0, wcwidth@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== @@ -16393,11 +16353,6 @@ which-collection@^1.0.1: is-weakmap "^2.0.1" is-weakset "^2.0.1" -which-module@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" - integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== - which-typed-array@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" @@ -16410,39 +16365,44 @@ which-typed-array@^1.1.9: has-tostringtag "^1.0.0" is-typed-array "^1.1.10" -which@^1.2.9, which@^1.3.1: +which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== dependencies: isexe "^2.0.0" -which@^2.0.1: +which@^2.0.1, which@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: isexe "^2.0.0" -wide-align@^1.1.0: +which@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/which/-/which-3.0.1.tgz#89f1cd0c23f629a8105ffe69b8172791c87b4be1" + integrity sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg== + dependencies: + isexe "^2.0.0" + +wide-align@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== dependencies: string-width "^1.0.2 || 2 || 3 || 4" -windows-release@^3.1.0: - version "3.3.3" - resolved "https://registry.yarnpkg.com/windows-release/-/windows-release-3.3.3.tgz#1c10027c7225743eec6b89df160d64c2e0293999" - integrity sha512-OSOGH1QYiW5yVor9TtmXKQvt2vjQqbYS+DqmsZw+r7xDwLXEeT3JGW0ZppFmHx4diyXmxt238KFR3N9jzevBRg== - dependencies: - execa "^1.0.0" - word-wrap@^1.2.3, word-wrap@~1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== +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" @@ -16627,14 +16587,14 @@ workbox-window@6.6.1: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" - integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== +wrap-ansi@^6.0.1: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== dependencies: - ansi-styles "^3.2.0" - string-width "^3.0.0" - strip-ansi "^5.0.0" + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" wrap-ansi@^8.1.0: version "8.1.0" @@ -16650,7 +16610,15 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -write-file-atomic@^2.0.0, write-file-atomic@^2.3.0, write-file-atomic@^2.4.2: +write-file-atomic@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.1.tgz#9faa33a964c1c85ff6f849b80b42a88c2c537c8f" + integrity sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + +write-file-atomic@^2.4.2: version "2.4.3" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== @@ -16669,7 +16637,7 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -write-file-atomic@^4.0.1: +write-file-atomic@^4.0.1, write-file-atomic@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== @@ -16677,17 +16645,13 @@ write-file-atomic@^4.0.1: imurmurhash "^0.1.4" signal-exit "^3.0.7" -write-json-file@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-2.3.0.tgz#2b64c8a33004d54b8698c76d585a77ceb61da32f" - integrity sha512-84+F0igFp2dPD6UpAQjOUX3CdKUOqUzn6oE9sDBNzUXINR5VceJ1rauZltqQB/bcYsx3EpKys4C7/PivKUAiWQ== +write-file-atomic@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-5.0.1.tgz#68df4717c55c6fa4281a7860b4c2ba0a6d2b11e7" + integrity sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw== dependencies: - detect-indent "^5.0.0" - graceful-fs "^4.1.2" - make-dir "^1.0.0" - pify "^3.0.0" - sort-keys "^2.0.0" - write-file-atomic "^2.0.0" + imurmurhash "^0.1.4" + signal-exit "^4.0.1" write-json-file@^3.2.0: version "3.2.0" @@ -16701,13 +16665,14 @@ write-json-file@^3.2.0: sort-keys "^2.0.0" write-file-atomic "^2.4.2" -write-pkg@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/write-pkg/-/write-pkg-3.2.0.tgz#0e178fe97820d389a8928bc79535dbe68c2cff21" - integrity sha512-tX2ifZ0YqEFOF1wjRW2Pk93NLsj02+n1UP5RvO6rCs0K6R2g1padvf006cY74PQJKMGS2r42NK7FD0dG6Y6paw== +write-pkg@4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" + integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== dependencies: sort-keys "^2.0.0" - write-json-file "^2.2.0" + type-fest "^0.4.1" + write-json-file "^3.2.0" ws@^7, ws@^7.4.6: version "7.5.9" @@ -16742,17 +16707,12 @@ xtend@~4.0.1: resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== -y18n@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" - integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== - y18n@^5.0.5: version "5.0.8" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yallist@^3.0.0, yallist@^3.0.2, yallist@^3.1.1: +yallist@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== @@ -16772,37 +16732,22 @@ yaml@^2.1.1: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== -yargs-parser@20.x, yargs-parser@^20.2.2, yargs-parser@^20.2.3: +yargs-parser@20.2.4: + version "20.2.4" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + +yargs-parser@21.1.1, yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + +yargs-parser@^20.2.2, yargs-parser@^20.2.3: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs-parser@^15.0.1: - version "15.0.3" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.3.tgz#316e263d5febe8b38eef61ac092b33dfcc9b1115" - integrity sha512-/MVEVjTXy/cGAjdtQf8dW3V9b97bPN7rNn8ETj6BmAQL7ibC7O1Q9SPJbGjgh3SlwoBNXMzj/ZGIj8mBgl12YA== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs@^14.2.2: - version "14.2.3" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414" - integrity sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg== - dependencies: - cliui "^5.0.0" - decamelize "^1.2.0" - find-up "^3.0.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^3.0.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^15.0.1" - -yargs@^16.2.0: +yargs@16.2.0, yargs@^16.1.0, yargs@^16.2.0: version "16.2.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== @@ -16815,6 +16760,24 @@ yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" +yargs@^17.3.1, yargs@^17.6.2: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== + dependencies: + cliui "^8.0.1" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.1.1" + +yn@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"